[openwrt/openwrt] bcm53xx: Linksys EA9200 nvram and 02_network fixes

LEDE Commits lede-commits at lists.infradead.org
Wed Oct 25 15:15:13 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/6a1b92b0243246f0adb3e3207a1af2196b44942a

commit 6a1b92b0243246f0adb3e3207a1af2196b44942a
Author: Rani Hod <rani.hod at gmail.com>
AuthorDate: Sun Oct 1 02:05:19 2023 +0300

    bcm53xx: Linksys EA9200 nvram and 02_network fixes
    
    1) clear nvram partialboots upon successful boot
    This behavior is already defined for EA9500; enabled for EA9200 too.
    
    2) fix MAC address in board.d/02_network
    Use the correct nvram variable to derive lan/wan MAC address.
    
    Signed-off-by: Rani Hod <rani.hod at gmail.com>
    (cherry picked from commit 9c42d23c5f7aa2b7f80af96921b2d5476626b8c6)
---
 package/utils/nvram/files/nvram-bcm53xx.init           | 1 +
 target/linux/bcm53xx/base-files/etc/board.d/02_network | 1 +
 2 files changed, 2 insertions(+)

diff --git a/package/utils/nvram/files/nvram-bcm53xx.init b/package/utils/nvram/files/nvram-bcm53xx.init
index 0502cd28b6..4319c761bb 100755
--- a/package/utils/nvram/files/nvram-bcm53xx.init
+++ b/package/utils/nvram/files/nvram-bcm53xx.init
@@ -9,6 +9,7 @@ clear_partialboots() {
 	# clear partialboots
 
 	case $(board_name) in
+		linksys,ea9200|\
 		linksys,panamera)
 			COMMIT=1
 			nvram set partialboots=0
diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network
index 13e7311e79..6d84442da4 100644
--- a/target/linux/bcm53xx/base-files/etc/board.d/02_network
+++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network
@@ -50,6 +50,7 @@ bcm53xx_setup_macs()
 		offset=1
 		;;
 	dlink,dir-885l | \
+	linksys,ea9200 | \
 	linksys,panamera | \
 	netgear,r7900 | \
 	netgear,r8000 | \




More information about the lede-commits mailing list