summaryrefslogtreecommitdiffstats
path: root/configs/platform-rpi
Commit message (Collapse)AuthorAgeFilesLines
* rpi: rename platform to rpi1Roland Hieber2022-11-2322-4982/+0
| | | | | | | | | Make it clear that this platform is really only used for the legacy ARMv6-based RPi 1 boards, so that there is no confusion when trying to use it for RPi 2 or later, even for people who don't read the documentation. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: migrate to 2022.11.0Roland Hieber2022-11-231-3/+4
| | | | | | | | | Migrate all platforms to the new release with default options. util-linux-ng has been replaced by util-linux, and the options are sorted differently, but there is no change in enabled options. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2022.07.0 -> 2022.09.0Robert Schwebel2022-09-291-2/+2
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.05.0 -> 2022.07.0Johannes Zink2022-07-061-2/+3
| | | | | | | | A new ptxdist version is out, update. Signed-off-by: Johannes Zink <j.zink@pengutronix.de> Link: https://lore.pengutronix.de/20220705084150.3272186-1-j.zink@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.04.0 -> 2022.05.0Robert Schwebel2022-05-061-2/+2
| | | | | | A new ptxdist version is out, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.03.0 -> 2022.04.0Robert Schwebel2022-04-091-2/+2
| | | | | | A new ptxdist version is out, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.02.0 -> 2022.0.0Robert Schwebel2022-03-221-3/+6
| | | | | | A new ptxdist version is out, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.01.0 -> 2022.02.0Robert Schwebel2022-03-011-2/+9
| | | | | | A new ptxdist version is out, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2021.12.0 -> 2022.01.0Robert Schwebel2022-01-221-2/+3
| | | | | | Update to the latest ptxdist release. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2021.11.0 -> 2021.12.0Robert Schwebel2021-12-091-2/+3
| | | | | | | | | | A new ptxdist version has been released, update. ptxdist-2021.12.0 has genimage-15 which has a strikter check for partitions that overlay: specify holes in the barebox partition that allow to overlap with MBR. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: version bump 5.14 -> 5.15Robert Schwebel2021-12-072-35/+56
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2021.06.0 -> 2021.11.0Robert Schwebel2021-11-241-7/+7
| | | | | | | We missed some ptxdist updates, so it might be a good time to catch up now. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: enable CONFIG_CRYPTO_SHA512_ARMRobert Schwebel2021-08-301-1/+1
| | | | | | Enable ARM optimized SHA512 implementation. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-{rpi,v7a,v8a,x86_64}: kernel: version bump 5.13.4 -> 5.14Robert Schwebel2021-08-302-14/+34
| | | | | | Linus released a new kernel, so we update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-x86_64, v8a, rpi: kernel: disable mandatory file lockingRobert Schwebel2021-08-261-1/+1
| | | | | | Mandatory File Locking is discouraged by upstream kernel developers. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-rpi: kernel: version bump 5.8.9 -> 5.13.4Robert Schwebel2021-08-242-129/+225
| | | | | | We forgot some kernel updates. Do it now. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate 2021.04.0 -> 2021.06.0Roland Hieber2021-06-201-2/+2
| | | | | | | | Migrate all platforms with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20210620180725.5193-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* barebox: set barebox build sytem versionRoland Hieber2021-04-231-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Barebox v2020.11.0, the build system supports a configurable version string that is baked into the barebox image, see the following upstream barebox commits: * commit 98c221e3fad57f271d60 (2020-09-23, "Makefile: add buildsystem version variable") * commit c7dcac9de597f006fdc8 (2020-09-23, "common: print buildsystem version in barebox banner") * commit c600d8812e9f3b98591a (2020-09-23, "common: globalvar: add variable for buildsystem_version_string") * commit 01b53d3b728073996e7e (2020-09-23, "imd: add buildsystem version to metadata") Set that version string to the Git hash so we can always find out from which DistroKit version a barebox-in-the-wild was built. (Even if we don't use barebox >= v2020.11.0 on all platforms yet, future barebox updates will benefit from this change.) For mips, we use the upstream barebox rule, which takes the version string from the platformconfig. For all other platforms, this change effectively ports the following commit from PTXdist 2021.04.0: | commit f5500c922424ee71dd99e80f743ed6d994e5bca6 | Author: Steffen Trumtrar <s.trumtrar@pengutronix.de> | Date: 2021-04-01 10:36:41 | | rules: barebox: support barebox buildsystem_version | | barebox supports setting a buildsystem version. This is useful to have | an exact buildsystem version like a commit hash accessible from barebox. | | Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> | Message-Id: <20210401083641.9251-2-s.trumtrar@pengutronix.de> | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://git.pengutronix.de/cgit/barebox/commit/?id=98c221e3fad57f271d60 Link: https://git.pengutronix.de/cgit/barebox/commit/?id=c7dcac9de597f006fdc8 Link: https://git.pengutronix.de/cgit/barebox/commit/?id=c600d8812e9f3b98591a Link: https://git.pengutronix.de/cgit/barebox/commit/?id=01b53d3b728073996e7e Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=f5500c922424ee71dd99 Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate 2021.03.0 -> 2021.04.0Roland Hieber2021-04-231-2/+3
| | | | | | | | Migrate with default settings to the new PTXdist version, which was released today. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platforms: enable more toolchain hardening optionsRobert Schwebel2021-03-151-1/+1
| | | | | | It is recommended to enable these options. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate to 2021.03.0Roland Hieber2021-03-151-2/+2
| | | | | | New version came out today, but the diff is uneventful. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2021.01.0 -> 2021.02.0Roland Hieber2021-02-091-2/+18
| | | | | | | A new PTXdist version was released last week, which also includes a kconfig update from v5.1 to v5.11-rc3. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* ptxdist: version bump 2020.09.0 -> 2021.01.0Robert Schwebel2021-02-021-2/+2
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* rpi: image-boot-vfat: remove unused variablesRoland Hieber2021-02-011-3/+1
| | | | | | | | | | | | The variables HEADER and START were apparently meant to be used as replacements in configs/platform-rpi/config/images/boot-vfat.config, but they are not used nowhere Furthermore, HEADER referenced a non-existent file, START used the non-existing Kconfig symbol IMAGE_BOOT_VFAT_START, and was not layer-aware by using PTXDIST_PLATFORMCONFIGDIR, and start.elf is also already referenced in FILES. Reviewed-by: Michael Olbrich <m.olbrich@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* rpi: barebox: make BAREBOX_EXTRA_ENV_PATH layer-awareRoland Hieber2021-02-011-1/+1
| | | | | | | | | | Since PTXdist commit 41cb4d9f9287d85ae11b (2018-07-24, Michael Olbrich: "barebox: support layers with BAREBOX_EXTRA_ENV_PATH"), this path is layer-aware and resolved relative to the platformconfig directory. Reviewed-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=41cb4d9f9287d85ae11b Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* 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>