Openwrt build for Asrock G10 Router
Go to file
John Crispin 57c8708d64 lantiq: add platform_pre_upgrade for sysupgrade
As explained in recent sysupgrade/nand.sh commits, current NAND
sysupgrade is a bit misleading because of nand_do_platform_check
behavior. It leaves a special mark in /tmp/sysupgrade-nand-path
triggering some diffent code path in nand_upgrade_stage1.

The plan is to have the check function only check the image and nothing
else. Then platform code (platform_pre_upgrade) should trigger NAND
specific upgrade path. This is what this patch implements.

Please note that because of current nand_upgrade_stage1 implementation
this patch doesn't change any behaior yet. It only prepares lantiq
target for changing nand_do_platform_check (it will be possible after
preparing all other targets as well).

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46939
2015-09-15 06:13:07 +00:00
config linux: make IPv6 builtin if selected (saves >30KB) 2015-09-09 12:20:36 +00:00
docs
include include: toplevel: drop unused OPENWRTVERSION variable 2015-09-14 07:40:40 +00:00
package procd: update to latest git revision 2015-09-15 06:12:55 +00:00
scripts scripts/om-fwupgradecfg-gen.sh: add support for the MR1750 2015-09-14 20:11:18 +00:00
target lantiq: add platform_pre_upgrade for sysupgrade 2015-09-15 06:13:07 +00:00
toolchain Revert "musl: fix termios struct c_ispeed/c_ospeed field names" (accidental commit) 2015-09-13 17:39:24 +00:00
tools tools/make-ext4fs: prefer static linking 2015-09-14 15:15:15 +00:00
.gitattributes
.gitignore
BSDmakefile
Config.in
feeds.conf.default
LICENSE
Makefile
README
rules.mk rules.mk: remove GCC 4.4 and GCC 4.5 conditional 2015-08-25 07:45:42 +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, 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.

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