[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-07-16 Thread Dave Jones
It would be nice to start building compressed arm64 kernels for eoan,
but it may have to wait a bit as the core boot-env won't yet handle this
correctly (that doesn't matter for core-16, but core-18 has arm64
images).

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 in Ubuntu.
https://bugs.launchpad.net/bugs/1808056

Title:
  vmlinuz is very large in arm64 -raspi2

Status in flash-kernel package in Ubuntu:
  Fix Released
Status in linux-raspi2 package in Ubuntu:
  Triaged

Bug description:
  The debs are close to the same size:

  mwhudson@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-06-28 Thread Łukasz Zemczak
The needed flash-kernel changes landed in 3.98ubuntu2, setting to Fix
Released. Should we start looking into building compressed linux-raspi2
kernels for eoan?

** Changed in: flash-kernel (Ubuntu)
   Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 in Ubuntu.
https://bugs.launchpad.net/bugs/1808056

Title:
  vmlinuz is very large in arm64 -raspi2

Status in flash-kernel package in Ubuntu:
  Fix Released
Status in linux-raspi2 package in Ubuntu:
  Triaged

Bug description:
  The debs are close to the same size:

  mwhudson@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-06-18 Thread Dave Jones
** Changed in: flash-kernel (Ubuntu)
   Status: Confirmed => Fix Committed

** Changed in: flash-kernel (Ubuntu)
   Status: Fix Committed => In Progress

** Merge proposal linked:
   
https://code.launchpad.net/~waveform/ubuntu/+source/flash-kernel/+git/flash-kernel/+merge/368844

** Changed in: flash-kernel (Ubuntu)
 Assignee: (unassigned) => Dave Jones (waveform)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 in Ubuntu.
https://bugs.launchpad.net/bugs/1808056

Title:
  vmlinuz is very large in arm64 -raspi2

Status in flash-kernel package in Ubuntu:
  In Progress
Status in linux-raspi2 package in Ubuntu:
  Triaged

Bug description:
  The debs are close to the same size:

  mwhudson@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-06-12 Thread Dave Jones
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 Kernel
Packages, which is subscribed to linux-raspi2 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@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-06-10 Thread Łukasz Zemczak
Thanks Paolo! We'll do that once we have everything in place. For now
Dave (the person responsible for Pi images) will do some tests to make
sure we're able to handle all the upgrade cases. But what we think will
have to happen is that we'd probably ask not to backport this change
into bionic and xenial. With snaps lacking dependency handling, it would
be too easy to actually cause machines to stop working - even if in our
gadget snaps we support loading of both compressed and uncompressed
kernels (with determining which case is currently needed), there's still
the case where someone could update only the kernel and leave an old
gadget snap. So we'd probably have to stick to uncompressed kernels for
core18, only switching to .gz in core20.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 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@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-06-07 Thread Paolo Pisati
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 Kernel
Packages, which is subscribed to linux-raspi2 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@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-06-07 Thread Łukasz Zemczak
@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 Kernel
Packages, which is subscribed to linux-raspi2 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@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-06-05 Thread Francis Ginther
** Tags added: id-5c41a9213e4f370442b690db

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 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:
  Confirmed

Bug description:
  The debs are close to the same size:

  mwhudson@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-05-24 Thread Paolo Pisati
** Changed in: linux-raspi2 (Ubuntu)
 Assignee: Paolo Pisati (p-pisati) => (unassigned)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 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:
  Confirmed

Bug description:
  The debs are close to the same size:

  mwhudson@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-05-23 Thread Paolo Pisati
Yes, arm64 kernels don't have any decompressor build-in (and they'll
never get one) - i'm fine with your idea of compressing / decompressing
kernels upon installation (to avoid regression in corner cases) but i
would like (at some point in the future) to switch to compressed kernels
though (next LTS? F?).

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 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:
  Confirmed

Bug description:
  The debs are close to the same size:

  mwhudson@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-05-22 Thread Łukasz Zemczak
Paolo - so last time we talked about this, you mentioned that the arm64
kernel doesn't support decompressing the kernel on boot like the armhf
one. Is that still the case? Since I have marked the linux-raspi2 task
as 'Won't Fix' because of this. If yes, is there any way of having the
same functionality of uncompressing the kernel on boot for arm64 as we
have for armhf?

I mean, I guess we could still switch compression on and try to gunzip
the kernel in u-boot, sure. But I'm worried that without a built-in
decompression mechanism we might be breaking some user edge-cases.

I left the linux-raspi2 task as Won't Fix also because I originally
thought that we'd be doing the compression of the kernels manually on
boot-partition content upgrades. But maybe this way is better indeed. Of
course it would be best if we just had the same situation here as with
armhf...

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 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:
  Confirmed

Bug description:
  The debs are close to the same size:

  mwhudson@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-05-22 Thread Paolo Pisati
** Changed in: linux-raspi2 (Ubuntu)
 Assignee: (unassigned) => Paolo Pisati (p-pisati)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 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:
  Confirmed

Bug description:
  The debs are close to the same size:

  mwhudson@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-05-22 Thread Paolo Pisati
Armhf is already using zImage (and the kernel decompress itself once we
jump to it), so this is an arm64-only issue and no, there's no reason to
have vmlinuz uncompressed as long as the bootloader can handle it - i'll
send a fix to switch to Image.gz in Eoan.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 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:
  Confirmed

Bug description:
  The debs are close to the same size:

  mwhudson@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1808056] Re: vmlinuz is very large in arm64 -raspi2

2019-05-22 Thread Dimitri John Ledkov
Can kernel team elaborate on this ticket?

Cause as far as I can tell, we can change flash-kernel / boot.scr in
eoan, and kernels do support compressed images on armhf And rewrite
boot.scr on upgrade to eoan+

Is there something that I'm missing from shipping compressed kernels
here? Something specific to armhf? arm64?

** Changed in: linux-raspi2 (Ubuntu)
   Status: Won't Fix => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-raspi2 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:
  Confirmed

Bug description:
  The debs are close to the same size:

  mwhudson@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@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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp