OpenWrt Source Repository
Go to file
John Crispin acbcd5f5b5 kernel: rootfs auto-mount on ubi
Similar to the rootfs hacks on NOR flash devices, this series
introduces support for auto-attaching (ubi device), auto-creating
(ubiblock device) and mounting the "rootfs" (ubifs or squashfs)
volume.
This is needed so OpenWrt can start without relying on the bootloader
to pass the ubi.mtd, ubi.block, rootfs and rootfstype parameters, but
instead auto-detect the root filesystem according to a simple convention.

OpenWrt-specific:
490-ubi-auto-attach-mtd-device-named-ubi-or-data-on-boot.patch
491-ubi-auto-create-ubiblock-device-for-rootfs.patch
492-try-auto-mounting-ubi0-rootfs-in-init-do_mounts.c.patch
493-ubi-set-ROOT_DEV-to-ubiblock-rootfs-if-unset.patch

sent upstream:
552-ubifs-respect-silent-mount-flag.patch
http://lists.infradead.org/pipermail/linux-mtd/2014-May/053893.html

v2: actually retry with MS_RDONLY when mounting read-only ubifs root

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 41119
2014-06-11 12:59:10 +00:00
config kernel: fix duplicate KERNEL_PERF_EVENTS with wrong dependency 2014-06-06 09:20:15 +00:00
docs docs: update remaining references to functions.sh 2012-12-20 15:29:33 +00:00
include brcm47xx: activate some compiler optimizations for 74K CPUs 2014-06-07 17:36:02 +00:00
package kernel: fix kernel builds for chipidea w/ usb-gadget 2014-06-11 12:19:44 +00:00
scripts build: add a feature flag for low-memory systems 2014-06-02 17:04:38 +00:00
target kernel: rootfs auto-mount on ubi 2014-06-11 12:59:10 +00:00
toolchain musl: install a few extra headers to improve compatibility with various packages 2014-06-09 13:47:36 +00:00
tools tools: genext2fs: add support for blocksize != 1024 2014-06-02 12:43:46 +00:00
.gitattributes
.gitignore add git-src to .gitignore 2014-01-12 12:06:39 +00:00
BSDmakefile
Config.in move menuconfig options into separate files 2013-11-22 14:30:40 +00:00
feeds.conf.default Switching default packages feed to github 2014-06-10 05:17:41 +00:00
LICENSE
Makefile build: remove duplicate variable definitions 2014-03-21 15:54:11 +00:00
README build: BSD compile fixes 2013-03-07 17:32:29 +00:00
rules.mk partially revert "build: remove check for nonexistant CONFIG_TAR_VERBOSITY variable and move TAR_OPTIONS to unpack.mk" 2014-03-22 19:52:48 +00:00

This is the buildsystem for the OpenWrt Linux distribution.

Please use "make menuconfig" to configure your appreciated
configuration for the toolchain and firmware.

You need to have installed gcc, binutils, bzip2, flex, python, perl
make, find, grep, diff, unzip, gawk, getopt, 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.

You can use "scripts/flashing/flash.sh" for remotely updating your embedded
system via tftp.

The OpenWrt system is documented in docs/. You will need a LaTeX distribution
and the tex4ht package to build the documentation. Type "make -C docs/" to build it.

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 OpenWrt Project
	http://openwrt.org