Initial commit
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
This commit is contained in:
51
target/linux/lantiq/falcon/base-files/etc/board.d/02_network
Normal file
51
target/linux/lantiq/falcon/base-files/etc/board.d/02_network
Normal file
@@ -0,0 +1,51 @@
|
||||
#
|
||||
# Copyright (C) 2011-2015 OpenWrt.org
|
||||
#
|
||||
|
||||
. /lib/functions/uci-defaults.sh
|
||||
. /lib/functions/system.sh
|
||||
. /lib/functions/lantiq.sh
|
||||
|
||||
lantiq_setup_interfaces()
|
||||
{
|
||||
local board="$1"
|
||||
|
||||
case "$board" in
|
||||
*)
|
||||
ucidef_set_interface_lan 'eth0'
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
lantiq_setup_dsl()
|
||||
{
|
||||
local board="$1"
|
||||
local annex="a"
|
||||
|
||||
case "$board" in
|
||||
esac
|
||||
|
||||
lantiq_setup_dsl_helper "$annex"
|
||||
}
|
||||
|
||||
lantiq_setup_macs()
|
||||
{
|
||||
local board="$1"
|
||||
local lan_mac=""
|
||||
local wan_mac=""
|
||||
|
||||
case "$board" in
|
||||
esac
|
||||
|
||||
[ -n "$lan_mac" ] && ucidef_set_interface_macaddr "lan" "$lan_mac"
|
||||
[ -n "$wan_mac" ] && ucidef_set_interface_macaddr "wan" "$wan_mac"
|
||||
}
|
||||
|
||||
board_config_update
|
||||
board=$(board_name)
|
||||
lantiq_setup_interfaces $board
|
||||
lantiq_setup_dsl $board
|
||||
lantiq_setup_macs $board
|
||||
board_config_flush
|
||||
|
||||
exit 0
|
||||
@@ -0,0 +1,19 @@
|
||||
#
|
||||
# Copyright (C) 2020 OpenWrt.org
|
||||
#
|
||||
|
||||
. /lib/functions/migrations.sh
|
||||
|
||||
board=$(board_name)
|
||||
|
||||
case "$board" in
|
||||
lantiq,easy98020)
|
||||
migrate_leds "easy98020:="
|
||||
;;
|
||||
esac
|
||||
|
||||
remove_devicename_leds
|
||||
|
||||
migrations_apply system
|
||||
|
||||
exit 0
|
||||
10
target/linux/lantiq/falcon/base-files/lib/upgrade/platform.sh
Executable file
10
target/linux/lantiq/falcon/base-files/lib/upgrade/platform.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
PART_NAME=firmware
|
||||
REQUIRE_IMAGE_METADATA=1
|
||||
|
||||
platform_check_image() {
|
||||
return 0
|
||||
}
|
||||
|
||||
platform_do_upgrade() {
|
||||
default_do_upgrade "$1"
|
||||
}
|
||||
9
target/linux/lantiq/falcon/config-6.6
Normal file
9
target/linux/lantiq/falcon/config-6.6
Normal file
@@ -0,0 +1,9 @@
|
||||
CONFIG_MTD_NAND_CORE=y
|
||||
CONFIG_MTD_NAND_ECC=y
|
||||
CONFIG_MTD_NAND_ECC_SW_HAMMING=y
|
||||
CONFIG_MTD_RAW_NAND=y
|
||||
CONFIG_MTD_SPLIT_FIRMWARE_NAME="linux"
|
||||
CONFIG_PINCTRL_FALCON=y
|
||||
CONFIG_SOC_FALCON=y
|
||||
# CONFIG_SOC_XWAY is not set
|
||||
CONFIG_SPI_FALCON=y
|
||||
9
target/linux/lantiq/falcon/profiles/00-default.mk
Normal file
9
target/linux/lantiq/falcon/profiles/00-default.mk
Normal file
@@ -0,0 +1,9 @@
|
||||
define Profile/Default
|
||||
NAME:=Default Profile
|
||||
PRIORITY:=1
|
||||
endef
|
||||
|
||||
define Profile/Default/Description
|
||||
Default package set compatible with most boards.
|
||||
endef
|
||||
$(eval $(call Profile,Default))
|
||||
12
target/linux/lantiq/falcon/target.mk
Normal file
12
target/linux/lantiq/falcon/target.mk
Normal file
@@ -0,0 +1,12 @@
|
||||
ARCH:=mips
|
||||
SUBTARGET:=falcon
|
||||
BOARDNAME:=Falcon
|
||||
FEATURES+=nand source-only
|
||||
CPU_TYPE:=24kc
|
||||
|
||||
DEFAULT_PACKAGES+= kmod-leds-gpio \
|
||||
kmod-gpio-button-hotplug
|
||||
|
||||
define Target/Description
|
||||
Lantiq Falcon
|
||||
endef
|
||||
Reference in New Issue
Block a user