aboutsummaryrefslogtreecommitdiff
path: root/target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_cfe_bootfs.c
Commit message (Collapse)AuthorAge
* kernel: create bootfs partition when parsing on BCM4908Rafał Miłecki2021-03-24
| | | | | | | | It's helpful for accessing booting data (DTS, kernel, etc.). It has to be used carefully as CFE's JFFS2 support is quite dumb. It doesn't recognize deleted files and has problems handling 0 inode. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: add parser finding rootfs after CFE bootfsRafał Miłecki2021-01-22
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>