Skip to content

Commit

Permalink
Lubancat2: Fix U-Boot source and patch dir
Browse files Browse the repository at this point in the history
  • Loading branch information
ColorfulRhino authored and igorpecovnik committed Jul 3, 2024
1 parent 654d208 commit 3b0b511
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions config/boards/lubancat2.csc
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@ BOOT_SCENARIO="spl-blobs"
IMAGE_PARTITION_TABLE="gpt"

# Mainline U-Boot
function post_family_config_branch_edge__lubancat2_use_mainline_uboot() {
display_alert "$BOARD" "mainline (next branch) u-boot overrides for $BOARD / $BRANCH" "info"
function post_family_config_branch_edge__lubancat_2_use_mainline_uboot() {
display_alert "$BOARD" "Using mainline U-Boot for $BOARD / $BRANCH" "info"

declare -g BOOTSOURCE="https://github.com/u-boot/u-boot.git" # We ❤️ Mainline U-Boot
declare -g BOOTBRANCH="tag:v2024.07-rc5"
declare -g BOOTPATCHDIR="v2024.07"
# Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency

declare -g BOOTSOURCE="https://github.com/Kwiboo/u-boot-rockchip.git" # Kwiboo U-Boot
unset BOOTBRANCH
declare BOOTPATCHDIR="v2024.07-lubancat2" # empty, no patchs needed
declare -g BOOTBRANCH_BOARD="tag:v2024.07-rc3" # commit: a7f0154c4128 as of v2024.07-rc3
declare -g BOOTDIR="u-boot-${BOARD}" # do not share u-boot directory
declare -g 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 # disable stuff from rockchip64_common; we're using binman here which does all the work already

# Disable stuff from rockchip64_common; we're using binman here which does all the work already
unset uboot_custom_postprocess write_uboot_platform write_uboot_platform_mtd

# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
function write_uboot_platform() {
Expand Down

0 comments on commit 3b0b511

Please sign in to comment.