This bug was fixed in the package flash-kernel - 3.107ubuntu1 --------------- flash-kernel (3.107ubuntu1) mantic; urgency=medium [ Dave Jones ] * Merge from Debian unstable (LP: #2024672). Remaining changes: - Add support for QCT APQ8064 CDP - Add support for QCT APQ8064 CDP; thanks Alfonso Sanchez-Beato. - Add support for Calxeda Highbank - Add support for Calxeda Highbank (with bootscr.highbank different from Debian's version) - bootscr.highbank: allow more space to load larger kernels - Add support for Nexus 4 (Mako) - Enabling support for mako (Nexus 4) - Add support for Marvell ArmadaXP - Re-add support for Marvell ArmadaXP - Fix armadaxp kernel load address - Add support for Samsung Exynos 5440 platforms - Add support for EXYNOS5440-based platforms - Add generic-lpae to the XB-Subarchitecture list in debian/control - debian/flash-kernel-installer.isinstallable: add arm*/generic-lpae - Add support for HP ProLiant m400 cartridges - Add support for HP ProLiant m400 Server Cartridges - HP Moonshot Cartridges: Use $baudrate from u-boot environment as serial console speed - HP Moonshot Cartridges: Enable hardware flow control as required by the HP moonshot chassis - Enable U-Boot environment support for X-Gene platforms - Use filesystem agnostic "load" command instead of assuming ext4 - Add a bootscript specific to X-Gene Mustang boards since they need to pull their dtb from the OS. - Add support for OMAP3 and OMAP4 boards - add DB entry for "OMAP3 Beagle Board" (funnily thats missing) - add Panda to the list of supported board in the README file - debian/control: Re-add omap and omap4 to the flash-kernel-installer XB-Subarchitecture field. These appear to have been lost somewhere along the way. - Also add omap and omap4 to flash-kernel-installer.isinstallable. - switch omap3 and omap4 to uEnv.txt/preEnv.txt (the former holds all active boot commands, the latter holds the kernel commandline only) - switch omap3 and omap4 from Bootloader-sets-root: no to yes, we now generate a root=UUID= line on the fly for arches using uEnv.txt/preEnv.txt - introduce bootscript/uEnvtxt.omap - do not move the original uEnvtxt.omap to the target, use a copy instead - add "quiet splash" as default options to omap bootscr - enable UUID detection of the currently used root device - if uEnv.txt is defined in the db for an arch, generate preEnv.txt from UBOOT_DEFAULTS and UUID detection data - make sure blkid only gives us the UUID and not any other metadata like labels or filesystem - hide the boot device from udisk's automounting after installation on all systems using uEnv.txt to configure u-boot - make sure we only rename the bootrom partition so udisks hides it, when using mkdosfs for setting the label like we did in jasper (where we cached the contents before doing this) MLO and u-boot.bin are gone - Add support for grouper boards - add support for the grouper architecture - Add support for Wandboard Quad - Wandboard: Use /dev/disk/by-path/platform-2198000.usdhc-part1 instead of the hardcoded mmcblk1p1, this should make things work on boards with just a single microSD card in. - Add basic support for WandBoard Quad. - Add support for AAarch64 Qualcomm laptops. - Fix AARCH64 qcom laptop names, to those accepted upstream and in the Ubuntu kernel. - Add support for Raspberry Pi 2, 3, 3+, CM3, CM3+, and 4 using a unified bootscript (replaces upstream's entries) - Update pi bootscript to support all flash-kernel vars, including calculated devtype and partition for future USB boot support - Install all potential uboot scripts [previously undocumented] - Add entry for Raspberry Pi 3A+ - Add entry for Raspberry Pi CM4 - Add entry for Raspberry Pi 400 - Import UC20 updates to the rpi bootscript from the snappy-dev/image PPA - Add Kernel-Flavors check to Raspberry Pi entries - Support "raspi" kernel flavor - make sure that if we dont want to override the bootloader root= option by setting "Bootloader-sets-root: yes", we actually dont do it - Update tests with new fields: Bootloader-sets-root - use umount -l in the cleanup function, else we fail while finishing up with the script - add a diversion for update-initramfs to live-installers post-base- installer.d to avoid update-initramfs runs before flash-kernel is configured - add a check for the diverted update-initramfs to flash-kernel-installer, so it gets reverted before we try to call update-initramfs - make post-base-installer.d/01flash-kernel-diversion actually an executable shell script - make sure that /dev is bind mounted in /target when running update- initramfs from flash-kernel-installer, else we do not find the boot media (this is only a workaround, actual fixing of the netinst environment is needed to fix this properly) - drop the "|| true" from the initramfs building code, if we fail here we actually dont want to attempt to flash that - Do not run flash-kernel inside an LXC container - Migrate default /etc/default/flash-kernel content to new default without asking via debconf - Filter the selection of 'latest' usable kernel through the whitelist. - Do not fail if there are no specified Kernel-Flavors for this machine. - flash-kernel/functions: Stop attempting to install the latest kernel if we request an older version, just refuse to act without --force. - Look for dtbs in /lib/firmware/$kvers/device-tree/ in find_dtb_file() - Allow us to find DTBs in both the old flat layout and the new vendor subdirectory layout, so we keep backward compatibility - Add support for gzip-compressed kernel images - Fix mkimage_kernel tests - Add tests for android-related functions - 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 - Permit initrd to be missing in flash-kernel - Make U-boot optional in the "pi" method. From Groovy onwards, U-Boot will be an option in the boot chain but not activated by default. For the time being, the U-Boot-Script-Name will remain in the Pi entries, but this commit permits it to be blank in future. - Copy the Pi's bootloader firmware. At present, the Pi's bootloader firmware is being copied to the boot partition by the postinst of the linux-firmware-raspi2 package. However, flash-kernel should be responsible for copying *everything* necessary to boot the Linux kernel, hence this responsibility should be transferred to flash- kernel. - Ensure tests work independently of sort implementation - Always run flash-kernel on install/upgrade - Add pattern matching for machines - A requirement has come up to permit a simple form of pattern matching (specifically shell-style globbing) in the Machine field of the database. This commit implements this via a "case" match. - Add workaround for older u-boot versions that can fail to read files using ext4 extents, and enable it for HP ProLiant m400 Moonshot Server Cartridges. - Make errors in workaround for HP Proliant m400 u-boot ext4 parsing bug fatal. - Install u-boot binaries in addition to u-boot scripts for the Pi - Copy overlay_map.dtb into overlays/ sub-directory instead of the root of the boot partition - Add minor board revisions to db/all.db - Add support for FIT images - Support for ITS files - New Boot-FIT-Path and Boot-ITS-File-Name DB fields - Add Xilinx Kria SOM and ZCU10{2,4,6} boards to the devices database - Drop the "systemd.gpt_auto=0 rd.systemd.unit=basic.target" values from the snapd_standard_params, which have not been needed since pre-GA of UC20 and were removed in pc gadget on 20th April 2020. - Introduce "Boot-Kernel-Max-Size" and support for compressing kernel images that exceed it. This will allow installation of larger uncompressed kernels on HP ProLiant m400 cartridges. - mkimage_fit: subst KERNEL_VERSION in ITS file with actual kernel version. - Add DB entry, bootscript and ITS templates for Mediatek AIoT i500 board. - Cache lookup of Bootloader-Has-Broken-Ext4-Extent-Support for significant performance improvement on Raspberry Pi - Added note in db/all.db above Pi entries about "incorrect" DTB-Id - Add raspi-nolpae kernel flavor to all supported boards - Added entries for the Pi 4B rev 1.5, and moved CM4 and 400 models to their own entries for the sake of clarity - Include overlays/README in the files copied by Method: pi - Add Kria KR260 support - bootscr.zynqmp: - Add Kria KV260 support on jammy and kinetic - Add ZCU102/104/106 support on jammy and kinetic - image-kria.its: add dtb files into fitimage - Add kernel parameter for Kria TSN - Add ZCU111 support - bootscr.zynqmp - Improve messaging in U-Boot boot script for board detection - Add kria and zcu board support lists - Update kR260 and KV260's bootargs as per AMD-Xilinx's request - Support legacy KV260 U-Boot - Allow to bypass container exit test by introducing FK_FORCE_CONTAINER for RISC-V images build to run flash-kernel in a container - Unconditionally map 'armmp' in the Kernel-Flavors field to 'generic', which is what this flavor is called in Ubuntu. This allows us to support a much greater number of boards without having to carry an extensive delta against the all.db data file. - Add Mediatek AIoT i1200 board support - Add support for the LicheeRV Dock - Fix Microchip Icicle Kit DTB name - Change FK_FORCE_CONTAINER to FK_FORCE and cleanly exit if running in a chroot environment - Fix remaining reference to FK_FORCE_CONTAINER - Add database entry for Lenovo X13s - Add support for the NXP S32G274A-RDB2 - Add entry in db/all.db using the generic U-Boot method, the kernel provided s33g274a-rdb2 device tree to generate a FIT image under boot/firmware/fitImage. - Add its/arm64/image-nxp-s32.its FIT image template applicable for all S32x boards. - Add support for Xilinx Versal VCK190 - Add StarFive VisionFive 2 board to db/all.db - Ensure that only kernels in fully "installed" state are considered for flashing - test_functions: Add tests for include_only_flavors - Handle "not fully installed" kernels differently by quitting instead of re-triggering to avoid a dpkg trigger cycle - Bump standards version - d/control: Remove redundant awk dependency to appease lintian * Removed patches obsoleted/merged by upstream: - db/all.db: add dummy entries as noops when running on VMs - Add StarFive VisionFive board to the database - Add support for VisionFive, Nezha and LicheeRV boards - db/all.db: add dummy entry for RISC-V under QEMU [ Heinrich Schuchardt ] * Use "any" kernel flavor for all RISC-V boards * Add support for Sipeed Lichee Pi 4A -- Dave Jones