summaryrefslogtreecommitdiffstats
path: root/configs/platform-rpi
Commit message (Collapse)AuthorAgeFilesLines
* platforms: host-dtc: version bump 1.5.1 -> 1.6.0Roland Hieber2020-11-011-2/+2
| | | | | | | | | | Version 1.6.0 includes a fix for building on hosts with gcc 10. This ports PTXdist commit 7990fbf116f66f82796b (2020-05-24, Michael Olbrich: "host-dtc: update default version to 1.6.0"). Link: https://lkml.org/lkml/2020/4/1/1206 Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=7990fbf116f66f82796b Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rpi: barebox: migrate defaultenv from /env/config to nv variablesRoland Hieber2020-09-152-19/+1
| | | | | | | | | | | | | | | | | | | | | All upstream defaultenvs were converted in barebox 2015.01.0 [2] to use nv variables instead of /env/config, and /env/config is no longer sourced by the init script since barebox 2019.06.0 [1]. The default defaultenv already contains our variable definitions for allow_color, user, and autoboot_timeout, and the information in linux.bootargs.base is detected automatically as linux.bootargs.console from the port name given by the serial driver and CONFIG_BAUDRATE in the barebox config, so we don't have to convert those. This leaves boot.default, and converting this variable should also fix the issue of barebox trying to boot from net (instead of SD card) by default. [1]: 2019-02-25, Sascha Hauer: "defaultenv: Convert init script to C", https://git.pengutronix.de/cgit/barebox/commit/?id=90df2a955e3c66fee2c5 [2]: 2014-11-06, Sascha Hauer: "defaultenv-2: Make use of nonvolatile variables", https://git.pengutronix.de/cgit/barebox/commit/?id=7962e7a0b423a5dfba25 Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rpi: barebox: version bump 2018.03.0 -> 2020.08.1Roland Hieber2020-09-154-19/+185
| | | | | | | | | | | | | | | | | | | | | | Update to the latest barebox version, which also has the side effect that it can boot the newer Linux kernel (first bad Distrokit commit was 61b5ec910db2fe82a39f, 2019-05-06: "platform-rpi/v7a: kernel version bump 5.0 -> 5.1"). Enable regulator support to get around a build issue in the RPi board code [1], and allow color by default on the console. Also enable PINCTRL_BCM283X, since it was renamed from GPIO_BCM283X. For all other settings, use their default value. Add a patch to fix a build failure with the bcm2835 sdhci driver. [1]: "rpi-common.c:462:8: error: implicit declaration of function 'regulator_get_name'; did you mean 'regulator_enable'? [-Werror=implicit-function-declaration]", fixed upstream via <https://www.mail-archive.com/barebox@lists.infradead.org/msg36326.html> Tested-by: Roland Hieber <rhi@pengutronix.de> on rpi1-b, rpi-zero-w Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rpi: install kernel into /boot so that barebox can find itRoland Hieber2020-09-151-2/+6
| | | | | | (I don't know how this has worked before…?!) Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rpi: kernel: version bump 5.6.2 -> 5.8.9Roland Hieber2020-09-152-47/+81
| | | | | | | | Update to the most recent kernel version and do an oldconfig with default values. Tested-by: Roland Hieber <rhi@pengutronix.de> on rpi1-b, rpi-zero-w Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* PTXdist: migrate 2020.08.0 -> 2020.09.0Roland Hieber2020-09-151-2/+5
| | | | | | Migrate to the most current PTXdist version with default settings. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rpi: update to OSELAS.Toolchain 2020.08.0Roland Hieber2020-08-312-5/+5
| | | | | | Update to the latest toolchain, which was released this week. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2020.07.0 -> 2020.08.0Robert Schwebel2020-08-101-3/+3
| | | | | | | | | A new ptxdist version is out. We set PTXCONF_KERNEL_CONFIG_BASE_VERSION=y in all platforms, as DistroKit is a base layer for other BSPs. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2020.06.0 -> 2020.07.0Robert Schwebel2020-07-151-2/+3
| | | | | | A new ptxdist version is out, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2020.05.0 -> 2020.06.0Robert Schwebel2020-06-171-2/+2
| | | | | | A new ptxdist version is out, so we update our configs. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2020.04.0 -> 2020.05.0Robert Schwebel2020-05-081-2/+2
| | | | | | A new ptxdist version is out, update DistroKit. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate 2020.03.0 -> 2020.04.0 with defaultsAhmad Fatoum2020-04-261-2/+2
| | | | | | | | | With this release, the TF-A rule went upstream in revised form, so it's dropped as part of the migration. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> [adapted to current next] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: version bump 5.5 -> 5.6.2Robert Schwebel2020-04-032-19/+41
| | | | | | A new kernel is out, update all platforms. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: barebox: enable dmesg commandRobert Schwebel2020-03-271-1/+2
| | | | | | | To be able to see all messages on the console, enable the dmesg command in barebox (correspondig to our other platforms). Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2020.02.0 -> 2020.03.0Robert Schwebel2020-03-271-2/+2
| | | | | | A new ptxdist version is out, update the configs. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* rules: remove CREDIT linesRoland Hieber2020-03-051-2/+0
| | | | | | | | This file has never existed here, and the respective lines were also removed from the upstream PTXdist rules and templates in commit cbd6bda680c65d7e01cf ("CREDITS: remove unmaintained file"). Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rules: add ARM Trusted Firmware-AAhmad Fatoum2020-03-051-0/+1
| | | | | | | | | | | | | | | Trusted Firmware-A (TF-A) is a reference implementation of secure world software for Arm A-Profile architectures (Armv8-A and Armv7-A). TF-A is used as first-stage bootloader on the STM32MP1. We'll use barebox for second-stage only for now, thus add a rule for TF-A. Tested-by: Michael Tretter <m.tretter@pengutronix.de> Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> [oldconfiged rpi an v8a platforms while applying] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de> Link: https://www.mail-archive.com/ptxdist@pengutronix.de/msg15828.html
* ptxdist: version bump 2020.01.0 -> 2020.02.0Robert Schwebel2020-02-161-2/+2
| | | | | | A new ptxdist version is out, update the configs. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: version bump 5.4 -> 5.5Robert Schwebel2020-01-292-98/+119
| | | | | | A new kernel is out, so let's update DistroKit. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* toolchain: use oselas.toolchain 2019.09.1Robert Schwebel2020-01-271-1/+1
| | | | | | 2019.09.1 is out, use it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.12.0 -> 2020.01.0Robert Schwebel2020-01-231-2/+2
| | | | | | A new ptxdist version is out, update the configs. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate 2019.11.0 -> 2019.12.0 with defaultsRoland Hieber2019-12-101-8/+6
| | | | Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* kernel: version bump 5.3 -> 5.4Robert Schwebel2019-11-252-25/+32
| | | | | | Linux 5.4 is out, update the kernel on all platforms. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.10.1 -> 2019.11.0Robert Schwebel2019-11-091-4/+5
| | | | | | A new ptxdist version is out, use it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.09.0 -> 2019.10.1Robert Schwebel2019-10-171-2/+2
| | | | | | There is a new ptxdist version, so we update DistroKit to use it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-{rpi,v[78]a}: kernel: Update to 5.3Björn Esser2019-09-162-20/+46
| | | | | | | Linux 5.3 is out, so we update the kernel to the new version. The config is oldconfiged with defaults. Signed-off-by: Björn Esser <b.esser@pengutronix.de>
* platform-{rpi,v[78]a}: toolchain version bump 2018.12.0 -> 2019.09.0Björn Esser2019-09-161-3/+3
| | | | | | A new OSELAS.Toolchain is out, with gcc-9.2.1 and glibc-2.30. Signed-off-by: Björn Esser <b.esser@pengutronix.de>
* platform-{rpi,v7a}: Update firmware for raspberrypi (2019-09-09).Björn Esser2019-09-119-0/+0
| | | | | This firmware was taken from the official firmware repository at: https://github.com/raspberrypi/firmware/commit/3bba1909a004fb34d5b01db2c319976f33d8eb1d
* ptxdist: version bump 2019.08.0 -> 2019.09.0Robert Schwebel2019-09-051-2/+2
| | | | | | A new ptxdist version is out, use it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.07.0 -> 2019.08.0Robert Schwebel2019-08-121-2/+2
| | | | | | A new ptxdist version is out, so we migrate Distrokit. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: deactivate CONFIG_VALIDATE_FS_PARSERRobert Schwebel2019-08-061-1/+1
| | | | | | | | The filesystem parameter description parser validation is not useful except when working on the mount interface and prints confusing messages during boot. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi, platform-v7a: kernel: version bump 5.1 -> 5.2Robert Schwebel2019-07-092-42/+246
| | | | | | | | | | | Linux 5.2 is out, so we update the kernel to the new version. The config is mostly oldconfiged with defaults, but we enable CONFIG_NULL_TTY and CONFIG_COUNTER. The OMAP hardware random number generator was applied in the upstream kernel, so we can remove it here. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: enable UTS_NSRobert Schwebel2019-07-081-1/+1
| | | | | | systemd requires UTS_NS, so enable it in the kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate from version 2019.06.0 to 2019.07.0Roland Hieber2019-07-081-2/+2
| | | | | | Keep all new features on their default values for now. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2019.05.0 → 2019.06.0Robert Schwebel2019-06-031-4/+2
| | | | | | We have a new version; update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a, platform-rpi: enable ARM unwinderRobert Schwebel2019-05-201-4/+4
| | | | | | The UNWINDER_ARM helps to get proper stack traces. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi/v7a: kernel version bump 5.0 -> 5.1Robert Schwebel2019-05-062-16/+57
| | | | | | The new kernel has been released today, so update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.04.0 → 2019.05.0Robert Schwebel2019-05-031-2/+3
| | | | | | A new ptxdist version has been released, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.03.1 -> 2019.04.0Robert Schwebel2019-04-051-2/+2
| | | | | | A new ptxdist version has been released, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.03.0 → 2019.03.1Roland Hieber2019-03-131-2/+2
| | | | | | | | | This fixes an errors in systemd.get, which only happened when that systemd tarball was not already downloaded previously: ptxdist: error: Wrong md5sum for 'systemd' (.../src/systemd-241-7-ga09c170122cf.tar.gz) Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* platform-rpi: enable FORTIFY_SOURCESRouven Czerwinski2019-03-111-2/+1
| | | | | | This platform supports it, enable it. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* rpi: sync kernelconfigRoland Hieber2019-03-111-2/+2
| | | | | | | | The compiler version is part of the kernelconfig, so changing the toolchain changes the kernelconfig too. Update the kernelconfig with a simple 'ptxdist oldconfig kernel'. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rpi: enable gcc stack clash protectionRoland Hieber2019-03-111-1/+1
| | | | | | | | | | | | | | | This setting was introduced in PTXdist 2019.03.0: Generate code to prevent stack clash style attacks. When this option is enabled, the compiler will only allocate one page of stack space at a time and each page is accessed immediately after allocation. Thus, it prevents allocations from jumping over any stack guard page provided by the operating system. Make use of it to get more secure binaries with gcc-8's new -fstack-clash-protection option. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rpi: toolchain version bump 2018.02 → 2018.12Roland Hieber2019-03-111-3/+3
| | | | | | Update to OSELAS.Toolchain-2018.12, which has gcc 8.2.1 and glibc 2.28. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2019.02.0 → 2019.03.0Roland Hieber2019-03-111-2/+3
| | | | | | Use the default config values. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* platform-rpi: kernel version bump 4.20 -> 5.0Robert Schwebel2019-03-042-25/+32
| | | | | | Update the kernel to Linux 5.0 Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2019.01.0 -> 2019.02.0Robert Schwebel2019-02-201-2/+4
| | | | | | A new ptxdist release is availabe, update to 2019.02.0. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2018.12.0 → 2019.01.0Rouven Czerwinski2019-01-191-2/+4
| | | | Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-rpi: kernel: disable kernel watchdog triggeringRouven Czerwinski2019-01-101-1/+1
| | | | | | | | | "reason" says: If the bootloader has enabled the watchdog, the intention is usually to monitor the whole boot process. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
* platform-rpi: kernel: disable virtual terminalsRobert Schwebel2019-01-091-23/+1
| | | | | | | | | "reason" says: Virtual terminal support is not needed on most embedded systems. Any available displays are not uses the kernel logging or consoles. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>