aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/config-4.1
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-17 10:40:51 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-17 10:40:51 +0000
commitde23a020f3d3b08194e5ac0141b8d64bb766893b (patch)
tree1c63604cb1d843b22a320fc2dec612c55fd6a800 /target/linux/generic/config-4.1
parentdf21e31604d9878d6a8c80bf11445dcf643b0f8d (diff)
downloadmaster-187ad058-de23a020f3d3b08194e5ac0141b8d64bb766893b.tar.gz
master-187ad058-de23a020f3d3b08194e5ac0141b8d64bb766893b.tar.bz2
master-187ad058-de23a020f3d3b08194e5ac0141b8d64bb766893b.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48261 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/config-4.1')
-rw-r--r--target/linux/generic/config-4.11
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/generic/config-4.1 b/target/linux/generic/config-4.1
index 0f76041a6d..ade6807b21 100644
--- a/target/linux/generic/config-4.1
+++ b/target/linux/generic/config-4.1
@@ -2357,6 +2357,7 @@ CONFIG_MTD_ROOTFS_ROOT_DEV=y
# CONFIG_MTD_SPI_NOR is not set
# CONFIG_MTD_SPINAND_MT29F is not set
CONFIG_MTD_SPLIT=y
+# CONFIG_MTD_SPLIT_BRNIMAGE_FW is not set
# CONFIG_MTD_SPLIT_FIRMWARE is not set
CONFIG_MTD_SPLIT_FIRMWARE_NAME="firmware"
# CONFIG_MTD_SPLIT_FIT_FW is not set