[][openwrt-24][common][bsp][Add initial support for openwrt master filogic target]
[Description]
Add initial support for filogic target from openwrt master
[Release-log]
N/A
Change-Id: Ib9d44bdf74b05dc445679001e988b2f1fb8d05b6
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/9273335
diff --git a/master/patches-base/0100-filogic-04-add-necessary-packages-for-MediaTek.patch b/master/patches-base/0100-filogic-04-add-necessary-packages-for-MediaTek.patch
new file mode 100644
index 0000000..88c62c4
--- /dev/null
+++ b/master/patches-base/0100-filogic-04-add-necessary-packages-for-MediaTek.patch
@@ -0,0 +1,54 @@
+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 | \