blob: 88c62c49c47b1788b65d673f812f03e170660bf5 [file] [log] [blame]
developer538f2d12024-11-05 15:54:46 +08001From: Weijie Gao <weijie.gao@mediatek.com>
2Subject: [PATCH] mediatek/filogic: update image configs for MediaTek RFBs
3
4Add necessary packages for MediaTek RFBs:
5blkid: used for u-boot envtool
6
7Add new dts overlays for MediaTek RFBs.
8
9Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
10
11--- a/target/linux/mediatek/image/filogic.mk
12+++ b/target/linux/mediatek/image/filogic.mk
13@@ -742,13 +742,14 @@ define Device/mediatek_mt7981-rfb
14 DEVICE_MODEL := MT7981 rfb
15 DEVICE_DTS := mt7981-rfb
16 DEVICE_DTS_OVERLAY:= \
17+ mt7981-rfb-spim-nor \
18 mt7981-rfb-spim-nand \
19 mt7981-rfb-mxl-2p5g-phy-eth1 \
20 mt7981-rfb-mxl-2p5g-phy-swp5
21 DEVICE_DTS_DIR := $(DTS_DIR)/
22 DEVICE_DTC_FLAGS := --pad 4096
23 DEVICE_DTS_LOADADDR := 0x43f00000
24- DEVICE_PACKAGES := kmod-mt7915e kmod-mt7981-firmware kmod-usb3 e2fsprogs f2fsck mkf2fs mt7981-wo-firmware
25+ DEVICE_PACKAGES := kmod-mt7915e kmod-mt7981-firmware kmod-usb3 e2fsprogs f2fsck mkf2fs mt7981-wo-firmware blkid
26 KERNEL_LOADADDR := 0x44000000
27 KERNEL := kernel-bin | gzip
28 KERNEL_INITRAMFS := kernel-bin | lzma | \
29@@ -819,7 +820,7 @@ define Device/mediatek_mt7986b-rfb
30 DEVICE_MODEL := MTK7986 rfbb AP
31 DEVICE_DTS := mt7986b-rfb
32 DEVICE_DTS_DIR := $(DTS_DIR)/
33- DEVICE_PACKAGES := kmod-mt7915e kmod-mt7986-firmware mt7986-wo-firmware
34+ DEVICE_PACKAGES := kmod-mt7915e kmod-mt7986-firmware mt7986-wo-firmware blkid
35 SUPPORTED_DEVICES := mediatek,mt7986b-rfb
36 UBINIZE_OPTS := -E 5
37 BLOCKSIZE := 128k
38@@ -842,6 +843,7 @@ define Device/mediatek_mt7988a-rfb
39 mt7988a-rfb-snfi-nand \
40 mt7988a-rfb-spim-nand \
41 mt7988a-rfb-spim-nand-factory \
42+ mt7988a-rfb-spim-nand-nmbm \
43 mt7988a-rfb-spim-nor \
44 mt7988a-rfb-eth1-aqr \
45 mt7988a-rfb-eth1-i2p5g-phy \
46@@ -853,7 +855,7 @@ define Device/mediatek_mt7988a-rfb
47 DEVICE_DTS_DIR := $(DTS_DIR)/
48 DEVICE_DTC_FLAGS := --pad 4096
49 DEVICE_DTS_LOADADDR := 0x45f00000
50- DEVICE_PACKAGES := mt7988-2p5g-phy-firmware kmod-sfp
51+ DEVICE_PACKAGES := mt7988-2p5g-phy-firmware kmod-sfp blkid
52 KERNEL_LOADADDR := 0x46000000
53 KERNEL := kernel-bin | gzip
54 KERNEL_INITRAMFS := kernel-bin | lzma | \