diff --git a/patches/openwrt/0012-tools-mktplinkfw2-add-split-uboot-layout.patch b/patches/openwrt/0012-tools-mktplinkfw2-add-split-uboot-layout.patch index b7220b8b..4df76cf6 100644 --- a/patches/openwrt/0012-tools-mktplinkfw2-add-split-uboot-layout.patch +++ b/patches/openwrt/0012-tools-mktplinkfw2-add-split-uboot-layout.patch @@ -11,16 +11,16 @@ diff --git a/tools/firmware-utils/src/mktplinkfw2.c b/tools/firmware-utils/src/m index dead49e7af8839bac5d1dee7445cf8921208c970..35db848bbab9f8315526dfa24ed351ad58878dde 100644 --- a/tools/firmware-utils/src/mktplinkfw2.c +++ b/tools/firmware-utils/src/mktplinkfw2.c -@@ -147,6 +147,12 @@ static struct flash_layout layouts[] = { +@@ -146,6 +146,12 @@ static struct flash_layout layouts[] = { + .kernel_la = 0x80000000, .kernel_ep = 0x80000000, .rootfs_ofs = 0x140000, - }, { ++ }, { + .id = "8MSUmtk", /* Split U-Boot OS */ + .fw_max_len = 0x770000, + .kernel_la = 0x80000000, + .kernel_ep = 0x80000000, + .rootfs_ofs = 0x140000, -+ }, { + }, { .id = "8MLmtk", .fw_max_len = 0x7b0000, - .kernel_la = 0x80000000, diff --git a/patches/openwrt/0013-ramips-add-support-for-Archer-C50-v4.patch b/patches/openwrt/0013-ramips-add-support-for-Archer-C50-v4.patch index 02c19dec..130463c3 100644 --- a/patches/openwrt/0013-ramips-add-support-for-Archer-C50-v4.patch +++ b/patches/openwrt/0013-ramips-add-support-for-Archer-C50-v4.patch @@ -112,10 +112,10 @@ index 6057275978591192e3b7799a8e6d97761c3e23a5..19386b9e139a25fd1ac29cd9a66b738b ucidef_set_led_switch "wan" "wan" "$boardname:green:wan" "switch0" "0x01" ucidef_set_led_wlan "wlan2g" "wlan2g" "$boardname:green:wlan2g" "phy0tpt" diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network -index 4a58f61b925902725705a99dba8d370cfeb8b91a..c8bb6622333afaaf5b70ca4afd2ada2055d0399e 100755 +index 50d3a89bd88478b6077cf4f0aacde26901f869b4..15034e8e5e461a2ca13913ecde6a789a261dad64 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network -@@ -203,6 +203,7 @@ ramips_setup_interfaces() +@@ -202,6 +202,7 @@ ramips_setup_interfaces() rt-n14u|\ tplink,c20-v4|\ tplink,c50-v3|\ diff --git a/patches/openwrt/0016-ramips-add-support-for-Netgear-R6120.patch b/patches/openwrt/0016-ramips-add-support-for-Netgear-R6120.patch index 46c82092..957d1012 100644 --- a/patches/openwrt/0016-ramips-add-support-for-Netgear-R6120.patch +++ b/patches/openwrt/0016-ramips-add-support-for-Netgear-R6120.patch @@ -37,10 +37,10 @@ index 19386b9e139a25fd1ac29cd9a66b738b5b092cdf..4203773b4fa3ec771f07b7a8c414a416 set_usb_led "$boardname:red:status" ;; diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network -index c8bb6622333afaaf5b70ca4afd2ada2055d0399e..92430fc525a0eb48decee907f614e3278aadfd8b 100755 +index 15034e8e5e461a2ca13913ecde6a789a261dad64..0b65e567e558e94b5de0a53ac95dc406ccf0acec 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network -@@ -304,6 +304,10 @@ ramips_setup_interfaces() +@@ -307,6 +307,10 @@ ramips_setup_interfaces() "0:lan" "1:lan" "2:lan" "3:lan" "6t@eth0" ucidef_set_interface_wan "usb0" ;; diff --git a/patches/openwrt/0023-ar71xx-Add-support-for-TP-Link-CPE210-v3.patch b/patches/openwrt/0023-ar71xx-Add-support-for-TP-Link-CPE210-v3.patch index 1f99a4e5..85f9cf83 100644 --- a/patches/openwrt/0023-ar71xx-Add-support-for-TP-Link-CPE210-v3.patch +++ b/patches/openwrt/0023-ar71xx-Add-support-for-TP-Link-CPE210-v3.patch @@ -62,10 +62,10 @@ index befa032cd4c93779cf66b8b57a15e4bcba7fc959..908743c05eaac7092d3dfb117f23a934 eap120|\ eap300v2|\ diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh -index ccbd4e77c324a36e7fba6e6dccad59d8f94a3921..2200069c647b33220126e797b6a61928d1fb428e 100755 +index a61c781b28177ece36e6c2a63f921d15c39b6c2a..7e96ab2b2a0b026ac063cc0f30ab8f4bbef28b1e 100755 --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh -@@ -583,6 +583,10 @@ ar71xx_board_detect() { +@@ -729,6 +729,10 @@ ar71xx_board_detect() { name="cpe210-v2" tplink_pharos_board_detect "$(tplink_pharos_v2_get_model_string)" ;; diff --git a/patches/openwrt/0024-ramips-add-support-for-ASUS-RT-AC57U.patch b/patches/openwrt/0024-ramips-add-support-for-ASUS-RT-AC57U.patch index 96fa444f..c9a3b428 100644 --- a/patches/openwrt/0024-ramips-add-support-for-ASUS-RT-AC57U.patch +++ b/patches/openwrt/0024-ramips-add-support-for-ASUS-RT-AC57U.patch @@ -44,10 +44,10 @@ Web-interface. Signed-off-by: David Bauer diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network -index 92430fc525a0eb48decee907f614e3278aadfd8b..521e03bd3d0c78b65e72164099b73934a6ec09c1 100755 +index 0b65e567e558e94b5de0a53ac95dc406ccf0acec..212204a1a3edf78cbf2f67d9b9709eb0e703b330 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network -@@ -186,6 +186,7 @@ ramips_setup_interfaces() +@@ -185,6 +185,7 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "6t@eth0" ;; @@ -55,7 +55,7 @@ index 92430fc525a0eb48decee907f614e3278aadfd8b..521e03bd3d0c78b65e72164099b73934 atp-52b|\ awm002-evb-4M|\ awm002-evb-8M|\ -@@ -416,6 +417,11 @@ ramips_setup_macs() +@@ -419,6 +420,11 @@ ramips_setup_macs() wmdr-143n) lan_mac=$(cat /sys/class/net/eth0/address) ;; @@ -67,7 +67,7 @@ index 92430fc525a0eb48decee907f614e3278aadfd8b..521e03bd3d0c78b65e72164099b73934 all0239-3g|\ carambola|\ freestation5|\ -@@ -543,10 +549,6 @@ ramips_setup_macs() +@@ -546,10 +552,6 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_ascii u-boot-env LAN_MAC_ADDR) wan_mac=$(mtd_get_mac_ascii u-boot-env WAN_MAC_ADDR) ;;