2
0
forked from Ivasoft/openwrt

kernel: mtdsplit: Add support for D-link JBOOT

The D-Link devices with JBOOT bootloader use their own kernel
image header (stag + sch2 headers).

This driver find jImage header and set rootfs start after kernel file.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
This commit is contained in:
Pawel Dembicki
2018-02-04 13:11:16 +01:00
committed by John Crispin
parent 1113fcdc80
commit 680e867d7f
7 changed files with 287 additions and 0 deletions

View File

@@ -69,3 +69,8 @@ config MTD_SPLIT_MINOR_FW
bool "Mikrotik NOR image based firmware partition parser"
depends on MTD_SPLIT_SUPPORT
select MTD_SPLIT
config MTD_SPLIT_JIMAGE_FW
bool "JBOOT Image based firmware partition parser"
depends on MTD_SPLIT_SUPPORT
select MTD_SPLIT