Skip to content

Commit

Permalink
Support for Luckfox Core3566
Browse files Browse the repository at this point in the history
  • Loading branch information
buldo authored and igorpecovnik committed Oct 9, 2024
1 parent cd4b4e8 commit e765a31
Show file tree
Hide file tree
Showing 2 changed files with 747 additions and 0 deletions.
28 changes: 28 additions & 0 deletions config/boards/luckfox-core3566.csc
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Rockchip RK3566 quad core
BOARD_NAME="Luckfox Core3566"
BOARDFAMILY="rk35xx"
BOARD_MAINTAINER=""
BOOTCONFIG="luckfox-core3566-rk3566_defconfig"
KERNEL_TARGET="vendor"
KERNEL_TEST_TARGET="vendor"
FULL_DESKTOP="yes"
BOOT_LOGO="desktop"
BOOT_FDT_FILE="rockchip/rk3566-luckfox-core3566.dtb"
IMAGE_PARTITION_TABLE="gpt"
BOOT_SCENARIO="spl-blobs"
BOOTFS_TYPE="fat" # Only for vendor/legacy

# Override family config for this board; let's avoid conditionals in family config.
function post_family_config__luckfox-core3566_use_vendor_uboot() {
BOOTSOURCE='https://github.com/radxa/u-boot.git'
BOOTBRANCH='branch:rk35xx-2024.01'
BOOTPATCHDIR="u-boot-luckfox"

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
}
}
Loading

0 comments on commit e765a31

Please sign in to comment.