源码是从 https://gitee.com/de-eem/openwrt 搬过来的
Go to file
John Crispin 6c690bf15d lantiq: fix etop registers
As first reported more than a year ago
(https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016240.html
and
https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016241.html),
some of the register definitions of the lantiq etop driver are
incorrect. When OpenWrt is booted with a bootloader which doesn't do
proper network initialization of its own (e.g. brnboot), ethernet won't
work. The patch below changes the register names and addresses to match
the lantiq etop driver included with the recent U-Boot.

At the moment the MII/RMII setting in the lantiq .dts-files has no
effect, since wrong registers are written. Once this patch is applied,
it is necessary to make sure that the MII/RMII setting in the .dts-file
is correct.

v2: fix mangled whitespaces

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

SVN-Revision: 38880
2013-11-20 16:56:50 +00:00
docs docs: update remaining references to functions.sh 2012-12-20 15:29:33 +00:00
include image: remove spaces from toupper function 2013-11-18 22:23:38 +00:00
linux/lantiq/patches-3.10 lantiq: fix etop registers 2013-11-20 16:56:50 +00:00
package procd: add validation to the log init script 2013-11-20 16:56:41 +00:00
scripts scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/ 2013-11-19 00:03:34 +00:00
target lantiq: fix an endless loop in the vmmc platform code 2013-11-20 16:56:32 +00:00
toolchain uClibc: Deactivate oversized thread stack cache 2013-11-18 13:32:06 +00:00
tools padjffs2: add a different kind of padding (using standard jffs2 elements) to work around broken boot loaders for kernel partitions 2013-11-14 19:04:44 +00: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: Ignore Emacs editor generated files 2011-10-31 09:37:59 +00:00
BSDmakefile add missing copyright header 2007-02-26 01:05:09 +00:00
Config-kernel.in buildroot: split Kernel config options to Config-kernel.in 2013-10-24 00:28:33 +00:00
Config.in Config.in: drop TARGET_UBIFS_SQUASH_UIDS, it's used by default now 2013-11-14 01:35:22 +00:00
feeds.conf.default feeds.conf.default: switch packages feed to git (#13818) 2013-07-05 02:04:40 +00:00
LICENSE finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00
Makefile build: it is no longer necessary to call make target/linux/clean as part of make clean 2012-12-02 15:26:28 +00:00
README build: BSD compile fixes 2013-03-07 17:32:29 +00:00
rules.mk build: include the cpu type as part of the toolchain/target directory name 2013-09-26 17:53:32 +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