| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
Enable the hard lockup detector and panic on trigger. An embedded system
has probably nothing better to do than to reboot if the kernel locks up.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
The devicetrees in mainline have changed their location, adapt our
devicetree paths and the includes accordingly.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change is similar to:
2732f93bcf4ee011cecca3518aec7e523c311d7a
"v8a: barebox: enable loading kernel, dtb and initrd via fastboot"
but for some of the v7a platforms. Due to the absence of a common environment
it only can be added for the i.MX6 based systems for now.
This change prepares all v7a platforms to load kernel, dtb and initrd as
sparse images to RAM-files for rapid development.
It exposes mmc{1,2,3} as 'fastboot' partitions and add init script to
force barebox to detect these devices and have them available for
'fastboot'.
It autostarts the USB gadget and network capability to use 'fastboot' out of
the box.
Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Link: https://lore.barebox.org/20230825111056.32801-1-jbe@pengutronix.de
Adapted bsp.ref for v7a, similar to v8a.
Inspired-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
| |
Use the new toolchain release for v7a builds, and update the kernel
config with default options.
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Link: https://lore.barebox.org/20230813192846.1210986-6-rhi@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable the following kernel features:
* ARM SHA256 acceleration (CRYPTO_SHA256_ARM)
* Device mapper support (MD, BLK_DEV_DM)
* Verity target support (DM_VERITY), needed for the verity bundle format
* squashfs file system (MISC_FILESYSTEMS, SQUASHFS*, XZ_DEC_*, LZ4_*),
also having multiple compression algorithms enabled for squashfs makes
it easy to change the compression of the RAUC bundle in the future
* Network block device support (BLK_DEV_NBD), needed for HTTPS streaming
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
Enable CRYPTO_SHA256_ARM on ARM with NEON extensions (suggested by
reason).
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
With Debian Bookworm, OSELAS.Toolchain-2022.10.0 doesn't work any more,
switch to 2022.10.1, which has the issues being fixed.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
A new kernel is out, so we update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Let's import the barebox device tree into the BSP for use by Linux.
This allows us to update it separately in the future. The kernel was so
far configured for SAMA5D2 only, so enable whatever else is needed for
the SAMA5D4. While we boot from SD for now, main boot medium is meant to
be NAND. We thus enable the NAND driver and UBIFS. Driver support is
there, but we have yet to integrate boot from NAND into the BSP.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20230417131141.908678-5-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
It has been a while but here is a version bump.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
Now that OSELAS.Toolchain-2022.10, with gcc-12.2.1 and glibc-2.36 is
out, move to the new toolchain.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
| |
We already support the Raspberry Pi 3 with our v7a kernel configuration,
flip a few more options to get the kernel running on a Raspberry Pi 4
in A32 mode as well.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220930162159.814389-7-a.fatoum@pengutronix.de
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The kernel now has two CPSW drivers and the device tree has two device
tree nodes, where one or the other may be enabled. The upstream device
tree was switched to new switchdev-based CPSW in v5.15-rc1.
Update our kernelconfig to enable the appropriate driver to get
networking working again on the Beaglebone Black.
Reported-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
Fixes: 6ec9f5202c28 ("platform-v7a: kernel: version bump v5.14 -> v5.15")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20220108075723.432333-2-a.fatoum@pengutronix.de
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
We have a new kernel, update.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This way boards can keep time over reboots:
[ 2.661867] at91_rtc f80480b0.rtc: registered as rtc0
[ 2.666917] at91_rtc f80480b0.rtc: setting system clock to 2021-09-16T08:37:00 UTC (1631781420)
[ 2.675817] at91_rtc f80480b0.rtc: AT91 Real Time Clock driver.
Signed-off-by: Alexander Dahl <ada@thorsis.com>
Reviewed-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210916084101.26647-1-ada@thorsis.com
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>
|
|
|
|
|
|
|
|
|
| |
The EV1 device tree describes a GPIO regulator controlling the I/O voltage
for the SD-Card. Enable the respective Linux driver.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.pengutronix.de/20210722133520.17946-3-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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
This is enabled in barebox and also in the kernel for rpi and v8a.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
|
|
|
|
|
|
| |
The kernel config is currently not clean. Run ptxdist oldconfig kernel.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
The patch for lxa-mc1 is mainline, remove it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
This is required for the i.MX6 platforms supported by platform-v7a.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
|
|
|
|
|
|
|
| |
In preparation for generating images for the sama5d27, have our
multiplatform kernel configuration target the sama5d2 as well.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
|
|
| |
Update to the most recent kernel version and do an oldconfig with
default values.
Tested-by: Roland Hieber <rhi@pengutronix.de> on qemu-vexpress, rpi3-b
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>
|
|
|
|
|
|
|
|
|
| |
A new ptxdist version is out.
We set PTXCONF_KERNEL_CONFIG_BASE_VERSION=y in all platforms, as
DistroKit is a base layer for other BSPs.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The latest kernel release now contains the device trees for the
Linux Automation MC-1. We can thus drop them from the BSP.
On the Kconfig front, we dropped CONFIG_MMC_OMAP(_HS) in favor of
CONFIG_MMC_SDHCI_OMAP. For a while now, Linux has had a sdhci-omap
driver for TI's OMAP SoCs making use of the SDHCI core library.
This was in addition to the older omap-hsmmc driver, which didn't.
Linux commit 0b4edf11187 ("ARM: dts: Move am33xx and am43xx mmc nodes
tosdhci-omap driver") first included in v5.8 changes the device tree
compatible of the mmc nodes on the am33xx and am43xx SoCs away from
the omap-hsmmc to the SDHCI driver. Add the new compatibles, so we
aren't broken by the change.
Co-authored-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Holger Assmann <h.assmann@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>
|
|
|
|
|
|
| |
tested on RIoTBoard
Signed-off-by: Oleksij Rempel <o.rempel@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>
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
The STM32MP157 is an ARM SoC from STMicro with 2x Cortex-A7 cores
as well a Cortex-M MCU. Amend kernel configuration to support this
SoC as well as main peripherals used on the STM32MP157C-DK2 SBC.
For now, only driver for the non-video HW components are enabled.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
|
|
|
|
|
|
| |
A new kernel is out, so let's update DistroKit.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
2019.09.1 is out, use it.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
| |
Linux 5.4 is out, update the kernel on all platforms.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|
|
|
|
|
|
|
| |
This speeds up the first boot in qemu quite a bit when ssh keys are
generated.
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>
|
|
|
|
|
|
|
|
| |
The filesystem parameter description parser validation is not useful
except when working on the mount interface and prints confusing messages
during boot.
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>
|
|
|
|
|
|
| |
systemd requires UTS_NS, so enable it in the kernel.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
|