[Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2
Dave Jones
dave.jones at canonical.com
Wed Jun 12 08:55:04 UTC 2019
I've put together an update for flash-kernel that handles booting an
uncompressed image (to support existing arm64 installs), a self-
compressed image (to support existing armhf installs), and a gzip'd
image (to support the proposed format). It assumes the kernel is called
"vmlinuz" in all cases (because that's currently the case, and I presume
will continue to be the case in future).
Just finishing up testing today, but I've already confirmed it works on
pi2, pi3, and pi3+ with all (supported) kernel cases - just cm3 and cm3+
to go. The update also switches the pi2 case to using the same boot-
script as all the rest. I'll ping Lukasz for a review when everything's
confirmed as working.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/1808056
Title:
vmlinuz is very large in arm64 -raspi2
Status in flash-kernel package in Ubuntu:
Confirmed
Status in linux-raspi2 package in Ubuntu:
Triaged
Bug description:
The debs are close to the same size:
mwhudson at ringil:~/Downloads$ ls -l linux-image-4.15.0-1030-raspi2_4.15.0-1030.32_arm64.deb
-rw-rw-r-- 1 mwhudson mwhudson 5398652 Dec 12 10:42 linux-image-4.15.0-1030-raspi2_4.15.0-1030.32_arm64.deb
mwhudson at ringil:~/Downloads$ ls -l linux-image-4.15.0-1030-raspi2_4.15.0-1030.32_armhf.deb
-rw-rw-r-- 1 mwhudson mwhudson 6640960 Dec 12 10:42 linux-image-4.15.0-1030-raspi2_4.15.0-1030.32_armhf.deb
But the vmlinuz on arm64 is several times larger:
$ dpkg-deb -c linux-image-4.15.0-1030-raspi2_4.15.0-1030.32_armhf.deb
-rw------- root/root 6633048 2018-12-07 06:38 ./boot/vmlinuz-4.15.0-1030-raspi2
$ dpkg-deb -c linux-image-4.15.0-1030-raspi2_4.15.0-1030.32_arm64.deb
-rw------- root/root 23914504 2018-12-07 06:38 ./boot/vmlinuz-4.15.0-1030-raspi2
This forced us to make the boot partition larger for the raspi3 b+
arm64 image we made.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1808056/+subscriptions
More information about the foundations-bugs
mailing list