aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVignesh Balasubramaniam <vigneshb.hp@gmail.com>2016-11-29 12:53:13 -0500
committerMathias Kresin <dev@kresin.me>2016-12-04 07:03:17 +0100
commit62e4c915ee867b5c3610fcc150d3a6bf90cbb130 (patch)
tree88865e9fd21605b1e77b707e3318afac9d1172d5
parentc95e4e715d0982f0c4f57e473c5ad56fb9769028 (diff)
downloadupstream-62e4c915ee867b5c3610fcc150d3a6bf90cbb130.tar.gz
upstream-62e4c915ee867b5c3610fcc150d3a6bf90cbb130.tar.bz2
upstream-62e4c915ee867b5c3610fcc150d3a6bf90cbb130.zip
mvebu: fix sysupgrade for Linksys WRT3200ACM
sysupgrade command fails due to missing U-Boot environment-processing binaries on sysupgrade ramdisk. The missing binaries result in the following output: Switching to ramdisk... Performing system upgrade... ash: /usr/sbin/fw_printenv: not found ash: fw_setenv: not found ash: touch: not found cannot find target partition Signed-off-by: Vignesh Balasubramaniam <vigneshb.hp@gmail.com>
-rw-r--r--target/linux/mvebu/base-files/lib/upgrade/linksys.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh b/target/linux/mvebu/base-files/lib/upgrade/linksys.sh
index d12c32b7fa..d06a1b8ed0 100644
--- a/target/linux/mvebu/base-files/lib/upgrade/linksys.sh
+++ b/target/linux/mvebu/base-files/lib/upgrade/linksys.sh
@@ -77,7 +77,7 @@ linksys_preupgrade() {
local board=$(mvebu_board_name)
case "$board" in
- armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-shelby|armada-xp-linksys-mamba)
+ armada-385-linksys-caiman|armada-385-linksys-cobra|armada-385-linksys-shelby|armada-xp-linksys-mamba|armada-385-linksys-rango)
export RAMFS_COPY_BIN="${RAMFS_COPY_BIN} /usr/sbin/fw_printenv /usr/sbin/fw_setenv"
export RAMFS_COPY_BIN="${RAMFS_COPY_BIN} /bin/mkdir /bin/touch"
export RAMFS_COPY_DATA="${RAMFS_COPY_DATA} /etc/fw_env.config /var/lock/fw_printenv.lock"