mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
- some boards have u-boot auto-detect the board variant, and thus we unset `BOOT_FDT_FILE` - but grub needs to know... - so introduce a `GRUB_FDT_FILE` that is checked in case `BOOT_FDT_FILE` is not set - this way we can keep u-boot autodetecting and grub happy - preserve BOOT_FDT_FILE into GRUB_FDT_FILE for `nanopct6`/`nanopct6-lts`
11 lines
686 B
Plaintext
11 lines
686 B
Plaintext
# Rockchip RK3588S octa core 8GB RAM SoC eMMC USB3 USB2 1x GbE 2x 2.5GbE
|
|
source "${SRC}/config/boards/nanopct6.conf"
|
|
BOARD_NAME="NanoPC T6 LTS"
|
|
# Important: despite sourcing the nanopct6 file above, this file still has to contain some variables, due the way Armbian's JSON matrix generator works.
|
|
BOARDFAMILY="rockchip-rk3588"
|
|
BOARD_MAINTAINER="SuperKali Tonymac32"
|
|
BOOT_FDT_FILE="rockchip/rk3588-nanopc-t6-lts.dtb" # As opposed to "rockchip/rk3588-nanopc-t6.dtb" for the non-LTS version
|
|
KERNEL_TARGET="current,edge,vendor"
|
|
KERNEL_TEST_TARGET="vendor,current"
|
|
declare -g GRUB_FDT_FILE="${BOOT_FDT_FILE}" # u-boot autodetects, but grub needs to know; store it here so we can unset later
|