Skip to content

Commit

Permalink
Use rockchip combined SPL images for Tinkerboard (#3118)
Browse files Browse the repository at this point in the history
* tinker: Drop patch for u-boot entry point and move into uboot.config

* tinker: Use rockchip combined uboot image
  • Loading branch information
darkxst authored Jan 30, 2024
1 parent bd3cae5 commit 54e8600
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 42 deletions.
3 changes: 1 addition & 2 deletions buildroot-external/board/asus/hassos-hook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ function hassos_pre_image() {
# SPL
create_spl_image

dd if="${BINARIES_DIR}/idbloader.img" of="${SPL_IMG}" conv=notrunc bs=512 seek=64
dd if="${BINARIES_DIR}/u-boot-dtb.img" of="${SPL_IMG}" conv=notrunc bs=512 seek=8192
dd if="${BINARIES_DIR}/u-boot-rockchip.bin" of="${SPL_IMG}" conv=notrunc bs=512 seek=64
}


Expand Down

This file was deleted.

2 changes: 2 additions & 0 deletions buildroot-external/board/asus/tinker/uboot.config
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# CONFIG_USB_STORAGE is not set
# CONFIG_DOS_PARTITION is not set
CONFIG_OF_LIBFDT_OVERLAY=y
CONFIG_SPL_PAD_TO=0x3f8000
CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x2000
6 changes: 2 additions & 4 deletions buildroot-external/configs/tinker_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,8 @@ BR2_TARGET_UBOOT_CUSTOM_VERSION_VALUE="2024.01"
BR2_TARGET_UBOOT_BOARD_DEFCONFIG="tinker-s-rk3288"
BR2_TARGET_UBOOT_CONFIG_FRAGMENT_FILES="$(BR2_EXTERNAL_HASSOS_PATH)/bootloader/uboot.config $(BR2_EXTERNAL_HASSOS_PATH)/board/asus/tinker/uboot.config"
BR2_TARGET_UBOOT_NEEDS_PYLIBFDT=y
BR2_TARGET_UBOOT_FORMAT_DTB_BIN=y
BR2_TARGET_UBOOT_FORMAT_DTB_IMG=y
BR2_TARGET_UBOOT_SPL=y
BR2_TARGET_UBOOT_SPL_NAME="idbloader.img"
BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot-rockchip.bin"
BR2_PACKAGE_HOST_DOSFSTOOLS=y
BR2_PACKAGE_HOST_E2FSPROGS=y
BR2_PACKAGE_HOST_GPTFDISK=y
Expand Down

0 comments on commit 54e8600

Please sign in to comment.