mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
rockchip/image: update note for pine64-bin
Signed-off-by: AmadeusGhost <amadeus@immortalwrt.org> Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
cc60b565ab
commit
c62f23eeac
@ -17,7 +17,7 @@ PKG_SOURCE_DATE:=2020-10-30
|
||||
PKG_SOURCE_VERSION:=0bb1c512492386a72a3a0b5a0e18e49c636577b9
|
||||
PKG_MIRROR_HASH:=6dffe95b83f37a280f98c105fce529f45e39ce333b24709a9645aac1352457ce
|
||||
|
||||
PKG_MAINTAINER:=
|
||||
PKG_MAINTAINER:=AmadeusGhost <amadeus@immortalwrt.org>
|
||||
|
||||
MAKE_PATH:=$(PKG_NAME)
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user