mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-23 07:22:33 +00:00
bdd2772f1d
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
57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
config MTD_SPLIT
|
|
def_bool n
|
|
help
|
|
Generic MTD split support.
|
|
|
|
config MTD_SPLIT_SUPPORT
|
|
def_bool MTD = y
|
|
|
|
comment "Rootfs partition parsers"
|
|
|
|
config MTD_SPLIT_SQUASHFS_ROOT
|
|
bool "Squashfs based root partition parser"
|
|
depends on MTD_SPLIT_SUPPORT
|
|
select MTD_SPLIT
|
|
default n
|
|
help
|
|
This provides a parsing function which allows to detect the
|
|
offset and size of the unused portion of a rootfs partition
|
|
containing a squashfs.
|
|
|
|
comment "Firmware partition parsers"
|
|
|
|
config MTD_SPLIT_SEAMA_FW
|
|
bool "Seama firmware parser"
|
|
depends on MTD_SPLIT_SUPPORT
|
|
select MTD_SPLIT
|
|
|
|
config MTD_SPLIT_UIMAGE_FW
|
|
bool "uImage based firmware partition parser"
|
|
depends on MTD_SPLIT_SUPPORT
|
|
select MTD_SPLIT
|
|
|
|
config MTD_SPLIT_FIT_FW
|
|
bool "FIT based firmware partition parser"
|
|
depends on MTD_SPLIT_SUPPORT
|
|
select MTD_SPLIT
|
|
|
|
config MTD_SPLIT_LZMA_FW
|
|
bool "LZMA compressed kernel based firmware partition parser"
|
|
depends on MTD_SPLIT_SUPPORT
|
|
select MTD_SPLIT
|
|
|
|
config MTD_SPLIT_TPLINK_FW
|
|
bool "TP-Link firmware parser"
|
|
depends on MTD_SPLIT_SUPPORT
|
|
select MTD_SPLIT
|
|
|
|
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
|