bcm53xx: Linksys EA9200 nvram and 02_network fixes
authorRani Hod <rani.hod@gmail.com>
Sat, 30 Sep 2023 23:05:19 +0000 (02:05 +0300)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 22 Oct 2023 09:11:43 +0000 (11:11 +0200)
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@gmail.com>
package/utils/nvram/files/nvram-bcm53xx.init
target/linux/bcm53xx/base-files/etc/board.d/02_network

index 2e9c9f3fce52d4bf7462b6d36e16503598cfce7b..f47c944897cdf76ead4ff6820197c4e09505b658 100755 (executable)
@@ -9,6 +9,7 @@ clear_partialboots() {
        # clear partialboots
 
        case $(board_name) in
+               linksys,ea9200|\
                linksys,panamera)
                        COMMIT=1
                        nvram set partialboots=0
index 13e7311e797571d1a3d30c3f73b554e497317c3e..6d84442da441c738c0415dc13f0d0d74de27a1c7 100644 (file)
@@ -50,6 +50,7 @@ bcm53xx_setup_macs()
                offset=1
                ;;
        dlink,dir-885l | \
+       linksys,ea9200 | \
        linksys,panamera | \
        netgear,r7900 | \
        netgear,r8000 | \