commit e06295ed83ad67c3a341207d993a9ba102f744a1 parent 608d3e3abfa7e9dc8681b03f1447211855ccc70d Author: Daniel Barlow <dan@telent.net> Date: Tue, 24 Dec 2024 14:19:29 +0000 rt3200: add fw_setenv commands to update boot_production Diffstat:
| M | devices/belkin-rt3200/default.nix | | | 2 | ++ |
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/devices/belkin-rt3200/default.nix b/devices/belkin-rt3200/default.nix @@ -86,6 +86,8 @@ Name: liminix Character device major/minor: 250:8 root@OpenWrt:~# ubiupdatevol /dev/ubi0_7 /tmp/rootfs + root@OpenWrt:~# fw_setenv orig_boot_production $(fw_printenv boot_production | sed -E 's/.+?=//') + root@OpenWrt:~# fw_setenv boot_production 'led $bootled_pwr on ; ubifsmount ubi0:liminix && ubifsload ${loadaddr} boot/fit && bootm ${loadaddr}' For subsequent Liminix reinstalls, you don't need to repeat the