openwrtv4/target
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
..
imagebuilder build: add buildbot specific config option for setting defaults 2017-02-14 14:18:35 +01:00
linux kernel: mtdsplit: Add support for Mikrotik NOR firmware 2017-02-22 22:52:19 +01:00
sdk sdk: emit proper tag references for base URLs 2017-02-19 20:47:49 +01:00
toolchain target/toolchain: Fix toolchain packaging without package build 2016-09-06 11:40:12 +02:00
Config.in kernel: add plan 9 fs package 2016-08-11 10:45:33 +02:00
Makefile build: make <subdir>/install opt-in, use it for target/ only 2017-02-09 13:51:35 +01:00