Skip to contentSkip to conversation

Run hello_world.c example code at u-boot prompt using ARM Board

U-Boot naveen yadav 3 participants 3 messages Sep 6, 2008

lore
Share & tools
lore
#0 lore raw

Hi All,

I want to run hello_world.c example with printf enable . I load tftp hello_world.bin using at 0x200000

Quoted 2 lines

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

#1 lore raw

Il sabato 06 settembre 2008 12:17:54 naveen yadav ha scritto:

Quoted 7 lines

Hi All,

I want to run hello_world.c example with printf enable . I load tftp hello_world.bin using at 0x200000

Quoted 2 lines

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

Quoted 6 lines

After this System get freeze. I am very thankfull if any body have any Idea. I am using ARM 11.

Best Regards
Naveen

Signature · 8 lines
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
#2 lore raw
Quoted 8 lines

Hi All,

I want to run hello_world.c example with printf enable . I load tftp hello_world.bin using at 0x200000

Quoted 2 lines

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

Quoted 42 lines · Luigi 'Comio' Mantellini-3 wrote:

Il sabato 06 settembre 2008 12:17:54 naveen yadav ha scritto:

Quoted 7 lines

Hi All,

I want to run hello_world.c example with printf enable . I load tftp hello_world.bin using at 0x200000

Quoted 2 lines

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

Quoted 6 lines

After this System get freeze. I am very thankfull if any body have any Idea. I am using ARM 11.

Best Regards
Naveen

Signature · 14 lines
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
Signature · 2 lines
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.