diff options
author | Daniel Golle <daniel@makrotopia.org> | 2021-03-13 14:59:33 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-03-13 15:36:57 +0000 |
commit | 1a7ef2c3cf12262ebd1d445a525b9778657d824f (patch) | |
tree | 9dfebcbf576a2a746c8aa5d1021349df9310dc33 /target/linux/mediatek/image | |
parent | 997ff740dc44045390680eaa30b6566d40bca322 (diff) | |
download | openwrt-1a7ef2c3cf12262ebd1d445a525b9778657d824f.tar.gz openwrt-1a7ef2c3cf12262ebd1d445a525b9778657d824f.tar.bz2 openwrt-1a7ef2c3cf12262ebd1d445a525b9778657d824f.zip |
mediatek: image: don't use 'M' unit as dd may not support that
dd on Mac OS X apparently fails when using 'M' unit for bs.
dd: bs: illegal numeric value
Use 'k' unit instead for 'pad-to' to fix that.
Reported-by: Georgi Valkov <gvalkov@abv.bg>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek/image')
-rw-r--r-- | target/linux/mediatek/image/mt7622.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/mediatek/image/mt7622.mk b/target/linux/mediatek/image/mt7622.mk index 0de1c375b2..9f54021524 100644 --- a/target/linux/mediatek/image/mt7622.mk +++ b/target/linux/mediatek/image/mt7622.mk @@ -48,8 +48,8 @@ define Device/bananapi_bpi-r64 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 1M | bl31-uboot bananapi_bpi-r64-emmc | pad-to 2M |\ - bl31-uboot bananapi_bpi-r64-sdmmc | pad-to 6M + 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 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 |