[Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2
Ćukasz Zemczak
1808056 at bugs.launchpad.net
Fri Jun 7 07:26:57 UTC 2019
@p-pisati After discussing it with Steve and Dave, we have decided that
we'd like to switch to compressed images by default in linux-raspi2.
Yes, we might break some edge cases here, but in overall we only
officially support our own raspi images which we will be making sure are
still working correctly after this change.
That being said, this will require a bit of coordination. The biggest
challenge of such a change is making sure our ubuntu-core arm64 images
still work with the new kernel. We officially introduced the arm64 raspi
arch with 18.04.2 for core, so we'd have to find a way to not 'brick'
existing images in the field. With classic images it's quite trivial, as
we just need to set the dependencies right, but for core - there are no
'snap dependencies' we can use.
** Changed in: linux-raspi2 (Ubuntu)
Assignee: (unassigned) => Paolo Pisati (p-pisati)
** Changed in: linux-raspi2 (Ubuntu)
Status: Confirmed => Triaged
--
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