[PATCH] ARM: compressed: discard ksym/kcrctab input section

Russell King - ARM Linux linux at armlinux.org.uk
Mon Oct 23 15:19:28 PDT 2017


On Mon, Oct 23, 2017 at 11:17:35PM +0200, Matthias Brugger wrote:
> Yes, I apply a dtb to my zImage. I do that because the board has no support on
> mainline u-boot right now and I do kernel enablement on the board. Support in
> u-boot is no priority ATM.

Right, so the reason your system isn't booting is because of the
additional section in the zImage, which causes additional bytes
after _edata.

That causes the appending of the dtb to be in the wrong place,
so it doesn't get found.

With Arnd's patch applied, if you do:

dd if=arch/arm/boot/zImage bs=1 count=$(( $(stat -c %s arch/arm/boot/zImage) - 8)) of=zImg
cat zImg $dtb > zImg.boot

and then try booting zImg.boot instead, that should work, and
would prove my point.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up
According to speedtest.net: 8.21Mbps down 510kbps up



More information about the linux-arm-kernel mailing list