diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-03-24 13:44:52 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-03-24 15:27:54 +0000 |
commit | 6f5cd3bdcfce693c7f5f630043b4b5be19e0c592 (patch) | |
tree | 52a852b48689ef6e85fc9d54335db300d81329a2 /target/linux/mediatek/image | |
parent | 8f89b1ab0fef81c85925c88e99a557e91e575aa3 (diff) | |
download | upstream-6f5cd3bdcfce693c7f5f630043b4b5be19e0c592.tar.gz upstream-6f5cd3bdcfce693c7f5f630043b4b5be19e0c592.tar.bz2 upstream-6f5cd3bdcfce693c7f5f630043b4b5be19e0c592.zip |
mediatek: generate complete sdcard image for BPi-R64
Populate the recovery and production partitions of the generated sdcard
image for the Bananapi BPi-R64.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek/image')
-rw-r--r-- | target/linux/mediatek/image/mt7622.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/target/linux/mediatek/image/mt7622.mk b/target/linux/mediatek/image/mt7622.mk index 88d71600b2..143db964db 100644 --- a/target/linux/mediatek/image/mt7622.mk +++ b/target/linux/mediatek/image/mt7622.mk @@ -75,12 +75,17 @@ define Device/bananapi_bpi-r64 DEVICE_DTS := mt7622-bananapi-bpi-r64 DEVICE_DTS_OVERLAY := mt7622-bananapi-bpi-r64-pcie1 mt7622-bananapi-bpi-r64-sata DEVICE_PACKAGES := kmod-ata-ahci-mtk kmod-btmtkuart kmod-usb3 e2fsprogs mkf2fs f2fsck - ARTIFACTS := sdcard.img + ARTIFACTS := sdcard.img.gz IMAGES := sysupgrade.itb KERNEL_INITRAMFS_SUFFIX := -recovery.itb - ARTIFACT/sdcard.img := mt7622-gpt sdmmc | pad-to 128k | mt7622-gpt emmc | pad-to 256k |\ - bl2 emmc-2ddr | pad-to 512k | bl2 sdmmc-2ddr | pad-to 1024k | bl31-uboot bananapi_bpi-r64-emmc | pad-to 2048k |\ - bl31-uboot bananapi_bpi-r64-sdmmc | pad-to 6144k + ARTIFACT/sdcard.img.gz := mt7622-gpt sdmmc |\ + pad-to 128k | mt7622-gpt emmc |\ + pad-to 256k | bl2 emmc-2ddr |\ + pad-to 512k | bl2 sdmmc-2ddr |\ + pad-to 1024k | bl31-uboot bananapi_bpi-r64-emmc |\ + pad-to 2048k | bl31-uboot bananapi_bpi-r64-sdmmc |\ + pad-to 6144k | append-image initramfs-recovery.itb |\ + pad-to 40960k | append-image squashfs-sysupgrade.itb | gzip KERNEL := kernel-bin | gzip KERNEL_INITRAMFS := kernel-bin | lzma | fit lzma $$(DTS_DIR)/$$(DEVICE_DTS).dtb with-initrd | pad-to 128k IMAGE/sysupgrade.itb := append-kernel | fit gzip $$(DTS_DIR)/$$(DEVICE_DTS).dtb external-static-with-rootfs | append-metadata |