touch /etc/config/ubootenv
-. /lib/functions/lantiq.sh
. /lib/uboot-envtools.sh
. /lib/functions.sh
-board=$(lantiq_board_name)
+board=$(board_name)
case "$board" in
BTHOMEHUBV2B)
ucidef_set_led_netdev "internet" "internet" "$led_internet" "$interface"
}
-board=$(lantiq_board_name)
+board=$(board_name)
case "$board" in
ARV4525PW)
wan_mac=""
interface_wan=""
-board=$(lantiq_board_name)
+board=$(board_name)
case "$board" in
ACMP252|GIGASX76X)
. /lib/functions.sh
. /lib/functions/system.sh
-. /lib/functions/lantiq.sh
. /lib/upgrade/nand.sh
ath10k_caldata_die() {
case "$FIRMWARE" in
"ath10k/cal-pci-0000:02:00.0.bin")
- board=$(lantiq_board_name)
+ board=$(board_name)
case $board in
BTHOMEHUBV5A)
ath10k_caldata_extract_ubi "caldata" 20480 2116
. /lib/functions.sh
. /lib/functions/system.sh
-. /lib/functions/lantiq.sh
. /lib/upgrade/nand.sh
# xor multiple hex values of the same length
"ath9k-eeprom-pci-0000:00:0e.0.bin" | \
"ath9k-eeprom-pci-0000:01:00.0.bin" | \
"ath9k-eeprom-pci-0000:02:00.0.bin")
- board=$(lantiq_board_name)
+ board=$(board_name)
case "$board" in
ARV7518PW)
echo "$model"
}
-lantiq_board_name() {
- local name
-
- [ -f /tmp/sysinfo/board_name ] && name=$(cat /tmp/sysinfo/board_name)
- [ -z "$name" ] && name="unknown"
-
- echo "$name"
-}
-
lantiq_get_dt_led() {
local label
local ledpath
-. /lib/functions/lantiq.sh
-
PART_NAME=firmware
REQUIRE_IMAGE_METADATA=1
}
platform_pre_upgrade() {
- local board=$(lantiq_board_name)
+ local board=$(board_name)
case "$board" in
BTHOMEHUBV2B|BTHOMEHUBV3A|BTHOMEHUBV5A|P2812HNUF* )