Reset mkbootimg base address and kernel/ramdisk offsets
It fixes the "Synchronous Abort" crash we see while running
the "fastboot boot ./boot.img" command from U-Boot fastboot.
Apparently, building a boot image with base 0x0,
kernel_offset 0x0 and ramdisk_offset 0x0 makes U-Boot ignore
all the values and determine the safe load addresses by
itself. That seem to have done the trick.
Smoke tested on DB845c, RB5 and SM8550-HDK with no obvious
regression in booting AOSP from the ABL either.
Change-Id: I4f03e1558887dc8b386299072930d0ed4a4f7e55
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
3 files changed