IRC log for #elinux on 20090610

01:06.53*** part/#elinux CapnKernel (n=mjd@fenixb.lnk.telstra.net)
01:09.08*** join/#elinux CapnKernel (n=mjd@fenixb.lnk.telstra.net)
03:40.47*** join/#elinux linac (n=lin@59.61.123.232)
06:09.13*** join/#elinux harpal (n=Harpal@121.246.75.165)
06:23.31*** join/#elinux lyakh (n=lyakh@p57BD1D5D.dip0.t-ipconnect.de)
06:48.56*** join/#elinux damunix (n=damunix@rps919.ovh.net)
07:00.35*** join/#elinux likewise (n=likewise@82-171-51-231.ip.telfort.nl)
07:11.16*** join/#elinux boris_OmegA (n=boris@194.51.141.172)
07:11.20*** join/#elinux lo127 (n=R@host-90-233-191-38.mobileonline.telia.com)
07:22.27methril|workyo
07:25.07*** join/#elinux Viltapi (i=seppan25@lehtori.cc.tut.fi)
07:27.17lo127morning
07:27.52Viltapihello
07:27.54methril|worklo127: morning
07:28.06methril|worklo127: how is your .srec booting?
07:30.11lo127methril|work, its transferring fine, checksum is ok, but it restarts the board immediately upon run
07:30.37methril|workmaybe a bad root fs ?
07:31.34lo127not sure, I need a serial connection to see what is happening
07:33.27lo127the problem is that the bootloader only handles one interface at the time, ethernet or serial
07:51.16methril|workit's your board supported by u-boot?
07:51.35methril|workput u-boot and boot the kernel easy
08:30.53boris_OmegAhi there
08:31.12boris_OmegAi 'm currently trying to build QT embedded, for an arm9 board
08:31.36boris_OmegAhere is my gmake end output , with error : http://www.pastebin.ca/1455037, if somebody has an idea, thank you :)
08:32.01boris_OmegAit doesn't find a library that exists anyway ...
09:11.58*** join/#elinux lo1270 (n=R@host-90-233-156-198.mobileonline.telia.com)
09:29.24*** join/#elinux lo127 (n=R@host-90-233-156-198.mobileonline.telia.com)
09:30.14*** join/#elinux lo127 (n=R@host-90-233-156-198.mobileonline.telia.com)
09:38.50lo127anyone worked with UART? I'm trying to make a program that sends a char out
09:39.42boris_OmegAyes lo127, what is your problem ?
09:48.05*** join/#elinux tsjsieb (n=tsjsieb@dejongbeheer.nl)
10:07.53mnemocmaking a driver or talking to a normal /dev/ttyS$n ?
10:31.41*** join/#elinux pirho (i=pirho@gateway/gpg-tor/key-0x2CEEC9CB)
10:52.18*** join/#elinux lo127 (n=R@host-90-233-215-89.mobileonline.telia.com)
11:05.23*** join/#elinux Kmarc (i=kari@kallio.biz)
12:21.11*** join/#elinux GPSFan (n=kenm@64.92.145.112)
12:23.15*** join/#elinux gustavoz (n=gustavoz@imhotep.toptech.com.ar)
12:46.41lo127boris_OmegA, you still here?
12:50.02boris_OmegAyes but don't have time right now, lo127, but you can leave me your question, i'll have a look later :)
12:52.50lo127cool, basically my question is if this few line would produce any output on the uart: http://codepad.org/fj4hbYTx
12:53.31lo127(they don't)
12:57.44boris_OmegAon what arch, lo127 ?
12:58.06boris_OmegAand what os ?
13:02.08lo127its running from a custom bootloader on powerpc arch
13:02.42lo127think the main thing is right, just want to know if I missed something (which I probably have)
13:08.10boris_OmegAi guess there is a pin to set to make UART transmit
13:08.39lo127thats true
13:08.41boris_OmegAlo127, you must have a look to your UART chip documentation
13:08.59boris_OmegAmaybe you'll find this pin ?
13:09.34boris_OmegAor check if your bootloader have functions for manipulating UART devices
13:12.38methril|worklo127: looks like you didn't initialize the UART, the baudrate, ...
13:13.13lo127methril|work, the bootloader does that
13:13.24methril|workbut it inits the uart somewhere ...
13:14.50methril|workand while(1), only sending, could overflow, your TX buff
13:15.01methril|workyou need a delay or something like that
13:15.35boris_OmegAyes
13:15.40lo127methril|work, I just want any output
13:15.46lo127gibberish is fine for me :)
13:15.47boris_OmegAbut i think it never send anything ...
13:15.56lo127boris_OmegA, I can confirm that :)
13:16.10methril|workthen initializing of the UART register has to be done ;)
13:16.16methril|workdid you check with an oscilloscope?
13:16.34methril|workmaybe your baudrate is not equal to your port listening baudrate
13:16.37boris_OmegAyou must have some registries to initialize your uart , and some registry or pin to command TX
13:17.03lo127I'm reading the cpu documentation now
13:17.05boris_OmegAif baudrate isn't good, often there is an output ..something bad, but something :)
13:17.27boris_OmegAbut oscilloscop is a good way, anyway
13:17.30lo127the uart is working, the bootloader outputs fine untill i "run program uart_test"
13:18.05lo127then it leaves control to my program, which is totally silent
13:20.51boris_OmegAdo you know what uart_test does ?
13:21.04boris_OmegAif you have src, this is a good way to learn ^^
13:21.55lo127thats my program :)
13:21.58lo127I just posted
13:22.45lo127I'm writing a new version of it
13:24.19lo127I was hoping my simple program would print tons on L (and/or gibberish) verifying the cross compilation and srec creation
13:24.52lo127as I said, the bootloader has setup the uart and I was able to load my program over it
13:25.05lo127think I need to use: "UART_RTS[0:1] O 2 1 Request to send UART0 and UART1"?
13:25.58*** join/#elinux booxter (n=booxter@cpmsq.epam.com)
13:26.25methril|worksure
13:26.32boris_OmegAbut
13:26.42methril|workand maybe you've to check if you're sending some bytes on the serial
13:26.43boris_OmegAdo you try to use your debug uart port ?
13:52.26*** join/#elinux ashes (n=ashes@modemcable123.78-80-70.mc.videotron.ca)
14:54.41*** join/#elinux sjhill (n=sjhill@home.bethel-hill.org)
15:14.15*** join/#elinux TimRiker (i=timr@2002:ad80:9caf:0:0:0:0:1)
15:14.16*** mode/#elinux [+o TimRiker] by ChanServ
16:05.47*** join/#elinux jjg (n=jjg@12.40.200.74)
16:21.28*** join/#elinux likewise (n=Leon_Woe@atwork-193.r-212.178.107.atwork.nl)
16:41.19*** join/#elinux like2wise (n=likewise@atwork-193.r-212.178.107.atwork.nl)
16:44.16*** join/#elinux chiques (n=working_@pool-173-60-8-104.lsanca.fios.verizon.net)
17:12.55*** join/#elinux linac (n=lin@122.90.80.187)
17:14.57*** join/#elinux damunix (n=damunix@184.155.204-77.rev.gaoland.net)
17:19.20*** join/#elinux TimRiker (i=timr@bzflag/projectlead/TimRiker)
17:19.20*** mode/#elinux [+o TimRiker] by ChanServ
17:58.01*** join/#elinux Omegamoon (n=egoe@demolitionman.xs4all.nl)
18:15.04chiquesis away: Stepped Away From My Terminal
18:52.51*** join/#elinux zx80user (n=adrian@80-41-120-111.dynamic.dsl.as9105.com)
20:23.52*** part/#elinux Omegamoon (n=egoe@demolitionman.xs4all.nl)
20:28.38*** join/#elinux likewise (n=likewise@82-171-51-231.ip.telfort.nl)
23:17.28*** join/#elinux CapnKernel (n=mjd@fenixb.lnk.telstra.net)
23:48.52*** join/#elinux CapnKernel (n=mjd@fenixb.lnk.telstra.net)
23:48.52*** join/#elinux pocek (i=pock@87-205-72-142.adsl.inetia.pl)
23:57.53*** join/#elinux CapnKernel (n=mjd@fenixb.lnk.telstra.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.