From ddfc502126986da7523acc810d8443068ecc7474 Mon Sep 17 00:00:00 2001 From: mooleshacat <43627985+mooleshacat@users.noreply.github.com> Date: Mon, 22 Jun 2026 23:16:13 -0400 Subject: [PATCH] sysupgrade, changed nand layout --- .../ipq40xx/base-files/lib/upgrade/platform.sh | 5 +++++ .../arm/boot/dts/qcom/qcom-ipq4019-tew-829dru.dts | 13 ++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh index 7db23a1c77..6b391f54dc 100644 --- a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh @@ -236,6 +236,11 @@ platform_do_upgrade() { CI_UBIPART="rootfs" nand_do_upgrade "$1" ;; + trendnet,tew-829dru) + CI_UBIPART="rootfs" + CI_KERNPART="none" + nand_do_upgrade "$1" + ;; zyxel,nbg6617) zyxel_do_upgrade "$1" ;; diff --git a/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-tew-829dru.dts b/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-tew-829dru.dts index 09cb419975..5a111bb989 100644 --- a/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-tew-829dru.dts +++ b/target/linux/ipq40xx/files-6.12/arch/arm/boot/dts/qcom/qcom-ipq4019-tew-829dru.dts @@ -366,19 +366,18 @@ #address-cells = <1>; #size-cells = <1>; + /* NOTICE: THIS DIVERGES FROM MFR SPI-EXTRACTED.DTS */ + /* We are going to take the rootfs_1 out and */ + /* use it as overlay space for packages */ + /* MAXIMUM FREEDOM FOR ALL USERS :3 */ rootfs_part: partition@0 { label = "rootfs"; reg = <0x00000000 0x03000000>; /* 48MB */ }; - rootfs_1_part: partition@3000000 { - label = "rootfs_1"; - reg = <0x03000000 0x03000000>; /* 48MB */ - }; - - overlay_part: partition@6000000 { + overlay_part: partition@3000000 { label = "overlay"; - reg = <0x06000000 0x02000000>; /* 32MB */ + reg = <0x03000000 0x05000000>; /* 80MB */ }; }; };