diff options
author | Mathew McBride <matt@traverse.com.au> | 2023-06-27 04:20:50 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-07-26 13:36:58 +0200 |
commit | cef98caf6e8d3c466ab303d376324304bbe6c365 (patch) | |
tree | e973f6696592fbbdceba83841fc87a28966bbfc1 /target/linux/layerscape/base-files/lib/upgrade/platform.sh | |
parent | 68a4c60b5cb3ec48d74a40fb403417ef1606893d (diff) | |
download | upstream-cef98caf6e8d3c466ab303d376324304bbe6c365.tar.gz upstream-cef98caf6e8d3c466ab303d376324304bbe6c365.tar.bz2 upstream-cef98caf6e8d3c466ab303d376324304bbe6c365.zip |
layerscape: remove Traverse LS1043 boards
The Traverse LS1043 boards were not publicly released,
all the production has been going to OEM customers who
do not use the image format defined in the OpenWrt tree.
Only a few samples were circulated outside Traverse
and our OEM customers. The public release (then called
Five64) of this series was cancelled in favour of our
LS1088A based design (Ten64).
It is best to remove these boards to avoid wasting
OpenWrt project and contributor resources.
Signed-off-by: Mathew McBride <matt@traverse.com.au>
(cherry picked from commit 8e7ba6fbae80838c2219ee38307af9c883606c2c)
Diffstat (limited to 'target/linux/layerscape/base-files/lib/upgrade/platform.sh')
-rw-r--r-- | target/linux/layerscape/base-files/lib/upgrade/platform.sh | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/target/linux/layerscape/base-files/lib/upgrade/platform.sh b/target/linux/layerscape/base-files/lib/upgrade/platform.sh index c63cf05e5c..0b5d14b579 100644 --- a/target/linux/layerscape/base-files/lib/upgrade/platform.sh +++ b/target/linux/layerscape/base-files/lib/upgrade/platform.sh @@ -32,23 +32,6 @@ platform_do_upgrade_sdboot() { tar xf $tar_file ${board_dir}/root -O | dd of=/dev/mmcblk0p2 bs=512k > /dev/null 2>&1 } -platform_do_upgrade_traverse_nandubi() { - bootsys=$(fw_printenv bootsys | awk -F= '{{print $2}}') - newbootsys=2 - if [ "$bootsys" -eq "2" ]; then - newbootsys=1 - fi - - # If nand_do_upgrade succeeds, we don't have an opportunity to add any actions of - # our own, so do it here and set back on failure - echo "Setting bootsys to #${newbootsys}" - fw_setenv bootsys $newbootsys - CI_UBIPART="nandubi" - CI_KERNPART="kernel${newbootsys}" - CI_ROOTPART="rootfs${newbootsys}" - nand_do_upgrade "$1" || (echo "Upgrade failed, setting bootsys ${bootsys}" && fw_setenv bootsys $bootsys) - -} platform_do_upgrade_traverse_slotubi() { part="$(awk -F 'ubi.mtd=' '{printf $2}' /proc/cmdline | sed -e 's/ .*$//')" @@ -105,11 +88,6 @@ platform_check_image() { local board=$(board_name) case "$board" in - traverse,ls1043v | \ - traverse,ls1043s) - nand_do_platform_check "traverse-ls1043" $1 - return $? - ;; traverse,ten64) nand_do_platform_check "ten64-mtd" $1 return $? @@ -150,10 +128,6 @@ platform_do_upgrade() { touch /var/lock/fw_printenv.lock case "$board" in - traverse,ls1043v | \ - traverse,ls1043s) - platform_do_upgrade_traverse_nandubi "$1" - ;; traverse,ten64) platform_do_upgrade_traverse_slotubi "${1}" ;; |