[rdkb][mt7986][bsp][Refactor filogic.conf]
[Description]
Refactor filogic.conf
1. support 2.5G Lan port for DSA mode
2. add lan5 into bridge at bootup
[Release-log]
Change-Id: Ic57d0e3547467788ce9325b97c8b204b9d3d59f2
diff --git a/conf/machine/filogic-32bit.conf b/conf/machine/filogic-32bit.conf
index 6a0f4e3..af815fe 100644
--- a/conf/machine/filogic-32bit.conf
+++ b/conf/machine/filogic-32bit.conf
@@ -19,8 +19,8 @@
"
KERNEL_DEVICETREE ?= " \
- mt7986a-spim-nand-rfb.dtb \
- mt7986b-spim-nand-rfb.dtb \
+ mt7986a-2500wan-spim-nand-rfb.dtb \
+ mt7986b-2500wan-spim-nand-rfb.dtb \
"
KERNEL_IMAGETYPE = "fitImage"
KERNEL_CLASSES = "kernel-fitimage"
diff --git a/conf/machine/filogic.conf b/conf/machine/filogic.conf
index 938c260..e14c215 100644
--- a/conf/machine/filogic.conf
+++ b/conf/machine/filogic.conf
@@ -25,8 +25,8 @@
mediatek/mt7986b-2500wan-gsw-spim-nand-rfb.dtb \
"
KERNEL_DEVICETREE_mt7986 = " \
- mediatek/mt7986a-spim-nand-rfb.dtb \
- mediatek/mt7986b-spim-nand-rfb.dtb \
+ mediatek/mt7986a-2500wan-spim-nand-rfb.dtb \
+ mediatek/mt7986b-2500wan-spim-nand-rfb.dtb \
"
KERNEL_IMAGETYPE = "fitImage"
KERNEL_CLASSES = "kernel-fitimage"
diff --git a/recipes-devtools/init-filogic/files/init-bridge.sh b/recipes-devtools/init-filogic/files/init-bridge.sh
index 58fee2e..0e63661 100644
--- a/recipes-devtools/init-filogic/files/init-bridge.sh
+++ b/recipes-devtools/init-filogic/files/init-bridge.sh
@@ -18,12 +18,14 @@
brctl addif brlan0 lan2
brctl addif brlan0 lan3
brctl addif brlan0 lan4
+brctl addif brlan0 lan5
ifconfig lan0 up
ifconfig lan1 up
ifconfig lan2 up
ifconfig lan3 up
ifconfig lan4 up
+ifconfig lan5 up
fi
ifconfig eth1 up