execution of standalone hello_world not happening
Hi,
After?using u-boot command "loadb" to load hello_world.bin file (provided by u-boot) at address 0x00208000, I used go 208000
but it is not executing. please would you let me know what went wrong?....
Thanks,
Haneef
Hi,
After?using u-boot command "loadb" to load hello_world.bin file (provided by u-boot) at address 0x00208000, I used go 208000
but it is not executing. please would you let me know what went wrong?....
Thanks,
Haneef
Dear Haneef Mohamed,
Quoted 6 lines · In message <[email protected]> you…
After?using u-boot command "loadb" to load hello_world.bin file (provided by u-boot) at address
0x00208000, I used go 208000but it is not executing. please would you let me know what went wrong?....
Did you try reading the FAQ? For example this one:
http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I can't understand it. I can't even understand the people who can understand it. - Queen Juliana of the Netherlands.
Dear Wolfgang Denk,
Quoted 3 lines
Dear Haneef Mohamed,
In message <[email protected]> you
Quoted 8 lines · wrote:
Quoted 5 lines
After using u-boot command "loadb" to load hello_world.bin file (provided by u-boot) at address
0x00208000, I used go 208000but it is not executing. please would you let me know what went wrong?....
Did you try reading the FAQ? For example this one:
http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork
Actually, maybe the wiki might use some improvement. Some of the users might find it hard to find this FAQ. Mohamed, do you have any ideas on improving the wiki? :)
Quoted 4 lines
Best regards,
Wolfgang Denk
Best regards,
Marek Vasut
Dear Wolfgang Denk,
Thank you very much, your wiki helped me a lot.
what went wrong:
when i did as described in the link i got the below output. please not i did not change anything in the code of hello_world.? but the mistake i did was i loaded to some location which was not the loadaddr of my board's standalone application. ?
${CROSS_COMPILE}nm -n hello_world
00080000 N _stack0c100000 t $a0c100000 T hello_world ----> this is my load address present in arch/arm/config.mk?CONFIG_STANDALONE_LOAD_ADDR = 0xc100000 0c10009c t $d0c1000bc t $a
and when i gave the bellow command it worked like slicing peace of cake. ?
(MSM 7x30) # loadb 0xc100000
## Ready for binary (kermit) download to 0x0C100000 at 115200 bps... ## Total Size ? ? ?= 0x00000252 = 594 Bytes
## Start Addr ? ? ?= 0x0C100000
(MSM 7x30) # go 0c100000
## Starting application at 0x0C100000 ...
Example expects ABI version 6
Actual U-Boot ABI version 6
Hello World
argc = 1
argv[0] = "0c100000"
argv[1] = "<NULL>"
Hit any key to exit ...
Thanks,
Mohamed Haneef M.A
________________________________
From: Wolfgang Denk <[email protected]>
To: Haneef Mohamed <[email protected]>
Cc: "u-boot at lists.denx.de" <[email protected]>; "albert.u.boot at aribaud.net" <[email protected]>
Sent: Friday, 16 March 2012 4:42 PM
Subject: Re: execution of standalone hello_world not happening
Dear Haneef Mohamed,
Quoted 6 lines · In message <[email protected]> you…
After?using u-boot command "loadb" to load hello_world.bin file (provided by u-boot) at address
0x00208000, I used go 208000but it is not executing. please would you let me know what went wrong?....
Did you try reading the FAQ?? For example this one:
http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH,? ???MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I can't understand it. I can't even understand? the? people? who? can understand it.? ? ? ? ? ? ? ? ? ? - Queen Juliana of the Netherlands.