[PATCH v2 10/12] ARM: Layerscape: LS1046a: remove PPA support

2024-10-22 Thread Sascha Hauer
Both LS1046a boards supported by barebox have been switched to TF-A, so drop no longer used PPA support. Signed-off-by: Sascha Hauer --- arch/arm/mach-layerscape/Kconfig | 12 --- arch/arm/mach-layerscape/Makefile| 1 - arch/arm/mach-layerscape/ppa-entry.S | 32 arch/arm

[PATCH v2 05/12] ARM: Layerscape: ls1046ardb: remove unused variable

2024-10-22 Thread Sascha Hauer
memsize is set with the value returned from fsl_ddr_sdram(), then passed through r0 to the full barebox binary where it is then finally unused. Just remove the variable. The real memory amount is hardcoded in the board code anyway. Signed-off-by: Sascha Hauer --- arch/arm/boards/ls1046ardb

[PATCH v2 08/12] ARM: Layerscape: LS1046a-rdb: Switch to TF-A support

2024-10-22 Thread Sascha Hauer
detected. The board support has 8GiB hardcoded in other places, so hardcode 8GiB for TF-A as well. Signed-off-by: Sascha Hauer --- arch/arm/boards/ls1046ardb/board.c| 6 -- arch/arm/boards/ls1046ardb/lowlevel.c | 16 +++- arch/arm/boards/ls1046ardb/start.S| 14

[PATCH v2 07/12] ARM: Layerscape: LS1046a: add TF-A support

2024-10-22 Thread Sascha Hauer
Right now we still use PPA on LS1046a. This has long been deprecated and replaced with TF-A. Add support for starting the TF-A on LS1046a based boards as a first step to get rid of PPA. Signed-off-by: Sascha Hauer --- arch/arm/boards/ls1046ardb/lowlevel.c | 2 +- arch/arm/boards/tqmls1046a

[PATCH v2 06/12] ARM: Layerscape: remove register arguments

2024-10-22 Thread Sascha Hauer
The various Layerscape xload_start_image functions all take r0, r1 and r2 arguments. These are all unused in the code, so remove them. The ls1021aiot board passes the memory size in r0 in one case, but this is never used, so it's safe to remove that as well. Signed-off-by: Sascha

Re: [PATCH 8/9] ARM: Layerscape: LS1046a: remove PPA support

2024-10-22 Thread Sascha Hauer
On Mon, Oct 21, 2024 at 04:18:01PM +0200, Sascha Hauer wrote: > On Mon, Oct 21, 2024 at 10:55:45AM +0200, Ahmad Fatoum wrote: > > Hello Sascha, > > > > On 21.10.24 09:21, Sascha Hauer wrote: > > > Both LS1046a boards supported by barebox have been switched to TF-A

[PATCH v2 03/12] ARM: Layerscape: images: add missing FORCE

2024-10-22 Thread Sascha Hauer
if_changed should be used in conjunction with FORCE to make sure the command is executed when the command line has changed. Signed-off-by: Sascha Hauer --- images/Makefile.layerscape | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/images/Makefile.layerscape b

[PATCH v2 02/12] ARM: Layerscape: images: fix variable name

2024-10-22 Thread Sascha Hauer
pbl-y doesn't exist as variable and is unused. What was meant here is pblb-y and it should contain the name of the entry function. Signed-off-by: Sascha Hauer --- images/Makefile.layerscape | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/images/Makefile.layersc

[PATCH v2 09/12] ARM: Layerscape: TQMLS1046a: Switch to TF-A support

2024-10-22 Thread Sascha Hauer
Now that we can start TF-A on LS1046a based boards switch the TQMLS1046a over to use this rather than deprecated PPA. Signed-off-by: Sascha Hauer --- arch/arm/boards/tqmls1046a/board.c| 7 --- arch/arm/boards/tqmls1046a/lowlevel.c | 32 ++-- arch/arm/boards

[PATCH v2 01/12] ARM: Layerscape: TQMLS1046a: Update DDR timings

2024-10-22 Thread Sascha Hauer
Update DDR timings from TQ U-Boot. Signed-off-by: Sascha Hauer --- arch/arm/boards/tqmls1046a/lowlevel.c | 54 +-- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/arch/arm/boards/tqmls1046a/lowlevel.c b/arch/arm/boards/tqmls1046a/lowlevel.c index

[PATCH v2 00/12] ARM: Layerscape: LS1046a: switch to TF-A

2024-10-22 Thread Sascha Hauer
d. Signed-off-by: Sascha Hauer --- Changes in v2: - add missing FORCE in images/Makefile.layerscape - drop -16 cargo cult when setting up a stack - use pr_debug rather than printf - add TF-A firmware to test/generate-dummy-fw.sh - drop ppA firmware from test/generate-dummy-fw.sh - update doc

Re: [PATCH 8/9] ARM: Layerscape: LS1046a: remove PPA support

2024-10-21 Thread Sascha Hauer
On Mon, Oct 21, 2024 at 10:55:45AM +0200, Ahmad Fatoum wrote: > Hello Sascha, > > On 21.10.24 09:21, Sascha Hauer wrote: > > Both LS1046a boards supported by barebox have been switched to TF-A, so > > drop no longer used PPA support. > > > > Signed-off-by: Sa

Re: [PATCH 2/9] ARM: Layerscape: TQMLS1046a: add support for 8GiB variant

2024-10-21 Thread Sascha Hauer
On Mon, Oct 21, 2024 at 11:06:47AM +0200, Ahmad Fatoum wrote: > Hello Sascha, > > On 21.10.24 09:21, Sascha Hauer wrote: > > The tqmls1046a also has a 8GiB DDR variant. This patch adds support for > > this variant as an additional image with suffix _8g in the name. > &g

[PATCH 6/9] ARM: Layerscape: LS1046a-rdb: Switch to TF-A support

2024-10-21 Thread Sascha Hauer
detected. The board support has 8GiB hardcoded in other places, so hardcode 8GiB for TF-A as well. Signed-off-by: Sascha Hauer --- arch/arm/boards/ls1046ardb/board.c| 6 -- arch/arm/boards/ls1046ardb/lowlevel.c | 16 +++- arch/arm/boards/ls1046ardb/start.S| 14

[PATCH 4/9] ARM: Layerscape: remove register arguments

2024-10-21 Thread Sascha Hauer
The various Layerscape xload_start_image functions all take r0, r1 and r2 arguments. These are all unused in the code, so remove them. The ls1021aiot board passes the memory size in r0 in one case, but this is never used, so it's safe to remove that as well. Signed-off-by: Sascha

[PATCH 1/9] ARM: Layerscape: TQMLS1046a: Update DDR timings

2024-10-21 Thread Sascha Hauer
Update DDR timings from TQ U-Boot. Signed-off-by: Sascha Hauer --- arch/arm/boards/tqmls1046a/lowlevel.c | 54 +-- 1 file changed, 27 insertions(+), 27 deletions(-) diff --git a/arch/arm/boards/tqmls1046a/lowlevel.c b/arch/arm/boards/tqmls1046a/lowlevel.c index

[PATCH 5/9] ARM: Layerscape: LS1046a: add TF-A support

2024-10-21 Thread Sascha Hauer
Right now we still use PPA on LS1046a. This has long been deprecated and replaced with TF-A. Add support for starting the TF-A on LS1046a based boards as a first step to get rid of PPA. Signed-off-by: Sascha Hauer --- arch/arm/boards/ls1046ardb/lowlevel.c | 2 +- arch/arm/boards/tqmls1046a

[PATCH 2/9] ARM: Layerscape: TQMLS1046a: add support for 8GiB variant

2024-10-21 Thread Sascha Hauer
"TQMLS1046A-P2.0201" is the EEPROM. The other one is possibly only used for Arkona and has the string "TQMLS1046A-CA.0202" in the EEPROM. There might be other possible strings we are currently not aware of, we fall back to the P2 variant in this case. Signed-off-by: Sascha Hauer

[PATCH 3/9] ARM: Layerscape: ls1046ardb: remove unused variable

2024-10-21 Thread Sascha Hauer
memsize is set with the value returned from fsl_ddr_sdram(), then passed through r0 to the full barebox binary where it is then finally unused. Just remove the variable. The real memory amount is hardcoded in the board code anyway. Signed-off-by: Sascha Hauer --- arch/arm/boards/ls1046ardb

[PATCH 0/9] ARM: Layerscape: LS1046a: switch to TF-A

2024-10-21 Thread Sascha Hauer
d. Signed-off-by: Sascha Hauer --- Sascha Hauer (9): ARM: Layerscape: TQMLS1046a: Update DDR timings ARM: Layerscape: TQMLS1046a: add support for 8GiB variant ARM: Layerscape: ls1046ardb: remove unused variable ARM: Layerscape: remove register arguments ARM: Layerscap

[PATCH 8/9] ARM: Layerscape: LS1046a: remove PPA support

2024-10-21 Thread Sascha Hauer
Both LS1046a boards supported by barebox have been switched to TF-A, so drop no longer used PPA support. Signed-off-by: Sascha Hauer --- arch/arm/mach-layerscape/Kconfig | 12 --- arch/arm/mach-layerscape/Makefile| 1 - arch/arm/mach-layerscape/ppa-entry.S | 32 arch/arm

[PATCH 7/9] ARM: Layerscape: TQMLS1046a: Switch to TF-A support

2024-10-21 Thread Sascha Hauer
Now that we can start TF-A on LS1046a based boards switch the TQMLS1046a over to use this rather than deprecated PPA. Signed-off-by: Sascha Hauer --- arch/arm/boards/tqmls1046a/board.c| 8 arch/arm/boards/tqmls1046a/lowlevel.c | 32 ++-- arch/arm/boards

Re: [PATCH 9/9] ARM: Layerscape: LS1046a: add PSCI node

2024-10-21 Thread Sascha Hauer
Hi Ahmad, On Mon, Oct 21, 2024 at 09:33:23AM +0200, Ahmad Fatoum wrote: > Hello Sascha, > > On 21.10.24 09:21, Sascha Hauer wrote: > > Unlike other SoCs the LS1046a upstream dtsi files do not have a PSCI > > node. Add one for barebox and Linux to find the PSCI support. &

[PATCH 9/9] ARM: Layerscape: LS1046a: add PSCI node

2024-10-21 Thread Sascha Hauer
Unlike other SoCs the LS1046a upstream dtsi files do not have a PSCI node. Add one for barebox and Linux to find the PSCI support. Signed-off-by: Sascha Hauer --- arch/arm/dts/fsl-ls1046a.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/fsl-ls1046a.dtsi b/arch/arm/dts

Re: [PATCH v5] common: buffer access out-of-bounds

2024-10-20 Thread Sascha Hauer
Applied, thanks! [1/1] common: buffer access out-of-bounds https://git.pengutronix.de/cgit/barebox/commit/?id=dda64a15ea02 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] include: Include to resolve implicit declaration of do_div()

2024-10-18 Thread Sascha Hauer
esolve implicit declaration of do_div() https://git.pengutronix.de/cgit/barebox/commit/?id=cb8767765854 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 5/7] mfd: rk808: add support for RK806

2024-10-18 Thread Sascha Hauer
his as an extra commit. Sascha > > чт, 17 окт. 2024 г. в 14:05, Sascha Hauer : > > > > On Wed, Oct 16, 2024 at 07:08:24PM +0300, Alexander Shiyan wrote: > > > I'm just saying that we can use i2c-gpio driver on SPI pins since in > > > rk806 pins are common for i

Re: [PATCH 2/2] sandbox: add cpuinfo command

2024-10-18 Thread Sascha Hauer
On Wed, Oct 16, 2024 at 11:32:40AM +0200, Yann Sionneau wrote: > Hi Ahmad, > > On 16/10/2024 10:55, Ahmad Fatoum wrote: > > We have stack dump support in sandbox via AddressSanitizer, if it's > > compiled in. To make it easier to test proper operation, let's a cpuinfo > Small typo in the commit ms

Re: [PATCH] i2c: lpi2c: fix potential read of uninitialized variable

2024-10-18 Thread Sascha Hauer
the I2C message. > > > [...] Applied, thanks! [1/1] i2c: lpi2c: fix potential read of uninitialized variable https://git.pengutronix.de/cgit/barebox/commit/?id=502ce2e332f5 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/2] string: add strlcat support

2024-10-18 Thread Sascha Hauer
upport https://git.pengutronix.de/cgit/barebox/commit/?id=7cb3478fc8a2 (link may not be stable) [2/2] string: support overriding strchr/strrchr/strstr macros https://git.pengutronix.de/cgit/barebox/commit/?id=98154a75c83a (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] test: enable JSON web token support in full.config

2024-10-18 Thread Sascha Hauer
bling CONFIG_JWT, so this is currently not tested. > Enable it in full.config to increase test coverage. > > [...] Applied, thanks! [1/1] test: enable JSON web token support in full.config https://git.pengutronix.de/cgit/barebox/commit/?id=7733ac4abb33 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] optee: fix use of IS_ENABLED() on option without CONFIG_ prefix

2024-10-18 Thread Sascha Hauer
tee: fix use of IS_ENABLED() on option without CONFIG_ prefix https://git.pengutronix.de/cgit/barebox/commit/?id=b450dc13b43e (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 0/7] rockchip: add RK808 support

2024-10-18 Thread Sascha Hauer
On Tue, 15 Oct 2024 13:10:57 +0200, Sascha Hauer wrote: > This series adds support for the RK808 PMIC found on several Rockchip > boards. Unlike the earlier versions of this PMIC this one comes with > SPI support. As we do not have a Rockchip SPI driver yet, this is added > in th

Re: [PATCH 0/6] dma: give dma_alloc_coherent a device parameter

2024-10-18 Thread Sascha Hauer
ay not be stable) [6/6] dma: give dma_alloc_coherent a device parameter (no commit info) Best regards, -- Sascha Hauer

v2024.10.0

2024-10-18 Thread Sascha Hauer
sion/revision string Mohamed Sawy (1): sandbox: defconfig: activate CONFIG_CONSOLE_ACTIVATE_ALL Roland Hieber (1): ARM: i.MX8MP: König+Bauer AlphaJet: remove barebox partition from eMMC Sascha Hauer (14): dts: update to v6.11-rc3 dts: update to v6.11-rc4 dts: update to

Re: [PATCH 5/7] mfd: rk808: add support for RK806

2024-10-17 Thread Sascha Hauer
en on doing that. Sascha > > ср, 16 окт. 2024 г. в 13:48, Sascha Hauer : > > > > On Wed, Oct 16, 2024 at 12:13:28PM +0300, Alexander Shiyan wrote: > > > As an example, this can be tested with i2c-gpio driver, is'nt it? > > > > We have a rockchip i2c dri

Re: [PATCH 5/7] mfd: rk808: add support for RK806

2024-10-16 Thread Sascha Hauer
On Wed, Oct 16, 2024 at 12:13:28PM +0300, Alexander Shiyan wrote: > As an example, this can be tested with i2c-gpio driver, is'nt it? We have a rockchip i2c driver in barebox. I just don't have a board where the RK806 is connected via I2C. Sascha > > ср, 16 окт. 2024 г. в

Re: [PATCH 00/12] include: common.h: make it include only headers

2024-10-16 Thread Sascha Hauer
Hi Konstantin, On Tue, Oct 15, 2024 at 09:35:01AM -0400, Konstantin Ryabitsev wrote: > On Tue, Oct 15, 2024 at 09:16:17AM +0200, Sascha Hauer wrote: > > Hm, I assumed b4 ty would automatically send a "partly applied" message. > > I've seen this with others using

Re: [PATCH 5/7] mfd: rk808: add support for RK806

2024-10-16 Thread Sascha Hauer
:46, Alexander Shiyan : > > > > вт, 15 окт. 2024 г. в 14:21, Sascha Hauer : > > > > > > This adds support for the RK806 to the rk808 driver. Additionally to > > > I2C this variant comes with SPI support, so add SPI probe support to the > > > driver.

[PATCH 7/7] regulator: rk808: update from kernel

2024-10-15 Thread Sascha Hauer
This syncs the rk808 regulator driver with Linux-6.12-rc1. A lot has changed in the Kernel driver which makes an incremental update hard to do. Signed-off-by: Sascha Hauer --- drivers/regulator/rk808-regulator.c | 1085 ++- include/linux/mfd/rk808.h

[PATCH 4/7] mfd: rk808: update header file from kernel

2024-10-15 Thread Sascha Hauer
This updates rk808.h from Linux as of Linux-6.12-rc1. We currently do not need all register defines from this file, but maintenance will be easier when we just verbatim copy it from Linux. Signed-off-by: Sascha Hauer --- include/linux/mfd/rk808.h | 646

[PATCH 1/7] spi: add rockchip spi controller support

2024-10-15 Thread Sascha Hauer
This adds support for the SPI controller found on many Rockchip SoCs. The driver is based on the corresponding Linux driver as of Linux-6.12-rc1. Signed-off-by: Sascha Hauer --- drivers/spi/Makefile | 1 + drivers/spi/spi-rockchip.c | 584

[PATCH 5/7] mfd: rk808: add support for RK806

2024-10-15 Thread Sascha Hauer
This adds support for the RK806 to the rk808 driver. Additionally to I2C this variant comes with SPI support, so add SPI probe support to the driver. Signed-off-by: Sascha Hauer --- drivers/mfd/Kconfig | 4 +- drivers/mfd/rk808.c | 103 +++- 2

[PATCH 2/7] mfd: mx13xxx: drop unnecessary ifdefs

2024-10-15 Thread Sascha Hauer
No need to #ifdef coredevice_i2c_driver and coredevice_spi_driver. These are noops anyway when the corresponding subsystem is disabled. Signed-off-by: Sascha Hauer --- drivers/mfd/mc13xxx.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/mfd/mc13xxx.c b/drivers/mfd/mc13xxx.c

[PATCH 0/7] rockchip: add RK808 support

2024-10-15 Thread Sascha Hauer
This series adds support for the RK808 PMIC found on several Rockchip boards. Unlike the earlier versions of this PMIC this one comes with SPI support. As we do not have a Rockchip SPI driver yet, this is added in this series as well. Signed-off-by: Sascha Hauer --- Sascha Hauer (7): spi

[PATCH 3/7] mfd: rk808: factor out common probe function

2024-10-15 Thread Sascha Hauer
The RK806 comes with SPI support. Factor out a common probe function to be used with both I2C and SPI. Signed-off-by: Sascha Hauer --- drivers/mfd/rk808.c | 114 1 file changed, 70 insertions(+), 44 deletions(-) diff --git a/drivers/mfd

[PATCH 6/7] regulator: add regulator_register()

2024-10-15 Thread Sascha Hauer
This adds a regulator_register() with a prototype compatible to Linux. Signed-off-by: Sascha Hauer --- drivers/regulator/core.c | 37 + include/regulator.h | 36 2 files changed, 73 insertions(+) diff --git a/drivers

Re: [PATCH] fixup! dma: give dma_alloc_coherent a device parameter

2024-10-15 Thread Sascha Hauer
On Tue, Oct 15, 2024 at 10:20:29AM +0200, Ahmad Fatoum wrote: > Should've been part of the original patch. > This fixes CI failure for ARM64. The patch you are fixing here doesn't apply on any of my for-next branches. I'll drop it for now and apply it right after the next release instead. Sascha

Re: [PATCH] uimage: fix CRC32 verification on NFS

2024-10-15 Thread Sascha Hauer
ge verification code didn't account for this and handled neither > short reads or the file prematurely ending. > > [...] Applied, thanks! [1/1] uimage: fix CRC32 verification on NFS https://git.pengutronix.de/cgit/barebox/commit/?id=5676b0b818d8 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] input: usb_kbd: make polling interval configurable

2024-10-15 Thread Sascha Hauer
On Mon, Oct 14, 2024 at 05:32:38PM +0200, Ahmad Fatoum via B4 Relay wrote: > From: Ahmad Fatoum > > We currently use whatever polling interval the keyboard reports, but in > some keyboard it can be useful to set a lower interval, e.g. for better > control of the snake in the barebox demo[1]. > >

Re: [PATCH 0/6] dma: give dma_alloc_coherent a device parameter

2024-10-15 Thread Sascha Hauer
ay not be stable) [6/6] dma: give dma_alloc_coherent a device parameter https://git.pengutronix.de/cgit/barebox/commit/?id=a4c9398795be (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/3] keytoc: check for memory allocation failures

2024-10-15 Thread Sascha Hauer
T: add dependency on CRYPTO_BUILTIN_KEYS for signature verification https://git.pengutronix.de/cgit/barebox/commit/?id=4a60caf7963f (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/2] net: r8169: use lower/upper_32_bits for clarity

2024-10-15 Thread Sascha Hauer
/upper_32_bits for clarity https://git.pengutronix.de/cgit/barebox/commit/?id=30fab792c340 (link may not be stable) [2/2] usb: gadget: fix static analysis false positive https://git.pengutronix.de/cgit/barebox/commit/?id=9899233fafb9 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] ARM: SMCCC: make header usable for compile test

2024-10-15 Thread Sascha Hauer
other architectures. > > > [...] Applied, thanks! [1/1] ARM: SMCCC: make header usable for compile test https://git.pengutronix.de/cgit/barebox/commit/?id=07dc0b975338 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] usb: gadget: fix static analysis false positive

2024-10-15 Thread Sascha Hauer
get: fix static analysis false positive https://git.pengutronix.de/cgit/barebox/commit/?id=9899233fafb9 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 00/12] include: common.h: make it include only headers

2024-10-15 Thread Sascha Hauer
On Tue, Oct 15, 2024 at 09:10:29AM +0200, Sascha Hauer wrote: > > On Mon, 14 Oct 2024 13:50:28 +0200, Ahmad Fatoum wrote: > > Symbols exclusively defined in common.h are a problem, because other > > headers that require them will need to include a lot of extra baggage, > >

Re: [PATCH 09/12] commands: reginfo: make command mpc5xxx-specific

2024-10-15 Thread Sascha Hauer
On Mon, Oct 14, 2024 at 01:50:37PM +0200, Ahmad Fatoum wrote: > The reginfo command sounds very generic, but it's actually only used on > the PowerPC MPC5xxx. Move the command there using the new > DEFINE_SIMPLE_COMMAND helper. > > Signed-off-by: Ahmad Fatoum > --- > arch/powerpc/mach-mpc5xxx/Kc

Re: [PATCH 00/12] include: common.h: make it include only headers

2024-10-15 Thread Sascha Hauer
3x: remove common.h include in mbox.h (no commit info) Best regards, -- Sascha Hauer

Re: [PATCH master 00/13] Misc compile test fixes

2024-10-15 Thread Sascha Hauer
t/?id=56535d9cb0fc (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH master] sandbox: lds: fix relocation in read-only section warning

2024-10-14 Thread Sascha Hauer
gutronix.de/cgit/barebox/commit/?id=9833da898934 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 0/5] ARM64: make barebox compatible with KVM

2024-10-14 Thread Sascha Hauer
/git.pengutronix.de/cgit/barebox/commit/?id=3ebd05809a49 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] uimage: fix CRC32 verification on NFS

2024-10-14 Thread Sascha Hauer
On Mon, Oct 14, 2024 at 03:18:18PM +0200, Ahmad Fatoum wrote: > On 14.10.24 15:10, Sascha Hauer wrote: > > On Wed, Oct 02, 2024 at 06:07:15PM +0200, Ahmad Fatoum wrote: > >> Reading a file over NFS is prone to return short reads as the file > >> content is split over mul

Re: [PATCH] uimage: fix CRC32 verification on NFS

2024-10-14 Thread Sascha Hauer
On Wed, Oct 02, 2024 at 06:07:15PM +0200, Ahmad Fatoum wrote: > Reading a file over NFS is prone to return short reads as the file > content is split over multiple UDP packets and reads won't return > more than the number of bytes that have gathered in the FIFO. > > The uImage verification code di

Re: [PATCH] uimage: use read_full where appropriate

2024-10-14 Thread Sascha Hauer
; short. > > Use read_full to satisfy this assumption. > > [...] Applied, thanks! [1/1] uimage: use read_full where appropriate https://git.pengutronix.de/cgit/barebox/commit/?id=a77f55e34932 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH v2] test: pytest: introduce pytest for network, test tftp notfound

2024-10-14 Thread Sascha Hauer
engutronix.de/cgit/barebox/commit/?id=2240367552f3 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 5/5] virtio: don't use DMA API unless required

2024-10-14 Thread Sascha Hauer
On Wed, Oct 09, 2024 at 08:05:11AM +0200, Ahmad Fatoum wrote: > We have no Virt I/O drivers that make use of the streaming DMA API, but > the Virt queues are currently always allocated using the coherent DMA > API. > > The coherent DMA API (dma_alloc_coherent/dma_free_coherent) doesn't yet > take

Re: [PATCH 1/2] ARM64: mmuinfo: comment the if clauses decoding PAR_ELx

2024-10-14 Thread Sascha Hauer
https://git.pengutronix.de/cgit/barebox/commit/?id=a5649492cd99 (link may not be stable) [2/2] ARM64: asm: mark assembly entry points as functions https://git.pengutronix.de/cgit/barebox/commit/?id=d28870eec354 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] FIT: improve error message when uncompressing non-compressed files

2024-10-14 Thread Sascha Hauer
(link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 0/6] crypto: ecdsa: fix fallout

2024-10-14 Thread Sascha Hauer
ngutronix.de/cgit/barebox/commit/?id=011c6cc73aa9 (link may not be stable) [6/6] test: self: rename REGENERATE_RSATOC to REGNERATE_KEYTOC https://git.pengutronix.de/cgit/barebox/commit/?id=3c884a974661 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] commands: mmc: write_reliability: bail out early if already set

2024-10-14 Thread Sascha Hauer
s! [1/1] commands: mmc: write_reliability: bail out early if already set https://git.pengutronix.de/cgit/barebox/commit/?id=8a79662c1b46 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] net: designware: let phy_resume handle fixed link phys

2024-10-14 Thread Sascha Hauer
mmit/?id=4e2583356f07 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH 1/2] fixup! video: add dw-hdmi driver

2024-10-14 Thread Sascha Hauer
add dw-hdmi driver https://git.pengutronix.de/cgit/barebox/commit/?id=3f61bbe2b1f4 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] mdio_bus: add NULL check to mdiobus_read/mdiobus_write

2024-10-14 Thread Sascha Hauer
git.pengutronix.de/cgit/barebox/commit/?id=36d1dd4afe57 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] sandbox: defconfig: activate CONFIG_CONSOLE_ACTIVATE_ALL

2024-10-14 Thread Sascha Hauer
ware as it may write barebox log > to external devices that don't expect it. > > [...] Applied, thanks! [1/1] sandbox: defconfig: activate CONFIG_CONSOLE_ACTIVATE_ALL https://git.pengutronix.de/cgit/barebox/commit/?id=e395b09d30c8 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] video: mipi-dbi: reword Kconfig prompt

2024-10-02 Thread Sascha Hauer
tronix.de/cgit/barebox/commit/?id=f62ba2277676 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH] fbconsole: implement panel orientation support

2024-10-02 Thread Sascha Hauer
On Tue, 01 Oct 2024 08:47:20 +0200, Sascha Hauer wrote: > This adds a fbconsolex.orientation property to rotate the console > by 90, 180 or 270 degrees in case the panel is not natively oriented. > > Applied, thanks! [1/1] fbconsole: implement panel orientation support

Re: [PATCH 1/3] ARM: wolfvision PF5: Use upstream IO expander dtso

2024-10-02 Thread Sascha Hauer
On Tue, 01 Oct 2024 12:47:36 +0200, Sascha Hauer wrote: > rk3568-wolfvision-pf5-io-expander-upstream.dtso has been merged in the > upstream dts files, so switch to using the upstream version. > > Applied, thanks! [1/3] ARM: wolfvision PF5: Use upstream IO expander dtso

[PATCH 2/3] ARM: Wolfvision PF5: of_probe only once

2024-10-01 Thread Sascha Hauer
VOP2 will be probed right after the io-expander board has been detected. At that time the display overlay is not yet included, so the VOP2 probes without the display and it won't be available later. Signed-off-by: Sascha Hauer --- common/boards/wolfvision/common.c | 13 ++--- 1

[PATCH] mci: Fix erase_grp_size extraction for SD with csd_struct v0

2024-10-01 Thread Sascha Hauer
e SD case for SD cards. Add the missing erase_grp_size extraction for csd_struct v0 cards. The code for that is taken from the corresponding Linux code. Fixes: 91a11c7d50 ("mci: add support for discarding write blocks") Signed-off-by: Sascha Hauer --- drivers/mci/mci-core.c | 17 ++

[PATCH] ARM: i.MX6 sabrelite: free USB VBUS GPIO after use

2024-10-01 Thread Sascha Hauer
lator. The board specific code to enable VBUS might not be needed at all anymore, but I currently do not have the board handy to try out, so for now just avoid the error messages from failed driver probe. Signed-off-by: Sascha Hauer --- arch/arm/boards/freescale-mx6-sabrelite/board.c

[PATCH] test: arm: qemu-sabrelite: Use qemu specific device tree

2024-10-01 Thread Sascha Hauer
happen that barebox tries to power down the board during startup. Avoid this pitfall by passing a device tree to QEMU which has the gpio-keys driver disabled. Signed-off-by: Sascha Hauer --- arch/arm/dts/Makefile | 2 +- arch/arm/dts/imx6q-sabrelite-qemu.dts

[PATCH 1/3] ARM: wolfvision PF5: Use upstream IO expander dtso

2024-10-01 Thread Sascha Hauer
rk3568-wolfvision-pf5-io-expander-upstream.dtso has been merged in the upstream dts files, so switch to using the upstream version. Signed-off-by: Sascha Hauer --- ...8-wolfvision-pf5-io-expander-upstream.dtso | 137 -- .../rk3568-wolfvision-pf5-io-expander.dtso| 2 +- 2

[PATCH 3/3] ARM: Wolfvision PF5: add display overlay

2024-10-01 Thread Sascha Hauer
The Wolfvision PF5 can have a display connected to it. The presence of the display can be checked for using an analog input. Include the corresponding device tree overlay when the display is connected. Signed-off-by: Sascha Hauer --- arch/arm/boards/wolfvision-pf5/board.c| 15

Re: [PATCH] mci: Fix erase_grp_size extraction for SD with csd_struct v0

2024-10-01 Thread Sascha Hauer
On Tue, 01 Oct 2024 11:57:41 +0200, Sascha Hauer wrote: > In mci_extract_erase_group_size() we test for (IS_SD() && csd_struct_v1) > which means that for non csd_struct_v1 SD cards we fall into the MMC > path and evaluate ext_csd. This doesn't exist for SD cards and the

Re: [PATCH] test: arm: qemu-sabrelite: Use qemu specific device tree

2024-10-01 Thread Sascha Hauer
On Tue, 01 Oct 2024 10:52:08 +0200, Sascha Hauer wrote: > The sabrelite board has some GPIOs registered as buttons. These GPIOs > are not properly emulated in QEMU and read as low. The buttons are > active low as well, so in barebox we detect all buttons as pressed. One > of thes

Re: [PATCH] ARM: i.MX6 sabrelite: free USB VBUS GPIO after use

2024-10-01 Thread Sascha Hauer
On Tue, 01 Oct 2024 10:52:13 +0200, Sascha Hauer wrote: > The sabrelite board code uses a GPIO to enable USB VBUS. The same GPIO > is registered in the device tree as a USB VBUS regulator. This regulator > currently can't probe because the GPIO is busy due to its usage in board &g

[PATCH] fbconsole: implement panel orientation support

2024-09-30 Thread Sascha Hauer
This adds a fbconsolex.orientation property to rotate the console by 90, 180 or 270 degrees in case the panel is not natively oriented. Signed-off-by: Sascha Hauer --- drivers/video/fbconsole.c | 328 -- 1 file changed, 278 insertions(+), 50 deletions

Re: [PATCH v2 00/15] video: Add Rockchip VOP2 support

2024-09-30 Thread Sascha Hauer
On Fri, 27 Sep 2024 12:37:33 +0200, Sascha Hauer wrote: > This series adds support for the VOP2 controller found on the newer > Rockchip SoCs like RK3566, RK3568 and RK3588. It has been tested on a > RK3568 based ROCK3a board using HDMI and a RK3568 based custom board > using HDMI an

Re: [PATCH v2 15/15] video: Rockchip: Add VOP2 driver

2024-09-30 Thread Sascha Hauer
On Mon, Sep 30, 2024 at 08:35:54AM +0200, Ahmad Fatoum wrote: > On 27.09.24 12:37, Sascha Hauer wrote: > > This adds support for the Rockchip VOP2 video core found on the Rockchip > > SoCs RK3566, RK3568 and RK3588. The code is based on the Linux driver > > and has been heav

Re: [PATCH v1] kvx: Fix SoC version/revision string

2024-09-30 Thread Sascha Hauer
/git.pengutronix.de/cgit/barebox/commit/?id=01e744c86aaf (link may not be stable) Best regards, -- Sascha Hauer

[PATCH v2 11/15] fb: print more information on devinfo

2024-09-27 Thread Sascha Hauer
Print some more information about the framebuffer in the devinfo output: - x/y resolution - line_length - type of framebuffer (overlay, base plane) - if it's an overlay, print the base plane Signed-off-by: Sascha Hauer --- drivers/video/fb.c | 9 + 1 file changed, 9 insertions(+)

Re: [PATCH v2 10/10] ARM: add optimized memmove

2024-09-27 Thread Sascha Hauer
On Fri, Sep 27, 2024 at 07:12:15AM +0200, Marco Felsch wrote: > Hi Sascha, > > On 24-09-26, Sascha Hauer wrote: > > Until now there has been no assembler optimized version of memmove() for > > ARM. Add this from Linux-6.10 for both ARM32 and ARM64. This also updates > &

Re: [PATCH 0/5] graphics updates

2024-09-27 Thread Sascha Hauer
On Wed, 25 Sep 2024 16:34:48 +0200, Sascha Hauer wrote: > This series fixes some bugs and oddities in the graphics routines I came > across when testing the upcoming Rockchip VOP2 driver. > > Applied, thanks! [1/5] graphic_utils: Clip to screen boundaries https://git.pe

[PATCH v2 08/15] video: add dw-hdmi driver

2024-09-27 Thread Sascha Hauer
This adds the Designware HDMI driver from Linux-6.10. The code is directly taken from Linux with the necessary adjustments for the barebox API. Audio support has been removed. Signed-off-by: Sascha Hauer --- drivers/video/Kconfig |9 + drivers/video/Makefile |1 + drivers/video/dw

[PATCH v2 05/15] video: add include/video/drm/drm_connector.h

2024-09-27 Thread Sascha Hauer
drm_connector.h from Linux contains several defines and struct types useful for porting over DRM drivers to barebox. This is based on Linux-6.10. Signed-off-by: Sascha Hauer --- include/video/drm/drm_connector.h | 502 ++ 1 file changed, 502 insertions

[PATCH v2 10/15] fb: Accept overlay framebuffers without modes

2024-09-27 Thread Sascha Hauer
This adds a pointer to the base framebuffer to struct fb_info in case the framebuffer is an overlay. As overlays do not have modes, accept them in fb_enable() even when it doesn't have a mode. Signed-off-by: Sascha Hauer --- drivers/video/fb.c | 20 ++-- include/fb.h

[PATCH v2 06/15] fb: add fb_rect functions

2024-09-27 Thread Sascha Hauer
Add convenience functions for calculating the width/height of a rectangle. Signed-off-by: Sascha Hauer --- include/fb.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/fb.h b/include/fb.h index 2dd55eb83d..574a66a396 100644 --- a/include/fb.h +++ b/include/fb.h @@ -99,6

Re: [PATCH v4 00/16] Add ECDSA support for FIT image verification

2024-09-27 Thread Sascha Hauer
On Fri, 13 Sep 2024 09:59:08 +0200, Sascha Hauer wrote: > This series implements ECDSA signature verification for FIT images. > The ECDSA code itself is taken from the Kernel. Currently only supported > way to specify a ECDSA key is to compile it into the binary using > CONFIG_CRYPTO

Re: [PATCH] efi: payload: image use new CONFIG_ARM64 symbol

2024-09-27 Thread Sascha Hauer
thanks! [1/1] efi: payload: image use new CONFIG_ARM64 symbol https://git.pengutronix.de/cgit/barebox/commit/?id=a319bd58c617 (link may not be stable) Best regards, -- Sascha Hauer

Re: [PATCH v4 00/16] Add ECDSA support for FIT image verification

2024-09-27 Thread Sascha Hauer
On Fri, Sep 27, 2024 at 01:23:00PM +0200, Sascha Hauer wrote: > > On Fri, 13 Sep 2024 09:59:08 +0200, Sascha Hauer wrote: > > This series implements ECDSA signature verification for FIT images. > > The ECDSA code itself is taken from the Kernel. Currently only supported > >

<    1   2   3   4   5   6   7   8   9   10   >