what/where is image_entry()
Hello All,?
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?
Thank you for your time.
HN
On Wed, 23 Nov 2016 00:44:51 +0000
Haleigh Novak haleigh at edt.com wrote:
...
Quoted 5 lines
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 whatimage_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