openwrt/target/linux/ath79
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
..
base-files/etc/hotplug.d/ieee80211 ath79: migrate Archer C5 5GHz radio device paths 2022-03-31 18:07:29 +02:00
dts ath79: meraki_mr1[26]: userspace cal to nvmem 2025-12-09 01:21:03 +01:00
files treewide: fix coccinelle checks 2025-12-02 23:32:42 +01:00
generic ath79: meraki_mr1[26]: userspace cal to nvmem 2025-12-09 01:21:03 +01:00
image ath79: fix build of big images for TP RE355v1, RE450v1 & v2 2025-12-22 18:51:03 +01:00
mikrotik ath79: fix platform check image mikrotik nor 2025-12-05 10:26:59 +01:00
nand ath79: refresh kernel symbol configs 2025-05-24 15:42:22 +02:00
patches-6.12 kernel: remove uboot,env hack 2025-11-30 20:18:08 +01:00
tiny ath79: add support for NEC Aterm WF1200HP2 2025-12-01 00:17:48 +01:00
config-6.12 kernel: disable non layout u-boot,env 2025-11-28 01:20:33 +01:00
Makefile ath79: switch default kernel to 6.12 2025-08-20 23:30:49 +02:00
modules.mk