forked from Ivasoft/openwrt
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user