armbian-build/config/boards/station-m2.csc

29 lines
972 B
Plaintext
Raw Normal View History

2022-01-11 14:26:11 +00:00
# Rockchip RK3566 quad core 2GB-8GB GBE eMMC NVMe USB3 WiFi
2021-12-26 15:37:49 +00:00
BOARD_NAME="Station M2"
2024-05-14 09:36:15 +00:00
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
2024-06-19 08:59:00 +00:00
BOOTCONFIG="station-m2-rk3566_defconfig"
KERNEL_TARGET="current,edge,vendor"
KERNEL_TEST_TARGET="current"
2021-12-26 15:37:49 +00:00
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-roc-pc.dtb"
2024-06-19 08:59:00 +00:00
BOOT_SCENARIO="spl-blobs"
2021-12-26 15:37:49 +00:00
ASOUND_STATE="asound.state.station-m2"
IMAGE_PARTITION_TABLE="gpt"
2024-05-14 09:36:15 +00:00
# Override family config for this board; let's avoid conditionals in family config.
2024-06-19 08:59:00 +00:00
function post_family_config__stationm2_use_radxa_vendor_uboot() {
BOOTSOURCE='https://github.com/radxa/u-boot.git'
BOOTBRANCH='branch:rk35xx-2024.01'
BOOTPATCHDIR="u-boot-radxa-latest"
UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin"
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
function write_uboot_platform() {
dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none
}
2024-05-14 09:36:15 +00:00
}