Commit Graph

20 Commits (fb50eab8a5e6b82dd0a2916b6805ab712d4d7350)

Author SHA1 Message Date
Peter Korsgaard 2d6a5a0cc7 configs/sheevaplug_defconfig: backport gcc >= 10 u-boot patch
Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/1758966307

The old U-Boot version used does not build with hostcc >= 10.  Backport a
patch fixing that issue.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-13 15:23:54 +01:00
Peter Korsgaard 297f2220a1 configs/sheevaplug_defconfig: bump linux kernel to 4.14.253
Fixes https://gitlab.com/buildroot.org/buildroot/-/jobs/1723730198

To correct a build breakage after the move to a gcc 10.x based host
compiler, as the updated kernel contains a fix for:

HOSTLD  scripts/dtc/dtc
/usr/bin/ld: scripts/dtc/dtc-parser.tab.o:(.bss+0x10): multiple definition of `yylloc'; scripts/dtc/dtc-lexer.lex.o:(.bss+0x0): first defined here

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=88f7a6aa7fb9aa5076b65489146045dac865f1d3

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-10-31 18:29:45 +01:00
Peter Korsgaard 1c5b7ba27b sheevaplug_defconfig: bump linux to 4.14.63 to include latest fixes
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-08-17 16:51:07 +02:00
Peter Korsgaard 0f09daba15 sheevaplug_defconfig: bump u-boot to 2018.07 to fix build issue
u-boot 2016.05 no longer builds with the default gcc/binutils versions:

https://gitlab.com/buildroot.org/buildroot/-/jobs/88314946

  LD      u-boot
fs/built-in.o: In function `read_symbol':
/builds/buildroot.org/buildroot/output/build/uboot-2016.05/fs/jffs2/mini_inflate.c:129: undefined reference to `pull_bit'
fs/built-in.o: In function `decompress_huffman':
/builds/buildroot.org/buildroot/output/build/uboot-2016.05/fs/jffs2/mini_inflate.c:159: undefined reference to `pull_bits'
/builds/buildroot.org/buildroot/output/build/uboot-2016.05/fs/jffs2/mini_inflate.c:170: undefined reference to `pull_bits'
..
/builds/buildroot.org/buildroot/output/host/bin/arm-buildroot-linux-uclibcgnueabi-ld.bfd: BFD (GNU Binutils) 2.29.1 assertion fail elf32-arm.c:9509
Makefile:1192: recipe for target 'u-boot' failed
make[1]: *** [u-boot] Error 1
make[1]: Leaving directory '/builds/buildroot.org/buildroot/output/build/uboot-2016.05'

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-08-17 16:51:01 +02:00
Peter Korsgaard b272896b77 configs/sheevaplug_defconfig: bump linux kernel to 4.14.13
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-01-15 20:59:34 +01:00
Peter Korsgaard 2a8b32febf sheevaplug: defconfig: use 4.6 kernel, u-boot 2016.05
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-05-16 23:27:56 +02:00
Peter Korsgaard 61451d7dd9 configs/sheevaplug_defconfig: use 4.5.2 kernel, configure eth0
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-04-28 23:29:13 +02:00
Yann E. MORIN 674e099678 defconfigs: all use the headers from the kernel
For most defconfigs, it was trivial to deduce the kernel version, by
just reading the version string, which could be:
  - a standard upstream version string vX.Y.Z
  - a non-standard version string, but still containg the standard X.Y.Z

Those for which it was not so trivial were those hosted on git tree.
Since most were already using a custom linux-headers version, it could
be easily deduced from that. It was confirmed by browsing said git trees
and check the version there.

There are a few cases were there was a mismatch:

  - microzed:     uses a 3.18 kernel, but 3.8 headers; fixed.
  - xilinx_zc706: uses a 3.14 kernel, but 3.8 headers; fixed.
  - zedboard:     uses a 3.18 kernel, but 3.8 headers; fixed.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-06 10:59:15 +01:00
Peter Korsgaard 36f8101675 configs/sheevaplug: bump u-boot to 2016.01
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-17 22:55:25 +01:00
Peter Korsgaard 8aef3a4106 configs/sheevaplug: bump kernel to 4.4
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-01-17 22:55:25 +01:00
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