From e06295ed83ad67c3a341207d993a9ba102f744a1 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Tue, 24 Dec 2024 14:19:29 +0000 Subject: [PATCH] rt3200: add fw_setenv commands to update boot_production --- devices/belkin-rt3200/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devices/belkin-rt3200/default.nix b/devices/belkin-rt3200/default.nix index 995e85dd..3b79205e 100644 --- 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