| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
A new ptxdist version is out, update DistroKit.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
it should be provided by the bootloader
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
Without prompt we can't enable it.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
With LZO we need 1 second less of boot time.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
tested on RIoTBoard
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
BSP kernel make files was changed. Now we can regenerate kernel configs
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
We have separate kernel images for different HW.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
It is an QEMU system. This options are currently not needed
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
It is not possible to enable strict devmem on this platform
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
This driver is not used. Disable it.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
Sync EXT4 and VFAT support with ARM platforms
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
We have I2C support on all ARM platforms. Enable it for MIPS as well.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
entry
All other boards have it. And booting fails without it.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
NEON was switched off, while ARMv7 has support for it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
Disable cpu isolation and cpu hotplug.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
Disable thumbee extension.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new kernel is out, update all platforms.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
HOTPLUG_CPU and CPU_ISOLATION were enabled by accident, disable.
Patch inspired by 'reason'.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
A new ptxdist version is out, update the configs.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
this PHY is used on BeagleBone Black
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
| |
Fixes: 3dd5c0fe34cee8ebbcdd ("rules: remove CREDIT lines")
Fixes: 3bce747e47170b219334 ("v7a: add stm32mp157c-dk2 SD-Card image")
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
It is used on RIoTBoard and MarS Board
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
The STM32MP uses TF-A as first stage boot loader. Configure it
appropriately for use.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|