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