GTA01 u-boot and loading apps

Carl van Schaik carl at ok-labs.com
Fri May 11 02:17:16 CEST 2007


Hi All,

I'm starting to work on trying to boot some elf files directly from 
u-boot on the gta01 platform.

Firstly, I havn't been able to get the serial port working. I can 
connect to u-boot with /dev/ttyACM0 but not via the debug board. What 
are the baud rates etc, I could not find them on the wiki.

Secondly, the u-boot version loaded has been configured with few useful 
upload configs. Ie there is no ymodem support etc. Only "loads" is 
provided which is quite a pain to use since i need to convert my apps to 
srec and possibly remove the NOBITS flags in the elf file first (so my 
bss is zeroed).

Thirdly, when trying to use loads over the usb tty, u-boot stops 
responding. I think this is due to sending too much data. Ie if i paste 
the srec file, line by line, u-boot reads the input fine, but if i 
"upload" the file, u-boot crashes. I think there is a frame overrun or 
somthing happening. Should I be using any type of flowcontrol??

Whats the best way to load elf files to the board? I havn't tried JTAG 
yet due to my serial problems above.

thanks,
Carl




More information about the openmoko-kernel mailing list