mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
thead: add edge kernel support
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
BOARD_NAME="LicheePi 4A"
|
||||
BOARDFAMILY="thead"
|
||||
BOARD_MAINTAINER="chainsx"
|
||||
KERNEL_TARGET="legacy"
|
||||
BOOT_FDT_FILE="thead/light-lpi4a.dtb"
|
||||
KERNEL_TARGET="legacy,edge"
|
||||
BOOT_FDT_FILE="thead/th1520-lichee-pi-4a.dtb"
|
||||
SRC_EXTLINUX="yes"
|
||||
SRC_CMDLINE="console=ttyS0,115200 rootwait rw earlycon clk_ignore_unused loglevel=7 eth=$ethaddr rootrwoptions=rw,noatime rootrwreset=yes"
|
||||
SRC_CMDLINE="console=ttyS0,115200 rootwait rw earlycon clk_ignore_unused loglevel=7 eth=\$ethaddr rootrwoptions=rw,noatime rootrwreset=yes"
|
||||
BOOTCONFIG="light_lpi4a_defconfig"
|
||||
SKIP_BOOTSPLASH="yes"
|
||||
BOOTFS_TYPE="ext4"
|
||||
|
||||
9024
config/kernel/linux-thead-edge.config
Normal file
9024
config/kernel/linux-thead-edge.config
Normal file
File diff suppressed because it is too large
Load Diff
@@ -13,23 +13,31 @@ BOOTSOURCE='https://github.com/chainsx/thead-u-boot'
|
||||
BOOTBRANCH='branch:extlinux'
|
||||
BOOTPATCHDIR="legacy"
|
||||
UBOOT_TARGET_MAP=";;u-boot-with-spl.bin"
|
||||
UBOOT_COMPILER="riscv64-linux-gnu-"
|
||||
UBOOT_USE_GCC='< 8.0'
|
||||
BOOTDIR='u-boot-thead'
|
||||
|
||||
LINUXFAMILY="thead"
|
||||
|
||||
case "${BRANCH}" in
|
||||
|
||||
legacy)
|
||||
UBOOT_COMPILER="riscv64-linux-gnu-"
|
||||
UBOOT_USE_GCC='< 8.0'
|
||||
BOOTDIR='u-boot-thead'
|
||||
KERNELSOURCE='https://github.com/revyos/thead-kernel'
|
||||
KERNELBRANCH="branch:lpi4a"
|
||||
KERNELSOURCE='https://github.com/chainsx/thead-kernel'
|
||||
KERNELBRANCH="branch:th1520"
|
||||
declare -g KERNEL_MAJOR_MINOR="5.10"
|
||||
KERNELPATCHDIR="thead-${BRANCH}"
|
||||
LINUXCONFIG="linux-thead-${BRANCH}"
|
||||
|
||||
;;
|
||||
|
||||
edge)
|
||||
KERNELSOURCE='https://github.com/revyos/th1520-linux-kernel'
|
||||
KERNELBRANCH="branch:th1520-v6.6-rc4"
|
||||
declare -g KERNEL_MAJOR_MINOR="6.6"
|
||||
KERNELPATCHDIR="thead-${BRANCH}"
|
||||
LINUXCONFIG="linux-thead-${BRANCH}"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
write_uboot_platform() {
|
||||
|
||||
Reference in New Issue
Block a user