openwrt/target/linux
Linus Walleij 0b0cd4efe2
Some checks are pending
Build Kernel / Build all affected Kernels (push) Waiting to run
gemini: support upgrade on reference designs
The Gemini reference design-derived devices uses a partition
format which is predictable and we can exploit this to offer
some proper upgrade path.

The kernel for these contains a hack to use this partition
format unaltered by combining the partitions "Kern" and "Ramdisk"
to one image with all of the kernel+ramdisk in memory.

Then the "Application" which is used for the rootfs go into its
own partition.

Standard flash layout:
Kern         2048k |
Ramdisk      6144k | = 9216k
Application  6144k | = 15360k

Following the pattern of the factory image we create three
images named zImage, rd.gz and hddapp.tgz (these filenames
are misleading! They are just required by the old firmware.)
and flash each individually with "mtd" during upgrades.

Since the IB-4220-V has a different layout with a bigger kernel
space we parameterize this so we can handle this too. (More
fixes are needed for that device though.)

A way to upgrade older OpenWrt on these platforms to the latest
and greatest will be to copy the file
target/linux/gemini/base-files/lib/upgrade/platform.sh
to /lib/upgrade/platform.sh
on your running system and then run sysupgrade from the image
produced after this patch.

The script is picky to sanity check the partitions before
commencing upgrade.

This was tested with a full sysupgrade on the iTian SQ201.

Link: https://github.com/openwrt/openwrt/pull/21680
Signed-off-by: Linus Walleij <linusw@kernel.org>
2026-01-24 17:29:17 +01:00
..
airoha kernel: net: phy: realtek: backport upstream commits 2026-01-19 13:51:41 +00:00
apm821xx kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
armsr kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
at91 kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
ath79 ath79: rb91x_nand: fix some issues in probe 2026-01-23 10:33:05 +01:00
bcm27xx kernel: bump 6.12 to 6.12.66 2026-01-20 01:15:32 +01:00
bcm47xx kernel: bump 6.12 to 6.12.64 2026-01-15 01:22:47 +01:00
bcm53xx bcm53xx: add support for ASUS RT-AC3200 and ASUS RT-AC5300 2025-12-18 18:18:48 +00:00
bcm4908 kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
bmips kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
d1 d1: Enable LED driver for D1 builds 2026-01-23 10:35:36 +01:00
econet econet: add clock/reset support 2026-01-22 00:03:52 +01:00
gemini gemini: support upgrade on reference designs 2026-01-24 17:29:17 +01:00
generic Revert "kernel: pcs-mtk-lynxi: backport fix for in-band status capabilities" 2026-01-21 01:19:28 +01:00
imx imx: drop support for kernel 6.6 2025-11-22 10:11:52 +01:00
ipq40xx kernel: bump 6.12 to 6.12.66 2026-01-20 01:15:32 +01:00
ipq806x kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
ixp4xx kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
kirkwood kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
lantiq lantiq: AVM Fritz 736x: fix PCIe reset GPIO 2026-01-24 01:40:11 +01:00
layerscape kernel: net: phy: realtek: backport upstream commits 2026-01-19 13:51:41 +00:00
loongarch64 kernel: bump 6.12 to 6.12.64 2026-01-15 01:22:47 +01:00
malta kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
mediatek mediatek: dts: mt7981: fix spi clocks 2026-01-22 00:10:56 +01:00
microchipsw microchipsw: update DTS with the latest pending upstream 2026-01-23 10:55:29 +01:00
mpc85xx mpc85xx: fix failsafe iface selection for mpc85xx boards 2026-01-14 00:26:31 +01:00
mvebu kernel: net: phy: realtek: backport upstream commits 2026-01-19 13:51:41 +00:00
mxs kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
octeon kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
omap kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
pistachio kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
qoriq package: uboot-qoriq: fix T4240RDB u-boot selection 2026-01-12 13:59:30 +01:00
qualcommax qualcommax: ipq60xx: add JDCloud RE-CS-07 support 2026-01-18 11:13:54 +01:00
qualcommbe kernel: net: phy: realtek: backport upstream commits 2026-01-19 13:51:41 +00:00
ramips ramips: mt76x8: add support for Cudy LT400E v1 2026-01-20 01:47:00 +01:00
realtek realtek: phy: fix RTL8214FC fibre/copper initialization 2026-01-24 11:44:10 +01:00
rockchip rockchip: fix set default serial_{addr,port} in boot script 2026-01-21 23:56:42 +01:00
sifiveu kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
siflower kernel: bump 6.12 to 6.12.64 2026-01-15 01:22:47 +01:00
starfive kernel: net: phy: realtek: backport upstream commits 2026-01-19 13:51:41 +00:00
stm32 kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
sunxi sunxi: image: sync target profiles names with DT compatible 2025-12-16 01:44:34 +01:00
tegra kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
uml kernel: cleanup CONFIG_SQUASHFS_DECOMP_MULTI_PERCPU 2026-01-11 12:52:54 +01:00
x86 x86: cs5535audio: add support for subtarget legacy 2026-01-19 12:50:00 +01:00
zynq zynq: drop support for kernel 6.6 2025-11-25 17:27:24 +01:00
Makefile linux: fix missing default packages in profiles.json 2024-11-17 19:29:06 +01:00