mediatek: bpi-r64: fix sdcard.img.gz in ImageBuilder
authorDaniel Golle <daniel@makrotopia.org>
Fri, 23 Apr 2021 22:10:08 +0000 (23:10 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 23 Apr 2021 22:16:54 +0000 (23:16 +0100)
Generating the sdcard.img.gz file requires the initramfs/recovery
image to be present. Use the newly introduced 'append-image-stage'
build command to fix the ImageBuilder for the BPi-R64.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/image/mt7622.mk

index 58dc578d391213af197b4b143ba4bbd613ec36b1..07a15edb9eb830ec828f4876182e4fef022b259e 100644 (file)
@@ -84,7 +84,7 @@ define Device/bananapi_bpi-r64
   ARTIFACT/sdcard.img.gz       := mt7622-gpt sdmmc |\
                                   pad-to 512k | bl2 sdmmc-2ddr |\
                                   pad-to 2048k | bl31-uboot bananapi_bpi-r64-sdmmc |\
-                                  pad-to 6144k | append-image initramfs-recovery.itb |\
+                                  pad-to 6144k | append-image-stage initramfs-recovery.itb |\
                                   pad-to 38912k | mt7622-gpt emmc |\
                                   pad-to 39424k | bl2 emmc-2ddr |\
                                   pad-to 40960k | bl31-uboot bananapi_bpi-r64-emmc |\