From: Haneef Mohamed Date: Mon, 19 Mar 2012 13:38:49 +0800 (SGT) Subject: [U-Boot] execution of standalone hello_world not happening In-Reply-To: <20120316111205.7222F200B56@gemini.denx.de> References: <1331890796.4546.YahooMailNeo@web193301.mail.sg3.yahoo.com> <20120316111205.7222F200B56@gemini.denx.de> Message-ID: <1332135529.90510.YahooMailNeo@web193303.mail.sg3.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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] = "" Hit any key to exit ... Thanks, Mohamed Haneef M.A ________________________________ From: Wolfgang Denk To: Haneef Mohamed Cc: "u-boot at lists.denx.de" ; "albert.u.boot at 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.