Skip to content

Commit 18347e8

Browse files
Shadowrom2020igorpecovnik
authored andcommitted
move Qidi X-6 to mainline u-boot
1 parent 0721d73 commit 18347e8

6 files changed

Lines changed: 162 additions & 592 deletions

File tree

config/boards/qidi-x6.csc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,18 @@ BOOTFS_TYPE="fat"
1818
PACKAGE_LIST_BOARD="build-essential usb-modeswitch eject"
1919

2020
enable_extension "brostrend-aic8800-dkms"
21+
22+
function post_family_config__qidi_x6_use_mainline_uboot() {
23+
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"
24+
25+
declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git"
26+
declare -g BOOTBRANCH="tag:v2026.04"
27+
declare -g BOOTPATCHDIR="v2026.04"
28+
declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin"
29+
30+
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd
31+
32+
function write_uboot_platform() {
33+
dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none
34+
}
35+
}

0 commit comments

Comments
 (0)