| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
The latest and greatest. Has the nice support for 'noload' sub-images
in FIT images conforming for spec.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20240306092530.1448784-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This lets us drop two patches that fixed issues with v2023.09.0.
This update also enables some options that are useful for the hardware
we support:
- on STM32MP1, support for the NAND controller is enabled
- on STM32MP1, we enable HWRNG and stack protector support
The latter could be enabled universally for all platforms that are no
size constrained, but it prints an ugly error message if there's no
HWRNG as using the fixed fallback canary is insecure. We'll just
postpone enabling stack protector on other platforms until we enable
HWRNG support there.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20240112170529.1970537-5-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Currently we get this new error:
ERROR: stm32-rproc 10000000.m4@10000000.of: failed to get tz syscfg
Apply upstream patches from the mailing list.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Our patches for optionally working around flaky SD-Card detect are now
upstream, so let's update to the newest release and drop them from our
side. Config is what resulted from oldconfig with the exception of:
- CONFIG_DRIVER_NET_BCMGENET, which is now enabled to give resulting
barebox-raspberry-pi.img Ethernet support when running on the rpi 4-b.
- CONFIG_CMD_FCB, which adds a useful fcb command for debugging
boot from NAND on i.MX SoCs.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20230307114541.3179101-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
With new binutils, we need a non-platform specific patch for tf-a
that handles executable stacks correctly. As platform specific
patches in ptxdist should only be used for patches that break other
platforms anyway, move the patches to the normal patches directory.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
The original patch didn't go upstream, because semantics were a bit odd,
a Kconfig option changing behavior, but only for devices barebox probes.
This imports v3 of the series into DistroKit.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220930162159.814389-3-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Th v2022.08.0 release added Raspberry Pi i2c controller support as
well as Raspberry Pi 4 support. We enable both here and will put
the Raspberry Pi 4 support into use in a follow-up commit.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220930162159.814389-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In remote labs co-located with other hardware, we've observed card
detect levers of different boards to sporadically fail to detect
the card, e.g. because the cable on the usbsdmux was yanked around
by accident. When this happens, barebox usually boots up normally as
the card detect is ignored and then Linux waits indefinitely for
the card-detect to turn active. Add a new config option that can be
enabled to avoid these issues altogether.
We enable this for all configurations, except for barebox-am335x-mlo,
which is size-constrained as it needs to fit into on-chip SRAM
and those 100 extra bytes are deemed too expensive.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-8-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
There has been two barebox releases in the mean time, so give the v7a
barebox-common an update to get rid of the patches we carry.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-7-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need at least v2.6 for FIP support, but there's a freshly released
v2.7, so lets use that. This unfortunately means we need to carry a
patch for the MC-1 because upstream broke it. To ensure the legacy
image works for now, we need to set a new build option, but that will
be removed soon enough with the switch to FIP.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
barebox has had the ability to generate an extra image that's bootable
like a kernel for a while now. With small adjustment, we can let the
videocore use this image and pass it the appropriate device tree
depending on the board used. Moving this decision into the VideoCore
allows us to use the same image for both Raspberry Pi 2, Rasperry Pi 3
and Raspberry Pi CM3.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220426083821.1829442-3-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Config changes are those of olddefconfig with the exception of
CONFIG_FS_UBIFS_COMPRESSION_ZSTD for the i.MX6 barebox: We already have
UBIFS support enabled, so it makes sense to allow mounting UBIFS with
zstd as well.
This update imports two barebox patches to address regressions due to
recent Raspberry Pi upstream rework.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220426083821.1829442-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Freshest barebox release incorporates the OMAP patches we have in the
BSP. Bump up the release and drop these two patches in return.
The release also introduced CONFIG_STM32_BSEC_WRITE, which enables
blowing e-fuses on STM32MP1 SoCs, e.g. to persist an Ethernet address.
We support a couple of STM32MP1 boards, so it makes sense to enable
this option. All other Kconfig changes are those of olddefconfig.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The upstream device tree change addressed by the previous commit
also made it into barebox and broke Beaglebone networking there.
This is fixed in master, so import the patch.
It was also reported that bumping bumping up core clock frequency for
faster boot times broke reboot from within Linux.
This might be brown out resulting from Linux scaling down the
voltage and Linux system reset not affecting the PMIC. Until that's
resolved, barebox master reverts the overclocking, so import that patch
as well. Both patches are scheduled to appear in v2022.01.0.
Fixes: 949c5ef2 ("v7a: barebox: version bump v2021.08.0 → v2021.11.0") # CPSW
Fixes: afdae878 ("v7a: barebox: version bump v2021.05.0 → v2021.07.0") # reset
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220108075723.432333-3-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Update to latest barebox release. Config changes are the default.
In return we can drop the one patch that went upstream in the mean time.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210824125248.22580-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
barebox v2021.07.0 now comes with support for first stage boot on the
SAMA5D3. The SAMA5D3 has a v7a CPU but lacks NEON, so it doesn't make
sense to enable for the v7a platform. Unfortunately, barebox master
is upset if you don't build both sama5d2 and sama5d3 at the same time.
Instead of working around this in the defconfig and enabling a board
we don't need and may forget to disable, import a small patch.
We should be able to drop this with v2021.08.0.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210722133520.17946-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
The v2.5 release of the ARM trusted firmware now contains support
for the Linux Automation MC-1, allowing us to drop our board support
patches. Use it.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210706045740.20866-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updating to v2021.05.0 lets us drop the single patch we have,
as it went upstream in revised form.
Kconfig changes are those produced by oldconfig. One notable
new option is CONFIG_DEFAULT_ENVIRONMENT_GENERIC_NEW_IKCONFIG,
which allows barebox to embed its configuration as /env/data/config
analogously to /proc/config.gz, which we already enable for Linux.
This is not enabled here, but might be something we want to use
eventually.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210602111803.15832-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updating to v2021.04.0 lets us drop the patches we have, but
unfortunately we need to import a new patch in return to fix
a USB/Ethernet breakage on barebox-rpi2.
Kconfig changes are those produced by oldconfig, except for the
following:
- BTHREAD: new feature that's not used by default, but could use
some extra coverage. Enable it for all configuration, except
for am335x-mlo, where we have a restrictive size limitation.
- MACH_STM32MP15X_EV1: The EV1 is the full featured STM32MP1
evaluation kit. In preperation for supporting this, enable its
newly added barebox support.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210421073820.1318-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Trusted Firmware-A v2.4 was released last month and adds amongst others,
enhancements to make use of the trusted boot chain possible with
upstream components.
The patch stack has now been posted upstream in hope we can eventually
drop it:
https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/7339
https://review.trustedfirmware.org/c/TF-A/trusted-firmware-a/+/7340
For now, it was rebased with following modifications:
- Sync with upstream device tree and new TF-A requirements
- CLK_ETH_PLL4P is enabled for possible PTP use
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
| |
The patch for lxa-mc1 is mainline, remove it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Update to the most recent barebox release, which includes our patch.
CONFIG_USB_GADGET_FASTBOOT_* have been renamed to CONFIG_FASTBOOT_*, for
all other new options use the default values.
Tested-by: Roland Hieber <rhi@pengutronix.de> on qemu-vexpress, rpi3-b
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With the recent move to Linux v5.8, we get a new kernel warning
because it skew timings are now specified twice; once from use of
"rgmii-id" and one from the [rt]xc-skew-ps in the device tree.
This patch removes those timings since the board works fine
with the new default settings.
Patch has also been sent[1] to the respective mailing lists for upstream
inclusion.
[1]: https://lore.kernel.org/linux-arm-kernel/20200807150355.6116-1-h.assmann@pengutronix.de/
Signed-off-by: Holger Assmann <h.assmann@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows us to drop the patch stack we had for Linux Automation MC-1
support. The series went into barebox with a fix that makes a warning
about the eMMC environment go away. In return we import a single patch
to address a breakage on the rpi3b platform. Being a bug fix, we should
be able to drop the patch along with v2020.07.0.
On the Kconfig front, CONFIG_OF_NET was dropped upstream, because it was
an unreferenced symbol. All Kconfig changes are the result of an
olddefconfig.
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 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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Use the latest and greatest.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
The new kernel has been released today, so update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
The kernel does not use the omap hwrng as an entropy source, since the
quality is not set. The getrandom system call is now used by OpenSSH,
which results in a long wait of 2 Minutes on first boot because of the
ed25519 key generation.
This patch sets the quality within the driver, allowing the beaglebone
black to boot fast again.
Signed-off-by: Rouven Czerwinski <r.czerwinski@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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
The vexpress series has been merged upstream and can be dropped.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
|
|
|
| |
The vexpress patch series has recently been reworked. Use it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
|
|
| |
The previous patch was missing these two patches.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
Barebox upstream has version bumped, and so do we.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Update barebox 2017.07.0, which contains an important fix for nv and
globalvars.
In the previous patch stack, state was defect, as upstream has changed
the oftree. This is fixed in the new patch series.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|