[U-Boot-Users] U-boot hangs while running a stand alone program

Midhun Agnihotram agnimidhun at gmail.com
Sat Jun 9 08:18:22 CEST 2007


Hi All,

   I am running U-boot on Cogent CSB535FS board using Txema's patch. I
am able to do a serial tranfer the image using loadb. But U-boot hangs
when I run the image. I created the image as below:

# mkimage -A arm -O u-boot -T standalone -C none -a 0xC0200000 -e
0xC0200004 -n "Hello World Program" -d hello_world.bin
newhelloworld.bin

My process is as below:

=> loadb C0200000
## Ready for binary (kermit) download to 0xC0200000 at 115200 bps...

----------------------------------------------------
(/home/midhun/ckermit/) C-Kermit>send /BINARY
/home/midhun/uboot/u-boot/examples/newhelloworld.bin
(/home/midhun/ckermit/) C-Kermit>connect
Connecting to /dev/ttyS0, speed 115200
 Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
## Total Size      = 0x00000248 = 584 Bytes
## Start Addr      = 0xC0200000
=> iminfo C0200000

## Checking Image at c0200000 ...
   Image Name:   Hello World Program
   Image Type:   ARM U-Boot Standalone Program (uncompressed)
   Data Size:    520 Bytes =  0.5 kB
   Load Address: c0200000
   Entry Point:  c0200004
   Verifying Checksum ... OK
=> go C0200004
## Startin

  U-boot does not even print the whole line of "## Starting
application at ... ". It just hangs after the above the line. What
could be the problem?

Thanks & Regards,
Midhun Agnihotram,
Ahmedabad 382481.
India.
Mob: +91-9979509691




More information about the U-Boot mailing list