openwrt/target/linux
Radek Dostál c3cf33f98b
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
ath79: fix build of big images for TP RE355v1, RE450v1 & v2
After merge of https://github.com/openwrt/openwrt/pull/20709 I noticed,
that https://mirror-03.infra.openwrt.org/snapshots/targets/ath79/tiny/
still does not contain the build for RE450.

I analyzed the problem and noticed, that only builds which fits into
original size can be build and if the image is larger, it fails with
the following error: "WARNING: Image file .../openwrt/build_dir/
target-mips_24kc_musl/linux-ath79_tiny/tmp/
openwrt-ath79-tiny-tplink_re450-v1-squashfs-sysupgrade.bin is too big:
  > 7864320".

This error is quite misleading as the image is smaller than 7864320. The
reason for this error is that default tplink-safeloader has hardcoded
factory partition structure and fails to generate any file.

Rather then fixing tplink-safeloader I followed approach from commit
ebd5e5fb53 ("ramips: switched TP-Link RE305 v1 to new partition layout")
and switched away from "tplink-safeloader sysupgrade".

I did not include "IMAGES := sysupgrade.bin", because with tiny target it
is still possible to locally build even factory image.

Fixes commit e768731dc8 ("ath79: switch TP-Link RE355 v1, RE450 v1 and
RE450 v2 to mtd-concat").

Signed-off-by: Radek Dostál <rd@radekdostal.com>
Link: https://github.com/openwrt/openwrt/pull/21158
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
(cherry picked from commit bdbb4bdfa0)
2025-12-22 18:51:03 +01:00
..
airoha kernel: bump 6.12 to 6.12.62 2025-12-17 00:32:23 +01:00
apm821xx kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
armsr kernel: drop CONFIG_ARM64_CONTPTE from target configs 2025-11-26 21:08:34 +02:00
at91 treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
ath79 ath79: fix build of big images for TP RE355v1, RE450v1 & v2 2025-12-22 18:51:03 +01:00
bcm27xx kernel: bump 6.12 to 6.12.62 2025-12-17 00:32:23 +01:00
bcm47xx bcm47xx: Fix lzma-loader compilation 2025-12-04 21:41:40 +01:00
bcm53xx bcm53xx: image: sync targets names with DT compatible 2025-12-06 18:55:49 +01:00
bcm4908 kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
bmips bmips: b53: enable bcm63268 internal PHYs 2025-12-09 15:12:43 +01:00
d1 kernel: remove duplicate PREEMPT settings 2025-06-08 15:59:55 +02:00
econet kernel: bump 6.12 to 6.12.62 2025-12-17 00:32:23 +01:00
gemini gemini: Add module for VSC73xx switches 2025-09-15 23:12:56 +02:00
generic kernel: Fix boot of realtek rtl838x 2025-12-17 00:32:25 +01:00
imx imx: drop support for kernel 6.6 2025-11-22 10:11:52 +01:00
ipq40xx ipq40xx: convert Orbi led labels to function/color 2025-12-16 10:30:26 +01:00
ipq806x Revert "treewide: fixup ath10k nodes" 2025-11-29 17:56:11 +01:00
ixp4xx ixp4xx: Add back Actiontec MI424WR A/C/D 2025-09-26 23:40:40 +02:00
kirkwood kirkwood: add aliases and new partition for support D-Link DNS-325 A1 2025-11-25 15:41:38 +01:00
lantiq lantiq: tplink_tdw89x0: use led-sources for wifi LED 2025-12-06 19:30:22 +01:00
layerscape kernel: bump 6.12 to 6.12.62 2025-12-17 00:32:23 +01:00
loongarch64 loongarch64: Disable strict alignment to fix BPF program failures 2025-12-10 19:10:30 +01:00
malta malta: drop 6.6 support 2025-07-20 23:37:37 +02:00
mediatek mediatek: fix pwn fan settings for sinovoip bpi-r3 (v3) 2025-12-22 10:34:23 +01:00
microchipsw microchipsw: lan969x: add Microchip EV23X71A 2025-12-03 12:13:17 +01:00
mpc85xx mpc85xx: add support for Watchguard Firebox T10-W, T15(-W) 2025-12-11 00:57:55 +01:00
mvebu treewide: Fix const compile errors 2025-12-03 23:28:43 +01:00
mxs mxs: drop 6.6 support 2025-05-24 16:15:53 +02:00
octeon treewide: replace numbers with GPIO_ACTIVE 2025-10-08 14:26:24 +02:00
omap omap: drop support for kernel 6.6 2025-11-22 10:16:35 +01:00
pistachio kernel: bump 6.12 to 6.12.62 2025-12-17 00:32:23 +01:00
qoriq qoriq: drop support for kernel 6.6 2025-11-26 17:21:14 +02:00
qualcommax qualcommax: ipq807x: use ascii-env driver for Linksys MX4200v1 2025-12-16 10:24:17 +01:00
qualcommbe qualcommbe: update ipq9574 PCS driver 2025-11-30 16:51:12 +01:00
ramips ramips: mt7621.mk: fix alphabetical ordering some Cudy devices 2025-12-09 00:31:07 +01:00
realtek realtek: mdio-serdes: use correct device table identifier 2025-12-16 14:03:11 +01:00
rockchip kernel: bump 6.12 to 6.12.62 2025-12-17 00:32:23 +01:00
sifiveu kernel: remove duplicate PREEMPT settings 2025-06-08 15:59:55 +02:00
siflower kernel: bump 6.12 to 6.12.62 2025-12-17 00:32:23 +01:00
starfive kernel: bump 6.12 to 6.12.62 2025-12-17 00:32:23 +01:00
stm32 stm32: drop kernel 6.6 support 2025-10-22 14:56:15 +02:00
sunxi sunxi: image: sync target profiles names with DT compatible 2025-12-16 01:46:49 +01:00
tegra tegra: promote kernel 6.12 as default 2025-11-11 21:23:14 +01:00
uml kernel: bump 6.12 to 6.12.33 2025-06-12 12:42:15 +02:00
x86 kernel: bump 6.12 to 6.12.60 2025-12-02 22:51:19 +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