ACK: [SRU][B/raspi-5.4][PATCH] UBUNTU: [Packaging] raspi-bionic: Build uncompressed arm64 kernel images

Dimitri John Ledkov dimitri.ledkov at canonical.com
Wed Aug 4 16:30:13 UTC 2021


On Wed, Aug 4, 2021 at 4:40 PM Juerg Haefliger
<juerg.haefliger at canonical.com> wrote:
>
> BugLink: https://bugs.launchpad.net/bugs/1938912
>
> UC18 can't handle compressed arm64 kernels so build uncompressed kernels.
>
> Signed-off-by: Juerg Haefliger <juergh at canonical.com>
> ---
>  debian.raspi-bionic/rules.d/arm64.mk | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/debian.raspi-bionic/rules.d/arm64.mk b/debian.raspi-bionic/rules.d/arm64.mk
> index 3846cbfaf8cd..fde84ab88cd0 100644
> --- a/debian.raspi-bionic/rules.d/arm64.mk
> +++ b/debian.raspi-bionic/rules.d/arm64.mk
> @@ -3,8 +3,8 @@ build_arch      = arm64
>  header_arch    = arm64
>  defconfig      = defconfig
>  flavours       = raspi
> -build_image    = Image.gz
> -kernel_file    = arch/$(build_arch)/boot/Image.gz
> +build_image    = Image
> +kernel_file    = arch/$(build_arch)/boot/Image
>  install_file   = vmlinuz
>  no_dumpfile    = true

Acked-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>

We could SRU u-boot, to add support for compressed kernels, but then
it would still take a long time to be able to start using compressed
kernel, given that we cannot enforce a strict dependency on a new
enough pi gadget, or its derivatives in the brand stores.
Hence keeping raspi uncompressed is the best option for UC18 compat.

-- 
Regards,

Dimitri.



More information about the kernel-team mailing list