aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/armvirt/base-files/etc
diff options
context:
space:
mode:
authorMathew McBride <matt@traverse.com.au>2023-06-09 00:43:33 +0000
committerPetr Štetiar <ynezz@true.cz>2023-06-13 14:14:29 +0200
commit7198185e3af80ca2807ecea610bee6e4bc7f90ba (patch)
treeef3773fd059a859291cfee68590ebf6863c16931 /target/linux/armvirt/base-files/etc
parent963ce6990f231d9457cf700275963563901c05cc (diff)
downloadupstream-7198185e3af80ca2807ecea610bee6e4bc7f90ba.tar.gz
upstream-7198185e3af80ca2807ecea610bee6e4bc7f90ba.tar.bz2
upstream-7198185e3af80ca2807ecea610bee6e4bc7f90ba.zip
armsr: rename from armvirt
Now that the armvirt target supports real hardware, not just VMs, thanks to the addition of EFI, rename it to something more appropriate. 'armsr' (Arm SystemReady) was chosen after the name of the Arm standards program. The 32 and 64 bit targets have also been renamed armv7 and armv8 respectively, to allow future profiles where required (such as armv9). See https://developer.arm.com/documentation/102858/0100/Introduction for more information. Signed-off-by: Mathew McBride <matt@traverse.com.au> (23.05 version of commit 40b02a230167626def69389452f19b7109aaeac1)
Diffstat (limited to 'target/linux/armvirt/base-files/etc')
-rw-r--r--target/linux/armvirt/base-files/etc/board.d/01_led19
-rw-r--r--target/linux/armvirt/base-files/etc/board.d/02_network18
-rw-r--r--target/linux/armvirt/base-files/etc/board.d/03_gpio_switches23
-rw-r--r--target/linux/armvirt/base-files/etc/inittab9
4 files changed, 0 insertions, 69 deletions
diff --git a/target/linux/armvirt/base-files/etc/board.d/01_led b/target/linux/armvirt/base-files/etc/board.d/01_led
deleted file mode 100644
index 0250a9672f..0000000000
--- a/target/linux/armvirt/base-files/etc/board.d/01_led
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: GPL-2.0-or-later
-
-. /lib/functions/uci-defaults.sh
-
-board_config_update
-
-board=$(board_name)
-
-case "$board" in
-traverse,ten64)
- ucidef_set_led_netdev "sfp1" "SFP 1" "ten64:green:sfp1:down" "eth8" "link tx rx"
- ucidef_set_led_netdev "sfp2" "SFP 2" "ten64:green:sfp2:up" "eth9" "link tx rx"
- ;;
-esac
-
-board_config_flush
-
-exit 0
diff --git a/target/linux/armvirt/base-files/etc/board.d/02_network b/target/linux/armvirt/base-files/etc/board.d/02_network
deleted file mode 100644
index f58de1c27d..0000000000
--- a/target/linux/armvirt/base-files/etc/board.d/02_network
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: GPL-2.0-or-later
-
-. /lib/functions/system.sh
-. /lib/functions/uci-defaults.sh
-
-board_config_update
-
-case "$(board_name)" in
- traverse,ten64)
- ucidef_set_interface_lan "eth0 eth1 eth2 eth3"
- ucidef_set_interface_wan "eth6"
- ;;
-esac
-
-board_config_flush
-
-exit 0
diff --git a/target/linux/armvirt/base-files/etc/board.d/03_gpio_switches b/target/linux/armvirt/base-files/etc/board.d/03_gpio_switches
deleted file mode 100644
index cf07bc0f54..0000000000
--- a/target/linux/armvirt/base-files/etc/board.d/03_gpio_switches
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: GPL-2.0-or-later
-
-. /lib/functions/uci-defaults.sh
-
-board_config_update
-
-board=$(board_name)
-
-case "$board" in
-traverse,ten64)
- ucidef_add_gpio_switch "lte_reset" "Cell Modem Reset" "376"
- ucidef_add_gpio_switch "lte_power" "Cell Modem Power" "377"
- ucidef_add_gpio_switch "lte_disable" "Cell Modem Airplane mode" "378"
- ucidef_add_gpio_switch "gnss_disable" "Cell Modem Disable GNSS receiver" "379"
- ucidef_add_gpio_switch "lower_sfp_txidsable" "Lower SFP+ TX Disable" "369"
- ucidef_add_gpio_switch "upper_sfp_txdisable" "Upper SFP+ TX Disable" "373"
- ;;
-esac
-
-board_config_flush
-
-exit 0
diff --git a/target/linux/armvirt/base-files/etc/inittab b/target/linux/armvirt/base-files/etc/inittab
deleted file mode 100644
index 51832eb775..0000000000
--- a/target/linux/armvirt/base-files/etc/inittab
+++ /dev/null
@@ -1,9 +0,0 @@
-::sysinit:/etc/init.d/rcS S boot
-::shutdown:/etc/init.d/rcS K shutdown
-ttyAMA0::askfirst:/usr/libexec/login.sh
-ttyS0::askfirst:/usr/libexec/login.sh
-tty0::askfirst:/usr/libexec/login.sh
-hvc0::askfirst:/usr/libexec/login.sh
-ttymxc0::askfirst:/usr/libexec/login.sh
-ttymxc1::askfirst:/usr/libexec/login.sh
-ttymxc2::askfirst:/usr/libexec/login.sh