-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Add support for rk3566-box-demo #9008
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Rockchip RK3566 BoX Demo with 4GB DDR/HDMI/USB3/WIFI/GMAC | ||
| BOARD_NAME="RK3566 BOX DEMO" | ||
| BOOT_SOC="rk3566" | ||
| BOARDFAMILY="rk35xx" | ||
| BOARD_MAINTAINER="andyshrk" | ||
| BOOTCONFIG="generic-rk3568_defconfig" | ||
| KERNEL_TARGET="current,edge" | ||
| FULL_DESKTOP="yes" | ||
| BOOT_LOGO="desktop" | ||
| BOOT_FDT_FILE="rockchip/rk3566-box-demo.dtb" | ||
| BOOT_SCENARIO="spl-blobs" | ||
| WIREGUARD="no" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why is this needed? Wireguard is now standard for most all Armbian supported boards.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That comment was meant for line 12 only.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Removed |
||
| IMAGE_PARTITION_TABLE="gpt" | ||
|
|
||
| # Mainline U-Boot | ||
| function post_family_config__rk3566_box_demo_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 | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. drop comment. This should be well known by now.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
done |
||
| declare -g BOOTBRANCH="tag:v2025.07" | ||
| declare -g BOOTPATCHDIR="v2025.07/board_${BOARD}" | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this needed? I don't see any board specific uboot patches in this PR
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That comment was about line 21 only.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
switched to: |
||
| # Don't set BOOTDIR, allow shared U-Boot source directory for disk space efficiency | ||
|
|
||
| declare -g UBOOT_TARGET_MAP="BL31=${RKBIN_DIR}/${BL31_BLOB} ROCKCHIP_TPL=${RKBIN_DIR}/${DDR_BLOB};;u-boot-rockchip.bin" | ||
|
|
||
| # 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() { | ||
| dd "if=$1/u-boot-rockchip.bin" "of=$2" bs=32k seek=1 conv=notrunc status=none | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove "BoX Demo with" an put spaces instead of /. Just compare to other board configuration files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done