mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-02 03:56:49 +00:00
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>
(cherry picked from commit 63c43e5674
)
This commit is contained in:
parent
6179bf5be1
commit
f4b1926be0
@ -402,6 +402,8 @@ platform_do_upgrade() {
|
|||||||
case "$file_type" in
|
case "$file_type" in
|
||||||
"chk") platform_do_upgrade_nand_trx "$1" $((0x$(get_magic_long_at "$1" 4)));;
|
"chk") platform_do_upgrade_nand_trx "$1" $((0x$(get_magic_long_at "$1" 4)));;
|
||||||
"cybertan") platform_do_upgrade_nand_trx "$1" 32;;
|
"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";;
|
"seama") platform_do_upgrade_nand_seama "$1";;
|
||||||
"trx") platform_do_upgrade_nand_trx "$1";;
|
"trx") platform_do_upgrade_nand_trx "$1";;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user