Go to file
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
.github Add Issue submission template (redirect to bugs.lede-project.org) 2016-09-01 09:01:04 -04:00
config x86: Set default baud rate on Geode images to 115200 2017-02-17 10:30:38 +01:00
include cmake: skip build system check on compile 2017-02-21 13:03:20 +01:00
package dnsmasq: bump to dnsmasq v2.77test4 2017-02-22 22:38:12 +01:00
scripts scripts/feeds: Reuse TOPDIR if defined in environment 2017-02-21 13:03:20 +01:00
target kernel: mtdsplit: Add support for Mikrotik NOR firmware 2017-02-22 22:52:19 +01:00
toolchain build: fix the toolchain rebuild check 2017-02-16 08:13:16 +01:00
tools tools: patch-image: fix file descriptor leak. 2017-02-15 07:45:24 +01:00
.gitattributes add .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in files 2012-05-08 13:30:49 +00:00
.gitignore gitignore: add /overlay 2017-01-15 18:16:29 +01:00
BSDmakefile add missing copyright header 2007-02-26 01:05:09 +00:00
Config.in branding: add LEDE branding 2016-03-24 22:40:13 +01:00
LICENSE finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00
Makefile Revert "build: always run package/cleanup before package/compile" 2017-01-22 13:47:40 +01:00
README README: Update project README 2016-05-12 03:29:36 +02:00
feeds.conf.default Add video feed to feeds.conf.default 2017-01-25 16:04:39 +01:00
rules.mk build: Pass -iremap gcc option as a single argument 2017-02-09 14:49:34 +01:00

README

This is the buildsystem for the LEDE Linux distribution.

Please use "make menuconfig" to choose your preferred
configuration for the toolchain and firmware.

You need to have installed gcc, binutils, bzip2, flex, python, perl, make,
find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers.

Run "./scripts/feeds update -a" to get all the latest package definitions
defined in feeds.conf / feeds.conf.default respectively
and "./scripts/feeds install -a" to install symlinks of all of them into
package/feeds/.

Use "make menuconfig" to configure your image.

Simply running "make" will build your firmware.
It will download all sources, build the cross-compile toolchain, 
the kernel and all choosen applications.

To build your own firmware you need to have access to a Linux, BSD or MacOSX system
(case-sensitive filesystem required). Cygwin will not be supported because of
the lack of case sensitiveness in the file system.


Sunshine!
	Your LEDE Community
	http://www.lede-project.org