* [U-Boot] what/where is image_entry()
@ 2016-11-23 0:44 Haleigh Novak
2016-11-24 10:04 ` Anatolij Gustschin
0 siblings, 1 reply; 2+ messages in thread
From: Haleigh Novak @ 2016-11-23 0:44 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] what/where is image_entry()
2016-11-23 0:44 [U-Boot] what/where is image_entry() Haleigh Novak
@ 2016-11-24 10:04 ` Anatolij Gustschin
0 siblings, 0 replies; 2+ messages in thread
From: Anatolij Gustschin @ 2016-11-24 10:04 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-11-24 10:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-23 0:44 [U-Boot] what/where is image_entry() Haleigh Novak
2016-11-24 10:04 ` Anatolij Gustschin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox