blob: 88c62c49c47b1788b65d673f812f03e170660bf5 [file] [log] [blame]
From: Weijie Gao <weijie.gao@mediatek.com>
Subject: [PATCH] mediatek/filogic: update image configs for MediaTek RFBs
Add necessary packages for MediaTek RFBs:
blkid: used for u-boot envtool
Add new dts overlays for MediaTek RFBs.
Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
--- a/target/linux/mediatek/image/filogic.mk
+++ b/target/linux/mediatek/image/filogic.mk
@@ -742,13 +742,14 @@ define Device/mediatek_mt7981-rfb
DEVICE_MODEL := MT7981 rfb
DEVICE_DTS := mt7981-rfb
DEVICE_DTS_OVERLAY:= \
+ mt7981-rfb-spim-nor \
mt7981-rfb-spim-nand \
mt7981-rfb-mxl-2p5g-phy-eth1 \
mt7981-rfb-mxl-2p5g-phy-swp5
DEVICE_DTS_DIR := $(DTS_DIR)/
DEVICE_DTC_FLAGS := --pad 4096
DEVICE_DTS_LOADADDR := 0x43f00000
- DEVICE_PACKAGES := kmod-mt7915e kmod-mt7981-firmware kmod-usb3 e2fsprogs f2fsck mkf2fs mt7981-wo-firmware
+ DEVICE_PACKAGES := kmod-mt7915e kmod-mt7981-firmware kmod-usb3 e2fsprogs f2fsck mkf2fs mt7981-wo-firmware blkid
KERNEL_LOADADDR := 0x44000000
KERNEL := kernel-bin | gzip
KERNEL_INITRAMFS := kernel-bin | lzma | \
@@ -819,7 +820,7 @@ define Device/mediatek_mt7986b-rfb
DEVICE_MODEL := MTK7986 rfbb AP
DEVICE_DTS := mt7986b-rfb
DEVICE_DTS_DIR := $(DTS_DIR)/
- DEVICE_PACKAGES := kmod-mt7915e kmod-mt7986-firmware mt7986-wo-firmware
+ DEVICE_PACKAGES := kmod-mt7915e kmod-mt7986-firmware mt7986-wo-firmware blkid
SUPPORTED_DEVICES := mediatek,mt7986b-rfb
UBINIZE_OPTS := -E 5
BLOCKSIZE := 128k
@@ -842,6 +843,7 @@ define Device/mediatek_mt7988a-rfb
mt7988a-rfb-snfi-nand \
mt7988a-rfb-spim-nand \
mt7988a-rfb-spim-nand-factory \
+ mt7988a-rfb-spim-nand-nmbm \
mt7988a-rfb-spim-nor \
mt7988a-rfb-eth1-aqr \
mt7988a-rfb-eth1-i2p5g-phy \
@@ -853,7 +855,7 @@ define Device/mediatek_mt7988a-rfb
DEVICE_DTS_DIR := $(DTS_DIR)/
DEVICE_DTC_FLAGS := --pad 4096
DEVICE_DTS_LOADADDR := 0x45f00000
- DEVICE_PACKAGES := mt7988-2p5g-phy-firmware kmod-sfp
+ DEVICE_PACKAGES := mt7988-2p5g-phy-firmware kmod-sfp blkid
KERNEL_LOADADDR := 0x46000000
KERNEL := kernel-bin | gzip
KERNEL_INITRAMFS := kernel-bin | lzma | \