summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/platforms
Commit message (Collapse)AuthorAgeFilesLines
* v7a: stm32mp: add image recipe for STM32MP135F-DKAhmad Fatoum2024-04-221-0/+13
| | | | | | | | | | | | Now, that we have TF-A, OP-TEE, barebox and kernel in-place, let's build an image that combines all of them that can be booted by writing to the SD-Card of the STM32MP135F-DK. Notably missing is Ethernet support as that's not mainline yet. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20240315211240.3016716-13-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: stm32mp: add TF-A recipe for STM32MP13Ahmad Fatoum2024-04-221-0/+12
| | | | | | | | | | | | | | | | | | | | | We have two ways of doing multi-image builds with TF-A: - STM32MP15-specific: Multiple device trees can be supplied and TF-A is built once and linked with each DT in turn. This was contributed to TF-A for DistroKit purposes, but ST broke the compatibility for STM32MP13, which requires to be built separately. - PTXdist-specific: The PTXdist rule can built multiple platforms in different build directories. This requires however that the options used are the same, except for platform. We unfortunately need to change the option between our two TF-A build though. Therefore, let's duplicate the upstream TF-A rule for the STM32MP13 and configure it for use with OP-TEE. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20240315211240.3016716-11-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: add Wifx L1 SD-Card imageAhmad Fatoum2023-04-181-0/+12
| | | | | | | | | | | | The Wifx L1 is a SAMA5D4-based LoRaWAN gateway. This commit adds first support for booting DistroKit on it from SD-Card. Default boot medium is NAND, but a bootable SD-Card always has precedence over NAND. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20230417131141.908678-6-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: blspec: convert to ptxdist default entriesMarco Felsch2023-02-1116-80/+0
| | | | | | | | | | | | | | | | | | Adding new board support always included adding a special blspec package for this new board. Most of the blspec entries are the same except for the used devicetree blob. Since the blspec-entry package is able to the add the barebox 'linux-appendroot true' option as well can move to the buildin blspec-entry creation. This lowers the burden of adding new board support since ptxdist will create a blspec entry for devicetree each listed within the platformconfig. I added the 'rootwait rw' kernel command line options since most blspec entries used these options, albeit the 'rw' support should be reconsidered. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-15-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: blspec: drop incomplete Gute Fee supportMarco Felsch2023-02-111-5/+0
| | | | | | | | | | The blspec support for the Gute Fee HW was incomplete since the actual makefile is missing as well as the devicetree, so drop the blspec boot support. Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Link: https://lore.pengutronix.de/20230210193612.2143905-13-m.felsch@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* blspec-rpi4: move menu file to platforms/Michael Olbrich2023-01-061-5/+0
| | | | | | | | | | | | | | | | | 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>
* v7a: rpi4: add boot loader spec supportAhmad Fatoum2022-10-021-0/+5
| | | | | | | | | | | We now build device trees and have a kernel capable of booting on the Raspberry Pi 4b, so generate bootloader spec entries as well. We add an entry for the Raspberry Pi 400 as well. This is untested, but isn't costly to enable. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20220930162159.814389-9-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: tf-a: switch to FIP imageAhmad Fatoum2022-09-053-0/+3
| | | | | | | | | | | We have everything in place now to switch from stm32image to FIP. This gives us upstream support for factory bootstrap via DFU and avoids the breakage on v2.8, which will be the first release removing support of the deprecated stm32image format. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20220725120445.1295669-6-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: rpi: unify rpi{2, 3, cm3}.hdimg into common rpi.hdimgOleksij Rempel2022-04-264-28/+4
| | | | | | | | | | | | | | barebox has had the ability to generate an extra image that's bootable like a kernel for a while now. With small adjustment, we can let the videocore use this image and pass it the appropriate device tree depending on the board used. Moving this decision into the VideoCore allows us to use the same image for both Raspberry Pi 2, Rasperry Pi 3 and Raspberry Pi CM3. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20220426083821.1829442-3-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: generate image for STM32MP7C-EV1Ahmad Fatoum2021-07-222-0/+16
| | | | | | | | | | | | | | The STM32MP157C-EV1 Evaluation board is the full-feature demonstration and development platform for STMicroelectronics Arm®-based dual Cortex®-A7 32 bits and Cortex®-M4 32 bits MPUs in the STM32MP1 Series. The small siblings DK1 and DK2 are already supported. Add now support for the EV1 as well, so DistroKit can be used out-of-the-box with all the official STM32MP1 development kits. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> Link: https://lore.pengutronix.de/20210722133520.17946-4-a.fatoum@pengutronix.de Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: Add support for Raspberry Pi CM3Uwe Kleine-König2021-03-152-0/+17
| | | | Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* v7a: sama5d2: generate image for Groboard Giantboard as wellAhmad Fatoum2020-11-012-0/+16
| | | | | | | Add the same bit of boilerplate we added for the EK1 to get an image generated for the giant board as well. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: generate image for sama5d27 SOM1 Evaluation KitAhmad Fatoum2020-11-012-0/+16
| | | | | | | | | | With the previous barebox and kernel changes, we can combine it with the DistroKit-v7a rootfs to get an image to boot on the sama5d27-som1-ek. Do this. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de> [rebased to master] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* v7a: barebox: add new rule for sama5d2 supportAhmad Fatoum2020-11-011-0/+8
| | | | | | | | | | | | | Later commits will have the v7a platform generate an image for Cortex-A5 based sama5d2 as well. Import here a new barebox-at91 rule that extends the barebox-common rule to provide support for the two sama5d27 boards supported by barebox: barebox-sama5d27-som1-ek.img barebox-sama5d27-som1-ek-xload-mmc.img barebox-groboards-sama5d27-giantboard.img barebox-groboards-sama5d27-giantboard-xload-mmc.img Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: images: add more helpful kconfig help textsRoland Hieber2020-09-157-7/+8
| | | | Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* v7a: generate image for Linux Automation MC-1Ahmad Fatoum2020-04-272-0/+16
| | | | | | | With TF-A and barebox support added in previous commits, everything is now in place for having DistroKit generate a MC-1 rootfs image. Do so. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: add stm32mp157c-dk2 SD-Card imageAhmad Fatoum2020-03-052-0/+16
| | | | | | | | Both STM32MP BootROM and TF-A expect the subsequent bootloader stage to come from a GPT partition when booting from SD-Card. Add a genimage config that describes this. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: barebox: add new stm32mp ruleAhmad Fatoum2020-03-051-0/+8
| | | | | | | | | | | | Since v2019.12.0, barebox now has SD/MMC and Ethernet support for the STM32MP1. Thus there is nothing holding us back from extending DistroKit's v7a platform to support the SoC. Add a barebox-stm32mp rule as first step. The barebox rule add here is only meant as second-stage bootloader (SSBL). First-stage (FSBL) will be TF-A introduced in a later patch. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* platform-v7a: add support for Nitrogen6 MAXMichael Olbrich2019-09-191-0/+5
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* v7a: bareboxes: use shared settings from the barebox-common packageRoland Hieber2019-06-055-27/+5
| | | | | | | | | | | As implemented in the previous commit, the barebox version and MD5 can be reduced to one entry in the menu. Also do the same for the host-lzop dependency, which will be needed for every barebox package when using the common reference config. Be sure to depend on the new barebox-common package so the barebox packages are rebuilt when the version and MD5 variables change. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: barebox-common: add a common reference config for all barebox variantsRoland Hieber2019-06-051-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This package serves multiple purposes: * Make the barebox version and MD5 for all used barebox variants configurable with just one menu entry. * Have a common barebox configuration with a baseline feature set, which can be used by all barebox-* variants as a reference config with the config diff functionality introduced in PTXdist 2019.01.0. The common config is currently based on ARCH_BCM283X, which seems to generate the smallest config diff for all the existing device-specific barebox configs (which will be adapted in the next commits). The new barebox-common package only exists for the ability to call "ptxdist menuconfig" on it in order to change the common config. It isn't meant to build or install anything, so the compile, install and targetinstall stages can be no-ops. Also make sure that the menu entry for the common configuration is listed before all other barebox variants by naming the kconfig file appriopriately. Since the barebox-common config uses LZO image compression, depend on host-lzop too. Then configure it to use the version which is currently used for all other variants in the v7a platform. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* v7a: remove unused barebox_mlo menu entryRoland Hieber2019-06-051-45/+0
| | | | | | There is no corresponding make file, and the package is not selected. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* platform-v7a: barebox: add dependency to LZOP toolsJuergen Borleis2019-05-201-0/+1
| | | | | | | | | | | | | | Since commit 2532fa8e1faf66f5ee0dc52a5deafaba74a96562 "platform-v7a: barebox: use reworked vexpress patches" the bootloader gets compressed via 'lzop' tools. Due to the missing dependency to these build host tools, building this bootloader fails sporadically, depending on the build order. This change adds the explicit dependency to these 'lzop' tools to have it available when used. Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
* add RPI3 SupportRouven Czerwinski2018-12-172-0/+17
| | | | Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
* platform-v7a: add support for Boundary Devices Nitrogen6x boardRoland Hieber2017-08-241-0/+5
| | | | | | | Build its devicetree and add a bootloader entry. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: udoo neo: add board supportSascha Hauer2017-07-042-0/+15
| | | | | | | Add missing select to BAREBOX_MX6 We need root.ext2, select it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* platform-v7a: rpi2: add bareboxSascha Hauer2017-07-041-0/+12
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* platform-v7a: vexpress: add board supportRouven Czerwinski2017-07-033-0/+25
| | | | | | | | | | | | | | | | | Add support for Versatile Express, with the configs+rules for image creation and bootspec entries. Note that vexpress in qemu can currently only boot from nor, so we put the bootloader, environment and boot state there and the rest of the system into mmc. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> [add vexpress.conf] Signed-off-by: Chris Fiege <c.fiege@pengutronix.de> [improve commit description] [split from vexpress patches] [fix and cleanupimage generation] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: vexpress: add bareboxRouven Czerwinski2017-07-021-0/+7
| | | | | | | | | | Add support for barebox for the Versatile Express architecture. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> [improve commit message] [split from riotboard patches] [oldconfig barebox config to 2017.06.0] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: riotboard: add board supportRouven Czerwinski2017-06-302-0/+15
| | | | | | | | | Add support for RIoTboard, with the configs+rules for image creation and bootspec entries. Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> [improve commit description, split from vexpress patches] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: sabrelite: add board supportSascha Hauer2017-06-302-0/+15
| | | | | | | | | Add support for SabreLite, with the configs+rules for image creation and bootspec entries. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> [improve commit description] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: Gute Fee: add board supportSascha Hauer2017-06-301-0/+13
| | | | | | | | | Re-add support for Gute Fee, with the configs+rules for image creation and bootspec entries. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> [improve commit description] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: beaglebone: add board supportSascha Hauer2017-06-301-0/+13
| | | | | | | | | Re-add support for beaglebone-white and beaglebone-black, with the configs+rules for image creation and bootspec entries. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> [improve commit description] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: barebox: add mx6 bareboxSascha Hauer2017-06-301-0/+7
| | | | | | | | Add support for barebox for the i.MX6 architecture. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> [improve commit message, remove reference to Udoo Neo] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: barebox: re-add am335x bareboxSascha Hauer2017-06-301-0/+20
| | | | | | | | This re-adds barebox for all supported am335x hardware. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> [improve commit message] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: barebox: re-add am335x barebox-mloSascha Hauer2017-06-301-0/+7
| | | | | | | | This re-adds barebox-mlo for all supported am335x hardware. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> [improve commit message] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: remove old barebox and imagesSascha Hauer2017-06-302-42/+0
| | | | | | | | | We will split up the image generation into one image per target hardware in subsequent patches. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> [improved commit message] Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* WIP: platform-v7a: add support for afi-gfRobert Schwebel2017-01-062-0/+25
| | | | | | * not tested yet Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-beaglebone: rename to platform-v7aRobert Schwebel2016-07-266-0/+102
In the meantime, in addition to beaglebone, this platform supports the other ARMv7 based boards (rpi2, vexpress), so rename it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>