Commit Graph

47 Commits

Author SHA1 Message Date
Bram Oosterhuis
13ba668a2d configs/raspberrypi: bump Linux version to 6.1.61
Linux 6.1 has been marked LTS for a long time now. Time to bump
Linux for RaspberryPi's to the latest 6.1.61 Since April 2022
the RaspberryPi defconfigs have compressed kernel module enabled
by default. (see [1] and [2]).

To load compressed kernel modules kmod and xz packages are needed
because busybox doesn't support it.

For testing I used RaspberryPi 2, 3(32+64bit) and 4(32+64bit), all with mdev enabled.

[1] c45b4223a4
[2] https://github.com/raspberrypi/linux/issues/4966

Signed-off-by: Bram Oosterhuis <dev@bybram.com>
Reviewed-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
Tested-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-11-27 19:55:08 +01:00
Peter Seiderer
4a8a6dc41c configs/raspberrypi*: bump kernel version to 0b54dbd (5.10.92)
Now based on 5.10.92 (from 5.10.78).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2022-01-19 22:11:58 +01:00
Peter Seiderer
146c232692 configs/raspberrypi*: bump kernel version to 9878a11 (5.10.78)
Now based on 5.10.78 (from 5.10.76).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-11-12 22:54:30 +01:00
Julien Grossholtz
ee2311687b configs/raspberrypi: bump kernel to 581049d (5.10.76)
Raspberry-Pis Linux kernel is now based on 5.10.76. The previous release
was 5.10.63.

Signed-off-by: Julien Grossholtz <julien.grossholtz@openest.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-11-03 23:39:18 +01:00
Peter Seiderer
689b9ac439 package/rpi-firmware: rework boot/config file handling
Try to be less smart (focused on the one target/one use-case),
instead reduce the rpi-firmware package to a selectable list
of (verbatim) installed firmware files.

- change rpi-firmware config handling from rpi-variant/rpi-flavour
  choices to bootcode.bin, pi-default/-extended/-cut-down and
  pi4-/default/-extended/-cut-down selection

- add BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE option to select installable
  config.txt file

- remove config.txt modify code/handling from raspberry post-image.sh
  script

- add different customized config.txt files to the raspberry board
  section

- change dtoverlay krnbt from 'dtoverlay=miniuart-bt,krnbt=on' to extra line
  with explanation comment

- change raspberry defconfigs to select appropiate rpi-firmware
  and config.txt files

- change genimage-raspberrypi4.cfg/genimage-raspberrypi4-64.cfg to
  use start4.elf and fixup4.dat

- update board/raspberrypi/readme.txt (add optional files fixup4.dat,
  start4.elf and zImage)

With this changes a better support for custom use-cases should
be possible, specially multi-target SD cards as suggested by
Stefan Agner ([1]).

[1] http://lists.busybox.net/pipermail/buildroot/2021-February/303318.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[yann.morin.1998@free.fr: fix case of no config.txt provided]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-10-17 22:11:41 +02:00
Peter Seiderer
ff0e067856 configs/raspberrypi*: bump kernel version to 24c8b05 (5.10.63)
Now based on 5.10.63 (from 5.10.46).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-10-09 22:46:34 +02:00
Peter Seiderer
276a16a540 configs/raspberrypi*: bump kernel version to 4afd064 (5.10.46)
Now based on 5.10.46 (from 5.10.36)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-07-03 23:37:38 +02:00
Yann E. MORIN
02a0b30b2c configs/rpi: properly fix defconfigs after upstream rebased
Commit 8c3f281626 (configs/rpi: fix defconfigs after upstream rebased)
attempted to point the raspberrypi defconfigs to an existing commit in
the linux rpi repository.

However, in doing so, only a partial replacement was done: the version
string in the tarball filename was not replaced (missing 'g' to the sed
expression).

Fix that now.

Reported-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-19 22:36:32 +02:00
Yann E. MORIN
8c3f281626 configs/rpi: fix defconfigs after upstream rebased
Branches in the Rappberry Pi linux repository are often rebased, which
means that commits that are not reachable from a reference (tag,branch)
will eventually get garbage-collected.

This is probably what hapenned with the commit we are curently
referencing in our defconfig files.

Swith to using the current HEAD of the rpi-5.10.y brnch, in lieue of the
previous one.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-18 16:50:03 +02:00
Peter Seiderer
ebe22f658e configs/raspberrypi*: bump kernel version to 96110e9 (5.10.33)
Now based on 5.10.33 (from 5.10.1).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Tested-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-05-11 13:06:24 +02:00
Peter Seiderer
e934f23cef configs/raspberrypi*: bump kernel version to 967d45b (5.10.1)
Now based on 5.10.1 (from 5.4.80).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-12-23 10:12:19 +01:00
Peter Seiderer
e3c0190ec5 configs/raspberrypi*: bump kernel version to f4b5d0d (5.4.80)
Now based on 5.4.80 (from 5.4.72).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-12-07 22:54:16 +01:00
Peter Seiderer
2aec7b77d4 configs/raspberrypi*: bump kernel version to ff93994 (5.4.72)
Now based on 5.4.72 (from 5.4.61)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-10-24 22:41:02 +02:00
Marcin Niestroj
42f8de9402 configs/raspberrypi*: bump kernel version to 9a1dd17 (5.4.61)
Now based on 5.4.61 (from 5.4.51)

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-09-20 15:51:13 +02:00
Peter Seiderer
c9cc60ea6a configs/raspberrypi*: bump kernel version to 1c64f4b (5.4.51)
Now based on 5.4.51 (from 4.19.113)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-07-23 22:04:23 +02:00
Peter Seiderer
cb24898e36 configs/raspberrypi*: bump kernel version to 676fd5a
Now based on 4.19.126 (from 4.19.113).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-06-10 23:24:16 +02:00
Peter Seiderer
a4f6fce7fa configs/raspberrypi*: bump kernel version to 4f2a4cc
Now based on 4.19.113 (from 4.19.97).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-03-29 19:24:20 +02:00
Peter Seiderer
5f4723bc94 configs/raspberrypi*: bump kernel version to 64d0a98
Now based on 4.19.97 (from 4.19.75).

Go back to sha1 version scheme instead of official tag (after
only two tag versions) to get an up-to-date kernel version
(as the offical last tag is for 4.19.94).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2020-01-27 17:48:08 +01:00
Arthur Courtel
ada40afb32 configs/raspberrypi: change deprecated pi3-miniuart-bt option to miniuart-bt
The pi3-minuart-bt Device Tree overlay has been renamed to
miniuart-bt, as it is useful/usable for other platforms than the
RPi3. So we use this DT overlay and rename the
--add-pi3-miniuart-bt-overlay option to --add-miniuart-bt-overlay
accordingly.

Signed-off-by: Arthur Courtel <arthur.courtel@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-12-08 21:13:51 +01:00
Peter Seiderer
7644350ccd configs/raspberrypi*: bump kernel version to 1.20190925-1
Now based on 4.19.75 (from 4.19.66).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-11-07 22:41:05 +01:00
Gergely Imreh
42d22f3bdb {configs/raspberrypi,package/rpi-firmware}: bump kernel/firmware to 20190819 version
It's the latest original version. The defconfig and
package/rpi-firmware changes are done in a single patch, as they are
going together.

Signed-off-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-09-07 22:55:59 +02:00
Thomas Petazzoni
972140e278 configs/raspberrypi3: properly update kernel Git commit
In commit ed02414e9c
("configs/raspberrypi*: bump kernel version to 5eeff139ea"), which
updated all RaspberryPi defconfigs to use Linux 4.19,
raspberrypi3_defconfig had its
BR2_PACKAGE_HOST_LINUX_HEADERS_CUSTOM_4_19 option updated, but not the
BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION, which still pointed to an
older Linux 4.14-based RPi kernel. This caused a build failure due to
the headers being more recent than the actual kernel being built.

This commit fixes that by using the same kernel version as all other
RPi defconfigs.

Fixes:

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

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-04-21 15:45:23 +02:00
Peter Seiderer
ed02414e9c configs/raspberrypi*: bump kernel version to 5eeff139ea
Now based on 4.19.23 (from 4.14.98) and bump linux header
version accordingly and needs host openssl.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-04-16 22:42:46 +02:00
Peter Seiderer
52ee3888c0 configs/raspberrypi*: bump kernel version to 877656cd14
Now based on 4.14.98 (from 4.14.95)

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-04-16 22:39:25 +02:00
Peter Seiderer
567355742f configs/raspberrypi*: bump kernel version to 83b36f98e1
Now based on 4.14.95 (from 4.14.91).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-27 20:38:04 +01:00
Peter Seiderer
5ded4ebaf2 configs/raspberrypi*: bump kernel version to 4c5aec7827
Now based on 4.14.91 (from 4.14.74).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-01-06 21:17:44 +01:00
Peter Seiderer
fd710c7f8d configs/raspberrypi*: bump kernel version to 6d27aa156c
Now based on 4.14.74 (from 4.14.39).

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-10-15 13:15:19 +02:00
Leon Anavi
e26a71d1a9 configs/raspberrypi3_defconfig: increase filesystem size
Increase the filesystem size for raspberrypi3 by setting
BR2_TARGET_ROOTFS_EXT2_SIZE to "120M". The filesystem for
raspberrypi3_64 has the same size. The size is so large because the
kernel config enables many many modules.

Fixes:
Copying files into the device: __populate_fs: Could not allocate block in ext2 filesystem while writing file "services"
mkfs.ext4: Could not allocate block in ext2 filesystem while populating file system

This error is not reproducible, it seems to depend on e.g. directory
ordering.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2018-07-08 00:32:06 +02:00
Martin Bark
b677b490f7 configs/raspberrypi*: bump kernel version
Now based on 4.14.39 (from 4.14.29)

Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-05-20 12:32:00 +02:00
Martin Bark
012c400f9d board/raspberrypi: add support for rpi3 b+
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-04-06 21:49:18 +02:00
Martin Bark
6a34050201 configs/raspberrypi*: bump kernel version
Now based on 4.14.29 (from 4.9.79)

Signed-off-by: Martin Bark <martin@barkynet.com>
[Thomas: adjusted on top of Yann E. Morin changes to use a tarball
instead of a git clone.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-04-06 21:46:16 +02:00
Yann E. MORIN
7e7b9db61a configs: switch to a wget download for kernels on github
The linux git trees on github can be huge, and takes a long time to
download, which is not very nice nor convenient for newcomers.

Switch them to using a wget, with the github macro.

A nice side effect of this conversion, is that we no longer need to wait
for the git clone to finish to notice that the ref is gone; doing a wget
will instantly fail in that case.

Mechanical patch, obtained by running (hang-on tight):

$ sed -r -i -e 's/BR2_LINUX_KERNEL_CUSTOM_GIT/BR2_LINUX_KERNEL_CUSTOM_TARBALL/; /BR2_LINUX_KERNEL_CUSTOM_REPO_URL/N; s:BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https\://github.com/([^/]+)/(.+)"\nBR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="(.+)":BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="$(call github,\1,\2,\3)/linux-\3.tar.gz":; s/(call github.*)\.git/\1/;' $(grep -l 'BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com' configs/*)

olimex_a20_olinuxino_lime_mali had a comment in between, so it was
manually fixed thereafter; that comment was also moved.

Except for socrates_cyclone5 which did not work previously (missing tag
in git tree?), all the affected defconfigs still download their sources.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-04-02 11:35:48 +02:00
Mario Lang
9753f3d326 configs/raspberrypi*: bump kernel version
Now based on 4.9.79 (from 4.9.66).

Signed-off-by: Mario Lang <mlang@blind.guru>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-02-03 19:54:00 +01:00
Mario Lang
0f010313e2 configs/raspberrypi*: bump kernel version
Now based on 4.9.66 (from 4.9.52).

Signed-off-by: Mario Lang <mlang@blind.guru>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-12-06 21:37:09 +01:00
Peter Korsgaard
5a6a18f07c configs/raspberrypi*: bump kernel version
Now based on 4.9.52 (from 4.9.36).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-10-01 23:22:14 +02:00
Martin Bark
3ad020d0b4 configs/raspberrypi3_defconfig: bump kernel version to 4.9.36
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-15 23:16:39 +02:00
Yann E. MORIN
a13a388dd4 configs/raspberrypi3: use correct CPU
We so far were using a Cortex-A7 as the CPU for the rpi3, as this was
the closest we had available, in 32-bit mode, to the real CPU used in
the rpi3.

But now we can also use the Cortex-A53 in 32-bit mode, so we use that,
which makes for an optimised build (A53 has an improved instruction set,
as compared to the A7).

Also drop the DTB overlay option, it defaults to 'y'.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Martin Bark <martin@barkynet.com>
Cc: Peter Seiderer <ps.report@gmx.net>
Tested-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-05-02 22:40:03 +02:00
Martin Bark
6dbcaa4d66 configs/raspberrypi3_defconfig: bump version to 4.9.21
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-04-14 22:25:04 +02:00
Martin Bark
a726c7dff8 configs/raspberrypi3_defconfig: add raspberry pi 3 compute module support
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-03-05 21:25:51 +01:00
Martin Bark
6332c880de configs/raspberrypi3_defconfig: bump kernel version to 4.9.13
Signed-off-by: Martin Bark <martin@barkynet.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-03-05 21:25:51 +01:00
Peter Seiderer
55af371b4c raspberrypi3_defconfig: bump kernel version to 4.4.43
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-01-23 22:58:54 +01:00
Peter Seiderer
c8b842a784 raspberrypi3_defconfig: bump kernel version to 4.4.36
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-12-04 15:58:12 +01:00
Peter Seiderer
06593b64d6 raspberrypi3_defconfig: bump to kernel version 4.4.21
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-23 07:59:58 +02:00
Peter Seiderer
1e03cc2290 raspberrypi3: fix serial console (load pi3-miniuart-bt overlay)
- enable BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS in raspberrypi3_defconfig
- add copy of rpi-firmware/overlays directory to boot partition in genimage-raspberrypi3.cfg
- enhance post-image.sh script to add 'dtoverlay=pi3-miniuart-bt' on request
- add BR2_ROOTFS_POST_SCRIPT_ARGS="--add-pi3-miniuart-bt-overlay" in raspberrypi3_defconfig

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-09-18 19:21:18 +02:00
Benoît Mauduit
28967c847e raspberrypi3_defconfig: bump to kernel version 4.4.8
Signed-off-by: Benoît Mauduit <bmauduit@beneth.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-04-28 08:52:44 +02:00
Peter Korsgaard
c8c221b08b configs/raspberrypi3: sync kernel version with rpi/rpi2
Move to 4.4 series.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-04-25 14:07:58 +02:00
Ubaldo Porcheddu
b159b15d07 configs: add Raspberry Pi 3 defconfig
So far identical to the rpi2 one except for the dts file as the SW runs in
32bit mode.

[Peter: extend commit message]
Signed-off-by: Ubaldo Porcheddu <ubaldo@eja.it>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2016-04-25 14:07:58 +02:00