summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm4908
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-01-20 16:49:26 +0100
committerRafał Miłecki <rafal@milecki.pl>2021-01-22 20:14:39 +0100
commit20b4f77bb69cdded143c15ce962ccd3483bfe77a (patch)
tree28f223a386549a01e04269caa7ac42ec60629bcb /target/linux/bcm4908
parent6ba3a0e889053475930e9a23a2404d8872eb887a (diff)
downloadopenwrt-20b4f77bb69cdded143c15ce962ccd3483bfe77a.tar.gz
openwrt-20b4f77bb69cdded143c15ce962ccd3483bfe77a.tar.bz2
openwrt-20b4f77bb69cdded143c15ce962ccd3483bfe77a.zip
kernel: add parser finding rootfs after CFE bootfs
It's required for BCM4908. It cannot use "bcm-wfi-fw" parser because that one requires *two* JFFS2 partitions which is untested / unsupported on the BCM4908 architecture. With a single JFFS2 partition "bcm-wfi-fw" parser will: 1. Fail to find "vmlinux.lz" as it doesn't follow "1-openwrt" file 2. Create partitions that don't precisely match bootfs layout The new parser is described in details in the MTD_SPLIT_CFE_BOOTFS symbol help message. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm4908')
-rw-r--r--target/linux/bcm4908/config-5.43
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/bcm4908/config-5.4 b/target/linux/bcm4908/config-5.4
index 3dfa7b21dc..d13753c49d 100644
--- a/target/linux/bcm4908/config-5.4
+++ b/target/linux/bcm4908/config-5.4
@@ -138,7 +138,8 @@ CONFIG_MTD_NAND_BRCMNAND=y
CONFIG_MTD_NAND_CORE=y
CONFIG_MTD_NAND_ECC_SW_HAMMING=y
CONFIG_MTD_RAW_NAND=y
-CONFIG_MTD_SPLIT_BCM_WFI_FW=y
+CONFIG_MTD_SPLIT_CFE_BOOTFS=y
+# CONFIG_MTD_SPLIT_SQUASHFS_ROOT is not set
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_BEB_LIMIT=20
CONFIG_MTD_UBI_BLOCK=y