* [U-Boot] execution of standalone hello_world not happening
@ 2012-03-16 9:39 Haneef Mohamed
2012-03-16 9:40 ` Haneef Mohamed
2012-03-16 11:12 ` Wolfgang Denk
0 siblings, 2 replies; 5+ messages in thread
From: Haneef Mohamed @ 2012-03-16 9:39 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] execution of standalone hello_world not happening
2012-03-16 9:39 [U-Boot] execution of standalone hello_world not happening Haneef Mohamed
@ 2012-03-16 9:40 ` Haneef Mohamed
2012-03-16 11:12 ` Wolfgang Denk
1 sibling, 0 replies; 5+ messages in thread
From: Haneef Mohamed @ 2012-03-16 9:40 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] execution of standalone hello_world not happening
2012-03-16 9:39 [U-Boot] execution of standalone hello_world not happening Haneef Mohamed
2012-03-16 9:40 ` Haneef Mohamed
@ 2012-03-16 11:12 ` Wolfgang Denk
2012-03-16 14:29 ` Marek Vasut
2012-03-19 5:38 ` Haneef Mohamed
1 sibling, 2 replies; 5+ messages in thread
From: Wolfgang Denk @ 2012-03-16 11:12 UTC (permalink / raw)
To: u-boot
Dear Haneef Mohamed,
In message <1331890796.4546.YahooMailNeo@web193301.mail.sg3.yahoo.com> you wrote:
>
> 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?....
Did you try reading the FAQ? For example this one:
http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork
Best regards,
Wolfgang Denk
--
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] execution of standalone hello_world not happening
2012-03-16 11:12 ` Wolfgang Denk
@ 2012-03-16 14:29 ` Marek Vasut
2012-03-19 5:38 ` Haneef Mohamed
1 sibling, 0 replies; 5+ messages in thread
From: Marek Vasut @ 2012-03-16 14:29 UTC (permalink / raw)
To: u-boot
Dear Wolfgang Denk,
> Dear Haneef Mohamed,
>
> In message <1331890796.4546.YahooMailNeo@web193301.mail.sg3.yahoo.com> you
wrote:
> > 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?....
>
> 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? :)
>
> Best regards,
>
> Wolfgang Denk
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] execution of standalone hello_world not happening
2012-03-16 11:12 ` Wolfgang Denk
2012-03-16 14:29 ` Marek Vasut
@ 2012-03-19 5:38 ` Haneef Mohamed
1 sibling, 0 replies; 5+ messages in thread
From: Haneef Mohamed @ 2012-03-19 5:38 UTC (permalink / raw)
To: u-boot
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 _stack
0c100000 t $a
0c100000 T hello_world ----> this is my load address present in arch/arm/config.mk?CONFIG_STANDALONE_LOAD_ADDR = 0xc100000
0c10009c t $d
0c1000bc 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 <wd@denx.de>
To: Haneef Mohamed <haneef_kernel@yahoo.in>
Cc: "u-boot at lists.denx.de" <u-boot@lists.denx.de>; "albert.u.boot at aribaud.net" <albert.u.boot@aribaud.net>
Sent: Friday, 16 March 2012 4:42 PM
Subject: Re: execution of standalone hello_world not happening
Dear Haneef Mohamed,
In message <1331890796.4546.YahooMailNeo@web193301.mail.sg3.yahoo.com> you wrote:
>
> 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?....
Did you try reading the FAQ?? For example this one:
http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork
Best regards,
Wolfgang Denk
--
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-03-19 5:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-16 9:39 [U-Boot] execution of standalone hello_world not happening Haneef Mohamed
2012-03-16 9:40 ` Haneef Mohamed
2012-03-16 11:12 ` Wolfgang Denk
2012-03-16 14:29 ` Marek Vasut
2012-03-19 5:38 ` Haneef Mohamed
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox