[U-Boot] Run hello_world.c example code at u-boot prompt using ARM Board

mac2927 ch.muzammal at gmail.com
Sat Sep 6 15:59:39 CEST 2008


> 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.



More information about the U-Boot mailing list