[U-Boot] uImage load address and entry point with Minnowboard

Wolfgang Denk wd at denx.de
Fri Jun 24 13:57:39 CEST 2016


Dear Vinoth,

In message <CAJst-kFZjA_Nq7K25CEPri9Aq7r=-mmtGyeNYwwg-P2CrN4dbA at mail.gmail.com> you wrote:
> 
> I am using the following command to create uImage. Here in the architecture
> argument I am not seeing any option corresponding to the Intel-x86_64. So I
> had used x86, which I am not sure is valid or not. The kernel is 64 bit.
> 
> mkimage -A x86 -O linux -T kernel -C none -a 0x100000 -e 0x00000 -n Linux
> -d vmlinux-4.4.6-ina uImage
> Image Name:   Linux
> Created:      Fri Jun 24 10:35:40 2016
> Image Type:   Intel x86 Linux Kernel Image (uncompressed)
> Data Size:    21966248 Bytes = 21451.41 kB = 20.95 MB
> Load Address: 00100000
> Entry Point:  00000000

This makes no sense to me.  When the kernel image is loaded to RAM
starting at address 0x00100000, then ther eis no valid code at address
0x00000000.  So 0x00000000 cannot be a valid entry oint address.  The
entry point address must be somewhare in the range between "load
address" and "load address + size of uncompressed kernel image".

> Error: Invalid Boot Flag (found 0x0000, expected 0xaa55)
> Setup at 0x000000
> Magic signature not found
> 
> Is is I need to load setup.bin also?

I have no idea.  I didn't know that you were asking for x86...  I'm
not an expert in this area.  I added Simon and Bin to cc: who might be
in a much better position to answer such a question.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
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
To be is to program.


More information about the U-Boot mailing list