|
2 | 2 | BOARD_NAME="LCKFB Taishan Pi"
|
3 | 3 | BOARDFAMILY="rk35xx"
|
4 | 4 | BOARD_MAINTAINER=""
|
5 |
| -BOOTCONFIG="radxa-zero3-rk3566_defconfig" |
6 |
| -KERNEL_TARGET="vendor" |
7 |
| -BOOT_FDT_FILE="rockchip/rk3566-taishanpi-v10.dtb" |
| 5 | +BOOTCONFIG="lckfb-tspi-rk3566_defconfig" |
| 6 | +BOOT_SOC="rk3566" |
| 7 | +KERNEL_TARGET="vendor,current,edge" |
| 8 | +KERNEL_TEST_TARGET="current,vendor" |
| 9 | +BOOT_FDT_FILE="rockchip/rk3566-lckfb-tspi.dtb" |
8 | 10 | BOOT_SCENARIO="spl-blobs"
|
9 | 11 | IMAGE_PARTITION_TABLE="gpt"
|
10 | 12 |
|
11 | 13 | # Override family config for this board; let's avoid conditionals in family config.
|
12 | 14 | function post_family_config__tspi_use_radxa_vendor() {
|
13 |
| - BOOTSOURCE='https://github.com/radxa/u-boot.git' |
14 |
| - BOOTBRANCH='branch:rk35xx-2024.01' |
15 |
| - BOOTPATCHDIR="u-boot-radxa-latest" |
16 |
| - UBOOT_TARGET_MAP="BL31=$RKBIN_DIR/$BL31_BLOB ROCKCHIP_TPL=$RKBIN_DIR/$DDR_BLOB;;u-boot-rockchip.bin" |
17 |
| - unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd |
| 15 | + display_alert "$BOARD" "Mainline U-Boot overrides for $BOARD - $BRANCH" "info" |
| 16 | + BOOTDELAY=1 |
| 17 | + BOOTSOURCE="https://github.com/u-boot/u-boot" |
| 18 | + BOOTBRANCH="tag:v2025.04" |
| 19 | + BOOTPATCHDIR="v2025.04" |
| 20 | + BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory |
| 21 | + UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin u-boot-rockchip-spi.bin" |
| 22 | + unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd # disable stuff from rockchip64_common; we're using binman here which does all the work already |
| 23 | + |
| 24 | + # Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go |
18 | 25 | function write_uboot_platform() {
|
19 |
| - dd if=$1/u-boot-rockchip.bin of=$2 seek=64 conv=notrunc status=none |
| 26 | + dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none |
20 | 27 | }
|
21 | 28 | }
|
0 commit comments