Skip to content

Commit 93047f5

Browse files
authored
u-boot: create spl loader (#72)
1 parent 7663f4a commit 93047f5

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

board/radxa/zero3/flash.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Paths
22
RKTOOL = $(HOST_DIR)/bin/rkdeveloptool
33
RKBIN_BUILD_DIR = $(BUILD_DIR)/rockchip-rkbin-custom
4-
LOADER_BIN = $(RKBIN_BUILD_DIR)/bin/rk35/rk356x_spl_loader_v1.23.114.bin
4+
LOADER_BIN = $(ROCKCHIP_RKBIN_DIR)/rk356x_spl_loader_v1.23.114.bin
55

66
FLASH_IMG = $(BINARIES_DIR)/sdcard.img
77
ROOTFS_IMG = $(BINARIES_DIR)/rootfs.squashfs
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Create loader bin to be used by rkdeveloptool
2+
define ROCKCHIP_RKBIN_MERGE_LOADER_BIN
3+
cd $(@D) && \
4+
./tools/boot_merger RKBOOT/RK3566MINIALL.ini
5+
endef
6+
ROCKCHIP_RKBIN_POST_BUILD_HOOKS += ROCKCHIP_RKBIN_MERGE_LOADER_BIN

0 commit comments

Comments
 (0)