openwrt/target/linux
David Bauer d0620706f0 ipq40xx: fix broken image generation for EX6150v2
All NETGEAR EX6150v2 validate the rootfs for which OpenWrt places a
fakeheader at the position, where the bootloader expects it.

Some EX6150v2 bootloaders do however make a broken assumption about
where the rootfs starts. This is due to them calculating the rootfs
start not based upon the kernel-length but the string-offset of the
FIT-image.

We have to be compatible with both this broken as well as the valid
calculation. So we do relocate the FDT string section to a
block-boundary and enlarge the FIT image to end at this boundary +
BLOCKSIZE / 2. This way, both the broken as well as correct calculations
do expect the rootfs-header at the same position.

It is worth noting, that this is a rare edge-case in which only happens
if the image-length as well as the start of the string-section are not
placed in the same erase-block. This is an edge-case which happens very
rarely (thus it was not spotted prior).

Affected:
 - U-Boot 2012.07 (Jun 16 2016 - 11:59:37)

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit de59fc4540)
2024-06-08 17:30:58 +02:00
..
airoha
apm821xx apm821xx: WNDR4700: fix broken sysupgrade, factory images 2023-10-21 16:42:26 +02:00
archs38
armsr armsr: preserve configuration during sysupgrade 2023-10-20 00:41:41 +02:00
at91 kernel: bump 5.15 to 5.15.157 2024-05-13 14:01:51 +02:00
ath25 kernel: bump 5.15 to 5.15.131 2023-09-25 23:04:37 +02:00
ath79 ath79: add support for Huawei AP5030DN 2024-04-03 02:56:56 +02:00
bcm27xx kernel: bump 5.15 to 5.15.157 2024-05-13 14:01:51 +02:00
bcm47xx kernel: bump 5.15 to 5.15.158 2024-05-13 18:38:23 +03:00
bcm53xx kernel: bump 5.15 to 5.15.152 2024-03-29 14:06:15 +01:00
bcm63xx kernel: bump 5.15 to 5.15.148 2024-02-10 20:19:28 +01:00
bcm4908 kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
bmips kernel: bump 5.15 to 5.15.148 2024-02-10 20:19:28 +01:00
gemini kernel: bump 5.15 to 5.15.146 2024-01-08 23:15:35 +01:00
generic kernel: bump 5.15 to 5.15.158 2024-05-13 18:38:23 +03:00
imx
ipq40xx ipq40xx: fix broken image generation for EX6150v2 2024-06-08 17:30:58 +02:00
ipq806x ipq806x: rt4230w-rev6: fix status reporting via the LEDs 2024-05-23 22:15:33 +02:00
ipq807x kernel: bump 5.15 to 5.15.155 2024-04-30 23:38:26 +02:00
kirkwood kirkwood: fix Ctera C200 V1 ubi part name 2023-12-14 21:40:20 +01:00
lantiq kernel: bump 5.15 to 5.15.155 2024-04-30 23:38:26 +02:00
layerscape kernel: 5.15: backport v6.1 PHY changes required for Aquantia 2024-01-31 11:57:41 +01:00
malta
mediatek mediatek: add support for Cudy TR3000 v1 2024-05-23 22:01:52 +02:00
mpc85xx mpc85xx: add label-mac for HP MSM460 2024-06-05 01:38:33 +02:00
mvebu kernel: bump 5.15 to 5.15.157 2024-05-13 14:01:51 +02:00
mxs
octeon kernel: bump 5.15 to 5.15.145 2024-01-07 12:57:30 +00:00
octeontx kernel: bump 5.15 to 5.15.155 2024-04-30 23:38:26 +02:00
omap
oxnas kernel: bump 5.15 to 5.15.157 2024-05-13 14:01:51 +02:00
pistachio kernel: fix mtd/NVMEM regression affecting U-Boot env NVMEM driver 2023-11-02 09:45:08 +01:00
qoriq
ramips ramips: samknows whitebox v8: set wifi frequency 2024-06-06 22:09:52 +02:00
realtek realtek: Trap LLDP packets to the CPU 2024-05-10 16:08:34 +02:00
rockchip rockchip: remove redundant 'console' parameter from boot script 2024-03-31 20:39:57 +02:00
sifiveu kernel: bump 5.15 to 5.15.153 2024-04-01 02:33:05 +02:00
sunxi sunxi: fix network bringup on Olinuxino Micro boards 2024-04-21 23:26:53 +02:00
tegra
uml kernel: bump 5.15 to 5.15.132 2023-09-25 23:04:37 +02:00
x86 kernel: bump 5.15 to 5.15.158 2024-05-13 18:38:23 +03:00
zynq
Makefile linux: add dtb makefile target to targets list 2024-02-10 13:29:43 +01:00