openwrt-owl/target/linux/generic/files/drivers
Thibaut VARENE 890daca9e2 kernel: mtdsplit: Add support for Mikrotik NOR firmware
The RouterBOOT bootloader does not care where the kernel lives in the SPI
flash, all that matters is that the kernel is wrapped in the custom yaffs
container as generated by kernel2minor.

This container has a fixed signature as follows:
00000000  00 00 00 01 00 00 00 01  ff ff 6b 65 72 6e 65 6c  |..........kernel|

This patch adds mtdsplit support for identifying that signature and
triggering the search for the rootfs. rootfs is expected at EB boundary since
we use wget mtd_find_rootfs_from(). We make no use of the yaffs file size
field because it contains invalid data in the image generated by kernel2minor.

Signed-off-by: Thibaut VARENE <hacks@slashdirt.org>
2017-02-22 22:52:19 +01:00
..
leds ledtrig-netdev: don't cancel work on events for different interfaces 2017-01-29 17:32:58 +01:00
misc kernel: owl-loader for delayed Atheros ath9k fixup 2016-09-19 19:32:35 +02:00
mtd kernel: mtdsplit: Add support for Mikrotik NOR firmware 2017-02-22 22:52:19 +01:00
net/phy Revert "kernel: ar8327/ar8337: disable ARL access code to avoid lockups (FS#384)" 2017-02-22 11:56:27 +01:00