Commit 1b7898ee276b "powerpc/boot: Use the pre-boot decompression API" breaks boot

Michael Ellerman mpe at ellerman.id.au
Mon Oct 10 15:41:14 AEDT 2016


Heiner Kallweit <hkallweit1 at gmail.com> writes:

> Am 07.10.2016 um 21:26 schrieb Heiner Kallweit:
>> Am 07.10.2016 um 07:51 schrieb Oliver O'Halloran:
>>> Hi, Heiner
>>>
>>> Could you send me a copy of the kernel .config (or which defconfig)
>>> that you're using, the name of the HW platform that you're using and
>>> if possible the kernel image itself?
>>>
>>> Thanks,
>>> Oliver
>>>
>> Thanks for the quick reply. Attached are .config and cuImage.
>> HW is a TP-Link TL-WDR4900 WiFi router (P1014-based) running OpenWRT.
>> 
> After further checking I think I found the issue. The old gunzip code
> handled uncompressed data transparently whilst the new one bails out
> if it doesn't find a proper gzip header.
> And in my case the actual kernel image is uncompressed.
> With the following patch the system boots fine again (at least for me).

Thanks for testing and tracking it down.

I wonder why the actual image is uncompressed? Or alternately why do we
tell uboot the image is compressed when it's not?

cheers


More information about the Linuxppc-dev mailing list