From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anatolij Gustschin Date: Thu, 24 Nov 2016 11:04:48 +0100 Subject: [U-Boot] what/where is image_entry() In-Reply-To: <1479861891670.32641@edt.com> References: <1479861891670.32641@edt.com> Message-ID: <20161124110448.4cb3ad5d@crub> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 23 Nov 2016 00:44:51 +0000 Haleigh Novak haleigh at edt.com wrote: ... > Please forgive the uber-beginner question but I can not find anything related online, > I have been digging around in the uboot source and I stumbled on the image_entry() > function; sometimes it has parameters and sometimes it does not. I am unable to > locate the source(s) of the function, so I can not see how it works. Could someone > explain what image_entry() actually does or at least point me to where it is defined? it starts execution of the first code in the U-Boot image at address defined with CONFIG_SYS_TEXT_BASE. What it actually does is platform dependent. Compile the image for your target and then search for this address the System.map file. On ARM there will be a _start label for this address, it is usually some code in assembly file (branch instruction at reset vector). -- Anatolij