summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* v7a: images: stm32mp: remove cargo-culted partition-type in GPT configAhmad Fatoum2020-06-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | partition-type is specific to DOS partitions. The counterpart for GPT partitions would be partition-type-uuid, which already defaults to "L", which is ok for our purposes. So far, this didn't have an impact, but starting with genimage v13, commit 013b22f26b73 ("Add support for Hybrid MBR partitions"), support for a partition-type key in a GPT partition was introduced: Using this option with a GPT partition table will create a hybrid MBR partition table with a maximum of 3 partition entries(this limit does not effect the maximum number of GPT partition entries in the same image). The ARM TF-A can't cope with this new format and fails to boot barebox with a "ERROR: Partition ssbl not found" message. Drop partition-type to prevent the ptxdist 2020.06.0 upgrade that includes host-genimage v13 from breaking the stm32mp157c-dk2 and lxa-mc1 images. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: lxa-mc1: migrate loglevel to barebox environment variableAhmad Fatoum2020-06-032-1/+2
| | | | | | | | | | | The MC-1 is the only supported board that configures loglevel via bootspec and not via barebox environment. For symmetry and because internal CI checks for it, migrate the loglevel to the environment. This also affects the stm32mp157c-dk2 target, which is fine. No one minds shorter boot times. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: barebox: stm32mp: enable sha1sum commandAhmad Fatoum2020-06-032-6/+4
| | | | | | | | The barebox images for all v7a boards (e.g. rpi3, bbb) have this already enabled. For symmetry with them and because internal CI checks for it, enable the command. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: barebox: stm32mp: enable barebox-state supportAhmad Fatoum2020-06-032-6/+5
| | | | | | | | The barebox images for all v7a boards (e.g. rpi3, bbb) have this already enabled. For symmetry with them and because internal CI checks for it, enable state support. Signed-off-by: Ahmad Fatoum <a.fatoum@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>
* v7a: generate image for Linux Automation MC-1Ahmad Fatoum2020-04-276-0/+95
| | | | | | | 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: barebox: add support for Linux Automation MC-1Ahmad Fatoum2020-04-2717-17/+937
| | | | | | | | | | | | | This adds barebox support for the Linux Automation GmbH MC-1 board built around the Octavo Systems OSD32MP157C-512M SiP. The patches have been posted[1] upstream, but are not yet accepted. It's however expected for them to be part of barebox v2020.06.0, at which time we can drop the patchset again. [1]: https://lists.infradead.org/pipermail/barebox/2020-April/041653.html Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: stm32mp: add Linux Automation MC-1 device treeAhmad Fatoum2020-04-273-2/+593
| | | | | | | | | | | The device tree is based on the one in linux-stm32/stm32-next, which will probably be merged for Linux v5.8-rc1. Instead of waiting that long, we import it here with some stuff removed/changed, so it's usable without the prerequisite patches. We can drop them again, when we upgrade to v5.8-rc1. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: kernel: configure for MC-1Ahmad Fatoum2020-04-271-4/+4
| | | | | | | | | | | | Our current kernel config already supports one STM32MP board, but we have some HW on the MC-1, that the DK-2 lacks, namely a KSZ9031 PHY, an EEPROM in the SiP and PWM LEDs. We also got a display controller, but in interest of keeping kernel code size down, enabling DRM and associated drivers is left to a ptxdist layer specific to the MC-1. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: tf-a: add support for Linux Automation MC-1Ahmad Fatoum2020-04-263-1/+416
| | | | | | | | | | | | | The MC-1 can boot from SD-Card with the DK2 TF-A, but for use in production, it's meant to boot from eMMC. Patch in the MC-1 device tree, which enables the appropriate SDMMC controller. RAM timings are those of the DK-2, which have worked so far, but should be reconsidered prior to upstreaming. [Note: eMMC boot doesn't yet work, presumably due to hardware issues.] Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: tf-a: version bump v2.2 -> v2.3Ahmad Fatoum2020-04-261-3/+3
| | | | | | | | | | | | | | TF-A v2.3 brings in support for multi-image STM32MP1 builds, which means less boilerplate for us, because we can build images for multiple STM32MP1 boards at once with the same rule. We want to do this in the follow-up commit, so bump the version now. With this update, all boot device drivers are disabled by default. We can afford continuing to waste a few kilobytes in the first stage bootloader and in the future, we might want to support boards that don't boot from SDMMC anyway, so just (re-)enable all of them. Signed-off-by: Ahmad Fatoum <a.fatoum@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>
* platform-v7a: kernel: enable USB support for i'MX6Oleksij Rempel2020-04-251-2/+3
| | | | | | tested on RIoTBoard Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* platform-v7a: sabrelite: add missing linux-appendroot to the bootloader spec ↵Michael Olbrich2020-04-241-0/+1
| | | | | | | | entry All other boards have it. And booting fails without it. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* v7a: barebox: version bump 2020.02.0 -> 2020.04.0Ahmad Fatoum2020-04-1517-431/+104
| | | | | | | | | This lets us drop the am335x USB fixes, because they were already in the v2020.03.0 release. Only new enabled config option is CONFIG_USB_GADGET_FASTBOOT_CMD_OEM, which was non-configurable before. Marking it as enabled avoid a regression for people using `fastboot oem exec` Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* platform-v7a: run: use security_model=mapped-file when possibleMichael Olbrich2020-04-091-3/+9
| | | | | | | | PTXdist can now provide the necessary metadata files for security_model=mapped-file. With this enabled, the rootfs on 9p has the correct ownership and permissions. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* ptxd_make_nfsd_exec: sync with upstreamMichael Olbrich2020-04-091-2/+8
| | | | Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
* platform-v7a: enable NEON based AES implementation if NEON is enabledRobert Schwebel2020-04-031-2/+3
| | | | Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: enable NEON supportRobert Schwebel2020-04-031-1/+11
| | | | | | NEON was switched off, while ARMv7 has support for it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: disable unused featuresRobert Schwebel2020-04-031-5/+2
| | | | | | Disable cpu isolation and cpu hotplug. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: disable CONFIG_ARM_THUMBEERobert Schwebel2020-04-031-1/+1
| | | | | | Disable thumbee extension. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: version bump 5.5 -> 5.6.2Robert Schwebel2020-04-032-20/+49
| | | | | | A new kernel is out, update all 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>
* platform-v7a: kernel: enable usb support for BeagleBone BlackOleksij Rempel2020-03-091-2/+3
| | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* platform-v7a: kernel: enable SMSC_PHYOleksij Rempel2020-03-091-1/+1
| | | | | | this PHY is used on BeagleBone Black Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* remove more references to nonexisting CREDITS fileRoland Hieber2020-03-093-6/+0
| | | | | | Fixes: 3dd5c0fe34cee8ebbcdd ("rules: remove CREDIT lines") Fixes: 3bce747e47170b219334 ("v7a: add stm32mp157c-dk2 SD-Card image") Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* platform-v7a: kernel: disable DEBUG_GPIOOleksij Rempel2020-03-061-1/+1
| | | | | | | | | | | | | | | | | | | it is useful only for development of kernel gpio controller and produces lots of dbug messages on each kernel boot: [ 0.210511] gpio gpiochip0: (209c000.gpio): created GPIO range 18->18 ==> 20e0000.iomuxc PIN 184->184 [ 0.210527] gpio gpiochip0: (209c000.gpio): created GPIO range 19->19 ==> 20e0000.iomuxc PIN 187->187 [ 0.210545] gpio gpiochip0: (209c000.gpio): created GPIO range 20->20 ==> 20e0000.iomuxc PIN 183->183 [ 0.210561] gpio gpiochip0: (209c000.gpio): created GPIO range 21->21 ==> 20e0000.iomuxc PIN 188->188 [ 0.210578] gpio gpiochip0: (209c000.gpio): created GPIO range 22->24 ==> 20e0000.iomuxc PIN 123->125 [ 0.210597] gpio gpiochip0: (209c000.gpio): created GPIO range 25->25 ==> 20e0000.iomuxc PIN 121->121 Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* platform-v7a: kernel: enable AT803X_PHYOleksij Rempel2020-03-061-1/+1
| | | | | | It is used on RIoTBoard and MarS Board Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* rules: remove CREDIT linesRoland Hieber2020-03-0518-36/+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>
* v7a: add stm32mp157c-dk2 SD-Card imageAhmad Fatoum2020-03-057-1/+130
| | | | | | | | 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: stm32mp: enable TF-A for first stageAhmad Fatoum2020-03-051-1/+17
| | | | | | | The STM32MP uses TF-A as first stage boot loader. Configure it appropriately for use. Signed-off-by: Ahmad Fatoum <a.fatoum@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
* v7a: barebox: add new stm32mp ruleAhmad Fatoum2020-03-056-0/+1053
| | | | | | | | | | | | 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>
* v7a: kernel: configure for STM32MP157 supportAhmad Fatoum2020-03-051-8/+73
| | | | | | | | | | The STM32MP157 is an ARM SoC from STMicro with 2x Cortex-A7 cores as well a Cortex-M MCU. Amend kernel configuration to support this SoC as well as main peripherals used on the STM32MP157C-DK2 SBC. For now, only driver for the non-video HW components are enabled. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: barebox: fix regression in AM335x USBAhmad Fatoum2020-03-0514-10/+381
| | | | | | | | | | | | | | | Kernel commit 0782e8572c ("ARM: dts: Probe am335x musb with ti-sysc") which barebox pulled in during the v2020.02.0 dts/ sync moved the USB nodes to be under a ti-sysc bus instead of ti,am33xx-usb. This broke am335x USB under barebox, because the MUSB drivers couldn't cope with the now different device probe order. Import the two patches fixing this out of barebox master branch. These can be dropped when moving to barebox v2020.03.0. Fixes: 1d84e5419f50 ("v7a: barebox: version bump 2020.01.0 -> 2020.02.0") Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* v7a: barebox: version bump 2020.01.0 -> 2020.02.0Ahmad Fatoum2020-02-1929-3596/+19
| | | | | | | | | | | | | | | | | | | | | barebox v2020.02.0 has just been released. Drop the now upstream rpi patches, oldconfig the configs and use it. As seen in the config diffs, two of our configuration options have changed with this release: CONFIG_CLOCKSOURCE_ARMV8_TIMER=y: barebox support for ARMv7 (and ARMv8) architected timers on >= ARMv7 has now been reenabled. This should improve clocksource accuracy on the rpi3 and vexpress. The name will be changed to indicate that it's not ARMv8 specific in v2020.03.0. CONFIG_DEFAULT_ENVIRONMENT=n in am335x-mlo: This symbol became selectable even without CONFIG_ENV_HANDLING. We didn't use the environment before for this configuration, so we probably don't want to start now, so this is left disabled. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* 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-83/+104
| | | | | | 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>
* platform-v7a: barebox: version bump 2019.12.0 -> 2020.01.0Ahmad Fatoum2020-01-1430-59/+70
| | | | | | | barebox v2020.01.0 has just been released. Rebase the patch stack, oldconfig the configs and use it. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
* platform-v7a: Add barebox patchstackSascha Hauer2020-01-0828-10/+3602
| | | | | | | | This adds a barebox patchstack which is needed for the rasperrypi which otherwise issues several warnings during boot. While at it add DWC2 USB support as well to finally get networking support for the raspberrypi. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* barebox-rpi2: Update configSascha Hauer2020-01-082-55/+61
| | | | | | | | | | | | | | | Enable more features and clean up: - Enable DWC2 USB controller support - Enable Networking - Compile in thumb2 mode - Disable unused USB gadget support - Set malloc area size to 0x0 to let barebox autoconfigure memory size - Disable unused I2C support - Disable unused EHCI driver - Enable raspberrypi EXP GPIO driver Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* platform-v7a: barebox: version bump 2019.11.0 -> 2019.12.0DistroKit-2019.12.0Sascha Hauer2019-12-2013-52/+23
| | | | | | Use the latest and greatest. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ptxdist: migrate 2019.11.0 -> 2019.12.0 with defaultsRoland Hieber2019-12-101-8/+5
| | | | Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* kernel: version bump 5.3 -> 5.4Robert Schwebel2019-11-252-27/+35
| | | | | | Linux 5.4 is out, update the kernel on all platforms. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* barebox: add upstream patch for MMC2 clockRobert Schwebel2019-11-114-1/+42
| | | | | | | Without this patch, barebox-2019.11.0 doesn't boot. Reported-by: Roland Hieber <r.hieber@pengutronix.de> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v7a: barebox: version bump 2019.10.0 -> 2019.11.0Robert Schwebel2019-11-1111-20/+94
| | | | | | A new barebox version is out, use it. 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>