You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
44
50
45
51
# Just use the binman-provided u-boot-rockchip.bin, which is ready-to-go
@@ -55,12 +61,13 @@ function post_family_config_branch_edge__nanopct6_use_mainline_uboot() {
55
61
# U-boot 2025.04+ can detect and set fdtfile automatically across T6 and T6-LTS boards.
56
62
# So if using mainline u-boot, unset BOOT_FDT_FILE to let u-boot handle it.
57
63
# That way, both variants can boot from the same image; lets keep the -lts board file for vendor kernel/u-boot.
58
-
function post_family_config_branch_edge__t6_and_t6_lts_auto_dtb_name_via_uboot_detection() {
64
+
function post_family_config__t6_and_t6_lts_auto_dtb_name_via_uboot_detection() {
65
+
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
59
66
unset BOOT_FDT_FILE
60
67
}
61
68
62
69
function pre_config_uboot_target__nanoptc6_patch_uboot_dtsi_for_ums() {
63
-
[[ "${BRANCH}" != "edge" ]] && return 0
70
+
[[ "${BRANCH}" == "vendor" ]] && return 0 # Not for 'vendor' branch, which uses 2017.09 vendor u-boot from Radxa
64
71
65
72
display_alert "u-boot for ${BOARD}" "u-boot: add to u-boot dtsi for UMS" "info" # avoid a patch, just append to the dtsi file
66
73
cat <<- EOD >> arch/arm/dts/rk3588-nanopc-t6-u-boot.dtsi # Append to the t6 u-boot dtsi file with stuff for enabling gadget/otg/peripheral mode
@@ -69,6 +76,9 @@ function pre_config_uboot_target__nanoptc6_patch_uboot_dtsi_for_ums() {
0 commit comments