[U-Boot] SPL support and secondary image size

jonsmirl at gmail.com jonsmirl at gmail.com
Fri Nov 4 16:16:23 CET 2011


On Thu, Nov 3, 2011 at 10:11 PM, Aneesh V <aneesh at ti.com> wrote:
> Hi Jon,
>
> For OMAP we find this run-time by loading u-boot.img instead of
> u-boot.bin. u-boot.img has a 64 byte header with all necessary
> information such as size, load address, image type etc. The OMAP SPL
> can in fact load any image that has a standard u-boot header(mkimage
> header), including a uImage. This scheme was suggested by Wolfgang.

Once I get the image file into memory, is there a uboot function I can
call to run it? One that copies it to the correct location, does
fixups, etc

I tried running it from the command line:

EA3131-NXP # bootm 0x31000000
## Booting kernel from Legacy Image at 31000000 ...
   Image Name:   U-Boot 2011.09-00285-gc0d0576 fo
   Image Type:   ARM U-Boot Firmware (uncompressed)
   Data Size:    240496 Bytes = 234.9 kB
   Load Address: 31200000
   Entry Point:  00000000
   Verifying Checksum ... OK
Wrong Image Type for bootm command
ERROR: can't get kernel image!
EA3131-NXP #

-- 
Jon Smirl
jonsmirl at gmail.com


More information about the U-Boot mailing list