aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2021-05-01 22:31:28 +0100
committerDaniel Golle <daniel@makrotopia.org>2021-05-01 22:55:14 +0100
commit01a9d220861c9b965749c8e69fdcbb8031b2c89f (patch)
tree276d1dabac156bbe0bdd796b4272b3e8ec241293 /target
parent7ab3d94681902230b26892c2dc4516afcc30ee29 (diff)
downloadupstream-01a9d220861c9b965749c8e69fdcbb8031b2c89f.tar.gz
upstream-01a9d220861c9b965749c8e69fdcbb8031b2c89f.tar.bz2
upstream-01a9d220861c9b965749c8e69fdcbb8031b2c89f.zip
mediatek: bpi-r64: add eMMC bootloader artifacts
In order to allow easily updating the bootloader on eMMC also provide artifacts for that. Support for updating bootloader via TFTP will be added to the loader CLI menu in a follow-up commit. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'target')
-rw-r--r--target/linux/mediatek/image/mt7622.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/mediatek/image/mt7622.mk b/target/linux/mediatek/image/mt7622.mk
index 07a15edb9e..6077e623ff 100644
--- a/target/linux/mediatek/image/mt7622.mk
+++ b/target/linux/mediatek/image/mt7622.mk
@@ -76,9 +76,11 @@ 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.gz snand-preloader.bin snand-bl31-uboot.fip
+ ARTIFACTS := emmc-preloader.bin emmc-bl31-uboot.fip sdcard.img.gz snand-preloader.bin snand-bl31-uboot.fip
IMAGES := sysupgrade.itb
KERNEL_INITRAMFS_SUFFIX := -recovery.itb
+ ARTIFACT/emmc-preloader.bin := bl2 emmc-2ddr
+ ARTIFACT/emmc-bl31-uboot.fip := bl31-uboot bananapi_bpi-r64-emmc
ARTIFACT/snand-preloader.bin := bl2 snand-2ddr
ARTIFACT/snand-bl31-uboot.fip := bl31-uboot bananapi_bpi-r64-snand
ARTIFACT/sdcard.img.gz := mt7622-gpt sdmmc |\