summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* ptxd_install_replace_figlet: remove redundant backportRoland Hieber2020-03-091-57/+0
| | | | | | | | | The fix went upstream in PTXdist 2018.10.0 with commit 43bd490bdfd1 ("ptxd_install_replace_figlet: replace all backslashes, not only the first"), so our backport is no longer necessary, and also has no relevant diff to the upstream version. 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>
* scripts/p-all: automatically build all available platformsUwe Kleine-König2020-03-051-3/+3
| | | | | | | | | Instead of hardcoding the available platforms build for all actually existing platformconfigs. Effectively this adds mips. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
* rules: remove CREDIT linesRoland Hieber2020-03-0524-48/+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>
* datapartition: disable autoformat of non-MBR Linux partitionsAhmad Fatoum2020-03-051-1/+1
| | | | | | | | | | | | | | | | The upcoming STM32MP157C-DK2 board will be the first DistroKit board with a GPT based image and it has barebox as partition 3, unlike the other boards where this is always the data partition. This causes the data partition rule to brick the image by overwriting barebox. As a temporary measure, disable the data partition auto formatting on GPT-images by explicitly checking for partition type 0x83 before starting the service. Eventually we might want to match against a UUID before autoformatting, or create the partition anew altogether. 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-055-0/+265
| | | | | | | | | | | | | | | 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>
* MIPS: ptxdist: version bump 2020.01.0 -> 2020.02.0Oleksij Rempel2020-03-051-2/+2
| | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* projectroot: remove leftover urshd systemd service unit fileAhmad Fatoum2020-02-191-10/+0
| | | | | | | | | | | | | The PTXCONF_URSHD and PTXCONF_URSHD_SYSTEMD_UNIT options were disabled in cb563ef79 ("ptxconfig: reduce active components"), so no one is installing this file anymore. Drop it. Should it be needed in future, the same file is part of the upstream ptxdist rule since 900dfe2cbb8 ("telnetd/urshd: start only with ptxdist-devel in the kernel command line"). Fixes: cb563ef79 ("ptxconfig: reduce active components") 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>
* MIPS: add initial ar9331 supportOleksij Rempel2020-02-1615-0/+3588
| | | | Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* platform-mips: add basic qemu malta supportOleksij Rempel2020-02-1627-0/+10484
| | | | | | | | Currently this platform can build rootfs and run only barebox. Other parts need more work, but even on this stage we would be able to make toolchain and barebox regression tests. Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
* ptxdist: version bump 2020.01.0 -> 2020.02.0Robert Schwebel2020-02-164-9/+26
| | | | | | 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-296-281/+346
| | | | | | 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-273-3/+3
| | | | | | 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-234-8/+8
| | | | | | A new ptxdist version is out, update the configs. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* reason: remove disabled OPTIMIZE_INLINING checkRobert Schwebel2020-01-141-19/+0
| | | | | | reason does now properly handle this check, so remove the local hack. 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>
* doc: hardware: reduce clutter in sub-toctreesRoland Hieber2020-01-071-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All those hardware sections have roughly the same sub-sections, reduce it to only the board names: 2.1.1.1. QEmu 2.1.1.2. Beaglebone White 2.1.1.2.1. Boot Media 2.1.1.2.2. Serial Console 2.1.1.3. Beaglebone Black 2.1.1.3.1. Boot Media 2.1.1.3.2. Serial Console 2.1.1.4. Boundary Devices Nitrogen6X 2.1.1.4.1. Bootloader 2.1.1.4.2. Boot Media 2.1.1.4.3. Serial Console 2.1.1.5. RIoT-Board 2.1.1.5.1. Boot Media 2.1.1.5.2. Serial Console 2.1.1.6. Raspberry Pi 2 2.1.1.6.1. Boot Media 2.1.1.6.2. Serial Console 2.1.1.7. Raspberry Pi 3 2.1.1.7.1. Boot Media 2.1.1.7.2. Serial Console 2.1.1.8. Udoo Neo 2.1.1.8.1. Boot Media 2.1.1.8.2. Serial Console Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* doc: fix sphinx warning "guru is already assigned section numbers"Roland Hieber2020-01-071-1/+0
| | | | | | | | guru.rst is included from index.rst, which already assigned the numbers in the toctree, so we don't need to number the toctree in guru.rst again. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* doc: add infos about contributing and licenseRoland Hieber2020-01-071-0/+54
| | | | Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* doc: hardware: degrade header levelRoland Hieber2020-01-071-3/+3
| | | | | | These subsections belong to the respective platform sections. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* doc: guru: sync with upstream PTXdistRoland Hieber2020-01-072-4/+2
| | | | | | | | | | | | Add contributing.rst from upstream PTXdist (sphinx warns about "docs/contributing.rst: WARNING: document isn't included in any toctree") and move faq.rst from intro.rst to guru.rst for the sake of consistency. Remove the index and search pages in guru.rst, as they are already included in index.rst at the top level. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* doc: note that platform-rpi is not actively maintained currentlyRoland Hieber2020-01-071-0/+8
| | | | Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* local_src: remove unreferenced am335x-pm-firmwareRoland Hieber2020-01-073-195/+0
| | | | | | | | These files were added without any comment in commit 27bba7d3d283df0bd7 ("ptxdist: version bump from 2016.05.0 to 2016.07.0"), but were already unreferenced then. Signed-off-by: Roland Hieber <rhi@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-104-30/+25
| | | | Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* add GPL-2.0-only as a project licenseRoland Hieber2019-12-041-0/+345
| | | | Signed-off-by: Roland Hieber <rhi@pengutronix.de>
* reason: disable OPTIMIZE_INLINING for nowRobert Schwebel2019-11-261-0/+19
| | | | | | | Since Linux 5.4, OPTIMIZE_INLINING is force-on and cannot be configured any more. Change the test to silence the warning, while investigating. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* kernel: version bump 5.3 -> 5.4Robert Schwebel2019-11-256-81/+116
| | | | | | 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-1112-21/+95
| | | | | | 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-094-15/+18
| | | | | | A new ptxdist version is out, use it. Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
* barebox: create the .ptxdist-defaultenv symlink in the build dirMichael Olbrich2019-11-0413-17/+17
| | | | | | | This avoids problems if the same git tree is used in local_src/ for multiple barebox packages. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>