* [U-Boot] Run hello_world.c example code at u-boot prompt using ARM Board
@ 2008-09-06 10:17 naveen yadav
2008-09-06 13:14 ` Luigi 'Comio' Mantellini
0 siblings, 1 reply; 3+ messages in thread
From: naveen yadav @ 2008-09-06 10:17 UTC (permalink / raw)
To: u-boot
Hi All,
I want to run hello_world.c example with printf enable . I load tftp
hello_world.bin using at 0x200000
>tftp 0x20000 hello_world.bin
>go 0x200000
After this System get freeze. I am very thankfull if any body have any Idea.
I am using ARM 11.
Best Regards
Naveen
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Run hello_world.c example code at u-boot prompt using ARM Board
2008-09-06 10:17 [U-Boot] Run hello_world.c example code at u-boot prompt using ARM Board naveen yadav
@ 2008-09-06 13:14 ` Luigi 'Comio' Mantellini
2008-09-06 13:59 ` mac2927
0 siblings, 1 reply; 3+ messages in thread
From: Luigi 'Comio' Mantellini @ 2008-09-06 13:14 UTC (permalink / raw)
To: u-boot
Il sabato 06 settembre 2008 12:17:54 naveen yadav ha scritto:
> Hi All,
>
> I want to run hello_world.c example with printf enable . I load tftp
> hello_world.bin using at 0x200000
>
> >tftp 0x20000 hello_world.bin
> >go 0x200000
the address where you load is different that the address where you jump... is
it a typo?
ciao
luigi
>
> After this System get freeze. I am very thankfull if any body have any
> Idea. I am using ARM 11.
>
> Best Regards
> Naveen
--
Luigi Mantellini
R&D - Software
Industrie Dial Face S.p.A.
Via Canzo, 4
20068 Peschiera Borromeo (MI), Italy
Tel.: +39 02 5167 2813
Fax: +39 02 5167 2459
Email: luigi.mantellini at idf-hit.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Run hello_world.c example code at u-boot prompt using ARM Board
2008-09-06 13:14 ` Luigi 'Comio' Mantellini
@ 2008-09-06 13:59 ` mac2927
0 siblings, 0 replies; 3+ messages in thread
From: mac2927 @ 2008-09-06 13:59 UTC (permalink / raw)
To: u-boot
> Hi All,
>
> I want to run hello_world.c example with printf enable . I load tftp
> hello_world.bin using at 0x200000
>
> >tftp 0x20000 hello_world.bin
> >go 0x200000
The entry point of the program is at offset 0x0004 from the start of the
file. Try this:
tftp 0x20000 hello_world.bin
go 0x20004
Also, if this does not work. Under u-boot/examples/Makefile, check what is
the load_addr for your processor set to. Try to load app to that address.
Regards,
Muzammal
Luigi 'Comio' Mantellini-3 wrote:
>
> Il sabato 06 settembre 2008 12:17:54 naveen yadav ha scritto:
>> Hi All,
>>
>> I want to run hello_world.c example with printf enable . I load tftp
>> hello_world.bin using at 0x200000
>>
>> >tftp 0x20000 hello_world.bin
>> >go 0x200000
>
> the address where you load is different that the address where you jump...
> is
> it a typo?
>
> ciao
>
> luigi
>
>>
>> After this System get freeze. I am very thankfull if any body have any
>> Idea. I am using ARM 11.
>>
>> Best Regards
>> Naveen
>
> --
> Luigi Mantellini
> R&D - Software
> Industrie Dial Face S.p.A.
> Via Canzo, 4
> 20068 Peschiera Borromeo (MI), Italy
> Tel.: +39 02 5167 2813
> Fax: +39 02 5167 2459
> Email: luigi.mantellini at idf-hit.com
>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>
--
View this message in context: http://www.nabble.com/-U-Boot--Run-hello_world.c-example-code-at-u-boot-prompt-using-ARM-Board-tp19345085p19346962.html
Sent from the Uboot - Users mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-06 13:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-06 10:17 [U-Boot] Run hello_world.c example code at u-boot prompt using ARM Board naveen yadav
2008-09-06 13:14 ` Luigi 'Comio' Mantellini
2008-09-06 13:59 ` mac2927
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox