[U-Boot] image: android: handle default kernel address
Tom Rini
trini at konsulko.com
Sun May 10 16:07:53 CEST 2015
On Fri, Apr 24, 2015 at 12:53:12PM +0200, Maxime Ripard wrote:
> The two tools that create android boot images, mkbootimg and the fastboot
> client, set the kernel address by default to 0x10008000.
>
> U-boot always honors this field, and will try to relocate the kernel to
> whatever value is set in the header, which won't be mapped to the actual RAM on
> most platforms, resulting in the kernel obviously not booting.
>
> All the targets in U-Boot right now will download the android boot image to
> CONFIG_SYS_LOAD_ADDR, which means that it will already have been downloaded to
> some location that is suitable for execution.
>
> In order to have the kernel booting even with the default boot image kernel
> address, if that address is used, just execute the kernel where it is.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150510/ee9c1331/attachment.sig>
More information about the U-Boot
mailing list