aboutsummaryrefslogtreecommitdiff
path: root/linux
Commit message (Collapse)AuthorAgeFilesLines
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.4.x seriesGravatar Peter Korsgaard2020-01-292-6/+6
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/linux: fix LINUX_PKGDIR with br2-external linux-extensionsGravatar Yann E. MORIN2020-01-251-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When 'make' includes a new Makefile, it appends its path to the MAKEFILE_LIST variable. From that variable, we construct a few set of derivative variables: pkgdir = $(dir $(lastword $(MAKEFILE_LIST))) pkgname = $(lastword $(subst /, ,$(pkgdir))) Essentially, pkgdir is the full directory where the package is located (either relative to Buildroot's top directory for in-tree packages, or absolute for packages in br2-external trees), while pkgname is the last component of that directory. pkgdir is in turn used to seed FOO_PKGDIR. This all happens when we eventually call the package-generic infra, later down in the file. When they are parsed, the Makefiles for each linux-extensions are appended to MAKEFILE_LIST, after the linux.mk one. But since they are located in the same directory as the main linux.mk, the last component of MAKEFILE_LIST, which is no longer the main linux.mk, will still yield the correct values for the linux package. This is a tough assumption we made there and then. When we added the support for br2-external linux extensions, we where very cautious to explicitly scan them from a directory named 'linux', so that this would yield the correct package name. And that worked well so far, until someone needed to build an older kernel, for which our conditional patch is needed, and which just failed: /bin/bash: [...]/buildroot-external-linux-test/linux//0001-timeconst.pl-Eliminate-Perl-warning.patch.conditional: No such file or directory When we scan linux extensions from a br2-external tree, the last component of MAKEFILE_LIST is no longer in the same directory as the main linux.mk, and thus the assumption above falls to pieces... Again, when we added support for linux extensions from br2-external, although we cared about the package name (pkgname), we completely missed out on the package directory, and the LINUX_PKGDIR variable. We do not have a very clean way out of this mess, but we have a nice dirty trick: Scan the linux extensions from a br2-external tree before we scan the in-tree ones. That way, the last component of MAKEFILE_LIST is back to one that is in the same directory as the main linux.mk, and we're back on tracks. This is still very fragile, though, but short of a complete overhaul on how packages are parsed and evaluated, this is the best we can come in short order. Reported-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Heiko Thiery <heiko.thiery@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Tested-by: Heiko Thiery <heiko.thiery@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.4.x seriesGravatar Peter Korsgaard2020-01-202-6/+6
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux: bump CIP RT kernel to version 4.19.90-cip16-rt6Gravatar Angelo Compagnucci2020-01-171-2/+2
| | | | | | | This patch bumps Linux CIP RT version to 4.19.90-cip16-rt6. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* linux: bump CIP kernel to version 4.19.94-cip18Gravatar Angelo Compagnucci2020-01-171-2/+2
| | | | | | | This patch bumps Linux CIP version to 4.19.94-cip18. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* {linux, linux-headers}: bump 4.{14, 19}.x / 5.4.x seriesGravatar Peter Korsgaard2020-01-102-4/+4
| | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* {linux, linux-headers}: bump 4.19.x / 5.4.x seriesGravatar Bernd Kuhls2020-01-062-3/+3
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.4.x seriesGravatar Bernd Kuhls2020-01-052-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/linux-headers: drop support for 5.3.x headersGravatar Bernd Kuhls2020-01-051-1/+0
| | | | | | | | The 5.3.x series is now EOL so remove the option and add legacy handling for it. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux: Set MMU page size for ARC processorsGravatar Alexey Brodkin2019-12-221-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ARC processors have configurable size of MMU page. This configuration happens during ASIC design and couldn't be changed in final silicone not to mention runtime changes. Given PAGE_SIZE macro is used a lot throughout the Linux kernel sources we just hardcode a required value during the kernel configuration. We used to support different MMU page sizes for ARC in Buildroot for quite some time now but so far we only tweaked uClibc on the matter. That left us with the kernel configured with whatever was in used defconfig. In most of real cases that's OK because typically we're building firmware for a particular ASIC which is supposed to have a unique kernel defconfig. But if we're dealing with FPGA-based boards or even simlators like Synopsys DesignWare nSIM or QEMU it's possible to have dfferent MMU page size configured in that target mostly for the sake of testing. And so we're trying to solve 2 problems here: 1. Make sure both user-space (via libc settings) and the Linux kernel are "on the same page", i.e. expect to use the same MMU page size. 2. Simplify process of testing different page sizes. As now we first need to set page size in Buildroot and then in the kernel via "make linux-configure" or via Kconfig fragment. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> [yann.morin.1998@free.fr: simplify the conditions] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* {linux, linux-headers}: bump 4.{14, 19}.x / 5.{3, 4}.x seriesGravatar Peter Korsgaard2019-12-192-5/+5
| | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
* linux: bump CIP RT kernel to version 4.19.82-cip14-rt5Gravatar Angelo Compagnucci2019-12-182-2/+3
| | | | | | | This patch bumps Linux CIP RT version to 4.19.82-cip14-rt5. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux: bump CIP kernel to version 4.19.88-cip16Gravatar Angelo Compagnucci2019-12-182-2/+4
| | | | | | | This patch bumps Linux CIP version to 4.19.88-cip16. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{3, 4}.x seriesGravatar Bernd Kuhls2019-12-062-7/+7
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/binutils: remove version 2.30Gravatar Romain Naour2019-12-021-5/+0
| | | | | | | | | Now that binutils 2.33.1 has been introduced, and we have moved to 2.32 as the default version, it is time to drop support for binutils 2.30. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: bump 5.4 series to 5.4.1Gravatar Peter Korsgaard2019-12-022-2/+2
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: add version 5.4Gravatar Marcus Folkesson2019-12-022-2/+3
| | | | | Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Merge branch 'next'Gravatar Peter Korsgaard2019-12-022-4/+17
|\ | | | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * linux: add option to select the CIP real-time kernelGravatar Angelo Compagnucci2019-11-262-1/+13
| | | | | | | | | | | | | | | | This patch adds Linux CIP RT, the PREEMPT_RT real-time variant maintained by the CIP team. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * linux: bump CIP kernel to version 4.19.82-cip14Gravatar Angelo Compagnucci2019-11-201-2/+2
| | | | | | | | | | | | | | This patch bumps Linux CIP version to 4.19.82-cip14. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
| * linux: change CIP kernel download methodGravatar Angelo Compagnucci2019-11-202-3/+4
| | | | | | | | | | | | | | | | | | Downloading from https a tarball is faster than cloning a git repo. If needed, BR2_LINUX_KERNEL_CUSTOM_GIT can be used as a fallback mechanism to downlad the CIP kernel with git. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* | {linux, linux-headers}: bump 4.{14, 19}.x seriesGravatar Bernd Kuhls2019-12-011-2/+2
| | | | | | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | {linux, linux-headers}: bump 4.{4, 9}.x / 5.3.x seriesGravatar Bernd Kuhls2019-11-302-4/+4
| | | | | | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | {linux, linux-headers}: bump 4.{4, 9}.x seriesGravatar Bernd Kuhls2019-11-291-2/+2
| | | | | | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.3.x seriesGravatar Bernd Kuhls2019-11-252-6/+6
| | | | | | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* | {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.3.x seriesGravatar Bernd Kuhls2019-11-222-6/+6
| | | | | | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.3.x seriesGravatar Bernd Kuhls2019-11-142-6/+6
| | | | | | | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.3.x seriesGravatar Bernd Kuhls2019-11-062-6/+6
|/ | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.3.x seriesGravatar Bernd Kuhls2019-10-292-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.3.x seriesGravatar Bernd Kuhls2019-10-182-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/linux-headers: drop support for 5.2.x headersGravatar Bernd Kuhls2019-10-181-1/+0
| | | | | | | | The 5.2.x series is now EOL so remove the option and add legacy handling for it. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{2, 3}.x seriesGravatar Bernd Kuhls2019-10-122-7/+7
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* linux: bump CIP to version v4.19.75-cip11Gravatar Angelo Compagnucci2019-10-091-2/+2
| | | | | | | This patch bump CIP to version v4.19.75-cip11. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{2, 3}.x seriesGravatar Bernd Kuhls2019-10-052-7/+7
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/linux-headers: drop support for 5.1.x headersGravatar Peter Korsgaard2019-10-021-1/+0
| | | | | | | The 5.1.x series is now EOL and 5.3.x has been added, so remove the option and add legacy handling for it. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: bump 4.19.x / 5.{2, 3}.x seriesGravatar Peter Korsgaard2019-10-022-4/+4
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux: fix indentationGravatar Pierre-Jean Texier2019-09-301-1/+1
| | | | | | | | | | | | Fixes: $: ./utils/check-package linux/* linux/linux.mk:528: expected indent with tabs 1318 lines processed 1 warnings generated Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io> Acked-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.2.x seriesGravatar Bernd Kuhls2019-09-291-5/+5
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* {linux, linux-headers}: bump to version 5.3.1Gravatar James Hilliard2019-09-282-2/+3
| | | | | Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* linux: allow br2-externals to provide their own Linux extensionsGravatar McCabe, Robert J2019-09-281-4/+9
| | | | | | Signed-off-by: McCabe, Robert J <robert.mccabe@rockwellcollins.com> Acked-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.2.x seriesGravatar Peter Korsgaard2019-09-212-6/+6
| | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* package/xtables-addons: bump to version 3.4Gravatar Christopher McCrory2019-09-151-1/+2
| | | | | | | | | | | | | | Add hash for LICENSE. This version works with linux kernel 5.0 and newer. It requires CONFIG_NF_NAT enabled in the kernel configuration, otherwise it fails to build: ERROR: "nf_nat_setup_info" [/home/thomas/projets/buildroot/output/build/xtables-addons-3.4/extensions/xt_DNETMAP.ko] undefined! Signed-off-by: Christopher McCrory <chrismcc@gmail.com> [Thomas: enable CONFIG_NF_NAT in the kernel configuration.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.2.x seriesGravatar Peter Korsgaard2019-09-152-6/+6
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.2.x seriesGravatar Bernd Kuhls2019-08-302-6/+6
| | | | | Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.2.x seriesGravatar Peter Korsgaard2019-08-192-6/+6
| | | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* linux: bump CIP to version v4.19.65-cip8Gravatar Angelo Compagnucci2019-08-131-2/+2
| | | | | | | This patch bumps Linux CIP to version v4.19.65-cip8. Signed-off-by: Angelo Compagnucci <angelo@amarulasolutions.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* {linux, linux-headers}: bump 4.{14, 19}.x / 5.2.x seriesGravatar Peter Korsgaard2019-08-022-4/+4
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* linux: make BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT publicGravatar Philipp Wagner2019-08-011-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT option is only available to be selected by another config option. This option controls if the Linux build system should build the DTB itself, or if buildroot explicitly calls the Linux Makefile like "make something.dtb". My use case: I want to build an OpenRISC image with a custom device tree file. OpenRISC does not support appended DTBs, and I'm not using a bootloader, but link everything into a single kernel (vmlinux) image. The kernel option CONFIG_OPENRISC_BUILTIN_DTB allows me to specify a dtb file, which is typically located in the kernel source tree in arch/openrisc/boot/dts/NAME.dts. Since my dts file is not part of the upstream kernel, I have two options: either patch the kernel to include the DTS file, and then specify it using the CONFIG_OPENRISC_BUILTIN_DTB option. Or use buildroot's BR2_LINUX_KERNEL_CUSTOM_DTS_PATH config option to copy any DTS file to the kernel source tree, and then specify this file with CONFIG_OPENRISC_BUILTIN_DTB as before. However, the second option also requries the buildroot option BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT to be set, otherwise I end up with a "make -C kerneldir NAME.dts" call, which doesn't work (no such target exists). Currently the BR2_LINUX_KERNEL_DTB_IS_SELF_BUILT option exists, but it's not visible/available. Simply making it available solves the problem for me nicely. Signed-off-by: Philipp Wagner <mail@philipp-wagner.com> [Arnout: add help text] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* linux: Force CONFIG_NET=y when using mdev+devtempfs for /dev managementGravatar Titouan Christophe2019-07-311-0/+2
| | | | | | | | | Since mdev was switched to the daemon mode introduced in Busybox 1.31.0, it requires CONFIG_NET to be enabled in the kernel such that the mdev daemon can listen to netlink events. Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{1, 2}.x seriesGravatar Peter Korsgaard2019-07-302-7/+7
| | | | Signed-off-by: Peter Korsgaard <peter@korsgaard.com>