diff options
author | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 10:40:51 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2016-01-17 10:40:51 +0000 |
commit | bdd2772f1d1f822acedb7dadf9d5978ce2dbc2e2 (patch) | |
tree | b8b786e2eff7311ec4bb2b31b88edcab2dd8c0c5 /target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig | |
parent | 3348279ecae916154c87b18d3653f6f7b7dbe476 (diff) | |
download | upstream-bdd2772f1d1f822acedb7dadf9d5978ce2dbc2e2.tar.gz upstream-bdd2772f1d1f822acedb7dadf9d5978ce2dbc2e2.tar.bz2 upstream-bdd2772f1d1f822acedb7dadf9d5978ce2dbc2e2.zip |
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
Diffstat (limited to 'target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig')
-rw-r--r-- | target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig b/target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig index c4e3418854..0370a21c9f 100644 --- a/target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig +++ b/target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig @@ -49,3 +49,8 @@ config MTD_SPLIT_TRX_FW bool "TRX image based firmware partition parser" depends on MTD_SPLIT_SUPPORT select MTD_SPLIT + +config MTD_SPLIT_BRNIMAGE_FW + bool "brnImage (brnboot image) firmware parser" + depends on MTD_SPLIT_SUPPORT + select MTD_SPLIT |