openwrt/package
Rodrigo Balerdi 7d02fc0951 base-files: fix sysupgrade for kernel-out-of-UBI
Commit ecbcc0b595 bricks devices on which the raw kernel and UBI mtd
partitions overlap.

This is the case of the ZyXEL NR7101 for example. Its OEM bootloader has
no UBI support. OpenWrt splits the stock kernel mtd partition into a raw
kernel part used by the bootloader and a UBI part used to store rootfs
and rootfs_data. Running mtd erase on the complete partition during
sysupgrade erases the UBI part and results in a soft brick.

Arguably the best solution would be to fix the partition layouts so that
kernel and UBI partitions do not overlap, also including a stock_kernel
partition to help reverting to stock firmware. This would have the added
benefit of protecting UBI from kernel images that are excessively large.

Fixes: ecbcc0b595 ("base-files: safer sysupgrade.tar for kernel-out-of-UBI")
Reported-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Rodrigo Balerdi <lanchon@gmail.com>
2022-05-02 12:42:15 +01:00
..
base-files base-files: fix sysupgrade for kernel-out-of-UBI 2022-05-02 12:42:15 +01:00
boot uboot-mvebu: update to version v2022.04 2022-05-01 00:42:30 +02:00
devel strace: Update to version 5.16 2022-02-01 21:25:02 +01:00
firmware linux-firmware: Update to version 20220411 2022-04-17 16:20:17 +02:00
kernel nat46: update to git HEAD 2022-04-26 22:41:57 +02:00
libs wolfssl: fix compilation with /dev/crypto 2022-04-20 12:36:38 +02:00
network iwinfo: update to latest HEAD 2022-04-27 00:54:24 +02:00
system fstools: update to git HEAD 2022-05-01 17:02:39 +01:00
utils mdadm: update to 4.2 2022-05-01 00:42:30 +02:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00