realtek: make "u-boot-env" partition writable for Netgear 3xx series
authorAndreas Böhler <dev@aboehler.at>
Sun, 19 Jun 2022 17:53:12 +0000 (19:53 +0200)
committerSander Vanheule <sander@svanheule.net>
Fri, 24 Jun 2022 08:30:13 +0000 (10:30 +0200)
The Netgear GS3xx devices do not properly initialise the port LEDs during
startup unless the boot command in U-Boot is changed. Making the U-Boot
env partition writable allows this modification to be done from within
OpenWrt by calling "fw_setenv bootcmd rtk network on\; boota".

Signed-off-by: Andreas Böhler <dev@aboehler.at>
(cherry picked from commit d9e12c21fa98c90d0cc355e344d90469c5fd42c1)

target/linux/realtek/dts-5.10/rtl8380_netgear_gigabit_3xx.dtsi

index efb146a25ad15f66fff8f1a1107dcebd53b4d04f..0ade665c988a7861475ffd53e72e1ee8417b185e 100644 (file)
@@ -24,7 +24,6 @@
                        partition@e0000 {
                                label = "u-boot-env";
                                reg = <0x00e0000 0x0010000>;
-                               read-only;
                        };
 
                        partition@f0000 {