aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--target/linux/bcm53xx/base-files/lib/upgrade/platform.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
index 26a32e30a4..f5505219b0 100644
--- a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
+++ b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
@@ -148,7 +148,7 @@ platform_pre_upgrade() {
local root_type=$(identify $dir/root)
[ "$root_type" != "ubi" ] && return
- echo "Provided firmware contains kernel and UBI image, but flashing it in unsupported yet"
+ echo "Provided firmware contains kernel and UBI image, but flashing it is unsupported yet"
exit 1
}
@@ -157,8 +157,7 @@ platform_do_upgrade() {
local trx="$1"
[ "$(platform_flash_type)" == "nand" ] && {
- echo "Firmware upgrade on NAND devices is REALLY unsupported."
- return
+ echo "Flashing firmware without UBI for rootfs. All erase counters will be lost."
}
case "$file_type" in