From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rogan Dawes Date: Tue, 19 Apr 2011 23:13:23 +0200 Subject: [U-Boot] How does u-boot know where to put its start code? Message-ID: <4DADFAF3.8090301@dawes.za.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi folks, I'm trying to understand a bit more about how u-boot creates the image, such that the CPU reset vector is pointing to the right piece of code when it is reset. i.e. my DNS323 (Orion5x) has a reset vector of 0xffff0000. But for the life of me, I can't find anywhere that actually references that value to place the start code at that point. I'm basically trying to make sure that my CONFIG_SYS_TEXT_BASE is correct (the address in the flash to which I write the whole u-boot.bin file, right?. Thanks Rogan