[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 Ubuntu Bugs,

[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

[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 **

[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

[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

[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

[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

[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808056 Title: vmlinuz is very large in arm64 -raspi2 To manage notifications about this bug go to:

[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808056 Title: vmlinuz is very large in arm64 -raspi2 To

[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

[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

[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 Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808056 Title: vmlinuz is very large in arm64 -raspi2 To

[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

[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

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

2019-01-08 Thread Francis Ginther
** Tags added: id-5c3498019b64ea2312fd035e -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808056 Title: vmlinuz is very large in arm64 -raspi2 To manage notifications about this bug go to:

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

2019-01-08 Thread Łukasz Zemczak
** Also affects: flash-kernel (Ubuntu) Importance: Undecided Status: New ** Changed in: linux-raspi2 (Ubuntu) Status: New => Won't Fix ** Changed in: flash-kernel (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu

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

2018-12-17 Thread Łukasz Zemczak
@mwhudson I think those can get updated by flash-kernel actually. Not sure if that works though as I did not have any occasion to test that. But in theory the flash-kernel triggers, besides updating the kernel on the boot partition, should also update the boot.scr script every time. That being

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

2018-12-13 Thread Francis Ginther
** Tags added: id-5c102b896d5be615fa2824ee -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1808056 Title: vmlinuz is very large in arm64 -raspi2 To manage notifications about this bug go to:

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

2018-12-12 Thread Michael Hudson-Doyle
That said we just shipped a bunch of images with the original boot.scr to a bunch of people and I don't think we have a mechanism for updating the boot.scr on these images, although I would love to be wrong about that. -- You received this bug notification because you are a member of Ubuntu

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

2018-12-12 Thread Michael Hudson-Doyle
So it seems after some testing that if one changes the boot.scr to this: fdt addr ${fdt_addr_r} fdt get value bootargs /chosen bootargs setenv kernel_addr_r 0x0100 setenv ramdisk_addr_r 0x0310 fatload mmc 0:1 ${ramdisk_addr_r} vmlinuz unzip ${ramdisk_addr_r} ${kernel_addr_r} ${filesize}