From: Wolfgang Denk Date: Mon, 22 Feb 2010 00:22:27 +0100 Subject: [U-Boot] Problem executing hello world as specified on wiki In-Reply-To: References: Message-ID: <20100221232227.9EAEEA87D18@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Vipul Jain, In message you wrote: > > I am trying to execute the standlone examples of hello world by following > the steps > specified at the U-Boot wiki but have no success. This is what I am getting. You must not just follow the steps without thinking. > Method 1: > --------------- > EDB9302> tftp 40000 /tftpboot/hello_world.srec What makes you think this is the correct download address? > Using ep93xx_eth-0 device ep93xx? Sounds line an ARM system to me. Are you sure you have RAM at this address, and that this is the correct address for this standalone app? > EDB9302> loadb 0x100000 > ## Ready for binary (kermit) download to 0x00100000 at 115200 bps... What makes you think this is the correct download address? > Please help me, how can I test simple hello world program like this on > U-Boot. Well, if you continue trying random addresses you will probably continue getting random results. Please read the FAQ: http://www.denx.de/wiki/view/DULG/MyStandaloneProgramDoesNotWork Then think about your sytem, nd check the load and entry point addresses. 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 Inside every old person is a young person wondering what happened. - Terry Pratchett, _Moving Pictures_