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)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 25 Oct 2023 22:14:10 +0000 (00:14 +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>
(cherry picked from commit 9c42d23c5f7aa2b7f80af96921b2d5476626b8c6)

package/utils/nvram/files/nvram-bcm53xx.init
target/linux/bcm53xx/base-files/etc/board.d/02_network

index 0502cd28b6e19985a739c29880eb5d4ada899dd0..4319c761bba0ac702a2e66a06edc8b444cedfbe3 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 | \