-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd4b4e8
commit e765a31
Showing
2 changed files
with
747 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} |
Oops, something went wrong.