Commit Graph

10 Commits

Author SHA1 Message Date
Michał Leśniewski
e3904a890d fs/jffs2: Fix mkfs.jffs2 --pagesize parameter usage
Fixes #8186

Mkfs.jffs2 accepts a --pagesize parameter, which allows specifying the size
of the virtual memory page size of the target machine, where the image will
be used.  (This is the value of the PAGE_SIZE macro in Linux.) In most cases
the parameter doesn't need to be set as the default value of 4 kB is usually
correct.

The parameter was used incorrectly in Buildroot -- it was set to the page
size of flash memory chip -- this commit fixes this problem.  Now the
--pagesize parameter is not used at all (unless the user explicitly chooses
to use a custom value during configuration).  All existing defconfigs were
corrected to match the new configuration variable names.

[Peter: reword, add Config.in.legacy handling]
Signed-off-by: Michał Leśniewski <mlesniew@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-05-22 11:36:00 +02:00
Peter Korsgaard
998a2aee77 defconfigs: bump sheevaplug kernel to 3.18.1
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-01-02 00:02:23 +01:00
Yann E. MORIN
96941a9f51 defconfigs: add the _AT_LEAST_X_Y headers options
Since commit 2a5cf5e (check kernel headers version), we also need to
specify the series of the custom kernel headers version.

The defconfigs file that define such a custom kernel headers version
now fail to build.

Add the required _AT_LEAST_X_Y options to those config files. Done with
this (convoluted but very fast, uch faster ythan manual editing!) rule:

    for f in $( git grep -l BR2_DEFAULT_KERNEL_VERSION=\"3 ); do
        grep -E '^BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_' "${f}" >/dev/null && continue
        sed -r -e '/^(BR2_DEFAULT_KERNEL_VERSION="3\.([[:digit:]]+).*")$/s//\1\nBR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_3_\2=y/' "${f}"
    done

Only kernels >= 3.0 need those options in the defconfig, since the
default for 2.6.x kernels is correct (selects _AT_LEAST_2_6), and
the default is not saved in a defconfig.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-03-08 09:41:15 +01:00
Peter Korsgaard
7bf866e7b2 sheevaplug_defconfig: bump kernel version, lock u-boot version
Stick to 3.11.x for now, as sheevaplug has moved to DT only in 3.12+.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-11-17 00:53:02 +01:00
Gustavo Zacarias
aac46c75d9 configs/sheevaplug_defconfig: lock down kernel headers version
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-02-08 22:24:27 +01:00
Peter Korsgaard
220ce9f400 sheevaplug_defconfig: use 3.5.4 kernel
Notice that you need u-boot >= 2012.04 to be able to boot kernel >= 3.2,
because older u-boots keep the l2 cache enabled, see u-boot commit
679530278 (arm, arm-kirkwood: disable l2c before linux boot) for details.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-30 22:03:30 +02:00
Peter Korsgaard
db685acb52 sheevaplug_defconfig: use 2.6.39.4
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-08-08 09:02:04 +02:00
Peter Korsgaard
e48d8ba57d sheevaplug_defconfig: use 2.6.39.3
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-14 13:43:37 +02:00
Peter Korsgaard
b93c609f11 sheevaplug_defconfig: bump kernel version
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-24 11:34:48 +02:00
Peter Korsgaard
da7d572897 configs: add defconfig for sheevaplug
http://en.wikipedia.org/wiki/SheevaPlug

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-06-21 23:20:42 +02:00