aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/layerscape/base-files/lib/preinit
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2023-06-27 04:20:50 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2023-07-26 13:36:58 +0200
commitcef98caf6e8d3c466ab303d376324304bbe6c365 (patch)
treee973f6696592fbbdceba83841fc87a28966bbfc1 /target/linux/layerscape/base-files/lib/preinit
parent68a4c60b5cb3ec48d74a40fb403417ef1606893d (diff)
downloadupstream-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/preinit')
-rw-r--r--target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth26
1 files changed, 0 insertions, 26 deletions
diff --git a/target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth b/target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth
deleted file mode 100644
index c6b741a5ce..0000000000
--- a/target/linux/layerscape/base-files/lib/preinit/05_layerscape_reorder_eth
+++ /dev/null
@@ -1,26 +0,0 @@
-reorder_layerscape_interfaces() {
- if [ ! -f /tmp/sysinfo/board_name ]; then
- echo "No board name found, not doing reorder_layerscape_interfaces"
- return 0
- fi
-
- board=$(cat /tmp/sysinfo/board_name)
- case "$board" in
- traverse,ls1043v|\
- traverse,ls1043s)
-
- # Reorder ethernet interfaces to match the physical order
- ip link set eth2 name fm1-mac3
- ip link set eth4 name eth2
- ip link set eth3 name fm1-mac4
- ip link set eth5 name eth3
- ip link set fm1-mac3 name eth4
- ip link set fm1-mac4 name eth5
- ;;
- default)
- echo "Unknown board $board"
- ;;
- esac
-}
-
-boot_hook_add preinit_main reorder_layerscape_interfaces