1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
OpenWrt Source Repository https://openwrt.org/
Go to file
Felix Fietkau c08293893a kernel: add support for limiting 4K erase sector support based on flash chip size
Some targets need 4K sectors for small flash chips (e.g. some
routerboards, where the entire chip is just one "erase block"), whereas
on other devices 4K sectors lead to horrible flash erase/write
performance.

Set the default limit in the generic kernel configuration to 4 MiB to
ensure that all new platforms don't use 4K sectors for bigger flash
chips. On all existing targets use 16 MiB for now to avoid regressions.
They will be changed individually in follow-up commits.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-11-06 16:38:25 +01:00
.github github: include pull request template 2017-03-12 17:38:31 +01:00
config mpc85xx: Enable initramfs for p1020 subtarget 2017-10-14 01:19:35 +02:00
include build: fix another regression in append-dtb fix 2017-11-03 16:21:24 +01:00
package ubox: update to the latest version, fixes syslog issues 2017-11-06 11:58:40 +01:00
scripts scripts/config: add qconf files to .gitignore 2017-11-02 15:58:45 +01:00
target kernel: add support for limiting 4K erase sector support based on flash chip size 2017-11-06 16:38:25 +01:00
toolchain gcc: remove support for libgcj/java 2017-11-02 15:58:45 +01:00
tools tools/squashfs4: include sysmacros.h explicitly 2017-10-27 11:19:38 +02:00
.gitattributes
.gitignore gitignore: add /overlay 2017-01-15 18:16:29 +01:00
BSDmakefile
Config.in
feeds.conf.default Add video feed to feeds.conf.default 2017-01-25 16:04:39 +01:00
LICENSE
Makefile build: prepare config.seed before package compilation 2017-03-18 12:08:04 +01:00
README README: Update project README 2016-05-12 03:29:36 +02:00
rules.mk rukes.mk: this patch broken grub2 builds 2017-09-01 10:17:22 +02: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