
Dear "mazen.e",
In message 1401009344794-180667.post@n7.nabble.com you wrote:
On the other hand, the command arm-linux-gnueabi-nm hello_world | grep hello_world
0c100000 T hello_world
so, the entry point of the image 0c100000
OK, so it's at 0c10.0000
mkimage -A arm -O u-boot -T standalone -C none -a c1000000 -e 0c100000 -n
----------------------------------------------------^^^^^^^^
"Hello World" -d hello_world.bin Hello.img
the command bootm 0x43e00000 returns the following :
AUB ARNDALE 5250 # bootm 0x43E00000 ## Booting kernel from Legacy Image at 43e00000 ... Image Name: Hello World Image Type: ARM U-Boot Standalone Program (uncompressed) Data Size: 594 Bytes = 594 Bytes Load Address: c1000000
-------------------^^^^^^^^^
You fixed the entry point address, but you still use the incorrect load address. The program cannot run if you load it into some unrelated memory region and then jump to some totally different address. You must use the SAME address (0c10.0000) for both the -a and -e options.
Best regards,
Wolfgang Denk