diff options
author | Dan Haab <dan.haab@legrand.com> | 2019-10-15 09:35:08 -0600 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2019-10-15 20:23:04 +0200 |
commit | 63c43e5674f346b8ed13377d551e5699afbeb673 (patch) | |
tree | dedaf474fe9f3a0c52810d6544933d4edaa4cb90 /target | |
parent | e56e5a454e729f1067ba1fc8acfc18b99ccb88b4 (diff) | |
download | upstream-63c43e5674f346b8ed13377d551e5699afbeb673.tar.gz upstream-63c43e5674f346b8ed13377d551e5699afbeb673.tar.bz2 upstream-63c43e5674f346b8ed13377d551e5699afbeb673.zip |
bcm53xx: sysupgrade: support Luxul NAND devices
This adds support for UBI-aware sysupgrade using Luxul formats.
Signed-off-by: Dan Haab <dan.haab@legrand.com>
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/bcm53xx/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh index 6b12c847d6..1686462cde 100644 --- a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh @@ -402,6 +402,8 @@ platform_do_upgrade() { case "$file_type" in "chk") platform_do_upgrade_nand_trx "$1" $((0x$(get_magic_long_at "$1" 4)));; "cybertan") platform_do_upgrade_nand_trx "$1" 32;; + "lxl") platform_do_upgrade_nand_trx "$1" $(get_le_long_at "$1" 8);; + "lxlold") platform_do_upgrade_nand_trx "$1" 64;; "seama") platform_do_upgrade_nand_seama "$1";; "trx") platform_do_upgrade_nand_trx "$1";; esac |