[ubuntu/questing-proposed] flash-kernel 3.109ubuntu1 (Accepted)
Pragyansh Chaturvedi
pragyansh.chaturvedi at canonical.com
Thu May 8 14:10:14 UTC 2025
flash-kernel (3.109ubuntu1) questing; urgency=medium
* Merge with Debian unstable (LP: #2109835). Remaining changes:
- 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
+ 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
- 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.
- 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 (LP: 1918110)
- 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. (LP: 1933093)
- mkimage_fit: subst KERNEL_VERSION in ITS file with actual kernel
version.
- Add DB entry, bootscript and ITS templates for Mediatek AIoT i500 board.
- Added note in db/all.db above Pi entries about "incorrect" DTB-Id
(LP: 1928314)
- 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 (LP: 1978798)
- bootscr.zynqmp (LP: 1978798)
+ 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 (LP: 1980929)
- 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
- Fix Microchip Icicle Kit DTB name (LP: 1988169)
- Change FK_FORCE_CONTAINER to FK_FORCE and cleanly exit if running
in a chroot environment (LP: 1955353)
- Fix remaining reference to FK_FORCE_CONTAINER (LP: 1955353)
- Add database entry for Lenovo X13s (LP: 2002092)
- Add support for the NXP S32G274A-RDB2 (LP: 2004495)
+ 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 (LP: 2006558)
- Ensure that only kernels in fully "installed" state are considered for
flashing (LP: 2007827)
- 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 (LP: 2011925)
- d/control: Remove redundant awk dependency to appease lintian
- Use "any" kernel flavor for all RISC-V boards
- Add support for Sipeed Lichee Pi 4A
- Use generic-revision catch-alls for each model rather than relying on a
single Pi catch-all to avoid a confusing selection of "the one DTB" for a
given board (even though all other DTBs will still be copied anyway)
(LP: 2038087)
+ Add missing Pi Zero 2W entry
+ Add missing Pi 5B entry
- Use LC_ALL= instead of LANG= for consistency (LP: 2007827)
- Add support for Xilinx Kria KD240 (LP: 2037407)
+ Fix minor issues in bootscr.zynqmp
- Add raspi-realtime kernel flavor to bcm2711 and bcm2712 based Pi boards
(LP: 2051960)
- Update Xilinx board support (LP: 2054556)
+ Remove support claim for Xilinx ZCU111
+ Add new machine entries for KV260 and KR260 due to model string changes
+ Create separate bootscript for AMD-Xilinx Kria board family
- db/all.db: Fix Raspberry Pi 2 entry for noble. Here we can assume it is
definitely the 64-bit revision (1.2) board, but this change must not
be backported earlier than noble where this assumption does not hold
(LP: 2060856)
- db/all.db: Add Microchip PIC64GX Curiosity Kit (LP: 2072500)
- db/all.db: Support for Qualcomm x1e80100 CRD board (LP: 2065380)
- db/all.db: add CM5 entry (LP: 2086774)
- db/all.db: add HiFive Premier P550 to database (LP: 2077981)
- Add support for AMD-Xilinx Kria noble kernel (LP: 2069802)
+ bootscript/arm64/bootscr.zynqmp.kria: Update cma value
- CMA value of 1G at start address of 0 is not working with Ubuntu noble
optimized kernel on ZynqMP Kria K26 platforms
+ db/all.db: change kernel-flavor for Kria platforms in noble because of
the kernel name change
+ its/arm64/image-kria.its: use new device-tree file names
- Add Samsung Galaxy Book4 Edge
- db/all.db: Add entry for Raspberry Pi 500 (LP: 2092216)
- test_functions: Remove test for android_skip_initrd (obsolete with
removal of Nexus 4 (Mako) delta)
- db/all.db: Add another RISC-V board (LP: 2093200)
+ Add entry for DeepComputing FML13V01
* Removed patches obsoleted/merged by upstream:
- Add Asus Vivobook S 15
- Add Dell XPS 13 9345
- Add HP Omnibook X 14
- Add Lenovo Thinkpad T14s Gen6
- Add Lenovo Yoga Slim 7x
- Add Microsoft Surface Laptop 7 variants
- Add entry for Pine64 Star64
* db/all.db: Fix entries with "Kernel-Flavors: arm64". (LP: #2092737)
* db/all.db: Add CM5 Lite to flash-kernel database (LP: #2097008)
flash-kernel (3.109) unstable; urgency=medium
[ Heinrich Schuchardt ]
* flash-kernel.8: describe /etc/default/flash-kernel
[ D-I role ]
* [l10n] Commit changed/added po files (from l10n-sync run at dillon)
[ Vagrant Cascadian ]
* Add Pine64 Pinebook.
[ Johannes Schauer Marin Rodrigues ]
* add support for MNT Reform 2 with RCORE RK3588 Module
[ Josua Mayer ]
* Add machine db entries for solidrun am64 based hummingboard-t
[ Alex Lowe ]
* db: add Pine64 Star64 (Closes: #1092359)
[ Heinrich Schuchardt ]
* db: add entry for Wandboard rev D1 board
[ Tobias Heider ]
* Add X Elite devices:
HP Omnibook X 14
Lenovo Yoga Slim 7x
Asus Vivobook S 15
Dell XPS 13 9345
Lenovo Thinkpad T14s Gen6
Microsoft Surface Laptop 7 variants
[ Vagrant Cascadian ]
* flash-kernel.8: Fix spelling of "command".
* debian/control: Update Standards-Version to 4.7.2.
Date: Fri, 02 May 2025 17:43:46 +0530
Changed-By: Pragyansh Chaturvedi <pragyansh.chaturvedi at canonical.com>
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Signed-By: Dave Jones <dave.jones at canonical.com>
https://launchpad.net/ubuntu/+source/flash-kernel/3.109ubuntu1
-------------- next part --------------
Format: 1.8
Date: Fri, 02 May 2025 17:43:46 +0530
Source: flash-kernel
Built-For-Profiles: noudeb
Architecture: source
Version: 3.109ubuntu1
Distribution: questing
Urgency: medium
Maintainer: Ubuntu Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Changed-By: Pragyansh Chaturvedi <pragyansh.chaturvedi at canonical.com>
Closes: 1092359
Launchpad-Bugs-Fixed: 2092737 2097008 2109835
Changes:
flash-kernel (3.109ubuntu1) questing; urgency=medium
.
* Merge with Debian unstable (LP: #2109835). Remaining changes:
- 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
+ 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
- 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.
- 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 (LP: 1918110)
- 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. (LP: 1933093)
- mkimage_fit: subst KERNEL_VERSION in ITS file with actual kernel
version.
- Add DB entry, bootscript and ITS templates for Mediatek AIoT i500 board.
- Added note in db/all.db above Pi entries about "incorrect" DTB-Id
(LP: 1928314)
- 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 (LP: 1978798)
- bootscr.zynqmp (LP: 1978798)
+ 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 (LP: 1980929)
- 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
- Fix Microchip Icicle Kit DTB name (LP: 1988169)
- Change FK_FORCE_CONTAINER to FK_FORCE and cleanly exit if running
in a chroot environment (LP: 1955353)
- Fix remaining reference to FK_FORCE_CONTAINER (LP: 1955353)
- Add database entry for Lenovo X13s (LP: 2002092)
- Add support for the NXP S32G274A-RDB2 (LP: 2004495)
+ 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 (LP: 2006558)
- Ensure that only kernels in fully "installed" state are considered for
flashing (LP: 2007827)
- 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 (LP: 2011925)
- d/control: Remove redundant awk dependency to appease lintian
- Use "any" kernel flavor for all RISC-V boards
- Add support for Sipeed Lichee Pi 4A
- Use generic-revision catch-alls for each model rather than relying on a
single Pi catch-all to avoid a confusing selection of "the one DTB" for a
given board (even though all other DTBs will still be copied anyway)
(LP: 2038087)
+ Add missing Pi Zero 2W entry
+ Add missing Pi 5B entry
- Use LC_ALL= instead of LANG= for consistency (LP: 2007827)
- Add support for Xilinx Kria KD240 (LP: 2037407)
+ Fix minor issues in bootscr.zynqmp
- Add raspi-realtime kernel flavor to bcm2711 and bcm2712 based Pi boards
(LP: 2051960)
- Update Xilinx board support (LP: 2054556)
+ Remove support claim for Xilinx ZCU111
+ Add new machine entries for KV260 and KR260 due to model string changes
+ Create separate bootscript for AMD-Xilinx Kria board family
- db/all.db: Fix Raspberry Pi 2 entry for noble. Here we can assume it is
definitely the 64-bit revision (1.2) board, but this change must not
be backported earlier than noble where this assumption does not hold
(LP: 2060856)
- db/all.db: Add Microchip PIC64GX Curiosity Kit (LP: 2072500)
- db/all.db: Support for Qualcomm x1e80100 CRD board (LP: 2065380)
- db/all.db: add CM5 entry (LP: 2086774)
- db/all.db: add HiFive Premier P550 to database (LP: 2077981)
- Add support for AMD-Xilinx Kria noble kernel (LP: 2069802)
+ bootscript/arm64/bootscr.zynqmp.kria: Update cma value
- CMA value of 1G at start address of 0 is not working with Ubuntu noble
optimized kernel on ZynqMP Kria K26 platforms
+ db/all.db: change kernel-flavor for Kria platforms in noble because of
the kernel name change
+ its/arm64/image-kria.its: use new device-tree file names
- Add Samsung Galaxy Book4 Edge
- db/all.db: Add entry for Raspberry Pi 500 (LP: 2092216)
- test_functions: Remove test for android_skip_initrd (obsolete with
removal of Nexus 4 (Mako) delta)
- db/all.db: Add another RISC-V board (LP: 2093200)
+ Add entry for DeepComputing FML13V01
* Removed patches obsoleted/merged by upstream:
- Add Asus Vivobook S 15
- Add Dell XPS 13 9345
- Add HP Omnibook X 14
- Add Lenovo Thinkpad T14s Gen6
- Add Lenovo Yoga Slim 7x
- Add Microsoft Surface Laptop 7 variants
- Add entry for Pine64 Star64
* db/all.db: Fix entries with "Kernel-Flavors: arm64". (LP: #2092737)
* db/all.db: Add CM5 Lite to flash-kernel database (LP: #2097008)
.
flash-kernel (3.109) unstable; urgency=medium
.
[ Heinrich Schuchardt ]
* flash-kernel.8: describe /etc/default/flash-kernel
.
[ D-I role ]
* [l10n] Commit changed/added po files (from l10n-sync run at dillon)
.
[ Vagrant Cascadian ]
* Add Pine64 Pinebook.
.
[ Johannes Schauer Marin Rodrigues ]
* add support for MNT Reform 2 with RCORE RK3588 Module
.
[ Josua Mayer ]
* Add machine db entries for solidrun am64 based hummingboard-t
.
[ Alex Lowe ]
* db: add Pine64 Star64 (Closes: #1092359)
.
[ Heinrich Schuchardt ]
* db: add entry for Wandboard rev D1 board
.
[ Tobias Heider ]
* Add X Elite devices:
HP Omnibook X 14
Lenovo Yoga Slim 7x
Asus Vivobook S 15
Dell XPS 13 9345
Lenovo Thinkpad T14s Gen6
Microsoft Surface Laptop 7 variants
.
[ Vagrant Cascadian ]
* flash-kernel.8: Fix spelling of "command".
* debian/control: Update Standards-Version to 4.7.2.
Checksums-Sha1:
b72557735ca0e9c02f82f7fe3f89fca893a7b1af 2038 flash-kernel_3.109ubuntu1.dsc
9e82c5c506ceb932b40b70440f744413223182f7 99776 flash-kernel_3.109ubuntu1.tar.xz
3cc8a6af194bdaff3a20600f8f7c3af41be78008 6142 flash-kernel_3.109ubuntu1_source.buildinfo
Checksums-Sha256:
749f104728631ca749a822547bdeb6ecb094f53dd1c511564b7c1bea7071f45e 2038 flash-kernel_3.109ubuntu1.dsc
5e06a42c06123928ea4eea3d686880ac362f71ead4844514282964003c91f1d1 99776 flash-kernel_3.109ubuntu1.tar.xz
833aeefc87f93bf743c289ff4d2ff36cf9070046ec254e46f8c141490cf6e41f 6142 flash-kernel_3.109ubuntu1_source.buildinfo
Files:
ad7f14b3096fa9234e0c65fa4f233d68 2038 utils optional flash-kernel_3.109ubuntu1.dsc
217422e7d7e6d802b6325a7e0052386d 99776 utils optional flash-kernel_3.109ubuntu1.tar.xz
0874cef78405a5499f04100fd7aef154 6142 utils optional flash-kernel_3.109ubuntu1_source.buildinfo
Original-Maintainer: Debian Install System Team <debian-boot at lists.debian.org>
Vcs-Git: https://git.launchpad.net/~r41k0u/ubuntu/+source/flash-kernel
Vcs-Git-Commit: be45a83fe3d3b809424f2bf37bd50bd52ddc5df8
Vcs-Git-Ref: refs/remotes/merge-lp2109835-questing
More information about the Questing-changes
mailing list