| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
A new kernel is out, update all 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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
A new ptxdist version is out, update the configs.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new kernel is out, so let's update DistroKit.
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Use the latest and greatest.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
| |
Linux 5.4 is out, update the kernel on all platforms.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new barebox version is out, use it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, use it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
There's a new barebox in town. Upgrade to it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
There is a new ptxdist version, so we update DistroKit to use it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
It breaks reproducible builds because temporary file names in the
command-line change the build-id.change the build-id.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
It's better than -fstack-protector and has similar overhead.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
| |
Linux 5.3 is out, so we update the kernel to the new version.
The config is oldconfiged with defaults.
Signed-off-by: Björn Esser <b.esser@pengutronix.de>
|
|
|
|
|
|
| |
A new OSELAS.Toolchain is out, with gcc-9.2.1 and glibc-2.30.
Signed-off-by: Björn Esser <b.esser@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, use it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Particularly relevant in this release is the v5.2 device tree sync
which is a prerequisite for the incoming STM32MP1 support.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Tested-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, so we migrate Distrokit.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
Linux 5.2 is out, so we update the kernel to the new version.
The config is mostly oldconfiged with defaults, but we enable
CONFIG_NULL_TTY and CONFIG_COUNTER.
The OMAP hardware random number generator was applied in the upstream
kernel, so we can remove it here.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Just a simple oldconfig with default values for all variants with the
help of ./scripts/update-diffs-v7a.sh.
Changes in config symbols:
* BAREBOX_MAX_PBLX_SIZE was removed in v2019.04.0 because pblx was
removed. The maximum file size is now instead determined by
BAREBOX_MAX_IMAGE_SIZE. [1]
* The m25p80 driver was refactored to use the spi_mem API [2] (affects
am355x and mx6)
* The ARMv8 clocksource can now also work with ARMv7 timers, so it is
auto-enabled by kconfig since barebox v2019.05.0. [3]
* GPIO_BCM283X was replaced by PINCTRL_BCM283X in v2019.04.0. [4]
* CRC16 was replaced by CRC_ITU_T in v2019.04.0 [5], but since it has no
prompt in the menu and it is actually not selected by anyone except on
am335x-mlo, it now stays disabled in the other variants.
Relevant barebox commits:
[1]: 9e72ea7a006cd0931913 ("images: pbl: verify CONFIG_BAREBOX_MAX_IMAGE_SIZE is not exceeded"
[2]: 80b6b874944d7982e6c7 ("mtd: devices: m25p80: use the spi_mem_xx() API")
[3]: dece707522434d5c8eb3 ("clocksource: Enable architected timer support for CPU_V7")
[4]: be717102c8ba2d0ea022 ("pinctrl: bcm2835: move existing code from gpio.")
[5]: 74de1afbd2ed4262d410 ("crc: import crc_itu_t() from kernel")
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
| |
Keep all new features on their default values for now.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
We have a new version; update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
The new kernel has been released today, so update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version has been released, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version has been released, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
This fixes an errors in systemd.get, which only happened when that
systemd tarball was not already downloaded previously:
ptxdist: error: Wrong md5sum for 'systemd' (.../src/systemd-241-7-ga09c170122cf.tar.gz)
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This setting was introduced in PTXdist 2019.03.0:
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.
Make use of it to get more secure binaries with gcc-8's new
-fstack-clash-protection option.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
| |
Update to OSELAS.Toolchain-2018.12, which has gcc 8.2.1 and glibc 2.28.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
| |
Use the default config values.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
| |
Update the kernel to Linux 5.0
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist release is availabe, update to 2019.02.0.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch to using the gdb version provided by the toolchain, and clear its
md5sum to prevent problems in the get stage (see thread in [9]).
Otherwise use the default configuration.
Compile-tested on platforms v7a, v8a and rpi.
[9]: https://www.mail-archive.com/ptxdist@pengutronix.de/msg13675.html
Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
No need to insist on point release. This way a user can update the
toolchain to (the not yet existent) 2018.02.x once it arrives, without
the need to touch the BSP. This makes it consistent with the other
platforms rpi and v8a.
Signed-off-by: Alexander Dahl <post@lespocky.de>
|
|
|
|
|
|
|
| |
Update to ptxdist-2018.10.0, which is the first one that contains
layering support.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|