summaryrefslogtreecommitdiffstats
path: root/configs/platform-v8a/platformconfig
Commit message (Collapse)AuthorAgeFilesLines
* tf-a: Change download URLHEADnextmasterAlexander Dahl18 hours1-2/+2
| | | | | | | | | | | Previous URL threw 401 errors. Experiments with other paths from the same server yield no stable tarballs. GitHub tarballs are stable, have a different checksum however. Tarball content was checked to be the same (at least compared to those unstable git snapshot tarballs from the previous URL). GitHub tarball has same checksum as the one downloaded by buildroot. Signed-off-by: Alexander Dahl <ada@thorsis.com>
* v8a: update to OSELAS.Toolchain 2023.07.1Ladislav Michl40 hours1-1/+1
| | | | | | | | Use the bugfix toolchain release for v8a builds, and update the kernel config with default options. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Alexander Dahl <ada@thorsis.com>
* v8a: barebox: version bump v2023.12.0 → v2024.03.0Ahmad Fatoum2024-03-171-2/+2
| | | | | | | | | | | | | v2023.12.0 first broke i.MX8MQ support by mistake. This was fixed in v2024.03.0, so update to this version. The config changes are those of olddefconfig with the exception of CONFIG_CMD_PARTED: This command allows us to partition block devices from within the barebox shell. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20240315211240.3016716-6-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: update kernel from v6.6 → v6.8Ahmad Fatoum2024-03-171-2/+2
| | | | | | | | | | | config changes are those of olddefconfig with the notable exception of CONFIG_BLK_DEV_WRITE_MOUNTED: This is enabled by default as not to break some existing userspace, but we shouldn't have any of that, so disable it. This will cause the kernel to refuse writes to mounted block devices. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20240315211240.3016716-5-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* tf-a: update from v2.8 → v2.10Ahmad Fatoum2024-03-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | This lets us git rid of a fair number of patches we have, but in return requires us to import three patches: - Fix link error for imx8mq-evk: The image got too big with addition of DRAM retention support, so this is now disabled by default: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/27277 - Support for automatic console base detection on i.MX8MQ. This was already in our patch stack, but wasn't submitted upstream, unlike the support for i.MX8MM, i.MX8MN and i.MXP. This has been rectified: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/27278 - STM32MP1 support with SP_min as BL31 instead of OP-TEE is broken since v2.10 was first released. This is due to PMU changes that were apparently only tested on ARMv8. Fixed here: https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/27162 Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20240315211240.3016716-3-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate 2024.02.0 → 2024.03.0Ahmad Fatoum2024-03-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | This lets us make use of the updated OP-TEE packages for the incoming STM32MP13 support. Support in OP-TEE 3.20 is incomplete and will lead to a crash on boot up: I/TC: Platform stm32mp1: flavor 135F_DK - DT stm32mp135f-dk.dts I/TC: Non-secure SYSRAM [0xddfff000 0xddffffff] I/TC: DTB enables console (non-secure) I/TC: Primary CPU switching to normal world boot E/TC:0 tzc_it_handler:26 TZC permission failure E/TC:0 dump_fail_filter:420 Permission violation on filter 0 E/TC:0 dump_fail_filter:425 Violation @0xfcff7fe0, non-secure privileged write, AXI ID 420 E/TC:0 Panic at core/arch/arm/plat-stm32mp1/plat_tzc400.c:30 <tzc_it_handler> E/TC:0 TEE load address @ 0xde000000 E/TC:0 Call stack: E/TC:0 0xde00316d E/TC:0 0xde011b37 E/TC:0 0xde005245 E/TC:0 0xde011201 E/TC:0 0xde037155 E/TC:0 0xde000350 Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20240315211240.3016716-2-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate 2023.12.0 -> 2024.02.0Roland Hieber2024-03-111-12/+10
| | | | | | | | | | | | Update to the new PTXdist version with default options. Note that HOST_DTC, HOST_FLEX and HOST_M4 only vanish from the platformconfigs and are still enabled in ptxconfig. Remove our systemd patch, which is now included in systemd 255.2. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20240219121717.3507053-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: imx8m: enable image generation for TQ MBa8MPxLLeonard Göhrs2024-01-261-1/+2
| | | | | | Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> Link: https://lore.pengutronix.de/20240117133440.944800-7-l.goehrs@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* tf-a: add patch to auto-detect the correct UART on i.MX8MLeonard Göhrs2024-01-261-1/+1
| | | | | | | | | | | | | | This helps us on the TQ MBa8MPxL i.MX8MP development board, that uses a different UART for debug output than the EVKs we currently support. Other i.MX8M boards should not be affected by the IMX_BOOT_UART_BASE=auto configuration option because the automatic selection will choose the correct UART. Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de> Link: https://lore.pengutronix.de/20240117133440.944800-2-l.goehrs@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: barebox: version bump v2023.09.0 -> v2023.12.0Ahmad Fatoum2024-01-261-2/+2
| | | | | | | | | | | There's not much new features relevant to our v8a platform in this version bump, but there are a number of bug fixes, that may be relevant, like improved support for HAB on i.MX8M and reworked regulator initialization. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20240112170529.1970537-4-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2023.10.0 -> 2023.12.0DistroKit-2023.12.0Robert Schwebel2023-12-131-2/+3
| | | | | | Let's update to the latest and greatest. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: build RAUC update bundleRoland Hieber2023-12-131-1/+11
| | | | | | | | | Enable the update bundle so v8a platforms can be updated via RAUC, and put something useful in the bundle description. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20231104003525.1673736-5-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: barebox: version bump 2023.05 -> 2023.09.0Roland Hieber2023-12-131-2/+2
| | | | | | | | | | Update to the new version with default options. This also includes detection of GPT partitions with the barebox-state GUID for state backends, which we'll make use of in the next commits. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/20231104003525.1673736-2-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v8a: kernel: version bump 6.5 -> 6.6Robert Schwebel2023-10-301-2/+2
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v8a: kernel: version bump 6.4 -> 6.5Robert Schwebel2023-10-201-2/+2
| | | | | | | The 9p patches are already part of 6.5, so they don't have to be ported to the new kernel. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2023.09.0 -> 2023.10.0Robert Schwebel2023-10-201-2/+2
| | | | | | A new ptxdist version is out, update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate 2023.08.0 -> 2023.09.0Roland Hieber2023-10-201-2/+2
| | | | | | | | The usual version bump with default settings. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.pengutronix.de/distrokit/20230915150707.3977805-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* rauc: add initial supportRoland Hieber2023-09-151-1/+23
| | | | | | | | | | | | | | | | Set up RAUC with a shared system.conf that uses the /dev symlinks which the rauc-udev package creates based on the Device Tree compatible. Also add a unit file that marks the booted partition as good after systemd startup has finished successfully. The key material for signing the RAUC bundles is provided by the ptx-code-signing provider used for development, which is a build dependency of RAUC. Since we can enable RAUC in the ptxconfig for all platforms, all platforms also need a code signing provider. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230825110310.2948272-3-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: imx8m: genimage: build i.MX8M Nano SD/eMMC imageAhmad Fatoum2023-08-151-0/+1
| | | | | | | | | | Everything is in place now to actually generate an image capable of booting the i.MX8MN, so let's do it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Reviewed-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230728164933.342061-8-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: imx8m: include i.MX8MN DDR4 and LPDDR4 EVK DT in rootfsAhmad Fatoum2023-08-151-1/+1
| | | | | | | | | | | | | Now that we are building barebox for the board, enable installation of the kernel device trees, so we can boot a kernel with it. The necessary kernel options are already enabled. As DDR4 and LPDDR4 differ in the PMIC used, we enable two different device trees. barebox will choose the correct one by comparing their DT compatible against its own. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Reviewed-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230728164933.342061-7-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: imx8m: tf-a: build for i.MX8M Nano as wellAhmad Fatoum2023-08-151-1/+1
| | | | | | | | | | | | | While TF-A itself can't build multiple images in one-go, the upstream PTXdist recipe can, so configure it to build one more image for imx8mn. This will later be linked into barebox as part of booting DistroKit on the imx8mn-evk. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Reviewed-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230728164933.342061-2-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: update to OSELAS.Toolchain 2023.07Roland Hieber2023-08-151-3/+3
| | | | | | | | | Use the new toolchain release for v8a builds, and update the kernel config with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813192846.1210986-8-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: migrate 2023.07.1 -> 2023.08.0Roland Hieber2023-08-151-2/+2
| | | | | | | | Migrate to the new PTXdist release with default options. Signed-off-by: Roland Hieber <rhi@pengutronix.de> Link: https://lore.barebox.org/20230813192846.1210986-1-rhi@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2023.06.0 -> 2023.07.1Robert Schwebel2023-07-101-2/+3
| | | | | | We have an issue with ptxdist-2023.07.0, so we continue with .1. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2023.05.0 -> 2023.06.0Robert Schwebel2023-06-301-2/+2
| | | | | | A new ptxdist version is out, so we can update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: version bump 6.3 -> 6.4DistroKit-2023.06.0Robert Schwebel2023-06-291-2/+2
| | | | | | | Enable CRYPTO_SHA256_ARM on ARM with NEON extensions (suggested by reason). Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* Toolchain: version bump 2022.10.0 -> 2022.10.1Robert Schwebel2023-06-291-1/+1
| | | | | | | With Debian Bookworm, OSELAS.Toolchain-2022.10.0 doesn't work any more, switch to 2022.10.1, which has the issues being fixed. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v8a: simplify dts search pathMichael Olbrich2023-06-201-2/+2
| | | | | | | | | | support for subdirs in PTXCONF_KERNEL_DTS was added some time ago. So the long PTXCONF_KERNEL_DTS_PATH with an entry for each vendor is no longer needed. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.barebox.org/20230620132931.2179983-5-m.olbrich@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* firmware-imx: move to the correct sectionMichael Olbrich2023-06-201-4/+4
| | | | | | | | | There is a non_free_firmware section, which is exactly for packages like this. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.barebox.org/20230620132931.2179983-3-m.olbrich@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: enable initrd generationJohannes Zink2023-06-091-1/+11
| | | | | | | also generate rootfs as root.cpio.zstd, as this allows loading it as initramfs. Signed-off-by: Johannes Zink <j.zink@pengutronix.de> Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v8a: barebox: remove left-over SoC-specific rulesAhmad Fatoum2023-05-311-2/+0
| | | | | | | With the switch to the upstream rules, we have no need any longer for the SoC-specific ones, so let's drop them. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v8a: barebox: configure upstream barebox rule for both imx8m and rockchipAhmad Fatoum2023-05-311-1/+27
| | | | | | | | | | So far, we duplicated the barebox rules, so we can customize them for each of imx8m and rockchip platforms. With v2023.04.0, we can configure the same barebox build to generate binaries for both at the cost of compiling in some unused drivers (but not duplicating DT). Let's do that. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* platforms: drop no longer needed blspec-rpi4Ahmad Fatoum2023-05-311-1/+0
| | | | | | | | | | | | Now that we have commits: - 552ea42fe7aa ("v8a: blspec: switch to default blspec entry") - b7a4fe185852 ("v7a: blspec: convert to ptxdist default entries") we don't need special dedicated blspec rules anymore for v7a/v8a, so drop the last one we had left. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* dtc: Version bump 1.6.0 -> 1.7.0Uwe Kleine-König2023-05-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | This fixes a FTBFS with gcc 12 gcc -I libfdt -I . -DFDT_ASSUME_MASK=0 -DNO_VALGRIND -g -Os -fPIC -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow -DNO_YAML -o fdtoverlay.o -c fdtoverlay.c In file included from fdtdump.c:14: In function 'fdt_set_magic', inlined from 'main' at fdtdump.c:220:3: libfdt/libfdt.h:251:28: error: array subscript 'struct fdt_header[0]' is partly outside array bounds of 'unsigned char[4]' [-Werror=array-bounds] 251 | fdth->name = cpu_to_fdt32(val); \ | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ libfdt/libfdt.h:253:1: note: in expansion of macro 'fdt_set_hdr_' 253 | fdt_set_hdr_(magic); | ^~~~~~~~~~~~ fdtdump.c: In function 'main': fdtdump.c:216:31: note: object 'smagic' of size 4 216 | unsigned char smagic[FDT_MAGIC_SIZE]; | ^~~~~~ cc1: all warnings being treated as errors Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* ptxdist: version bump 2023.04.0 -> 2023.05.0Michael Olbrich2023-05-081-2/+3
| | | | | | | | | - all changes in rules/at91bootstrap2.make and rules/host-qemu.make are now upstream. - update configs/platform-mipsel/rules/host-qemu.make to the latest version from upstream. It still has local changes for mips. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* linux: version bump 6.2 -> 6.3Robert Schwebel2023-04-241-2/+2
| | | | | | A new kernel is out, so we update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2023.03.0 -> 2023.04.0Robert Schwebel2023-04-081-2/+2
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2023.02.0 -> 2023.03.0Robert Schwebel2023-03-281-2/+2
| | | | | | A new ptxdist version is out, update the configs. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v8a: kernel: version bump 5.17 -> 6.2Robert Schwebel2023-02-201-2/+2
| | | | | | It has been a while but here is a version bump. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.12.0 -> 2023.02.0Robert Schwebel2023-02-161-2/+2
| | | | | | Some new ptxdist versions are out, so we bump to 2023.02.0. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: blspec: switch to default blspec entryMarco Felsch2023-02-111-6/+5
| | | | | | | | | | | | | | PTXdist will create a blspec config for each specified devicetree. Since this mechanism supports the 'linux-appendroot true' feature now we can use it to generate all blspecs entries, so seperate blspec packages for each platform are not longer needed. Enable this mechanism for all supported v8a platforms and remove the dedicated packages execpt for the RPi. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-12-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: barebox-imx8m: fix firmware-imx dependenciesMarco Felsch2023-02-111-1/+1
| | | | | | | | Select the required sub-option so the required binaries are installed. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-7-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: replace imx-atf with tf-aMarco Felsch2023-02-111-1/+0
| | | | | | | | | Replace the downstream imx-atf version with the most recent upstream version already used by the v7a platform. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-4-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: tf-a: enable packageMarco Felsch2023-02-111-1/+18
| | | | | | | | | Enable the upstream tf-a support which will replace the imx-atf later on. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-3-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* blspec-rpi4: move menu file to platforms/Michael Olbrich2023-01-061-0/+1
| | | | | | | | | | | | | | | | | The rule file is toplevel in rules/ so without this "ptxdist lint" reports for all other platforms: [...] Checking kconfig symbols in rule files ... Undefined symbol PTXCONF_BLSPEC_RPI4 used in 'DistroKit/rules/blspec-rpi4.make'. [...] Add some dependencies so it can only be selected on platforms where it makes sense and disable it on v8a for now. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> Link: https://lore.pengutronix.de/20230106113946.1775158-1-m.olbrich@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.11.0 -> 2022.12.0Robert Schwebel2022-12-031-2/+2
| | | | | | A new ptxdist version is out, so we can migrate. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* toolchain: version bump 2020.08 -> 2022.10Robert Schwebel2022-11-281-3/+3
| | | | | | | Now that OSELAS.Toolchain-2022.10, with gcc-12.2.1 and glibc-2.36 is out, move to the new toolchain. Signed-off-by: Robert Schwebel <r.schwebel@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>
* v8a: rockchip: add Radxa Rock 3A image and blspec entryJohannes Zink2022-09-061-2/+4
| | | | | | | | | | Now that we have kernel, barebox and firmware in place, add rules for building a bootspec-enabled image that's bootable on the Radxa ROCK-3A. Signed-off-by: Johannes Zink <j.zink@pengutronix.de> Signed-off-by: Michael Tretter <m.tretter@pengutronix.de> Link: https://lore.pengutronix.de/20220905163615.2807729-17-m.tretter@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>