kernel: mtdsplit: Add support for D-link JBOOT
authorPawel Dembicki <paweldembicki@gmail.com>
Sun, 4 Feb 2018 12:11:16 +0000 (13:11 +0100)
committerJohn Crispin <john@phrozen.org>
Sun, 11 Feb 2018 15:02:52 +0000 (16:02 +0100)
commit680e867d7f48bc326007e0b2bd8abba1ae702da6
treec268d6f582ba7381111fe34dc173a885e09b2867
parent1113fcdc800a19e502a0558d8cf0e508f4ec6a1e
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>
target/linux/generic/config-3.18
target/linux/generic/config-4.14
target/linux/generic/config-4.4
target/linux/generic/config-4.9
target/linux/generic/files/drivers/mtd/mtdsplit/Kconfig
target/linux/generic/files/drivers/mtd/mtdsplit/Makefile
target/linux/generic/files/drivers/mtd/mtdsplit/mtdsplit_jimage.c [new file with mode: 0644]