OpenWrt Source Repository
Go to file
Gabor Juhos 0112153a0e ar71xx: fix occasional kernel hangs during boot on AR934x
The patch taken from the linux-mips mailing list.

The Kernel hangs occasionally during boot after
"Calibrating delay loop..". This is caused by the
c0_compare_int_usable() routine in cevt-r4k.c
returning false which causes the system to disable
the timer and hang later. The false return happens
because the routine is using a series of four calls
to irq_disable_hazard() as a delay while it waits
for the timer changes to propagate to the cp0 cause
register. On newer MIPS cores, like the 74K, the
series of irq_disable_hazard() calls turn into ehb
instructions and can take as little as a few clock
ticks for all 4 instructions. This is not enough of
a delay, so the routine thinks the timer is not
working.

This fix uses up to a max number of cycle counter
ticks for the delay and uses back_to_back_c0_hazard()
instead of irq_disable_hazard() to handle the hazard
condition between cp0 writes and cp0 reads.

SVN-Revision: 29009
2011-11-13 11:26:52 +00:00
docs kamikaze has been released long ago 2011-02-11 14:04:00 +00:00
include linux: update 3.1 to 3.1.1 2011-11-13 10:48:05 +00:00
package lantiq: w303v has its rt2860 eep on the nor flash. tell compat-wireless how to use it 2011-11-12 18:41:15 +00:00
scripts scripts/config: merge fixes for various issues, including recursive dependency detection/handling (patch by mbm) 2011-10-28 14:09:12 +00:00
target ar71xx: fix occasional kernel hangs during boot on AR934x 2011-11-13 11:26:52 +00:00
toolchain uclibc: backport upstream signalfd patch 2011-08-25 15:59:21 +00:00
tools firmware-utils/mktplinkfw: add TL-WR741ND v4 2011-11-01 11:20:54 +00:00
.gitignore .gitignore: Ignore Emacs editor generated files 2011-10-31 09:37:59 +00:00
BSDmakefile
Config.in kernel: add a top level menuconfig option for enabling lockdep 2011-11-08 00:32:57 +00:00
feeds.conf.default switch to LuCI trunk, should be stable enough for common use now 2010-11-16 00:05:41 +00:00
LICENSE
Makefile add a command for printing a cleaned up make target database - will be used to analyze package dependencies at some point 2010-09-01 17:51:36 +00:00
README
rules.mk rules.mk: provide a LIBGCC_A variable 2011-09-05 19:29:22 +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, patch, bzip2, flex,
make, gettext, pkg-config, unzip, libz-dev and libc headers.

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.

Building your own firmware you need to have access to a Linux, BSD or MacOSX system.
Cygwin will not be supported because of the lack of case sensitiveness.

Sunshine!
	Your OpenWrt Project
	http://openwrt.org