mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Add support for XpressReal T3
XpressReal(https://xpressreal.io/) is a family of Single Board Computers developed in collaboration between Fyde Innovations, Radxa and Realtek. XpressReal T3 is the first product in the family - a small form factor high performance single board computer powered by the Realtek RTD1619B, which runs FydeOS/openFyde and Linux! Now we are adding the awesome Armbian Linux support for XpressReal T3! This commit introduces some binary files that XpressReal T3 needed: - firmware/realtek/rtd1619b These binaries are the firmware for rtd1619b peripherals (including the audio decoder, video decoder, etc.). - u-boot-fw.tar.gz This contains some co-processor firmware, which needs to be loaded by u-boot in the early stage of boot. - u-boot-prebuilt.tar.gz These are hwsettings related files, used for tasks such as DDR initialization. These files come from the rtd1619b SDK, which has already been open-sourced on our github: - [firmware](https://github.com/XpressReal/linux-sdk/tree/main/meta-xpressreal/recipes-kernel/linux-firmware/files/rtd1619b) - [u-boot prebuilts](https://github.com/XpressReal/linux-sdk/tree/main/meta-xpressreal/recipes-bsp/u-boot/files/prebuilt/rtd1619b)
This commit is contained in:
71
config/boards/xpressreal-t3.csc
Normal file
71
config/boards/xpressreal-t3.csc
Normal file
@@ -0,0 +1,71 @@
|
|||||||
|
# Realtek rtd1619b quad core 4GB Mem/32GB eMMC 1x HDMI 1x USB 3.2 1x USB 2.0
|
||||||
|
BOARD_NAME="XpressReal T3"
|
||||||
|
BOARDFAMILY="realtek-rtd1619b"
|
||||||
|
BOARD_MAINTAINER="@wei633"
|
||||||
|
KERNEL_TARGET="vendor"
|
||||||
|
DEFAULT_CONSOLE="both"
|
||||||
|
SERIALCON="ttyS0:460800"
|
||||||
|
FULL_DESKTOP="yes"
|
||||||
|
BOOT_FDT_FILE="realtek/rtd1619b-bleedingedge-4gb.dtb"
|
||||||
|
|
||||||
|
ROOTFS_TYPE="ext4"
|
||||||
|
ROOT_FS_LABEL="ROOT"
|
||||||
|
|
||||||
|
BOOTFS_TYPE="fat"
|
||||||
|
BOOT_FS_LABEL="BOOT"
|
||||||
|
BOOTSIZE=512
|
||||||
|
|
||||||
|
declare -g BLUETOOTH_HCIATTACH_PARAMS="/dev/ttyS1 any 1500000 flow"
|
||||||
|
declare -g BLUETOOTH_HCIATTACH_RKFILL_NUM="all"
|
||||||
|
enable_extension "bluetooth-hciattach"
|
||||||
|
|
||||||
|
declare -g AIC8800_TYPE="sdio"
|
||||||
|
enable_extension "radxa-aic8800"
|
||||||
|
|
||||||
|
function post_family_tweaks_bsp__xpressreal_load_modules() {
|
||||||
|
display_alert "$BOARD" "Installing AIC8800 Tweaks" "info"
|
||||||
|
|
||||||
|
mkdir -p "${destination}"/etc/modprobe.d
|
||||||
|
mkdir -p "${destination}"/etc/modules-load.d
|
||||||
|
|
||||||
|
# AIC8800 wireless drivers
|
||||||
|
cat > "${destination}"/etc/modprobe.d/aic8800-wireless.conf <<- EOT
|
||||||
|
options aic8800_fdrv_sdio aicwf_dbg_level=0 custregd=0 ps_on=0
|
||||||
|
EOT
|
||||||
|
|
||||||
|
# block RTK devices drivers autoload
|
||||||
|
cat > "${destination}"/etc/modprobe.d/rtk-devices.conf <<- EOT
|
||||||
|
blacklist rtk_fw_remoteproc
|
||||||
|
blacklist rpmsg_rtk
|
||||||
|
blacklist rtk_rpc_mem
|
||||||
|
blacklist rtk_krpc_agent
|
||||||
|
blacklist rtk_urpc_service
|
||||||
|
blacklist snd_soc_hifi_realtek
|
||||||
|
blacklist snd_soc_realtek
|
||||||
|
blacklist rtk_drm
|
||||||
|
EOT
|
||||||
|
|
||||||
|
# bluetooth modules
|
||||||
|
cat > "${destination}"/etc/modules-load.d/10-bluetooth.conf <<- EOT
|
||||||
|
hidp
|
||||||
|
rfcomm
|
||||||
|
bnep
|
||||||
|
aic8800_btlpm_sdio
|
||||||
|
EOT
|
||||||
|
|
||||||
|
display_alert "Install custom service to load RTK modules in strict order" "info"
|
||||||
|
# load RTK modules in order with custom script
|
||||||
|
install -d -m 0755 "${destination}/usr/local/sbin"
|
||||||
|
install -m 0755 "${SRC}/packages/bsp/xpressreal-t3/load-rtk-modules.sh" "${destination}/usr/local/sbin/load-rtk-modules.sh"
|
||||||
|
install -d -m 0755 "${destination}/usr/lib/systemd/system"
|
||||||
|
install -m 0644 "${SRC}/packages/bsp/xpressreal-t3/load-rtk-modules.service" "${destination}/usr/lib/systemd/system/load-rtk-modules.service"
|
||||||
|
}
|
||||||
|
|
||||||
|
function post_family_tweaks__xpressreal_load_module_service() {
|
||||||
|
display_alert "$BOARD" "Enable XpressReal modules loading service" "info"
|
||||||
|
if chroot_sdcard test -f /lib/systemd/system/load-rtk-modules.service || chroot_sdcard test -f /etc/systemd/system/load-rtk-modules.service; then
|
||||||
|
chroot_sdcard systemctl --no-reload enable load-rtk-modules.service
|
||||||
|
else
|
||||||
|
display_alert "$BOARD" "load-rtk-modules.service not found in image; skipping enable" "warn"
|
||||||
|
fi
|
||||||
|
}
|
||||||
3
config/bootenv/xpressreal-t3.txt
Normal file
3
config/bootenv/xpressreal-t3.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
verbosity=1
|
||||||
|
bootlogo=false
|
||||||
|
console=both
|
||||||
48
config/bootscripts/boot-xpressreal-t3.cmd
Normal file
48
config/bootscripts/boot-xpressreal-t3.cmd
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
setenv load_addr "0x09000000"
|
||||||
|
setenv kernel_addr_r "0x08000000"
|
||||||
|
setenv ramdisk_addr_r "0x20000000"
|
||||||
|
setenv fdt_addr_r "0x02100000"
|
||||||
|
|
||||||
|
setenv rootfstype "ext4"
|
||||||
|
setenv rootdev "/dev/mmcblk0p1"
|
||||||
|
setenv fdtfile "realtek/rtd1619b-bleedingedge-4gb.dtb"
|
||||||
|
|
||||||
|
setenv console "both"
|
||||||
|
setenv bootlogo "false"
|
||||||
|
setenv verbosity "1"
|
||||||
|
setenv earlycon "off"
|
||||||
|
setenv docker_optimizations "off"
|
||||||
|
setenv extraboardargs "uio_pdrv_genirq.of_id=generic-uio firmware_class.path=/lib/firmware/realtek/rtd1619b/ pd_ignore_unused clk_ignore_unused video=HDMI-A-1:1920x1080@30"
|
||||||
|
|
||||||
|
test -n "${distro_bootpart}" || distro_bootpart=1
|
||||||
|
echo "Boot script loaded from ${devtype} ${devnum}:${distro_bootpart}"
|
||||||
|
|
||||||
|
if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}armbianEnv.txt; then
|
||||||
|
load ${devtype} ${devnum}:${distro_bootpart} ${load_addr} ${prefix}armbianEnv.txt
|
||||||
|
env import -t ${load_addr} ${filesize}
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test "${console}" = "display" || test "${console}" = "both"; then setenv consoleargs "console=tty1"; fi
|
||||||
|
if test "${console}" = "serial" || test "${console}" = "both"; then setenv consoleargs "console=ttyS0,460800 ${consoleargs}"; fi
|
||||||
|
if test "${earlycon}" = "on"; then setenv consoleargs "earlycon=uart8250,mmio32,0x98007800 ${consoleargs}"; fi
|
||||||
|
if test "${bootlogo}" = "true"; then
|
||||||
|
setenv consoleargs "splash plymouth.ignore-serial-consoles ${consoleargs}"
|
||||||
|
else
|
||||||
|
setenv consoleargs "splash=verbose ${consoleargs}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# get PARTUUID of first partition on SD/eMMC the boot script was loaded from
|
||||||
|
if test "${devtype}" = "mmc"; then part uuid mmc ${devnum}:${distro_bootpart} partuuid; fi
|
||||||
|
|
||||||
|
setenv bootargs "root=${rootdev} rootwait rootfstype=${rootfstype} ${consoleargs} consoleblank=0 loglevel=${verbosity} ubootpart=${partuuid} usb-storage.quirks=${usbstoragequirks} ${extraargs} ${extraboardargs}"
|
||||||
|
|
||||||
|
if test "${docker_optimizations}" = "on"; then setenv bootargs "${bootargs} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory"; fi
|
||||||
|
|
||||||
|
load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} ${prefix}Image
|
||||||
|
load ${devtype} ${devnum}:${distro_bootpart} ${ramdisk_addr_r} ${prefix}uInitrd
|
||||||
|
load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}dtb/${fdtfile}
|
||||||
|
|
||||||
|
booti ${kernel_addr_r} ${ramdisk_addr_r} ${fdt_addr_r}
|
||||||
|
|
||||||
|
# Recompile with:
|
||||||
|
# mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr
|
||||||
580
config/kernel/linux-xpressreal-t3-6.6.config
Normal file
580
config/kernel/linux-xpressreal-t3-6.6.config
Normal file
@@ -0,0 +1,580 @@
|
|||||||
|
# CONFIG_LOCALVERSION_AUTO is not set
|
||||||
|
CONFIG_SYSVIPC=y
|
||||||
|
CONFIG_POSIX_MQUEUE=y
|
||||||
|
CONFIG_NO_HZ=y
|
||||||
|
CONFIG_HIGH_RES_TIMERS=y
|
||||||
|
CONFIG_BPF_SYSCALL=y
|
||||||
|
CONFIG_BPF_JIT=y
|
||||||
|
CONFIG_PREEMPT=y
|
||||||
|
CONFIG_IKCONFIG=y
|
||||||
|
CONFIG_IKCONFIG_PROC=y
|
||||||
|
CONFIG_CGROUPS=y
|
||||||
|
CONFIG_MEMCG=y
|
||||||
|
CONFIG_BLK_CGROUP=y
|
||||||
|
CONFIG_CGROUP_SCHED=y
|
||||||
|
CONFIG_CFS_BANDWIDTH=y
|
||||||
|
CONFIG_RT_GROUP_SCHED=y
|
||||||
|
CONFIG_CGROUP_PIDS=y
|
||||||
|
CONFIG_CGROUP_RDMA=y
|
||||||
|
CONFIG_CGROUP_FREEZER=y
|
||||||
|
CONFIG_CPUSETS=y
|
||||||
|
CONFIG_CGROUP_DEVICE=y
|
||||||
|
CONFIG_CGROUP_CPUACCT=y
|
||||||
|
CONFIG_CGROUP_PERF=y
|
||||||
|
CONFIG_CGROUP_BPF=y
|
||||||
|
CONFIG_NAMESPACES=y
|
||||||
|
CONFIG_USER_NS=y
|
||||||
|
CONFIG_BLK_DEV_INITRD=y
|
||||||
|
CONFIG_EXPERT=y
|
||||||
|
CONFIG_PROFILING=y
|
||||||
|
CONFIG_ARCH_REALTEK=y
|
||||||
|
CONFIG_ARM64_VA_BITS_48=y
|
||||||
|
CONFIG_NR_CPUS=4
|
||||||
|
CONFIG_COMPAT=y
|
||||||
|
# CONFIG_EFI is not set
|
||||||
|
CONFIG_PM_WAKELOCKS=y
|
||||||
|
CONFIG_ENERGY_MODEL=y
|
||||||
|
CONFIG_CPU_IDLE=y
|
||||||
|
CONFIG_ARM_PSCI_CPUIDLE=y
|
||||||
|
CONFIG_CPU_FREQ=y
|
||||||
|
CONFIG_CPU_FREQ_STAT=y
|
||||||
|
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
|
||||||
|
CONFIG_CPU_FREQ_GOV_USERSPACE=y
|
||||||
|
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
|
||||||
|
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
|
||||||
|
CONFIG_CPUFREQ_DT=y
|
||||||
|
CONFIG_KPROBES=y
|
||||||
|
CONFIG_MODULES=y
|
||||||
|
CONFIG_MODULE_FORCE_LOAD=y
|
||||||
|
CONFIG_MODULE_UNLOAD=y
|
||||||
|
CONFIG_MODULE_FORCE_UNLOAD=y
|
||||||
|
CONFIG_BLK_DEV_THROTTLING=y
|
||||||
|
CONFIG_ZSWAP=y
|
||||||
|
CONFIG_CMA=y
|
||||||
|
CONFIG_CMA_DEBUGFS=y
|
||||||
|
CONFIG_CMA_AREAS=32
|
||||||
|
CONFIG_NET=y
|
||||||
|
CONFIG_PACKET=y
|
||||||
|
CONFIG_PACKET_DIAG=y
|
||||||
|
CONFIG_UNIX=y
|
||||||
|
CONFIG_XFRM_USER=m
|
||||||
|
CONFIG_INET=y
|
||||||
|
CONFIG_INET_ESP=m
|
||||||
|
CONFIG_NETFILTER=y
|
||||||
|
CONFIG_BRIDGE_NETFILTER=m
|
||||||
|
CONFIG_NF_CONNTRACK=y
|
||||||
|
CONFIG_NF_CONNTRACK_ZONES=y
|
||||||
|
CONFIG_NF_CONNTRACK_EVENTS=y
|
||||||
|
CONFIG_NF_CONNTRACK_TIMEOUT=y
|
||||||
|
CONFIG_NF_CONNTRACK_LABELS=y
|
||||||
|
CONFIG_NF_CONNTRACK_AMANDA=m
|
||||||
|
CONFIG_NF_CONNTRACK_FTP=m
|
||||||
|
CONFIG_NF_CONNTRACK_H323=m
|
||||||
|
CONFIG_NF_CONNTRACK_IRC=m
|
||||||
|
CONFIG_NF_CONNTRACK_NETBIOS_NS=m
|
||||||
|
CONFIG_NF_CONNTRACK_PPTP=m
|
||||||
|
CONFIG_NF_CONNTRACK_SANE=m
|
||||||
|
CONFIG_NF_CONNTRACK_SIP=m
|
||||||
|
CONFIG_NF_CONNTRACK_TFTP=m
|
||||||
|
CONFIG_NF_CT_NETLINK=m
|
||||||
|
CONFIG_NF_TABLES=y
|
||||||
|
CONFIG_NF_TABLES_INET=y
|
||||||
|
CONFIG_NF_TABLES_NETDEV=y
|
||||||
|
CONFIG_NFT_NUMGEN=m
|
||||||
|
CONFIG_NFT_CT=m
|
||||||
|
CONFIG_NFT_FLOW_OFFLOAD=m
|
||||||
|
CONFIG_NFT_CONNLIMIT=m
|
||||||
|
CONFIG_NFT_LOG=m
|
||||||
|
CONFIG_NFT_LIMIT=m
|
||||||
|
CONFIG_NFT_MASQ=m
|
||||||
|
CONFIG_NFT_REDIR=m
|
||||||
|
CONFIG_NFT_NAT=m
|
||||||
|
CONFIG_NFT_TUNNEL=m
|
||||||
|
CONFIG_NFT_QUEUE=m
|
||||||
|
CONFIG_NFT_QUOTA=m
|
||||||
|
CONFIG_NFT_REJECT=m
|
||||||
|
CONFIG_NFT_COMPAT=m
|
||||||
|
CONFIG_NFT_HASH=m
|
||||||
|
CONFIG_NFT_FIB_INET=y
|
||||||
|
CONFIG_NFT_XFRM=m
|
||||||
|
CONFIG_NFT_SOCKET=m
|
||||||
|
CONFIG_NFT_OSF=m
|
||||||
|
CONFIG_NFT_TPROXY=m
|
||||||
|
CONFIG_NFT_SYNPROXY=m
|
||||||
|
CONFIG_NFT_DUP_NETDEV=m
|
||||||
|
CONFIG_NFT_FWD_NETDEV=m
|
||||||
|
CONFIG_NFT_REJECT_NETDEV=m
|
||||||
|
CONFIG_NF_FLOW_TABLE_INET=m
|
||||||
|
CONFIG_NF_FLOW_TABLE=m
|
||||||
|
CONFIG_NETFILTER_XTABLES_COMPAT=y
|
||||||
|
CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
|
||||||
|
CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
|
||||||
|
CONFIG_NETFILTER_XT_TARGET_CT=m
|
||||||
|
CONFIG_NETFILTER_XT_TARGET_DSCP=m
|
||||||
|
CONFIG_NETFILTER_XT_TARGET_LOG=m
|
||||||
|
CONFIG_NETFILTER_XT_TARGET_MARK=m
|
||||||
|
CONFIG_NETFILTER_XT_TARGET_NFLOG=m
|
||||||
|
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
|
||||||
|
CONFIG_NETFILTER_XT_TARGET_TRACE=m
|
||||||
|
CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_ADDRTYPE=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_BPF=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_COMMENT=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_DCCP=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_DSCP=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_ESP=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_HELPER=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_IPVS=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_LENGTH=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_LIMIT=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_MAC=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_MARK=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_QUOTA=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_REALM=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_SCTP=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_STATE=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_STRING=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
|
||||||
|
CONFIG_NETFILTER_XT_MATCH_U32=m
|
||||||
|
CONFIG_IP_VS=m
|
||||||
|
CONFIG_IP_VS_PROTO_TCP=y
|
||||||
|
CONFIG_IP_VS_PROTO_UDP=y
|
||||||
|
CONFIG_IP_VS_RR=m
|
||||||
|
CONFIG_IP_VS_NFCT=y
|
||||||
|
CONFIG_NFT_FIB_IPV4=y
|
||||||
|
CONFIG_NF_TABLES_ARP=y
|
||||||
|
CONFIG_IP_NF_IPTABLES=y
|
||||||
|
CONFIG_IP_NF_MATCH_AH=m
|
||||||
|
CONFIG_IP_NF_MATCH_ECN=m
|
||||||
|
CONFIG_IP_NF_MATCH_RPFILTER=m
|
||||||
|
CONFIG_IP_NF_MATCH_TTL=m
|
||||||
|
CONFIG_IP_NF_FILTER=y
|
||||||
|
CONFIG_IP_NF_TARGET_REJECT=m
|
||||||
|
CONFIG_IP_NF_TARGET_SYNPROXY=m
|
||||||
|
CONFIG_IP_NF_NAT=m
|
||||||
|
CONFIG_IP_NF_TARGET_MASQUERADE=m
|
||||||
|
CONFIG_IP_NF_TARGET_NETMAP=m
|
||||||
|
CONFIG_IP_NF_TARGET_REDIRECT=m
|
||||||
|
CONFIG_IP_NF_MANGLE=m
|
||||||
|
CONFIG_IP_NF_TARGET_ECN=m
|
||||||
|
CONFIG_IP_NF_TARGET_TTL=m
|
||||||
|
CONFIG_IP_NF_RAW=m
|
||||||
|
CONFIG_IP_NF_ARPTABLES=m
|
||||||
|
CONFIG_IP_NF_ARPFILTER=m
|
||||||
|
CONFIG_IP_NF_ARP_MANGLE=m
|
||||||
|
CONFIG_NFT_FIB_IPV6=y
|
||||||
|
CONFIG_BRIDGE=y
|
||||||
|
CONFIG_BRIDGE_VLAN_FILTERING=y
|
||||||
|
CONFIG_VLAN_8021Q=m
|
||||||
|
CONFIG_PHONET=y
|
||||||
|
CONFIG_NET_SCHED=y
|
||||||
|
CONFIG_NET_CLS_CGROUP=m
|
||||||
|
CONFIG_CGROUP_NET_PRIO=y
|
||||||
|
CONFIG_BT=y
|
||||||
|
CONFIG_BT_RFCOMM=m
|
||||||
|
CONFIG_BT_RFCOMM_TTY=y
|
||||||
|
CONFIG_BT_BNEP=m
|
||||||
|
CONFIG_BT_BNEP_MC_FILTER=y
|
||||||
|
CONFIG_BT_BNEP_PROTO_FILTER=y
|
||||||
|
CONFIG_BT_HIDP=m
|
||||||
|
CONFIG_BT_HCIBTUSB=y
|
||||||
|
CONFIG_BT_HCIBTUSB_AUTOSUSPEND=y
|
||||||
|
CONFIG_BT_RTKBTRFKILL=y
|
||||||
|
CONFIG_BT_HCIBTUSB_MTK=y
|
||||||
|
CONFIG_BT_HCIBTSDIO=y
|
||||||
|
CONFIG_BT_HCIUART=y
|
||||||
|
CONFIG_BT_HCIUART_BCSP=y
|
||||||
|
CONFIG_BT_HCIUART_ATH3K=y
|
||||||
|
CONFIG_BT_HCIUART_INTEL=y
|
||||||
|
CONFIG_BT_HCIUART_AG6XX=y
|
||||||
|
CONFIG_BT_HCIBCM203X=m
|
||||||
|
CONFIG_BT_HCIBPA10X=m
|
||||||
|
CONFIG_BT_HCIBFUSB=m
|
||||||
|
CONFIG_BT_HCIVHCI=m
|
||||||
|
CONFIG_BT_MRVL=m
|
||||||
|
CONFIG_BT_MRVL_SDIO=m
|
||||||
|
CONFIG_BT_ATH3K=m
|
||||||
|
CONFIG_BT_MTKSDIO=m
|
||||||
|
CONFIG_BT_VIRTIO=m
|
||||||
|
CONFIG_CFG80211=y
|
||||||
|
CONFIG_CFG80211_WEXT=y
|
||||||
|
CONFIG_MAC80211=y
|
||||||
|
CONFIG_MAC80211_LEDS=y
|
||||||
|
CONFIG_RFKILL=y
|
||||||
|
CONFIG_RFKILL_INPUT=y
|
||||||
|
CONFIG_RFKILL_GPIO=y
|
||||||
|
CONFIG_PCI=y
|
||||||
|
CONFIG_PCIE_RTD=y
|
||||||
|
CONFIG_PCIE_RTD_TRANS=y
|
||||||
|
CONFIG_DEVTMPFS=y
|
||||||
|
CONFIG_MTD=y
|
||||||
|
CONFIG_MTD_CMDLINE_PARTS=y
|
||||||
|
CONFIG_MTD_BLOCK=y
|
||||||
|
CONFIG_MTD_BLOCK2MTD=y
|
||||||
|
CONFIG_MTD_SPI_NOR=y
|
||||||
|
# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
|
||||||
|
CONFIG_SPI_RTK_SFC=y
|
||||||
|
CONFIG_ZRAM=m
|
||||||
|
CONFIG_ZRAM_WRITEBACK=y
|
||||||
|
CONFIG_ZRAM_MEMORY_TRACKING=y
|
||||||
|
CONFIG_BLK_DEV_LOOP=y
|
||||||
|
CONFIG_BLK_DEV_RAM=y
|
||||||
|
CONFIG_BLK_DEV_NVME=y
|
||||||
|
CONFIG_BLK_DEV_SD=y
|
||||||
|
CONFIG_SCSI_DEBUG=m
|
||||||
|
CONFIG_ATA=y
|
||||||
|
CONFIG_SATA_AHCI=y
|
||||||
|
CONFIG_AHCI_RTK=y
|
||||||
|
# CONFIG_ATA_SFF is not set
|
||||||
|
CONFIG_NETDEVICES=y
|
||||||
|
CONFIG_DUMMY=m
|
||||||
|
CONFIG_NET_TEAM=m
|
||||||
|
CONFIG_NET_TEAM_MODE_BROADCAST=m
|
||||||
|
CONFIG_NET_TEAM_MODE_ROUNDROBIN=m
|
||||||
|
CONFIG_NET_TEAM_MODE_RANDOM=m
|
||||||
|
CONFIG_NET_TEAM_MODE_ACTIVEBACKUP=m
|
||||||
|
CONFIG_NET_TEAM_MODE_LOADBALANCE=m
|
||||||
|
CONFIG_MACVLAN=m
|
||||||
|
CONFIG_IPVLAN=m
|
||||||
|
CONFIG_VXLAN=m
|
||||||
|
CONFIG_VETH=y
|
||||||
|
# CONFIG_NET_VENDOR_3COM is not set
|
||||||
|
# CONFIG_NET_VENDOR_ADAPTEC is not set
|
||||||
|
# CONFIG_NET_VENDOR_AGERE is not set
|
||||||
|
# CONFIG_NET_VENDOR_ALACRITECH is not set
|
||||||
|
# CONFIG_NET_VENDOR_ALTEON is not set
|
||||||
|
# CONFIG_NET_VENDOR_AMAZON is not set
|
||||||
|
# CONFIG_NET_VENDOR_AMD is not set
|
||||||
|
# CONFIG_NET_VENDOR_AQUANTIA is not set
|
||||||
|
# CONFIG_NET_VENDOR_ARC is not set
|
||||||
|
# CONFIG_NET_VENDOR_ASIX is not set
|
||||||
|
# CONFIG_NET_VENDOR_ATHEROS is not set
|
||||||
|
# CONFIG_NET_VENDOR_BROADCOM is not set
|
||||||
|
# CONFIG_NET_VENDOR_CADENCE is not set
|
||||||
|
# CONFIG_NET_VENDOR_CAVIUM is not set
|
||||||
|
# CONFIG_NET_VENDOR_CHELSIO is not set
|
||||||
|
# CONFIG_NET_VENDOR_CISCO is not set
|
||||||
|
# CONFIG_NET_VENDOR_CORTINA is not set
|
||||||
|
# CONFIG_NET_VENDOR_DAVICOM is not set
|
||||||
|
# CONFIG_NET_VENDOR_DEC is not set
|
||||||
|
# CONFIG_NET_VENDOR_DLINK is not set
|
||||||
|
# CONFIG_NET_VENDOR_EMULEX is not set
|
||||||
|
# CONFIG_NET_VENDOR_ENGLEDER is not set
|
||||||
|
# CONFIG_NET_VENDOR_EZCHIP is not set
|
||||||
|
# CONFIG_NET_VENDOR_FUNGIBLE is not set
|
||||||
|
# CONFIG_NET_VENDOR_GOOGLE is not set
|
||||||
|
# CONFIG_NET_VENDOR_HISILICON is not set
|
||||||
|
# CONFIG_NET_VENDOR_HUAWEI is not set
|
||||||
|
# CONFIG_NET_VENDOR_INTEL is not set
|
||||||
|
# CONFIG_NET_VENDOR_ADI is not set
|
||||||
|
# CONFIG_NET_VENDOR_LITEX is not set
|
||||||
|
# CONFIG_NET_VENDOR_MARVELL is not set
|
||||||
|
# CONFIG_NET_VENDOR_MELLANOX is not set
|
||||||
|
# CONFIG_NET_VENDOR_MICREL is not set
|
||||||
|
# CONFIG_NET_VENDOR_MICROCHIP is not set
|
||||||
|
# CONFIG_NET_VENDOR_MICROSEMI is not set
|
||||||
|
# CONFIG_NET_VENDOR_MICROSOFT is not set
|
||||||
|
# CONFIG_NET_VENDOR_MYRI is not set
|
||||||
|
# CONFIG_NET_VENDOR_NI is not set
|
||||||
|
# CONFIG_NET_VENDOR_NATSEMI is not set
|
||||||
|
# CONFIG_NET_VENDOR_NETERION is not set
|
||||||
|
# CONFIG_NET_VENDOR_NETRONOME is not set
|
||||||
|
# CONFIG_NET_VENDOR_NVIDIA is not set
|
||||||
|
# CONFIG_NET_VENDOR_OKI is not set
|
||||||
|
# CONFIG_NET_VENDOR_PACKET_ENGINES is not set
|
||||||
|
# CONFIG_NET_VENDOR_PENSANDO is not set
|
||||||
|
# CONFIG_NET_VENDOR_QLOGIC is not set
|
||||||
|
# CONFIG_NET_VENDOR_BROCADE is not set
|
||||||
|
# CONFIG_NET_VENDOR_QUALCOMM is not set
|
||||||
|
# CONFIG_NET_VENDOR_RDC is not set
|
||||||
|
CONFIG_R8169SOC=y
|
||||||
|
CONFIG_R8168=m
|
||||||
|
CONFIG_R8125=m
|
||||||
|
# CONFIG_R8125_SG_TSO_ON is not set
|
||||||
|
# CONFIG_NET_VENDOR_RENESAS is not set
|
||||||
|
# CONFIG_NET_VENDOR_ROCKER is not set
|
||||||
|
# CONFIG_NET_VENDOR_SAMSUNG is not set
|
||||||
|
# CONFIG_NET_VENDOR_SEEQ is not set
|
||||||
|
# CONFIG_NET_VENDOR_SILAN is not set
|
||||||
|
# CONFIG_NET_VENDOR_SIS is not set
|
||||||
|
# CONFIG_NET_VENDOR_SOLARFLARE is not set
|
||||||
|
# CONFIG_NET_VENDOR_SMSC is not set
|
||||||
|
# CONFIG_NET_VENDOR_SOCIONEXT is not set
|
||||||
|
# CONFIG_NET_VENDOR_STMICRO is not set
|
||||||
|
# CONFIG_NET_VENDOR_SUN is not set
|
||||||
|
# CONFIG_NET_VENDOR_SYNOPSYS is not set
|
||||||
|
# CONFIG_NET_VENDOR_TEHUTI is not set
|
||||||
|
# CONFIG_NET_VENDOR_TI is not set
|
||||||
|
# CONFIG_NET_VENDOR_VERTEXCOM is not set
|
||||||
|
# CONFIG_NET_VENDOR_VIA is not set
|
||||||
|
# CONFIG_NET_VENDOR_WANGXUN is not set
|
||||||
|
# CONFIG_NET_VENDOR_WIZNET is not set
|
||||||
|
# CONFIG_NET_VENDOR_XILINX is not set
|
||||||
|
CONFIG_PHYLIB=y
|
||||||
|
CONFIG_AX88796B_PHY=y
|
||||||
|
CONFIG_PPP=m
|
||||||
|
CONFIG_PPP_BSDCOMP=m
|
||||||
|
CONFIG_PPP_DEFLATE=m
|
||||||
|
CONFIG_PPP_MPPE=m
|
||||||
|
CONFIG_PPPOE=m
|
||||||
|
CONFIG_PPP_ASYNC=m
|
||||||
|
CONFIG_PPP_SYNC_TTY=m
|
||||||
|
CONFIG_USB_RTL8152=m
|
||||||
|
CONFIG_USB_USBNET=m
|
||||||
|
CONFIG_USB_NET_QMI_WWAN=m
|
||||||
|
# CONFIG_WLAN_VENDOR_ADMTEK is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_ATH is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_ATMEL is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_BROADCOM is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_CISCO is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_INTEL is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_INTERSIL is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_MARVELL is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_MEDIATEK is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_MICROCHIP is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_PURELIFI is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_RALINK is not set
|
||||||
|
CONFIG_RTL_CARDS=m
|
||||||
|
CONFIG_RTW88=m
|
||||||
|
CONFIG_RTW88_8822CS=m
|
||||||
|
CONFIG_RTW88_DEBUG=y
|
||||||
|
CONFIG_RTW88_DEBUGFS=y
|
||||||
|
CONFIG_RTW89=m
|
||||||
|
CONFIG_RTW89_8852BE=m
|
||||||
|
CONFIG_RTW89_DEBUGMSG=y
|
||||||
|
CONFIG_RTW89_DEBUGFS=y
|
||||||
|
# CONFIG_WLAN_VENDOR_RSI is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_SILABS is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_ST is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_TI is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_ZYDAS is not set
|
||||||
|
# CONFIG_WLAN_VENDOR_QUANTENNA is not set
|
||||||
|
CONFIG_INPUT_FF_MEMLESS=y
|
||||||
|
CONFIG_INPUT_MOUSEDEV=y
|
||||||
|
CONFIG_INPUT_EVDEV=y
|
||||||
|
CONFIG_KEYBOARD_GPIO=y
|
||||||
|
CONFIG_KEYBOARD_GPIO_POLLED=m
|
||||||
|
CONFIG_MOUSE_CYAPA=y
|
||||||
|
CONFIG_MOUSE_ELAN_I2C=y
|
||||||
|
CONFIG_INPUT_TOUCHSCREEN=y
|
||||||
|
CONFIG_TOUCHSCREEN_RASPITS_FT5426=m
|
||||||
|
CONFIG_INPUT_MISC=y
|
||||||
|
CONFIG_INPUT_UINPUT=y
|
||||||
|
CONFIG_SERIAL_8250=y
|
||||||
|
CONFIG_SERIAL_8250_CONSOLE=y
|
||||||
|
# CONFIG_SERIAL_8250_PCI is not set
|
||||||
|
CONFIG_SERIAL_8250_NR_UARTS=3
|
||||||
|
CONFIG_SERIAL_8250_RUNTIME_UARTS=3
|
||||||
|
CONFIG_SERIAL_8250_EXTENDED=y
|
||||||
|
CONFIG_SERIAL_8250_DW=y
|
||||||
|
# CONFIG_SERIAL_8250_PERICOM is not set
|
||||||
|
CONFIG_I2C_CHARDEV=y
|
||||||
|
CONFIG_I2C_MUX=y
|
||||||
|
CONFIG_I2C_REALTEK=y
|
||||||
|
CONFIG_SPI=y
|
||||||
|
CONFIG_SPI_DW_RTK=y
|
||||||
|
CONFIG_PINCTRL=y
|
||||||
|
CONFIG_GPIOLIB=y
|
||||||
|
CONFIG_GPIO_SYSFS=y
|
||||||
|
CONFIG_GPIO_MOCKUP=m
|
||||||
|
CONFIG_POWER_RESET_GPIO=y
|
||||||
|
CONFIG_RTK_REBOOT_MODE=y
|
||||||
|
CONFIG_THERMAL=y
|
||||||
|
CONFIG_CPU_THERMAL=y
|
||||||
|
CONFIG_DEVFREQ_THERMAL=y
|
||||||
|
CONFIG_RTK_THERMAL_CPU_CORE_COOLING=y
|
||||||
|
CONFIG_WATCHDOG=y
|
||||||
|
CONFIG_RTK_WATCHDOG=y
|
||||||
|
# CONFIG_RTD119X_WATCHDOG is not set
|
||||||
|
CONFIG_MFD_APW8886_I2C=y
|
||||||
|
CONFIG_REGULATOR=y
|
||||||
|
CONFIG_REGULATOR_PWM=y
|
||||||
|
CONFIG_REGULATOR_APW8886=y
|
||||||
|
CONFIG_CEC_RTK=y
|
||||||
|
CONFIG_MEDIA_SUPPORT=y
|
||||||
|
CONFIG_RTK_V4L2_VDEC=y
|
||||||
|
CONFIG_RTK_V4L2_VENC=y
|
||||||
|
CONFIG_DRM=y
|
||||||
|
CONFIG_DRM_FBDEV_EMULATION=y
|
||||||
|
CONFIG_DRM_PANEL_RASPBERRYPI_TOUCHSCREEN=y
|
||||||
|
CONFIG_DRM_RTK=m
|
||||||
|
CONFIG_RTK_METADATA_AUTOJUDGE=y
|
||||||
|
CONFIG_DRM_RTK_VOWB=y
|
||||||
|
CONFIG_DRM_PANFROST=m
|
||||||
|
CONFIG_SOUND=y
|
||||||
|
CONFIG_SND=y
|
||||||
|
CONFIG_SND_HRTIMER=y
|
||||||
|
CONFIG_SND_DYNAMIC_MINORS=y
|
||||||
|
# CONFIG_SND_DRIVERS is not set
|
||||||
|
CONFIG_SND_SOC=y
|
||||||
|
CONFIG_SND_ACPU_AO=m
|
||||||
|
CONFIG_SND_SOC_REALTEK=m
|
||||||
|
CONFIG_SND_SOC_REALTEK_NOTIFY=m
|
||||||
|
CONFIG_SND_SOC_REALTEK_FL3236=m
|
||||||
|
CONFIG_USB=y
|
||||||
|
CONFIG_USB_OTG=y
|
||||||
|
CONFIG_USB_MON=y
|
||||||
|
CONFIG_USB_XHCI_HCD=y
|
||||||
|
CONFIG_USB_EHCI_HCD=y
|
||||||
|
CONFIG_USB_EHCI_ROOT_HUB_TT=y
|
||||||
|
CONFIG_USB_EHCI_HCD_PLATFORM=y
|
||||||
|
CONFIG_USB_OHCI_HCD=y
|
||||||
|
# CONFIG_USB_OHCI_HCD_PCI is not set
|
||||||
|
CONFIG_USB_OHCI_HCD_PLATFORM=y
|
||||||
|
CONFIG_USB_ACM=y
|
||||||
|
CONFIG_USB_WDM=y
|
||||||
|
CONFIG_USB_STORAGE=y
|
||||||
|
CONFIG_USB_STORAGE_REALTEK=y
|
||||||
|
CONFIG_USB_UAS=y
|
||||||
|
CONFIG_USB_MDC800=y
|
||||||
|
CONFIG_USB_DWC3=y
|
||||||
|
CONFIG_USB_DWC2=y
|
||||||
|
CONFIG_USB_SERIAL=y
|
||||||
|
CONFIG_USB_SERIAL_OPTION=y
|
||||||
|
CONFIG_USB_FTDI_SPI=y
|
||||||
|
CONFIG_USB_GADGET=y
|
||||||
|
CONFIG_USB_GADGET_DEBUG_FILES=y
|
||||||
|
CONFIG_USB_GADGET_VBUS_DRAW=250
|
||||||
|
CONFIG_USB_CONFIGFS=y
|
||||||
|
CONFIG_USB_CONFIGFS_ACM=y
|
||||||
|
CONFIG_USB_CONFIGFS_NCM=y
|
||||||
|
CONFIG_USB_CONFIGFS_ECM=y
|
||||||
|
CONFIG_USB_CONFIGFS_ECM_SUBSET=y
|
||||||
|
CONFIG_USB_CONFIGFS_RNDIS=y
|
||||||
|
CONFIG_USB_CONFIGFS_EEM=y
|
||||||
|
CONFIG_USB_CONFIGFS_MASS_STORAGE=y
|
||||||
|
CONFIG_USB_CONFIGFS_F_LB_SS=y
|
||||||
|
CONFIG_USB_CONFIGFS_F_FS=y
|
||||||
|
CONFIG_USB_MASS_STORAGE=y
|
||||||
|
CONFIG_USB_CDC_COMPOSITE=y
|
||||||
|
CONFIG_TYPEC=y
|
||||||
|
CONFIG_TYPEC_TCPM=y
|
||||||
|
CONFIG_TYPEC_UCSI=y
|
||||||
|
CONFIG_MMC=y
|
||||||
|
CONFIG_MMC_SDHCI=y
|
||||||
|
CONFIG_MMC_SDHCI_PLTFM=y
|
||||||
|
CONFIG_MMC_SDHCI_OF_RTK=y
|
||||||
|
CONFIG_MMC_DW_CQE=y
|
||||||
|
CONFIG_MMC_RTK_SDMMC=y
|
||||||
|
CONFIG_MMC_DW_CQE_RTK=y
|
||||||
|
CONFIG_NEW_LEDS=y
|
||||||
|
CONFIG_LEDS_CLASS=y
|
||||||
|
CONFIG_LEDS_GPIO=y
|
||||||
|
CONFIG_LEDS_IS31FL32XX=y
|
||||||
|
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||||
|
CONFIG_LEDS_TRIGGER_ONESHOT=y
|
||||||
|
CONFIG_LEDS_TRIGGER_DISK=y
|
||||||
|
CONFIG_LEDS_TRIGGER_MTD=y
|
||||||
|
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||||
|
CONFIG_LEDS_TRIGGER_BACKLIGHT=y
|
||||||
|
CONFIG_LEDS_TRIGGER_CPU=y
|
||||||
|
CONFIG_LEDS_TRIGGER_ACTIVITY=y
|
||||||
|
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||||
|
CONFIG_LEDS_TRIGGER_TRANSIENT=y
|
||||||
|
CONFIG_LEDS_TRIGGER_CAMERA=y
|
||||||
|
CONFIG_LEDS_TRIGGER_PANIC=y
|
||||||
|
CONFIG_LEDS_TRIGGER_NETDEV=y
|
||||||
|
CONFIG_RTC_CLASS=y
|
||||||
|
CONFIG_RTC_DRV_RTK=y
|
||||||
|
# CONFIG_RTC_DRV_RTD119X is not set
|
||||||
|
CONFIG_DMADEVICES=y
|
||||||
|
CONFIG_DMABUF_HEAPS=y
|
||||||
|
CONFIG_DMABUF_HEAPS_SYSTEM=y
|
||||||
|
CONFIG_DMABUF_HEAPS_CMA=y
|
||||||
|
CONFIG_DMABUF_HEAPS_REALTEK=y
|
||||||
|
CONFIG_UIO=y
|
||||||
|
CONFIG_UIO_PDRV_GENIRQ=y
|
||||||
|
# CONFIG_VIRTIO_MENU is not set
|
||||||
|
CONFIG_STAGING=y
|
||||||
|
# CONFIG_SURFACE_PLATFORMS is not set
|
||||||
|
# CONFIG_COMMON_CLK_RTD1195 is not set
|
||||||
|
# CONFIG_COMMON_CLK_RTD1295 is not set
|
||||||
|
# CONFIG_COMMON_CLK_RTD1395 is not set
|
||||||
|
# CONFIG_COMMON_CLK_RTD1319 is not set
|
||||||
|
# CONFIG_COMMON_CLK_RTD1319D is not set
|
||||||
|
CONFIG_HWSPINLOCK=y
|
||||||
|
CONFIG_HWSPINLOCK_RTK=y
|
||||||
|
CONFIG_REMOTEPROC=y
|
||||||
|
CONFIG_REMOTEPROC_CDEV=y
|
||||||
|
CONFIG_RTK_FW_REMOTEPROC=m
|
||||||
|
CONFIG_RPMSG_CHAR=y
|
||||||
|
CONFIG_RPMSG_CTRL=y
|
||||||
|
CONFIG_RPMSG_VIRTIO=y
|
||||||
|
CONFIG_RPMSG_RTK_RPC=m
|
||||||
|
CONFIG_RTD16XXB_RTK_CODEC=y
|
||||||
|
CONFIG_RTD16XXB_VE1_CODEC=y
|
||||||
|
CONFIG_REALTEK_CRT=y
|
||||||
|
# CONFIG_RTK_DEMOD is not set
|
||||||
|
# CONFIG_RTK_DPI_COORD is not set
|
||||||
|
CONFIG_RTK_FAN=y
|
||||||
|
# CONFIG_RTK_PM_HIFI is not set
|
||||||
|
# CONFIG_RTK_TP is not set
|
||||||
|
# CONFIG_RTK_VCPU is not set
|
||||||
|
# CONFIG_RTK_VE3_UART is not set
|
||||||
|
CONFIG_RTK_GIC_EXT=y
|
||||||
|
CONFIG_RTK_BSV_CTRL=y
|
||||||
|
CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND=y
|
||||||
|
CONFIG_EXTCON_RTK_TYPE_C=y
|
||||||
|
CONFIG_PWM=y
|
||||||
|
CONFIG_PWM_RTK=y
|
||||||
|
CONFIG_RESET_RTK_M2TMX=y
|
||||||
|
CONFIG_PHY_RTK_RTD_USB2PHY=y
|
||||||
|
CONFIG_PHY_RTK_RTD_USB3PHY=y
|
||||||
|
CONFIG_NVMEM_RTK_EFUSE=y
|
||||||
|
CONFIG_EXT3_FS=y
|
||||||
|
CONFIG_EXT4_FS_POSIX_ACL=y
|
||||||
|
CONFIG_EXT4_FS_SECURITY=y
|
||||||
|
CONFIG_BTRFS_FS=y
|
||||||
|
CONFIG_BTRFS_FS_POSIX_ACL=y
|
||||||
|
CONFIG_AUTOFS_FS=y
|
||||||
|
CONFIG_OVERLAY_FS=m
|
||||||
|
CONFIG_FSCACHE=y
|
||||||
|
CONFIG_FSCACHE_STATS=y
|
||||||
|
CONFIG_CACHEFILES=y
|
||||||
|
CONFIG_VFAT_FS=y
|
||||||
|
CONFIG_EXFAT_FS=y
|
||||||
|
CONFIG_NTFS3_FS=y
|
||||||
|
CONFIG_TMPFS=y
|
||||||
|
CONFIG_TMPFS_POSIX_ACL=y
|
||||||
|
CONFIG_SQUASHFS=y
|
||||||
|
CONFIG_SQUASHFS_XATTR=y
|
||||||
|
CONFIG_SQUASHFS_LZ4=y
|
||||||
|
CONFIG_SQUASHFS_LZO=y
|
||||||
|
CONFIG_SQUASHFS_XZ=y
|
||||||
|
CONFIG_SQUASHFS_ZSTD=y
|
||||||
|
CONFIG_PSTORE=y
|
||||||
|
CONFIG_PSTORE_BLK=y
|
||||||
|
CONFIG_NFS_FS=m
|
||||||
|
CONFIG_NFS_V4=m
|
||||||
|
CONFIG_NFSD=m
|
||||||
|
CONFIG_NLS_CODEPAGE_437=y
|
||||||
|
CONFIG_NLS_ISO8859_1=y
|
||||||
|
CONFIG_PERSISTENT_KEYRINGS=y
|
||||||
|
CONFIG_ENCRYPTED_KEYS=y
|
||||||
|
CONFIG_KEY_DH_OPERATIONS=y
|
||||||
|
CONFIG_CRYPTO_DES=y
|
||||||
|
CONFIG_CRYPTO_MD5=y
|
||||||
|
CONFIG_CRYPTO_SHA2_ARM64_CE=y
|
||||||
|
CONFIG_CRYPTO_AES_ARM64=y
|
||||||
|
CONFIG_CRYPTO_AES_ARM64_CE_BLK=y
|
||||||
|
CONFIG_CRYPTO_AES_ARM64_BS=y
|
||||||
|
CONFIG_CRYPTO_AES_ARM64_CE_CCM=y
|
||||||
|
CONFIG_DMA_CMA=y
|
||||||
|
CONFIG_CMA_SIZE_MBYTES=32
|
||||||
|
CONFIG_CMA_ALIGNMENT=4
|
||||||
|
CONFIG_PRINTK_TIME=y
|
||||||
|
CONFIG_DYNAMIC_DEBUG=y
|
||||||
|
CONFIG_DEBUG_FS=y
|
||||||
|
CONFIG_DEBUG_MEMORY_INIT=y
|
||||||
|
CONFIG_KFENCE=y
|
||||||
|
CONFIG_KFENCE_SAMPLE_INTERVAL=500
|
||||||
|
CONFIG_FUNCTION_TRACER=y
|
||||||
|
CONFIG_FTRACE_SYSCALLS=y
|
||||||
130
config/sources/families/realtek-rtd1619b.conf
Normal file
130
config/sources/families/realtek-rtd1619b.conf
Normal file
@@ -0,0 +1,130 @@
|
|||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-2.0
|
||||||
|
#
|
||||||
|
# This file is a part of the Armbian Build Framework
|
||||||
|
# https://github.com/armbian/build/
|
||||||
|
#
|
||||||
|
ARCH=arm64
|
||||||
|
ATF_COMPILE="no"
|
||||||
|
SERIALCON='ttyS0'
|
||||||
|
|
||||||
|
BOOTSOURCE='https://github.com/XpressReal/u-boot.git'
|
||||||
|
BOOTBRANCH='branch:v2024.01-xpressreal'
|
||||||
|
BOOTCONFIG="rtd1619b_bleedingedge_defconfig"
|
||||||
|
BOOTPATCHDIR="u-boot-xpressreal"
|
||||||
|
BOOTSCRIPT='boot-xpressreal-t3.cmd:boot.cmd'
|
||||||
|
BOOTENV_FILE='xpressreal-t3.txt'
|
||||||
|
UBOOT_TARGET_MAP=";;u-boot.bin-rtd1619b_emmc rtd1619b_emmc_bind_4gb.bin"
|
||||||
|
|
||||||
|
case $BRANCH in
|
||||||
|
vendor)
|
||||||
|
KERNELSOURCE='https://github.com/XpressReal/linux.git'
|
||||||
|
KERNEL_MAJOR_MINOR="6.6"
|
||||||
|
KERNELBRANCH='branch:v6.6.54-xpressreal-t3'
|
||||||
|
LINUXCONFIG="linux-xpressreal-t3-6.6"
|
||||||
|
KERNEL_BTF="no"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
function add_host_dependencies__xpressreal_t3() {
|
||||||
|
declare -g EXTRA_BUILD_DEPS="${EXTRA_BUILD_DEPS} xxd python3-setuptools device-tree-compiler lzop u-boot-tools openssl binutils"
|
||||||
|
}
|
||||||
|
|
||||||
|
function pre_config_uboot_target__xpressreal_prepare() {
|
||||||
|
display_alert "Run pre_config_uboot_target"
|
||||||
|
|
||||||
|
local PREBUILT_FILE="${SRC}/packages/bsp/xpressreal-t3/u-boot/u-boot-prebuilt.tar.gz"
|
||||||
|
local FW_FILE="${SRC}/packages/bsp/xpressreal-t3/u-boot/u-boot-fw.tar.gz"
|
||||||
|
|
||||||
|
if [ -f "${FW_FILE}" ]; then
|
||||||
|
display_alert "Extract FW files..."
|
||||||
|
run_host_command_logged tar xvf "${FW_FILE}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -f "${PREBUILT_FILE}" ]; then
|
||||||
|
display_alert "Extract prebuilt files..."
|
||||||
|
run_host_command_logged tar xvf "${PREBUILT_FILE}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ -d "./prebuilt/keys" ]; then
|
||||||
|
display_alert "Copy keys..."
|
||||||
|
run_host_command_logged cp -r "./prebuilt/keys" "./keys"
|
||||||
|
else
|
||||||
|
display_alert "No signing keys found"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
function post_uboot_custom_postprocess__xpressreal_generate_image() {
|
||||||
|
display_alert "Run post_uboot_custom_postprocess"
|
||||||
|
|
||||||
|
local KEY_DIR="./keys"
|
||||||
|
local PREBUILT="./prebuilt"
|
||||||
|
|
||||||
|
if [ -d "./keys" ]; then
|
||||||
|
display_alert "Signing SPL..."
|
||||||
|
run_host_command_logged openssl dgst -sha256 -binary "./spl/u-boot-spl.bin_pad" > "${PREBUILT}/u-boot-spl.sha"
|
||||||
|
run_host_command_logged openssl pkeyutl -inkey "${KEY_DIR}/dev.key" -sign -in "${PREBUILT}/u-boot-spl.sha" -out "${PREBUILT}/u-boot-spl.sig"
|
||||||
|
run_host_command_logged objcopy -I binary -O binary --reverse-bytes=256 "${PREBUILT}/u-boot-spl.sig" "${PREBUILT}/u-boot-spl.sig"
|
||||||
|
fi
|
||||||
|
|
||||||
|
display_alert "Generate u-boot images..."
|
||||||
|
run_host_command_logged cp -v "./spl/u-boot-spl.bin_pad" "${PREBUILT}/"
|
||||||
|
run_host_command_logged cp -v "./u-boot.img" "${PREBUILT}/"
|
||||||
|
run_host_command_logged cpp -P -nostdinc -undef -D__DTS__ -x assembler-with-cpp \
|
||||||
|
-o "${PREBUILT}/rtd1619b_emmc_4gb.pp" "${PREBUILT}/rtd1619b_emmc_lpddr4_4gb.dts"
|
||||||
|
run_host_command_logged dtc -I dts -O dtb -o "${PREBUILT}/rtd1619b_emmc_4gb.dtb" "${PREBUILT}/rtd1619b_emmc_4gb.pp"
|
||||||
|
run_host_command_logged tools/binman/binman build --update-fdt -I "${PREBUILT}" --dt "${PREBUILT}/rtd1619b_emmc_4gb.dtb" -O ./
|
||||||
|
|
||||||
|
run_host_command_logged cp -vf "./u-boot.itb" "./u-boot.bin-rtd1619b_emmc"
|
||||||
|
run_host_command_logged cp -vf "./bind_4gb.bin" "./rtd1619b_emmc_bind_4gb.bin"
|
||||||
|
}
|
||||||
|
|
||||||
|
function pre_package_uboot_image__xpressreal_install_image() {
|
||||||
|
if [ -f "./u-boot.bin-rtd1619b_emmc" ]; then
|
||||||
|
display_alert "Found ./u-boot.bin-rtd1619b_emmc, preparing to install to /boot." "info"
|
||||||
|
run_host_command_logged mkdir -p "${destination}/boot"
|
||||||
|
run_host_command_logged cp -v "./u-boot.bin-rtd1619b_emmc" "${destination}/boot/u-boot.bin-rtd1619b_emmc"
|
||||||
|
else
|
||||||
|
display_alert "No u-boot.bin-rtd1619b_emmc found, skipping installation to /boot." "info"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
function write_uboot_platform() {
|
||||||
|
local DIR=$1
|
||||||
|
local DEVICE=$2
|
||||||
|
|
||||||
|
display_alert "XpressReal T3" "Writing u-boot to ${DEVICE}..." "info"
|
||||||
|
if [[ ! -b "${DEVICE}" ]]; then
|
||||||
|
display_alert "XpressReal T3" "Device ${DEVICE} is not a block device" "err"
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "${DEVICE}" == "/dev/mmcblk0" ]]; then
|
||||||
|
# disable boot0/boot1 write protection
|
||||||
|
echo 0 > /sys/block/mmcblk0boot0/force_ro
|
||||||
|
echo 0 > /sys/block/mmcblk0boot1/force_ro
|
||||||
|
|
||||||
|
dd if="${DIR}/rtd1619b_emmc_bind_4gb.bin" of="/dev/mmcblk0boot0" bs=4096 status=none conv=fsync
|
||||||
|
dd if="${DIR}/rtd1619b_emmc_bind_4gb.bin" of="/dev/mmcblk0boot1" bs=4096 status=none conv=fsync
|
||||||
|
|
||||||
|
# clear saved u-boot environment variables
|
||||||
|
dd if=/dev/zero of=/dev/mmcblk0boot0 bs=4096 seek=256 count=32 status=none conv=fsync
|
||||||
|
dd if=/dev/zero of=/dev/mmcblk0boot1 bs=4096 seek=256 count=32 status=none conv=fsync
|
||||||
|
|
||||||
|
sync
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
function pre_customize_image__xpressreal_install_firmware() {
|
||||||
|
local firmware_source_dir="${SRC}/packages/bsp/xpressreal-t3/firmware"
|
||||||
|
local firmware_dest_dir="${SDCARD}/lib/firmware"
|
||||||
|
|
||||||
|
if [ -d "${firmware_source_dir}" ]; then
|
||||||
|
display_alert "Copy firmware: ${firmware_source_dir} -> ${firmware_dest_dir}" "info"
|
||||||
|
|
||||||
|
run_host_command_logged mkdir -p "${firmware_dest_dir}"
|
||||||
|
run_host_command_logged cp -r "${firmware_source_dir}"/* "${firmware_dest_dir}/"
|
||||||
|
else
|
||||||
|
display_alert "Custom firmware directory not found, skipping"
|
||||||
|
fi
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
BIN
packages/bsp/xpressreal-t3/firmware/realtek/rtd1619b/VE3FW.bin
Normal file
BIN
packages/bsp/xpressreal-t3/firmware/realtek/rtd1619b/VE3FW.bin
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
16
packages/bsp/xpressreal-t3/load-rtk-modules.service
Normal file
16
packages/bsp/xpressreal-t3/load-rtk-modules.service
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Load RTK Kernel Modules in a Specific Order
|
||||||
|
DefaultDependencies=no
|
||||||
|
Conflicts=shutdown.target
|
||||||
|
Before=sysinit.target shutdown.target
|
||||||
|
ConditionCapability=CAP_SYS_MODULE
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
RemainAfterExit=yes
|
||||||
|
ExecStart=/usr/local/sbin/load-rtk-modules.sh
|
||||||
|
TimeoutSec=90s
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
||||||
17
packages/bsp/xpressreal-t3/load-rtk-modules.sh
Normal file
17
packages/bsp/xpressreal-t3/load-rtk-modules.sh
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
modules=(
|
||||||
|
rtk_fw_remoteproc
|
||||||
|
rpmsg_rtk
|
||||||
|
rtk_rpc_mem
|
||||||
|
rtk_krpc_agent
|
||||||
|
rtk_urpc_service
|
||||||
|
snd_soc_hifi_realtek
|
||||||
|
snd_soc_realtek
|
||||||
|
rtk_drm
|
||||||
|
)
|
||||||
|
|
||||||
|
for module in "${modules[@]}"; do
|
||||||
|
echo "Install $module"
|
||||||
|
modprobe $module
|
||||||
|
done
|
||||||
BIN
packages/bsp/xpressreal-t3/u-boot/u-boot-fw.tar.gz
Normal file
BIN
packages/bsp/xpressreal-t3/u-boot/u-boot-fw.tar.gz
Normal file
Binary file not shown.
BIN
packages/bsp/xpressreal-t3/u-boot/u-boot-prebuilt.tar.gz
Normal file
BIN
packages/bsp/xpressreal-t3/u-boot/u-boot-prebuilt.tar.gz
Normal file
Binary file not shown.
@@ -0,0 +1,34 @@
|
|||||||
|
From d796220dc51ec635c89732ce2b21dea515c2609c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Wei <wei@fydeos.io>
|
||||||
|
Date: Fri, 29 Aug 2025 09:23:47 +0800
|
||||||
|
Subject: [PATCH 1/1] Update dev signing key
|
||||||
|
|
||||||
|
---
|
||||||
|
arch/arm/dts/sign.dtsi | 17 +++++++++++++++++
|
||||||
|
1 file changed, 17 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/arch/arm/dts/sign.dtsi b/arch/arm/dts/sign.dtsi
|
||||||
|
index e69de29bb2d..90c7eb9cdae 100644
|
||||||
|
--- a/arch/arm/dts/sign.dtsi
|
||||||
|
+++ b/arch/arm/dts/sign.dtsi
|
||||||
|
@@ -0,0 +1,17 @@
|
||||||
|
+
|
||||||
|
+/ {
|
||||||
|
+
|
||||||
|
+ signature: signature {
|
||||||
|
+
|
||||||
|
+ key_dev: key-dev {
|
||||||
|
+ required = "invalid";
|
||||||
|
+ algo = "sha256,rsa2048";
|
||||||
|
+ rsa,r-squared = <0x4f192028 0xd580a53d 0xe323829e 0x2291c107 0xf317c131 0x4372c6a1 0x3dcbb45f 0x6e02b2fd 0xa2313b8b 0x57225ab3 0xe51e6b83 0x88406f82 0x776e9c22 0x2aa98e40 0x6a74c48e 0x53d141a2 0xfe6a8f6a 0xa38cbee9 0xbb8db001 0x32fdf390 0xd624118d 0x3ddb5022 0x7eb2e11e 0x6521f00b 0x3643e7be 0xfab6b75 0x3eff782a 0x6eada364 0xdea81452 0x899ba8ff 0xf666e0c0 0xdd4e6c7e 0x95f045c9 0x5f9d4b22 0xb5a8a9e 0x45cf954c 0x7b67d969 0x28067f4f 0x20430835 0x11e07999 0xc542c28a 0x9d5fc9b6 0xf83eefa9 0x6907fdb8 0xc2e1f3e5 0x276b8e08 0x7e60d645 0xce991618 0x39772cd5 0xb3b3c5e 0xdf1ffe5d 0x8381dd3f 0xe46ba734 0x81547f22 0xb3cc180e 0xa1d9e0b6 0xa0822407 0x8306e3a2 0xac479d43 0xff529c6c 0xc7625562 0x29962049 0x4a34b676 0xf7703dc0>;
|
||||||
|
+ rsa,modulus = <0xe21651ae 0x4cf276da 0xdbee5f15 0x5a5b14d7 0x40c8aa 0xd5798712 0xd2cea0d2 0x99df92a5 0x89c14deb 0x5dfa7556 0x94ff0ca6 0x58b2018a 0x5d7acb67 0xdd312586 0xc7abed1a 0x3bc3cd24 0xf33fad81 0x840da475 0xd0242262 0xf5ef7acb 0x5d589b06 0x6d62deaf 0x8bb3e1a1 0xf4ce0b0e 0x88e91231 0xd48e68bd 0xc4215064 0x9f15647 0x258d9b26 0xddab48cb 0xf5278f4b 0x95bd36a6 0xdb31d3c5 0xbeecfa0a 0xf479d349 0xfb66e299 0x843dfe1c 0x65988c99 0xa0cb4ee4 0xf98c2250 0xa57b600e 0x872eb520 0x9dd61ab1 0xfe5c550a 0x13576f43 0xfe681a74 0xbb411ba6 0xd7a75c26 0xb5248c0d 0x6a5346b9 0x266fd7ed 0x6189226d 0xcfd28cce 0xb7b84957 0x7c3a852e 0xebf11d14 0xaafc0e31 0x751ea7d3 0x38562262 0x1456d5b9 0x28c9d31c 0x20e3d3e3 0xf06d2688 0x102d55cd>;
|
||||||
|
+ rsa,exponent = <0x00 0x10001>;
|
||||||
|
+ rsa,n0-inverse = <0x50e060fb>;
|
||||||
|
+ rsa,num-bits = <0x800>;
|
||||||
|
+ key-name-hint = "dev";
|
||||||
|
+ };
|
||||||
|
+ };
|
||||||
|
+};
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
||||||
66
patch/u-boot/u-boot-xpressreal/0002-update-fw-path.patch
Normal file
66
patch/u-boot/u-boot-xpressreal/0002-update-fw-path.patch
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
From 8e1d1b2150ddae1bc20cce4ec2030846b4b87aa5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Wei <wei@fydeos.io>
|
||||||
|
Date: Mon, 25 Aug 2025 09:12:42 +0800
|
||||||
|
Subject: [PATCH 1/1] update fw path
|
||||||
|
|
||||||
|
---
|
||||||
|
board/realtek/rtd1619b_emmc.its | 6 +++---
|
||||||
|
board/realtek/rtd1619b_spi.its | 4 ++--
|
||||||
|
2 files changed, 5 insertions(+), 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/board/realtek/rtd1619b_emmc.its b/board/realtek/rtd1619b_emmc.its
|
||||||
|
index 169e8eb051b..b2ab0ec7a16 100644
|
||||||
|
--- a/board/realtek/rtd1619b_emmc.its
|
||||||
|
+++ b/board/realtek/rtd1619b_emmc.its
|
||||||
|
@@ -64,7 +64,7 @@
|
||||||
|
};
|
||||||
|
pcpu_cert {
|
||||||
|
description = "Certificate for PCPU FW";
|
||||||
|
- data = /incbin/("./source/fw/PCPU_Certificate_final.bin");
|
||||||
|
+ data = /incbin/("./fw/PCPU_Certificate_final.bin");
|
||||||
|
type = "firmware";
|
||||||
|
arch = "arm64";
|
||||||
|
compression = "none";
|
||||||
|
@@ -75,7 +75,7 @@
|
||||||
|
};
|
||||||
|
pcpu {
|
||||||
|
description = "PCPU FW";
|
||||||
|
- data = /incbin/("./source/fw/PCPU_Code_Area_final.bin");
|
||||||
|
+ data = /incbin/("./fw/PCPU_Code_Area_final.bin");
|
||||||
|
type = "firmware";
|
||||||
|
arch = "arm64";
|
||||||
|
compression = "none";
|
||||||
|
@@ -86,7 +86,7 @@
|
||||||
|
};
|
||||||
|
tee {
|
||||||
|
description = "OPTEE";
|
||||||
|
- data = /incbin/("./source/fw/Secure_OS_Area_flash_layout_0.bin");
|
||||||
|
+ data = /incbin/("./fw/Secure_OS_Area_flash_layout_0.bin");
|
||||||
|
type = "tee";
|
||||||
|
arch = "arm64";
|
||||||
|
compression = "none";
|
||||||
|
diff --git a/board/realtek/rtd1619b_spi.its b/board/realtek/rtd1619b_spi.its
|
||||||
|
index ebf81fedf49..cdb4a20ac79 100644
|
||||||
|
--- a/board/realtek/rtd1619b_spi.its
|
||||||
|
+++ b/board/realtek/rtd1619b_spi.its
|
||||||
|
@@ -42,7 +42,7 @@
|
||||||
|
};
|
||||||
|
pcpu_cert {
|
||||||
|
description = "Certificate for PCPU FW";
|
||||||
|
- data = /incbin/("./source/fw/PCPU_Certificate_final.bin");
|
||||||
|
+ data = /incbin/("./fw/PCPU_Certificate_final.bin");
|
||||||
|
type = "firmware";
|
||||||
|
arch = "arm64";
|
||||||
|
compression = "none";
|
||||||
|
@@ -53,7 +53,7 @@
|
||||||
|
};
|
||||||
|
pcpu {
|
||||||
|
description = "PCPU FW";
|
||||||
|
- data = /incbin/("./source/fw/PCPU_Code_Area_final.bin");
|
||||||
|
+ data = /incbin/("./fw/PCPU_Code_Area_final.bin");
|
||||||
|
type = "firmware";
|
||||||
|
arch = "arm64";
|
||||||
|
compression = "none";
|
||||||
|
--
|
||||||
|
2.34.1
|
||||||
|
|
||||||
Reference in New Issue
Block a user