summaryrefslogtreecommitdiffstats
path: root/configs/platform-v8a/platformconfig
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* v8a: rockchip: add new barebox-rockchip ruleJohannes Zink2022-09-061-0/+4
| | | | | | | | | | Add a new barebox-rockchip rule that builds a binary capable of booting on the Radxa ROCK 3A SBC. 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-16-m.tretter@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: rockchip: add rule for rockchip firmwareJohannes Zink2022-09-061-0/+6
| | | | | | | | | | | | | | | There are prebuilt binaries by Rockchip for SDRAM configuration of the board we use. Add a rule to download them off Github. This rule also downloads BL31 (TF-A) and BL32 (OP-TEE) binaries, which we will eventually compile from source. However, as of now, Rockchip did not release the source code and we have to use use the prebuilt binaries. Any board specific setup we need will happen within Barebox. 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-15-m.tretter@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v8a: kernel: version bump v5.15 -> v5.19Johannes Zink2022-09-061-2/+2
| | | | | | | 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-2-m.tretter@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* ptxdist: version bump 2022.05.0 -> 2022.07.0Johannes Zink2022-07-061-2/+2
| | | | | | | | 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/+2
| | | | | | 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/+6
| | | | | | 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-v8a: kernel: version bump 5.14 -> 5.15Robert Schwebel2021-12-071-2/+2
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v8a: don't use paths for device treesRobert Schwebel2021-11-261-2/+2
| | | | | | | | | | | | | | | | Since ptxdist commit f50cd1449e9347309b1050b0b738882dac1954e9, there is a check that makes sure that devicetrees are separated from their paths. Unfortunately for arm64, devicetrees live in vendor subtrees, so we get this error: ptxdist: error: DistroKit/ptxdist/rules/kernel.make: the device trees in PTXCONF_KERNEL_DTS must be specified without ptxdist: error: DistroKit/ptxdist/rules/kernel.make: directory. Use PTXCONF_KERNEL_DTS_PATH to provide a list of direcories ptxdist: error: DistroKit/ptxdist/rules/kernel.make: that will be searched. Workaround is to add the path componet to PTXCONF_KERNEL_DTS_PATH and inform mol to fix that up in ptxdist upstream. 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,v7a,v8a,x86_64}: kernel: version bump 5.13.4 -> 5.14Robert Schwebel2021-08-301-2/+2
| | | | | | Linus released a new kernel, so we update. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v8a: kernel: version bump 5.8.9 -> 5.13.4Robert Schwebel2021-08-241-2/+2
| | | | | | 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>
* ptxdist: migrate 2021.03.0 -> 2021.04.0Roland Hieber2021-04-231-2/+2
| | | | | | | | 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>