summaryrefslogtreecommitdiffstats
path: root/configs
Commit message (Collapse)AuthorAgeFilesLines
* 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-085-22/+17
| | | | | | A new ptxdist version is out, update DistroKit. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* MIPS: kernel: malta: remove flash partition tableOleksij Rempel2020-04-282-1/+47
| | | | | | it should be provided by the bootloader Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: platform: make sure KERNEL_LZOP is enabledOleksij Rempel2020-04-282-0/+2
| | | | | | Without prompt we can't enable it. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: use LZO compressionOleksij Rempel2020-04-285-8/+8
| | | | | | With LZO we need 1 second less of boot time. Signed-off-by: Oleksij Rempel <o.rempel@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-265-13/+23
| | | | | | | | | 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>
* MIPS: regenerate kernel configOleksij Rempel2020-04-245-12/+2
| | | | | | BSP kernel make files was changed. Now we can regenerate kernel configs Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: enable HARDEN_STACKCLASHOleksij Rempel2020-04-241-1/+1
| | | | | | | | | | | | | | | | Generate code to prevent stack clash style attacks. When this option is enabled, the compiler will only allocate one page of stack space at a time and each page is accessed immediately after allocation. Thus, it prevents allocations from jumping over any stack guard page provided by the operating system. Most targets do not fully support stack clash protection. However, on those targets -fstack-clash-protection will protect dynamic stack allocations. -fstack-clash-protection may also provide limited protection for static stack allocations if the target supports -fstack-check=specific. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: enable GLIBCXX_ASSERTIONOleksij Rempel2020-04-241-1/+1
| | | | | | | | Tis enables extra error checking in the form of precondition assertions, such as bounds checking in strings and null pointer checks when dereferencing smart pointers. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: malta: fix qemu run scriptOleksij Rempel2020-04-241-1/+1
| | | | | | We have separate kernel images for different HW. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: malta: disable SYSTEM_TRUSTED_KEYRING and WiFI supportOleksij Rempel2020-04-242-192/+7
| | | | | | It is an QEMU system. This options are currently not needed Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: malta: disable unused name spaces.Oleksij Rempel2020-04-242-6/+3
| | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: malta: disable unused functions CPU_ISOLATION and CONNECTOROleksij Rempel2020-04-242-6/+3
| | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: malta: enable PREEMPT supportOleksij Rempel2020-04-244-23/+11
| | | | | | | The typical embedded use-cases are more sensitive to latency than throughput. Thus a fully preemptible kernel is preferred. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: malta: disable devmem supportOleksij Rempel2020-04-242-2/+1
| | | | | | It is not possible to enable strict devmem on this platform Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: malta: disable dummy driverOleksij Rempel2020-04-242-2/+1
| | | | | | This driver is not used. Disable it. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: enable EXT4 and VFAT FS supportOleksij Rempel2020-04-245-105/+146
| | | | | | Sync EXT4 and VFAT support with ARM platforms Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: enable CPU_IDLE supportOleksij Rempel2020-04-245-5/+32
| | | | | | | Power management is tricky can be a source of different issues. It should be tested and fixed as early as possible. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: enable USB supportOleksij Rempel2020-04-244-92/+339
| | | | | | | All currently supported ARM platforms provide USB support. Enable USB on MIPS, to make it consistent with other platforms. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: enable i2c supportOleksij Rempel2020-04-245-9/+723
| | | | | | We have I2C support on all ARM platforms. Enable it for MIPS as well. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* MIPS: kernel: keep the config files stableMichael Olbrich2020-04-243-0/+12
| | | | | | | | | | | | | | This is basically the same as the ptxdist upstream commit c065184961ab1973c304ee31347205569b4f7536 ("kernel: add workaround to keep kernelconfigs stable") With linux-4.19 and gcc-8.x oldconfig will prompt for extra options that are not available with e.g. gcc-7.x. This causes problems when a BSP is built with different host compilers. Add a workaround to optionally disable these extra options by forcing the compiler check to fail. Signed-off-by: Michael Olbrich <m.olbrich@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-0314-135/+306
| | | | | | A new kernel is out, update all platforms. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* platform-v8a: disable unused featuresRobert Schwebel2020-04-021-5/+2
| | | | | | | HOTPLUG_CPU and CPU_ISOLATION were enabled by accident, disable. Patch inspired by 'reason'. 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-275-10/+14
| | | | | | 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-0523-46/+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>