[U-Boot] Run hello world with Uboot !

thaoth thaoth at cybersoft-vn.com
Tue Oct 7 07:30:33 CEST 2008


Hi,

I'm working on SH7727 T-Engine Board (MS7727CP02)(sh3) and I'm trying to
load Hello World example in U-boot (use Serial, ymodem and hello_world.bin), 
...
=> loady 0x8e000000
## Ready for binary (ymodem) download to 0x8E000000 at 115200 bps...
CCCxyzModem - CRC mode, 2(SOH)/69(STX)/0(CAN) packets, 5 retries
## Total Size      = 0x000112ec = 70380 Bytes
=> go 0x8e000000
## Starting application at 0x8E000000 ...
...
but my board reset when I run Hello world. I also try with hello_world.srec
(serial, Kermit mode) and an uboot image:
"mkimage -A sh -O u-boot -T standalone -C none -a 0x8c000000 -e 0x8c000000
-n 'Hello Image' -d examples/hello_world hello.img"
...
=> loady
## Ready for binary (ymodem) download to 0x8E000000 at 115200 bps...
CCxyzModem - CRC mode, 2(SOH)/69(STX)/0(CAN) packets, 4 retries
## Total Size      = 0x0001132c = 70444 Bytes
=> bootm 0x8e000000
*  kernel: cmdline image address = 0x8e000000
## Booting kernel from Legacy Image at 8e000000 ...
   Image Name:   Hello Image
   Image Type:   SuperH U-Boot Standalone Program (uncompressed)
   Data Size:    70380 Bytes = 68.7 kB
   Load Address: 8c000000
   Entry Point:  8c000000
   Verifying Checksum ... OK
Wrong Image Type for bootm command
ERROR: can't get kernel image!
...
Could you give me an advice?
I think i have wrong image format? But how can I get correct format ?

Best regards.
-- 
View this message in context: http://www.nabble.com/Run-hello-world-with-Uboot-%21-tp19851315p19851315.html
Sent from the Uboot - Users mailing list archive at Nabble.com.



More information about the U-Boot mailing list