OpenWrt Source Repository
Go to file
Mathias Kresin ddd259b0d5 image: pass device blocksize to padjffs2
At the moment the padding steps are hardcoded. Especially images for
devices with a 4K sector size can be unnecessarily bloated using the
hardcoded padding steps.

It has been observed that 192Kb of padding was added to the image of a
4MB device, albeit due to the 4K sector size the minimum required extra
padding for the jffs2 rootfs_data is 20Kb.

In worst case it means that the image-size check could fail albeit
there is enough space for all selected packages

For device build code not exposing the blocksize, use the hardcoded
padding further on.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2016-09-03 07:40:15 +02:00
.github Add Issue submission template (redirect to bugs.lede-project.org) 2016-09-01 09:01:04 -04:00
config images: bump default rootfs size to 256 MB 2016-09-08 15:28:39 +02:00
docs build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
include image: pass device blocksize to padjffs2 2016-09-03 07:40:15 +02:00
package f2fs-tools: import from packages, clean up, and update to latest 2016-09-08 15:28:38 +02:00
scripts scripts/ubinize-image.sh: add support for adding custom partitions 2016-08-31 13:05:19 +02:00
target apm821xx: image: add support for k unit suffix to boot-img 2016-09-08 20:14:42 +02:00
toolchain toolchain/gcc: bump GCC 6.1.0 to 6.2.0 2016-09-04 13:36:09 +02:00
tools firmware-utils: mksenaofw: rework option validation 2016-08-17 20:08:52 +02:00
.gitattributes
.gitignore
BSDmakefile
Config.in branding: add LEDE branding 2016-03-24 22:40:13 +01:00
feeds.conf.default feeds: switch from github to lede-project.org mirrors 2016-08-01 22:34:18 +02:00
LICENSE
Makefile build: move merged package directory from bin/ to staging_dir 2016-08-03 12:22:18 +02:00
README README: Update project README 2016-05-12 03:29:36 +02:00
rules.mk build: add checksum target 2016-08-01 18:11:21 +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