[openwrt/openwrt] mediatek: bpi-r64: add eMMC bootloader artifacts

LEDE Commits lede-commits at lists.infradead.org
Sat May 1 22:56:09 BST 2021


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/01a9d220861c9b965749c8e69fdcbb8031b2c89f

commit 01a9d220861c9b965749c8e69fdcbb8031b2c89f
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat May 1 22:31:28 2021 +0100

    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 at makrotopia.org>
---
 target/linux/mediatek/image/mt7622.mk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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 |\



More information about the lede-commits mailing list