[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
** Changed in: linux-raspi2 (Ubuntu) Status: New => Fix Released ** Changed in: linux-raspi2 (Ubuntu Bionic) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
This bug was fixed in the package flash-kernel - 3.98ubuntu11~18.04.1 --- flash-kernel (3.98ubuntu11~18.04.1) bionic; urgency=medium * Permit flash-kernel to workaround an inconsistent /boot directory when triggered prior to the kernel finishing its triggers (LP: #1861292) flash-kernel (3.98ubuntu10~18.04.1) bionic; urgency=medium * SRU of 3.98ubuntu10 to support Raspberry Pi 4B. (LP: #1847587) * Removed new entries from db/all.db for machines that were not already supported on Bionic * Remove "quiet splash" from kernel command line options; Bionic shipped without these options and we shouldn't change the boot experience for existing users * Ensure the "overlays" dir always exists on the boot partition; the Bionic image for the Pi 2 shipped without this dir -- Dave Jones Wed, 29 Jan 2020 16:15:05 + ** Changed in: flash-kernel (Ubuntu Bionic) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
This bug was fixed in the package flash-kernel - 3.98ubuntu5.1 --- flash-kernel (3.98ubuntu5.1) eoan; urgency=medium * Backport changes from 3.98ubuntu6 to eoan * Remove redundant DTB-Kernel-Version field * Remove redundant copying of boot dtb * Fix mkimage_kernel tests * Add "pi" value for the "Method" field which copies all dtbs and overlays to the boot partition and provides defaults for the boot paths of the kernel, initrd, and u-boot script. This fixes upgrades to support the Pi 4 on Bionic (LP: #1850678) * Update pi bootscript to support all flash-kernel vars, including calculated devtype and partition for future USB boot support * Add entry for Raspberry Pi 3A+ (LP: #1841955) -- Dave Jones Thu, 07 Nov 2019 14:02:26 + ** Changed in: flash-kernel (Ubuntu Eoan) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
Tested on 3A+ under armhf and arm64; all working. ** Tags removed: verification-needed-eoan ** Tags added: verification-done-eoan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
The test case calls out using an 18.04 image. Will the same test work with the 19.10 image? Either way please update the test case so this also applies to 19.10. ** Changed in: flash-kernel (Ubuntu Eoan) Status: New => Fix Committed ** Tags added: verification-needed verification-needed-eoan -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
** Description changed: - Can't upgrade kernel on raspberry pi3b+ + [Impact] - [Steps to Reproduce] + Can't upgrade kernel on raspberry pi3a+. Without this, users can be + stuck with old kernels. + + [Test Case] + 1. dd the image in an SD card: http://cdimage.ubuntu.com/ubuntu/releases/18.04/release/ubuntu-18.04.3-preinstalled-server-armhf+raspi3.img.xz 2. Boot rpi3a+ with the sd card 3. Upgrade the kernel using following command: sudo apt update sudo apt install linux-raspi2 4. Check output message - [Expected Result] + Expected Result Current stable kernel(4.15.0-1043-raspi2) is installed. - [Actual Result] + Actual Result Error shows up during the installation, and the kernel is still the original one after reboot. + [Regression Potential] + + None. The bugfix for this change is only adding the missing db/all.db + Pi3A+ entry to flash-kernel. + [Additional Info] + Command output: ubuntu@ubuntu:~$ sudo apt install linux-raspi2 Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: linux-headers-4.15.0-1043-raspi2 linux-headers-raspi2 linux-image-4.15.0-1043-raspi2 linux-image-raspi2 linux-modules-4.15.0-1043-raspi2 linux-raspi2-headers-4.15.0-1043 Suggested packages: fdutils linux-raspi2-doc-4.15.0 | linux-raspi2-source-4.15.0 linux-raspi2-tools The following NEW packages will be installed: linux-headers-4.15.0-1043-raspi2 linux-image-4.15.0-1043-raspi2 linux-modules-4.15.0-1043-raspi2 linux-raspi2-headers-4.15.0-1043 The following packages will be upgraded: linux-headers-raspi2 linux-image-raspi2 linux-raspi2 3 upgraded, 4 newly installed, 0 to remove and 16 not upgraded. Need to get 45.1 MB of archives. After this operation, 214 MB of additional disk space will be used. Do you want to continue? [Y/n] Get:1 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf linux-raspi2-headers-4.15.0-1043 armhf 4.15.0-1043.46 [11.0 MB] Get:2 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf linux-headers-4.15.0-1043-raspi2 armhf 4.15.0-1043.46 [852 kB] Get:3 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf linux-modules-4.15.0-1043-raspi2 armhf 4.15.0-1043.46 [26.5 MB] Get:4 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf linux-image-4.15.0-1043-raspi2 armhf 4.15.0-1043.46 [6,751 kB] Get:5 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf linux-raspi2 armhf 4.15.0.1043.41 [1,884 B] Get:6 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf linux-image-raspi2 armhf 4.15.0.1043.41 [2,524 B] Get:7 http://ports.ubuntu.com/ubuntu-ports bionic-updates/universe armhf linux-headers-raspi2 armhf 4.15.0.1043.41 [2,512 B] Fetched 45.1 MB in 19s (2,363 kB/s) Selecting previously unselected package linux-raspi2-headers-4.15.0-1043. (Reading database ... 62492 files and directories currently installed.) Preparing to unpack .../0-linux-raspi2-headers-4.15.0-1043_4.15.0-1043.46_armhf.deb ... Unpacking linux-raspi2-headers-4.15.0-1043 (4.15.0-1043.46) ... Selecting previously unselected package linux-headers-4.15.0-1043-raspi2. Preparing to unpack .../1-linux-headers-4.15.0-1043-raspi2_4.15.0-1043.46_armhf.deb ... Unpacking linux-headers-4.15.0-1043-raspi2 (4.15.0-1043.46) ... Selecting previously unselected package linux-modules-4.15.0-1043-raspi2. Preparing to unpack .../2-linux-modules-4.15.0-1043-raspi2_4.15.0-1043.46_armhf.deb ... Unpacking linux-modules-4.15.0-1043-raspi2 (4.15.0-1043.46) ... Selecting previously unselected package linux-image-4.15.0-1043-raspi2. Preparing to unpack .../3-linux-image-4.15.0-1043-raspi2_4.15.0-1043.46_armhf.deb ... Unpacking linux-image-4.15.0-1043-raspi2 (4.15.0-1043.46) ... Preparing to unpack .../4-linux-raspi2_4.15.0.1043.41_armhf.deb ... Unpacking linux-raspi2 (4.15.0.1043.41) over (4.15.0.1041.39) ... Preparing to unpack .../5-linux-image-raspi2_4.15.0.1043.41_armhf.deb ... Unpacking linux-image-raspi2 (4.15.0.1043.41) over (4.15.0.1041.39) ... Preparing to unpack .../6-linux-headers-raspi2_4.15.0.1043.41_armhf.deb ... Unpacking linux-headers-raspi2 (4.15.0.1043.41) over (4.15.0.1041.39) ... Setting up linux-raspi2-headers-4.15.0-1043 (4.15.0-1043.46) ... Setting up linux-modules-4.15.0-1043-raspi2 (4.15.0-1043.46) ... Setting up linux-image-4.15.0-1043-raspi2 (4.15.0-1043.46) ... I: /boot/vmlinuz is now a symlink to vmlinuz-4.15.0-1043-raspi2 I: /boot/initrd.img is now a symlink to initrd.img-4.15.0-1043-raspi2 Setting up linux-headers-4.15.0-1043-raspi2 (4.15.0-1043.46) ... Setting up linux-image-raspi2 (4.15.0.1043.41) ... Setting up linux-headers-raspi2 (4.15.0.1043.41) ... Setting up linux-raspi2 (4.15.0.1043.41) ... Processing triggers for linux-image-4.15.0-1043-raspi2 (4.15.0-1043.46) ... /etc/kernel/postinst.d/in
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
This bug was fixed in the package flash-kernel - 3.98ubuntu6 --- flash-kernel (3.98ubuntu6) focal; urgency=medium * Remove redundant DTB-Kernel-Version field * Remove redundant copying of boot dtb * Fix mkimage_kernel tests * Add "pi" value for the "Method" field which copies all dtbs and overlays to the boot partition and provides defaults for the boot paths of the kernel, initrd, and u-boot script. This fixes upgrades to support the Pi 4 on Bionic (LP: #1850678) * Update pi bootscript to support all flash-kernel vars, including calculated devtype and partition for future USB boot support * Add entry for Raspberry Pi 3A+ (LP: #1841955) -- Dave Jones Thu, 07 Nov 2019 14:02:26 + ** Changed in: flash-kernel (Ubuntu) Status: In Progress => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
Test package for devel available from PPA (we'll see about SRUing to bionic and presumably eoan once this has landed): https://launchpad.net/~waveform/+archive/ubuntu/flash-kernel Relevant branch: https://code.launchpad.net/~waveform/ubuntu/+source/flash- kernel/+git/flash-kernel/+ref/pi3a-plus -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
** Tags added: id-5da7195077417327157503f8 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
Confirmed the 3A+ entry is missing from flash-kernel; I'll get this added for Eoan and open an SRU for Bionic (we need to backport flash- kernel to bionic anyway for Pi4 support). ** Changed in: flash-kernel (Ubuntu) Assignee: (unassigned) => Dave Jones (waveform) ** Changed in: flash-kernel (Ubuntu Bionic) Assignee: (unassigned) => Dave Jones (waveform) ** Changed in: flash-kernel (Ubuntu) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
** Also affects: flash-kernel (Ubuntu Bionic) Importance: Undecided Status: New ** Also affects: linux-raspi2 (Ubuntu Bionic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
I tried to reproduce the issue and found it is an "unsupport platform" for the tool flash-kernel ubuntu@ubuntu:~$ dpkg -l *1044* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ NameVersion Architecture Description +++-===-==-==- ii linux-headers-4.15.0-1044-raspi24.15.0-1044.47 armhf Linux kernel headers for version 4.15.0 on ARM (hard float) SMP ii linux-image-4.15.0-1044-raspi2 4.15.0-1044.47 armhf Linux kernel image for version 4.15.0 on ARM (hard float) SMP ii linux-modules-4.15.0-1044-raspi24.15.0-1044.47 armhf Linux kernel extra modules for version 4.15.0 on ARM (hard float) SMP ii linux-raspi2-headers-4.15.0-10444.15.0-1044.47 armhf Header files related to Linux kernel version 4.15.0 ubuntu@ubuntu:~$ sudo apt-get install --reinstall linux-headers-4.15.0-1044-raspi2 linux-image-4.15.0-1044-raspi2 linux-modules-4.15.0-1044-raspi2 linux-raspi2-headers-4.15.0-1044 Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 4 reinstalled, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/44.6 MB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 113356 files and directories currently installed.) Preparing to unpack .../linux-image-4.15.0-1044-raspi2_4.15.0-1044.47_armhf.deb ... Unpacking linux-image-4.15.0-1044-raspi2 (4.15.0-1044.47) over (4.15.0-1044.47) ... Preparing to unpack .../linux-headers-4.15.0-1044-raspi2_4.15.0-1044.47_armhf.deb ... Unpacking linux-headers-4.15.0-1044-raspi2 (4.15.0-1044.47) over (4.15.0-1044.47) ... Preparing to unpack .../linux-modules-4.15.0-1044-raspi2_4.15.0-1044.47_armhf.deb ... Unpacking linux-modules-4.15.0-1044-raspi2 (4.15.0-1044.47) over (4.15.0-1044.47) ... Preparing to unpack .../linux-raspi2-headers-4.15.0-1044_4.15.0-1044.47_armhf.deb ... Unpacking linux-raspi2-headers-4.15.0-1044 (4.15.0-1044.47) over (4.15.0-1044.47) ... Setting up linux-raspi2-headers-4.15.0-1044 (4.15.0-1044.47) ... Setting up linux-modules-4.15.0-1044-raspi2 (4.15.0-1044.47) ... Setting up flash-kernel (3.90ubuntu3.18.04.2) ... Setting up linux-headers-4.15.0-1044-raspi2 (4.15.0-1044.47) ... Setting up linux-image-4.15.0-1044-raspi2 (4.15.0-1044.47) ... Processing triggers for linux-image-4.15.0-1044-raspi2 (4.15.0-1044.47) ... /etc/kernel/postinst.d/initramfs-tools: update-initramfs: Generating /boot/initrd.img-4.15.0-1044-raspi2 flash-kernel: deferring update (trigger activated) /etc/kernel/postinst.d/zz-flash-kernel: flash-kernel: deferring update (trigger activated) Processing triggers for flash-kernel (3.90ubuntu3.18.04.2) ... Unsupported platform. dpkg: error processing package flash-kernel (--configure): installed flash-kernel package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: flash-kernel E: Sub-process /usr/bin/dpkg returned an error code (1) ubuntu@ubuntu:~$ flash-kernel Unsupported platform. ubuntu@ubuntu:~$ sudo flash-kernel Unsupported platform. ** Also affects: flash-kernel (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1841955] Re: Can't upgrade kernel on raspberry pi3a+
Tried apt install -f, and do some check. Updated kernel looks installed, but the system still boot from original kernel. ** Attachment added: "full_kernel_upgrade.log" https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1841955/+attachment/5285640/+files/full_kernel_upgrade.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1841955 Title: Can't upgrade kernel on raspberry pi3a+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-raspi2/+bug/1841955/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs