diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2023-06-15 10:48:25 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2023-06-15 11:49:13 +0200 |
commit | 70afa8e6b66f30a613d0f79697bf13fa673978ca (patch) | |
tree | f3c48f691d414c78c3282dcb789071c7c0c03ede /target/linux/bmips/bcm63268 | |
parent | 25f6252620f2b00b4be922df011cec936aeeff42 (diff) | |
download | upstream-70afa8e6b66f30a613d0f79697bf13fa673978ca.tar.gz upstream-70afa8e6b66f30a613d0f79697bf13fa673978ca.tar.bz2 upstream-70afa8e6b66f30a613d0f79697bf13fa673978ca.zip |
bmips: switch to standard nand_do_upgrade
Now that JFFS2 cleanmarkers are supported on the standard nand_do_upgrade
function we can start using it on bmips.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
(cherry picked from 464dfac049daecad145184f8c2dd4a46a7fdd37c)
Diffstat (limited to 'target/linux/bmips/bcm63268')
-rw-r--r-- | target/linux/bmips/bcm63268/base-files/lib/upgrade/platform.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/target/linux/bmips/bcm63268/base-files/lib/upgrade/platform.sh b/target/linux/bmips/bcm63268/base-files/lib/upgrade/platform.sh index 0aaf10442b..befffd346e 100644 --- a/target/linux/bmips/bcm63268/base-files/lib/upgrade/platform.sh +++ b/target/linux/bmips/bcm63268/base-files/lib/upgrade/platform.sh @@ -1,7 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-or-later -. /lib/upgrade/cfe-jffs2-nand.sh - PART_NAME=firmware REQUIRE_IMAGE_METADATA=1 @@ -12,7 +10,8 @@ platform_check_image() { platform_do_upgrade() { case "$(board_name)" in comtrend,vr-3032u) - cfe_jffs2_nand_upgrade "$1" + CI_JFFS2_CLEAN_MARKERS=1 + nand_do_upgrade "$1" ;; sercomm,h500-s-lowi |\ sercomm,h500-s-vfes |\ |