[Bug 1847587] Re: [SRU] Add entries for Pi 4
Dave Jones
dave.jones at canonical.com
Thu Dec 19 17:03:57 UTC 2019
** Description changed:
Impact
======
- Apt upgrades performed on a Raspberry Pi 4 complain about missing
- database entries during the flash-kernel trigger. An updated version of
- flash-kernel with a Pi 4 entry in the database is available in the
- following PPA:
-
- https://launchpad.net/~waveform/+archive/ubuntu/ubpi4
-
+ The current stable release (bionic) does not support booting on the
+ Raspberry Pi 4. Several packages need back-porting from devel to support
+ this, along with a new kernel.
Test Case
=========
- * Boot the latest eoan daily on a pi3
- * Migrate the boot config to operate on a pi4 (these steps won't be necessary once the gadget snap is updated):
-
- $ sudo -i
- $ . /usr/share/rpi-config-migration
- $ is_old_config && migrate_config
-
- * Reboot the card on a pi4
- * Run sudo /usr/sbin/flash-kernel
- * Without the upgrade, it will report "Unsupported platform" with exit code 1
- * Upgrade package to 3.98ubuntu4
- * Re-run sudo /usr/sbin/flash-kernel
- * With the upgrade, should report the usual "Using DTB: bcm2711-rpi-4-b.dtb", etc. with exit code 0
-
+ * Attempt to boot the latest bionic image (18.04.3) on a pi4; note failure
+ * Move the SD card to a pi3 and boot successfully
+ * Ensure all packages are up to date (apt update/upgrade)
+ * sudo add-apt-repository ppa:waveform/pi4
+ * sudo apt upgrade
+ * sudo apt install linux-image-raspi2-hwe-18.04-edge
+ * sudo reboot
+ * Ensure boot proceeds successfully on the pi3
+ * Move the SD card back to the pi4
+ * Ensure boot proceeds successfully on the pi4
+ * Repeat for both archs (armhf and arm64)
Regression Potential
====================
- None; this change only adds the Pi 4 entry to the flash-kernel db. It
- doesn't alter / remove any existing entries or change any code. The
- worst case scenario is that it still doesn't work on the Pi 4.
+ Plenty; pi4 support on bionic requires back-ports of flash-kernel,
+ u-boot, linux-firmware-raspi2, and the kernel. Verification of boot, and
+ other facilities (USB peripherals, mass storage, free memory, etc. etc.)
+ should be performed on both archs and all supported models of pi (2, 3,
+ 3A+, 3B+, 4B all memory variants).
--
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/1847587
Title:
[SRU] Add entries for Pi 4
Status in flash-kernel package in Ubuntu:
Fix Released
Status in flash-kernel source package in Bionic:
New
Bug description:
Impact
======
The current stable release (bionic) does not support booting on the
Raspberry Pi 4. Several packages need back-porting from devel to
support this, along with a new kernel.
Test Case
=========
* Attempt to boot the latest bionic image (18.04.3) on a pi4; note failure
* Move the SD card to a pi3 and boot successfully
* Ensure all packages are up to date (apt update/upgrade)
* sudo add-apt-repository ppa:waveform/pi4
* sudo apt upgrade
* sudo apt install linux-image-raspi2-hwe-18.04-edge
* sudo reboot
* Ensure boot proceeds successfully on the pi3
* Move the SD card back to the pi4
* Ensure boot proceeds successfully on the pi4
* Repeat for both archs (armhf and arm64)
Regression Potential
====================
Plenty; pi4 support on bionic requires back-ports of flash-kernel,
u-boot, linux-firmware-raspi2, and the kernel. Verification of boot,
and other facilities (USB peripherals, mass storage, free memory, etc.
etc.) should be performed on both archs and all supported models of pi
(2, 3, 3A+, 3B+, 4B all memory variants).
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1847587/+subscriptions
More information about the foundations-bugs
mailing list