| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
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 have everything in place now to switch from stm32image to FIP.
This gives us upstream support for factory bootstrap via DFU and
avoids the breakage on v2.8, which will be the first release removing
support of the deprecated stm32image format.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-6-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For building FIP images, we need a firmware config describing e.g.
where to place components, a device tree for the bl32, a secure
monitor (SP_min, bl32.bin), as well as non-trusted firmware and
hardware configuration. The latter two will be provided by barebox,
so install here the ones provided by TF-A in addition to the TF-A
binaries itself (which will load the FIP).
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-5-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>
|
|
|
|
|
|
|
|
|
|
| |
We only generate SD/eMMC images for STM32MP1, so having NAND/NOR
drivers in the FSBL just increases size pressure On-Chip RAM,
so drop them.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220725120445.1295669-1-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
A new ptxdist version is out, update.
Signed-off-by: Johannes Zink <j.zink@pengutronix.de>
Link: https://lore.pengutronix.de/20220705084150.3272186-1-j.zink@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, update.
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>
|
|
|
|
|
|
| |
A new ptxdist version is out, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since 5.16, there is a bug that results in this backtrace:
[ 0.000000] L2C: platform modifies aux control register: 0x02020000 -> 0x02420000
[ 0.000000] L2C: DT/platform modifies aux control register: 0x02020000 -> 0x02420000
[ 0.009001] Failed to initialize '/bus@40000000/motherboard-bus@40000000/iofpga@7,00000000/timer@12000': -22
[ 0.011756] smp_twd: clock not found -2
[ 0.922280] irq: type mismatch, failed to map hwirq-75 for interrupt-controller@1e001000!
[ 1.493972] physmap-flash 48000000.psram: map_probe failed
[ 1.668170] Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP ARM
[ 1.668867] Modules linked in:
[ 1.669245] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.16.0 #1
[ 1.669593] Hardware name: ARM-Versatile Express
[ 1.669953] PC is at crypto_unregister_alg+0xf8/0x100
[ 1.670857] LR is at 0x0
[ 1.671324] pc : [<c04bcc84>] lr : [<00000000>] psr: 20000013
[ 1.671595] sp : c18c7ea0 ip : 00000000 fp : c0d7e100
[ 1.671826] r10: c0e55858 r9 : c100c000 r8 : 00000000
[ 1.672067] r7 : c100c41c r6 : 00000001 r5 : c198ad00 r4 : c1c23080
[ 1.672354] r3 : 00000002 r2 : ffffffff r1 : 00000001 r0 : c0f9e0d0
[ 1.672702] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
[ 1.673012] Control: 10c5387d Table: 6000406a DAC: 00000051
[ 1.673309] Register r0 information: non-slab/vmalloc memory
[ 1.674112] Register r1 information: non-paged memory
[ 1.674405] Register r2 information: non-paged memory
[ 1.674629] Register r3 information: non-paged memory
[ 1.674853] Register r4 information: slab kmalloc-512 start c1c23000 pointer offset 128 size 512
[ 1.675788] Register r5 information: slab task_struct start c198ad00 pointer offset 0
[ 1.676170] Register r6 information: non-paged memory
[ 1.676474] Register r7 information: non-slab/vmalloc memory
[ 1.676727] Register r8 information: NULL pointer
[ 1.676938] Register r9 information: non-slab/vmalloc memory
[ 1.677182] Register r10 information: non-slab/vmalloc memory
[ 1.677429] Register r11 information: non-slab/vmalloc memory
[ 1.677686] Register r12 information: NULL pointer
[ 1.677923] Process swapper/0 (pid: 1, stack limit = 0x(ptrval))
We work around this by switching on CONFIG_CRYPTO_CBC=y.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new ptxdist version is out, update.
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>
|
|
|
|
|
|
| |
Update to the latest ptxdist release.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
A new ptxdist version has been released, update.
ptxdist-2021.12.0 has genimage-15 which has a strikter check for
partitions that overlay: specify holes in the barebox partition that
allow to overlap with MBR.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
We have a new kernel, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Update to latest barebox release. Config changes are the default.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20211126064836.1306873-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
We missed some ptxdist updates, so it might be a good time to catch up
now.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
Linus released a new kernel, so we update.
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The STM32MP157C-EV1 Evaluation board is the full-feature demonstration
and development platform for STMicroelectronics Arm®-based dual
Cortex®-A7 32 bits and Cortex®-M4 32 bits MPUs in the STM32MP1 Series.
The small siblings DK1 and DK2 are already supported. Add now support
for the EV1 as well, so DistroKit can be used out-of-the-box with
all the official STM32MP1 development kits.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210722133520.17946-4-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
| |
There's been two Linux releases since the last bump, so it's about time
we update. The config changes by olddefconfig look normal, so they are
taken as is. Only thing standing out is the removal of /dev/kmem.
It will likely not be missed.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210722133520.17946-2-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>
|
|
|
|
|
|
|
|
| |
Migrate all platforms with default options.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.pengutronix.de/20210620180725.5193-1-rhi@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>
|
|
|
|
|
|
|
|
| |
Migrate with default settings to the new PTXdist version, which was
released today.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
PTXdist 2021.03.0 has a bug: without this, the v7a platform cannot be
built.
This basically reverts 510c23705bc999bda9d0b040418dfebe94fc9c68.
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>
|
|
|
|
|
|
| |
New version came out today, but the diff is uneventful.
Signed-off-by: Roland Hieber <rhi@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>
|
|
|
|
|
|
|
| |
A new PTXdist version was released last week, which also includes a
kconfig update from v5.1 to v5.11-rc3.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This ports PTXdist commit 4f058f4c37fa9fb1465a:
| commit 4f058f4c37fa9fb1465a77757a35c48e5e4a9179
| Author: Michael Olbrich <m.olbrich@pengutronix.de>
| Date: 2018-07-31 16:12:58
|
| dtc: support layers in DTC_OFTREE_DTS_PATH by default
|
| PTXDIST_PLATFORMCONFIG_SUBDIR is a relative path and will be searched in
| all layers.
|
| Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Reviewed-by: Alexander Dahl <ada@thorsis.com>
Reviewed-by: Michael Olbrich <m.olbrich@pengutronix.de>
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=4f058f4c37fa9fb1465a
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>
|
|
|
|
|
|
|
|
|
|
|
| |
The Groboards Giant Board is a ATSAMA5D27C-D1G SiP-based SBC.
The board features a 500MHz ARM Cortex-A5 and 128MB DDR2 SDRAM in the
SiP as well as a MicroSD slot on the PCB.
The device tree is taken from the one in barebox itself based on the
vendor's DTS available at https://github.com/Groboards/giantboard-tools
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous upgrade to v2020.08.1 gave us first stage boot support on
the sama5d2, but had slight multi-image breakage because the fresh
giantboard support on the sama5d27 messed up the EK1 environment
support: it set nv.boot.default=mmc1 in the built-in environment when
none should've been set. This is fixed in v2020.09.0, which is imported
here.
The config changes are those of olddefconfig.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
Version 1.6.0 includes a fix for building on hosts with gcc 10.
This ports PTXdist commit 7990fbf116f66f82796b (2020-05-24, Michael
Olbrich: "host-dtc: update default version to 1.6.0").
Link: https://lkml.org/lkml/2020/4/1/1206
Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=7990fbf116f66f82796b
Signed-off-by: Roland Hieber <rhi@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>
|
|
|
|
|
|
| |
Migrate to the most current PTXdist version with default settings.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|
| |
|
|
|
|
|
|
| |
Update to the latest toolchain, which was released this week.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
|