Openwrt build for Asrock G10 Router
Go to file
Hauke Mehrtens 6153248052 lantiq: spi: double time out tolerance
The generic SPI code calculates how long the issued transfer would take
and adds 100ms in addition to the timeout as tolerance. On my 500 MHz
Lantiq Mips SoC I am getting timeouts from the SPI like this when the
system boots up:

m25p80 spi32766.4: SPI transfer timed out
blk_update_request: I/O error, dev mtdblock3, sector 2
SQUASHFS error: squashfs_read_data failed to read block 0x6e

After increasing the tolerance for the timeout to 200ms I haven't seen
these SPI transfer time outs any more.
The Lantiq SPI driver in use here has an extra work queue in between,
which gets triggered when the controller send the last word and the
hardware FIFOs used for reading and writing are only 8 words long.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2017-05-21 21:51:28 +02:00
.github github: include pull request template 2017-03-12 17:38:31 +01:00
config kernel: enable CRASH_DUMP on supported platforms 2017-05-20 00:26:03 +02:00
include kernel: update kernel 4.9 to 4.9.29 2017-05-21 21:51:22 +02:00
package base-files: fix default procd reload 2017-05-20 20:43:45 +02:00
scripts scripts: Probe external toolchains for libthread-db 2017-05-11 13:43:01 -07:00
target lantiq: spi: double time out tolerance 2017-05-21 21:51:28 +02:00
toolchain toolchain/arc: update to the most recent release arc-2016.09 2017-05-02 15:17:30 +02:00
tools tools: host/include/getline.h: Remove 2017-04-26 10:29:39 +02:00
.gitattributes
.gitignore
BSDmakefile
Config.in
feeds.conf.default
LICENSE
Makefile build: prepare config.seed before package compilation 2017-03-18 12:08:04 +01:00
README
rules.mk rules.mk: make PKG_CONFIG_DEPENDS properly track string values 2017-02-27 23:46:53 +01:00

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