diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-01-20 16:49:26 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-01-22 20:14:39 +0100 |
commit | 20b4f77bb69cdded143c15ce962ccd3483bfe77a (patch) | |
tree | 28f223a386549a01e04269caa7ac42ec60629bcb /target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig | |
parent | 6ba3a0e889053475930e9a23a2404d8872eb887a (diff) | |
download | upstream-20b4f77bb69cdded143c15ce962ccd3483bfe77a.tar.gz upstream-20b4f77bb69cdded143c15ce962ccd3483bfe77a.tar.bz2 upstream-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/generic/files/drivers/mtd/mtdsplit/Kconfig')
-rw-r--r-- | target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig b/target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig index 3b7e23af33..4832b8d9e4 100644 --- a/target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig +++ b/target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig @@ -25,6 +25,18 @@ config MTD_SPLIT_BCM_WFI_FW depends on MTD_SPLIT_SUPPORT select MTD_SPLIT +config MTD_SPLIT_CFE_BOOTFS + bool "Parser finding rootfs appended to the CFE bootfs" + depends on MTD_SPLIT_SUPPORT && ARCH_BCM4908 + select MTD_SPLIT + help + cferom on BCM4908 (and bcm63xx) uses JFFS2 bootfs partition + for storing kernel, cferam and some device specific files. + There isn't any straight way of storing rootfs so it gets + appended to the JFFS2 bootfs partition. Kernel needs to find + it and run init from it. This parser is responsible for + finding appended rootfs. + config MTD_SPLIT_SEAMA_FW bool "Seama firmware parser" depends on MTD_SPLIT_SUPPORT |