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

This commit is contained in:
domenico
2025-06-24 12:51:15 +02:00
commit 27c9d80f51
10493 changed files with 1885777 additions and 0 deletions

View 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

View File

@@ -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

View File

@@ -0,0 +1,10 @@
PART_NAME=firmware
REQUIRE_IMAGE_METADATA=1
platform_check_image() {
return 0
}
platform_do_upgrade() {
default_do_upgrade "$1"
}

View 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

View 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))

View 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