From mboxrd@z Thu Jan 1 00:00:00 1970 From: mac2927 Date: Sat, 6 Sep 2008 06:59:39 -0700 (PDT) Subject: [U-Boot] Run hello_world.c example code at u-boot prompt using ARM Board In-Reply-To: <200809061514.24993.luigi.mantellini.ml@gmail.com> References: <9bde694e0809060317s62e95b40w976077a0b8c2be2e@mail.gmail.com> <200809061514.24993.luigi.mantellini.ml@gmail.com> Message-ID: <19346962.post@talk.nabble.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > 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.