From c536e20c61546f00d56b11bbaff7ddc8c71e638e Mon Sep 17 00:00:00 2001 From: AmadeusGhost <42570690+AmadeusGhost@users.noreply.github.com> Date: Mon, 8 Mar 2021 12:00:17 +0800 Subject: [PATCH] rockchip/image: update note for pine64-bin Signed-off-by: AmadeusGhost --- package/boot/arm-trusted-firmware-rk3328/Makefile | 2 +- target/linux/rockchip/image/Makefile | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package/boot/arm-trusted-firmware-rk3328/Makefile b/package/boot/arm-trusted-firmware-rk3328/Makefile index e9b77ca7c7..243fcac9c9 100644 --- a/package/boot/arm-trusted-firmware-rk3328/Makefile +++ b/package/boot/arm-trusted-firmware-rk3328/Makefile @@ -17,7 +17,7 @@ PKG_SOURCE_DATE:=2020-10-30 PKG_SOURCE_VERSION:=0bb1c512492386a72a3a0b5a0e18e49c636577b9 PKG_MIRROR_HASH:=6dffe95b83f37a280f98c105fce529f45e39ce333b24709a9645aac1352457ce -PKG_MAINTAINER:= +PKG_MAINTAINER:=AmadeusGhost MAKE_PATH:=$(PKG_NAME) diff --git a/target/linux/rockchip/image/Makefile b/target/linux/rockchip/image/Makefile index 3741bee8cc..5791f5c064 100644 --- a/target/linux/rockchip/image/Makefile +++ b/target/linux/rockchip/image/Makefile @@ -46,14 +46,20 @@ define Build/pine64-img endef define Build/pine64-bin - # This is a copy of pine64-img, but uses rockchip ddrloader + # Typical Rockchip boot flow with Rockchip miniloader + # Rockchp idbLoader which is combinded by Rockchip ddr init bin + # and miniloader bin from Rockchip rkbin project + # Generate a new partition table in $@ with 32 MiB of alignment + # padding for the idbloader, uboot and trust image to fit: + # http://opensource.rock-chips.com/wiki_Boot_option#Boot_flow $(SCRIPT_DIR)/gen_image_generic.sh \ $@ \ $(CONFIG_TARGET_KERNEL_PARTSIZE) $@.boot \ $(CONFIG_TARGET_ROOTFS_PARTSIZE) $(IMAGE_ROOTFS) \ 32768 + # Copy the idbloader, uboot and trust image to the image at sector 0x40, 0x4000 and 0x6000 dd if="$(STAGING_DIR_IMAGE)"/$(UBOOT_DEVICE_NAME)-idbloader.bin of="$@" seek=64 conv=notrunc dd if="$(STAGING_DIR_IMAGE)"/$(UBOOT_DEVICE_NAME)-uboot.img of="$@" seek=16384 conv=notrunc dd if="$(STAGING_DIR_IMAGE)"/$(UBOOT_DEVICE_NAME)-trust.bin of="$@" seek=24576 conv=notrunc