From: Wolfgang Denk Date: Wed, 08 Oct 2008 16:39:58 +0200 Subject: [U-Boot] Run hello world with Uboot ! In-Reply-To: References: <19851315.post@talk.nabble.com> <20081007155754.33EA18137545@gemini.denx.de> <20081007210505.36D098924313@gemini.denx.de> Message-ID: <20081008143958.1DC128356979@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 Mathieu, In message you wrote: > > I did : > > tftp 0x80000000 /tftpboot/hello_world.bin > > since the entry point is 0x0c100000 > > shouldnt I go from 0x80000000 + 0x0c100000? which is 0x8c100000 ? No, of course not. The entry point is an absolute address, not an offset. This is not completely poistion-independent code, it is linked for one specific absolute address. > am I wrong in using 0x80000000 which is the start address of the SDRAM > according to the board's documentation? You are wrong when linking the application to an absolute address where you cannot execute it because it is not in RAM. 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 Human beings were created by water to transport it uphill.