[OpenWrt-Devel] [PATCH] bcm53xx: sysupgrade: support Luxul NAND devices
Dan Haab
riproute at gmail.com
Tue Oct 15 11:35:08 EDT 2019
From: Dan Haab <dan.haab at legrand.com>
This adds support for UBI-aware sysupgrade using Luxul formats.
---
target/linux/bcm53xx/base-files/lib/upgrade/platform.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh b/target/linux/bcm53xx/base-files/lib/upgrade/platform.sh
index 6b12c84..1686462 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
--
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list