openwrtv4/target/linux/generic/files/drivers/mtd/mtdsplit
Felix Fietkau bdd2772f1d kernel: mtdsplit: add support for brnImages
This adds brnImage (used with the brnboot bootloader) firmware parsing
support. brnboot verifies the integrity of the firmware stored on the
"Code Image" partitions by looking at the 12 byte footer at the very end
of the partition. This footer contains the checksum of the original
brnImage (kernel + rootfs/squashfs) and must not be touched (by our JFFS2
rootfs_data - otherwise the image will not be bootable anymore).

Big thanks to Mathias Kresin for analyzing the brnImage structure and
finding out the information how to keep images valid even when adding a
nested rootfs_data partition.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 48261
2016-01-17 10:40:51 +00:00
..
Kconfig kernel: mtdsplit: add support for brnImages 2016-01-17 10:40:51 +00:00
Makefile kernel: mtdsplit: add support for brnImages 2016-01-17 10:40:51 +00:00
mtdsplit.c kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify patches across kernel versions 2015-01-02 21:52:35 +00:00
mtdsplit.h kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify patches across kernel versions 2015-01-02 21:52:35 +00:00
mtdsplit_brnimage.c kernel: mtdsplit: add support for brnImages 2016-01-17 10:40:51 +00:00
mtdsplit_fit.c kernel: mtdsplit: add support for FIT image 2015-03-15 19:39:27 +00:00
mtdsplit_lzma.c kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify patches across kernel versions 2015-01-02 21:52:35 +00:00
mtdsplit_seama.c kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify patches across kernel versions 2015-01-02 21:52:35 +00:00
mtdsplit_squashfs.c kernel: move mtdsplit files to drivers/mtd/mtdsplit/ to simplify maintenance, unify patches across kernel versions 2015-01-02 21:52:35 +00:00
mtdsplit_tplink.c kernel: add a mtdsplit implementation for tp-link firmware headers 2015-01-02 21:52:44 +00:00
mtdsplit_trx.c kernel: add mtd split support for trx images 2015-01-02 21:53:11 +00:00
mtdsplit_uimage.c kernel: mtdsplit_uimage: fix passed info about buf size 2015-02-12 20:13:20 +00:00