| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since Barebox v2020.11.0, the build system supports a configurable
version string that is baked into the barebox image, see the following
upstream barebox commits:
* commit 98c221e3fad57f271d60 (2020-09-23, "Makefile: add buildsystem version variable")
* commit c7dcac9de597f006fdc8 (2020-09-23, "common: print buildsystem version in barebox banner")
* commit c600d8812e9f3b98591a (2020-09-23, "common: globalvar: add variable for buildsystem_version_string")
* commit 01b53d3b728073996e7e (2020-09-23, "imd: add buildsystem version to metadata")
Set that version string to the Git hash so we can always find out from
which DistroKit version a barebox-in-the-wild was built. (Even if we
don't use barebox >= v2020.11.0 on all platforms yet, future barebox
updates will benefit from this change.)
For mips, we use the upstream barebox rule, which takes the version
string from the platformconfig. For all other platforms, this change
effectively ports the following commit from PTXdist 2021.04.0:
| commit f5500c922424ee71dd99e80f743ed6d994e5bca6
| Author: Steffen Trumtrar <s.trumtrar@pengutronix.de>
| Date: 2021-04-01 10:36:41
|
| rules: barebox: support barebox buildsystem_version
|
| barebox supports setting a buildsystem version. This is useful to have
| an exact buildsystem version like a commit hash accessible from barebox.
|
| Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
| Message-Id: <20210401083641.9251-2-s.trumtrar@pengutronix.de>
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Link: https://git.pengutronix.de/cgit/barebox/commit/?id=98c221e3fad57f271d60
Link: https://git.pengutronix.de/cgit/barebox/commit/?id=c7dcac9de597f006fdc8
Link: https://git.pengutronix.de/cgit/barebox/commit/?id=c600d8812e9f3b98591a
Link: https://git.pengutronix.de/cgit/barebox/commit/?id=01b53d3b728073996e7e
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=f5500c922424ee71dd99
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One new patch is required to fix a regression for USB on rpi3. Also USB
on rpi3 requires CONFIG_USB_NOP_XCEIV=y now which is enabled in the rpi2
config now.
For the beaglebone two patches are added fixing a regression related to
a dts sync from upstream.
All three patches were already sent to the barebox mailing list.
Acked-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So far, the two STM32MP1 boards we support had the same board name
string within the file names of first stage (TF-A) and second stage
(barebox) bootloaders. This will no longer be true when updating
to a more recent barebox version, as the dk2 image's name has been
changed to dkx to indicate support for both dk1 and dk2.
Prepare for this by splitting up STM32MP_BOARD_NAME.
No functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new 'ptxdist lint' feature complained about these lines:
Undefined symbol PTXCONF_IMAGE_RPI2_GPU_MEM used in 'next/configs/platform-v7a/rules/image-rpi2.make'.
Undefined symbol PTXCONF_IMAGE_RPI3_GPU_MEM used in 'next/configs/platform-v7a/rules/image-rpi3.make'.
Indeed, these complaints were caused by multiple issues, probably going
back to copy-and-paste from platform-rpi:
* IMAGE_RPI2_GPU_MEM and IMAGE_RPI3_GPU_MEM were never defined in any
kconfig menu since these lines were added (but a similar kconfig item
exists in configs/platform-rpi)
* configs/platform-v7a/rpi-firmware/config.txt didn't have any magic
replacement markers anymore since commit 98626f8441add596486b
* the "replaced" config.txt was never used by anything after writing it
to PTXDIST_TEMPDIR (which is the case in configs/platform-rpi)
Remove the call completely.
Fixes: 1db122202276b9f343eb (2017-06-16, "platform-v7a: rpi2: add board support")
Fixes: 98626f8441add596486b (2018-11-29, "add RPI3 Support")
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
| |
Add the same bit of boilerplate we added for the EK1 to get an image
generated for the giant board as well.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
With the previous barebox and kernel changes, we can combine it with the
DistroKit-v7a rootfs to get an image to boot on the sama5d27-som1-ek.
Do this.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
[rebased to master]
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Later commits will have the v7a platform generate an image for Cortex-A5
based sama5d2 as well. Import here a new barebox-at91 rule that extends
the barebox-common rule to provide support for the two sama5d27 boards
supported by barebox:
barebox-sama5d27-som1-ek.img
barebox-sama5d27-som1-ek-xload-mmc.img
barebox-groboards-sama5d27-giantboard.img
barebox-groboards-sama5d27-giantboard-xload-mmc.img
Signed-off-by: Ahmad Fatoum <a.fatoum@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>
|
|
|
|
|
|
| |
Fixes: 3dd5c0fe34cee8ebbcdd ("rules: remove CREDIT lines")
Fixes: 3bce747e47170b219334 ("v7a: add stm32mp157c-dk2 SD-Card image")
Signed-off-by: Roland Hieber <rhi@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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
It's not needed and now the files are actually removed during 'clean'.
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>
|
|
|
|
| |
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>
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
With barebox updates, oldconfig needs to be rerun for every barebox in
the BSP, to resync the configs. With this change this can be done
at once by issuing a ptxdist oldconfig barebox-common.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Make it easier to maintain a common set of features and also review the
device-specific changes between all the barebox variants by using the
config diff mechanism which has been available since PTXdist 2019.01.0.
No barebox config was harmed in the making of this patch, only their
difference to the common reference config was computed.
Also add a helper script to regenerate the config diffs after the common
config was changed.
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>
|
|
|
|
|
|
| |
Patch free, baby!
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Rouven Czerwinski <rouven@czerwinskis.de>
|
|
|
|
|
|
|
|
| |
Bump barebox from v2018.05.0 to v2018.12.0.
This barebox release officially supports RPI3, this will be enabled in
a later commit.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
|
|
| |
Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
Remove all references to PTXDIST_PLATFORMCONFIGDIR to do this.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
That one was used before renaming the platform to v7a, and later
reintroducing support for Raspberry Pi 2. The package is not activated
anymore and so there's no need to overwrite the rule from ptxdist
itself anymore.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
|
|
|
|
|
|
|
| |
Bump all barebox variants, followed by oldconfig. Consistently enable
CONSOLE_ALLOW_COLOR, otherwise use default values.
Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
|
|
|
|
|
|
| |
Update the barebox version to the latest and greatest.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
This fixes 'ptxdist clean root' and the wrapper blacklist.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
This fixes 'ptxdist clean root' and the wrapper blacklist.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
This fixes 'ptxdist clean root' and the wrapper blacklist.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
This fixes 'ptxdist clean root' and the wrapper blacklist.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
| |
This fixes 'ptxdist clean root' and the wrapper blacklist.
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
Migrate the patches and make oldconfig without adding any new features.
Note that barebox-rpi2 is still broken, but we'll bump it anyway for
completeness.
Tested-by: Robert Schwebel <r.schwebel@pengutronix.de> (for qemu-vexpress)
Tested-by: Roland Hieber <r.hieber@pengutronix.de> (for qemu-vexpress)
Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
|