[Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2
Paolo Pisati
1808056 at bugs.launchpad.net
Fri Jun 7 12:57:13 UTC 2019
On the kernel side, the switch to a compressed kernel is a trivial
change:
diff --git a/debian.raspi2/rules.d/arm64.mk b/debian.raspi2/rules.d/arm64.mk
index ada61b8..9f82433 100644
--- a/debian.raspi2/rules.d/arm64.mk
+++ b/debian.raspi2/rules.d/arm64.mk
@@ -3,7 +3,7 @@ build_arch = arm64
header_arch = arm64
defconfig = defconfig
flavours = raspi2
-build_image = Image
+build_image = Image.gz
kernel_file = arch/$(build_arch)/boot/Image
install_file = vmlinuz
no_dumpfile = true
Feel free to send such a change to the kernel ml once userspace issues
(classic and core) are sorted out.
--
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