[PATCH v1] RFC: rtc: rv8803: avoid bootloop on low voltage of button cell

2023-02-07 Thread Oliver Graute
if the rtc button cell is on low voltage this can result in a permanent bootloop in u-boot because V2F Register is permanent set. ### Warning: temperature compensation has stopped ### Warning: Voltage low, data is invalid resetting ... With this patch the bootloop is prevented Signed-off-by:

Re: [PATCH 3/3] lmb: Treat a region which is a subset as equal

2023-02-07 Thread Sjoerd Simons
On Mon, 2023-02-06 at 13:04 -0500, Tom Rini wrote: > On Thu, Jan 19, 2023 at 09:38:19AM +0100, Sjoerd Simons wrote: > > > In various cases logical memory blocks are coalesced; As a result > > doing > > a strict check whether memory blocks are the same doesn't > > necessarily > > work as a

Re: [PATCH v2 0/2] Fix sdram size detection on RK3568 and RK3588

2023-02-07 Thread Eugen Hristev
On 2/7/23 19:27, Jonas Karlman wrote: DRAM initialization blobs for rk356x and rk3588 from vendor encode sdram info in a new version 3 format. The new format makes use of more bits in sys_reg3 compared to the version 2 format. RK3588 blob also encode information on sdram channel 3+4 in

Re: [PATCH v2 09/10] configs: ae350: Display CPU and board info for AE350 platforms

2023-02-07 Thread Rick Chen
> From: Peter Yu-Chien Lin(林宇謙) > Sent: Monday, February 06, 2023 4:11 PM > To: u-boot@lists.denx.de > Cc: Leo Yu-Chi Liang(梁育齊) ; Rick Jian-Zhi Chen(陳建志) > ; prabhakar.cse...@gmail.com; Peter Yu-Chien Lin(林宇謙) > > Subject: [PATCH v2 09/10] configs: ae350: Display CPU and board info for >

Re: [PATCH v2 07/10] configs: ae350: Enable v5l2 cache for AE350 platforms in SPL

2023-02-07 Thread Rick Chen
> From: Peter Yu-Chien Lin(林宇謙) > Sent: Monday, February 06, 2023 4:11 PM > To: u-boot@lists.denx.de > Cc: Leo Yu-Chi Liang(梁育齊) ; Rick Jian-Zhi Chen(陳建志) > ; prabhakar.cse...@gmail.com; Peter Yu-Chien Lin(林宇謙) > > Subject: [PATCH v2 07/10] configs: ae350: Enable v5l2 cache for AE350 >

Re: [PATCH v2 06/10] riscv: ax25: cache.c: Cleanups to L1/L2 cache function used in SPL

2023-02-07 Thread Rick Chen
> From: Peter Yu-Chien Lin(林宇謙) > Sent: Monday, February 06, 2023 4:11 PM > To: u-boot@lists.denx.de > Cc: Leo Yu-Chi Liang(梁育齊) ; Rick Jian-Zhi Chen(陳建志) > ; prabhakar.cse...@gmail.com; Peter Yu-Chien Lin(林宇謙) > > Subject: [PATCH v2 06/10] riscv: ax25: cache.c: Cleanups to L1/L2 cache >

Re: [PATCH v2 05/10] riscv: ae350: dts: Update L2 cache compatible string

2023-02-07 Thread Rick Chen
> From: Peter Yu-Chien Lin(林宇謙) > Sent: Monday, February 06, 2023 4:11 PM > To: u-boot@lists.denx.de > Cc: Leo Yu-Chi Liang(梁育齊) ; Rick Jian-Zhi Chen(陳建志) > ; prabhakar.cse...@gmail.com; Peter Yu-Chien Lin(林宇謙) > > Subject: [PATCH v2 05/10] riscv: ae350: dts: Update L2 cache compatible string

Re: [PATCH v2 04/10] riscv: cpu: ax25: Simplify cache enabling logic in harts_early_init()

2023-02-07 Thread Rick Chen
> From: Peter Yu-Chien Lin(林宇謙) > Sent: Monday, February 06, 2023 4:11 PM > To: u-boot@lists.denx.de > Cc: Leo Yu-Chi Liang(梁育齊) ; Rick Jian-Zhi Chen(陳建志) > ; prabhakar.cse...@gmail.com; Peter Yu-Chien Lin(林宇謙) > > Subject: [PATCH v2 04/10] riscv: cpu: ax25: Simplify cache enabling logic in >

Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema

2023-02-07 Thread Tom Rini
On Tue, Feb 07, 2023 at 06:32:58PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 7 Feb 2023 at 17:16, Tom Rini wrote: > > > > On Tue, Feb 07, 2023 at 03:25:18PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 7 Feb 2023 at 14:46, Tom Rini wrote: > > > > > > > > On Tue, Feb 07,

Re: [PATCH v3 01/76] moveconfig: Add an option to compare Kconfig against source

2023-02-07 Thread Tom Rini
On Wed, Feb 01, 2023 at 01:19:12PM -0700, Simon Glass wrote: > Sometimes the Makefile rules or source code refers to Kconfig options > which don't exist. Update the moveconfig tool to check this and produce > a series of reports about inconsistencies. > > This can then be used to generate

Re: [PATCH v2 03/10] driver: cache: cache-v5l2: Update memory-mapped scheme to support Gen2 platform

2023-02-07 Thread Rick Chen
> From: Peter Yu-Chien Lin(林宇謙) > Sent: Monday, February 06, 2023 4:11 PM > To: u-boot@lists.denx.de > Cc: Leo Yu-Chi Liang(梁育齊) ; Rick Jian-Zhi Chen(陳建志) > ; prabhakar.cse...@gmail.com; Peter Yu-Chien Lin(林宇謙) > > Subject: [PATCH v2 03/10] driver: cache: cache-v5l2: Update memory-mapped >

Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema

2023-02-07 Thread Simon Glass
Hi Tom, On Tue, 7 Feb 2023 at 17:16, Tom Rini wrote: > > On Tue, Feb 07, 2023 at 03:25:18PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 7 Feb 2023 at 14:46, Tom Rini wrote: > > > > > > On Tue, Feb 07, 2023 at 02:43:49PM -0700, Simon Glass wrote: > > > > Hi Tom, > > > > > > > > On Tue,

Re: [PATCH] board: gateworks: venice: enable XWAY PHY support

2023-02-07 Thread Fabio Estevam
On Tue, Feb 7, 2023 at 8:44 PM Tim Harvey wrote: > > Enable XWAY PHY driver and remove board specific config from > board_phy_config weak override. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema

2023-02-07 Thread Tom Rini
On Tue, Feb 07, 2023 at 03:25:18PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 7 Feb 2023 at 14:46, Tom Rini wrote: > > > > On Tue, Feb 07, 2023 at 02:43:49PM -0700, Simon Glass wrote: > > > Hi Tom, > > > > > > On Tue, 7 Feb 2023 at 14:06, Tom Rini wrote: > > > > > > > > On Mon, Feb 06,

Re: [PATCH v2 4/5] lib: sha256: Add support for hardware specific sha256_process

2023-02-07 Thread Tom Rini
On Tue, Feb 07, 2023 at 03:25:16PM -0700, Simon Glass wrote: > Hi Loic, > > On Tue, 7 Feb 2023 at 14:47, Loic Poulain wrote: > > > > Hi Simon, > > > > On Tue, 7 Feb 2023 at 05:05, Simon Glass wrote: > > > > > > Hi Loic, > > > > > > On Mon, 6 Feb 2023 at 15:12, Loic Poulain wrote: > > > > > > >

[PATCH] board: gateworks: venice: enable XWAY PHY support

2023-02-07 Thread Tim Harvey
Enable XWAY PHY driver and remove board specific config from board_phy_config weak override. Signed-off-by: Tim Harvey --- board/gateworks/venice/venice.c | 16 configs/imx8mm_venice_defconfig | 1 + configs/imx8mn_venice_defconfig | 1 + configs/imx8mp_venice_defconfig | 1

[PATCH 3/3] net: ksz9477: add port_probe function to config phy

2023-02-07 Thread Tim Harvey
Add a port_probe function to configure the phy. This leads to earlier link negotiation so the port is more likely to be ready when used. Signed-off-by: Tim Harvey --- drivers/net/ksz9477.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git

[PATCH 1/3] net: ksz9477: remove unnecessary dsa_set_tagging call

2023-02-07 Thread Tim Harvey
packet tagging is not used for this driver so we do not need to call dsa_set_tagging. Signed-off-by: Tim Harvey --- drivers/net/ksz9477.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/net/ksz9477.c b/drivers/net/ksz9477.c index fb5c76c600be..fecc394e0277 100644 ---

[PATCH 2/3] net: ksz9477: remove unnecessary variable

2023-02-07 Thread Tim Harvey
We don't do anything useful with the master dev, so remove the variable. Signed-off-by: Tim Harvey --- drivers/net/ksz9477.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/net/ksz9477.c b/drivers/net/ksz9477.c index fecc394e0277..5b0ef78ab93b 100644 --- a/drivers/net/ksz9477.c

[PATCH] arch: enable private libgcc for m68k

2023-02-07 Thread Angelo Dureghello
From: Angelo Durgehello This patch fixes u-boot hanging on the first printf("%x", val). Some toolchains built without multilib enabled may produce u-boot freezing on first u64 shift operation, as in lib/vsprintf.c number() function. Using our private libgcc solves the issue. Setting private

Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema

2023-02-07 Thread Simon Glass
Hi Tom, On Tue, 7 Feb 2023 at 14:46, Tom Rini wrote: > > On Tue, Feb 07, 2023 at 02:43:49PM -0700, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 7 Feb 2023 at 14:06, Tom Rini wrote: > > > > > > On Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote: > > > [snip] > > > > On Mon, 6 Feb 2023

Re: [PATCH v2 4/5] lib: sha256: Add support for hardware specific sha256_process

2023-02-07 Thread Simon Glass
Hi Loic, On Tue, 7 Feb 2023 at 14:47, Loic Poulain wrote: > > Hi Simon, > > On Tue, 7 Feb 2023 at 05:05, Simon Glass wrote: > > > > Hi Loic, > > > > On Mon, 6 Feb 2023 at 15:12, Loic Poulain wrote: > > > > > > Hi Simon, > > > > > > Le lun. 6 févr. 2023 à 18:12, Simon Glass a écrit : > > >> >

Re: U-Boot support for M68K removal

2023-02-07 Thread Angelo Dureghello
Hi all, finally u-boot up and running again on m68k, at least on mcf54415: U-Boot 2023.04-rc1-00216-g33bd3d34d2-dirty (Feb 07 2023 - 22:45:11 +0100) CPU: 54415 :) Freescale 0a0 Freescale MCF54415 (Mask:a0 Version:2) CPU CLK 240 MHz BUS CLK 120 MHz FLB CLK 60 MHz INP CLK 30 MHz

Re: [PATCH v2 4/5] lib: sha256: Add support for hardware specific sha256_process

2023-02-07 Thread Loic Poulain
Hi Simon, On Tue, 7 Feb 2023 at 05:05, Simon Glass wrote: > > Hi Loic, > > On Mon, 6 Feb 2023 at 15:12, Loic Poulain wrote: > > > > Hi Simon, > > > > Le lun. 6 févr. 2023 à 18:12, Simon Glass a écrit : > >> > >> Hi Loic, > >> > >> On Wed, 1 Jun 2022 at 12:27, Loic Poulain wrote: > >> > > >> >

Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema

2023-02-07 Thread Tom Rini
On Tue, Feb 07, 2023 at 02:43:49PM -0700, Simon Glass wrote: > Hi Tom, > > On Tue, 7 Feb 2023 at 14:06, Tom Rini wrote: > > > > On Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote: > > [snip] > > > On Mon, 6 Feb 2023 at 07:56, Michal Simek wrote: > > > > > > > > > > > > > > > > On

Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema

2023-02-07 Thread Simon Glass
Hi Tom, On Tue, 7 Feb 2023 at 14:06, Tom Rini wrote: > > On Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote: > [snip] > > On Mon, 6 Feb 2023 at 07:56, Michal Simek wrote: > > > > > > > > > > > > On 2/6/23 15:44, Tom Rini wrote: > > > > On Mon, Feb 06, 2023 at 01:22:48PM +0100, Michal

[PATCH] binman: Show the image name for the top-level section

2023-02-07 Thread Simon Glass
At present we show 'main section' as the top-level section name. It may be more helpful to show the actual image name. This is tricky because Image is a parent class of Entry_section, so there is no distinction between an image and a section. Update it to show the image name. Signed-off-by:

[PATCH] cmd: Add 2048 game

2023-02-07 Thread Simon Glass
Add the 2048 game, a good demo of ANSI sequences and a way to waste a little time. Bring it it from Barebox, modified for code style. Signed-off-by: Simon Glass --- cmd/2048.c| 397 ++ cmd/Kconfig | 11 ++ cmd/Makefile

Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema

2023-02-07 Thread Tom Rini
On Mon, Feb 06, 2023 at 10:12:27AM -0700, Simon Glass wrote: [snip] > On Mon, 6 Feb 2023 at 07:56, Michal Simek wrote: > > > > > > > > On 2/6/23 15:44, Tom Rini wrote: > > > On Mon, Feb 06, 2023 at 01:22:48PM +0100, Michal Simek wrote: > > >> Hi Simon, > > >> > > >> On 2/1/23 23:54, Simon Glass

[PATCH] m68k: add global variable sdhc_per_clk for m68k

2023-02-07 Thread Angelo Dureghello
From: Angelo Durgehello The FSL eSDHC controller supports two reference clocks. They are platform clock and periperhal clock. The global variable sdhc_clk has already been used for platform clock. ColdFire also uses eSHDC controller, as in arm and powerpc, so adding sdhc_per_clk to

Re: [PATCH] board: stmark2: fix clock value

2023-02-07 Thread Tom Rini
On Tue, Feb 07, 2023 at 09:50:00PM +0100, Angelo Dureghello wrote: > From: Angelo Dureghello > > Fix totally blank console at boot, clock value must be decimal, > as for the 30Mhz external crystal. > > Signed-off-by: Angelo Dureghello Fixes: 26e5944ec90c ("stmark2: Migrate

[PATCH] board: stmark2: move CONFIG_SYS_SBFHDR_SIZE to CFG namespace

2023-02-07 Thread Angelo Dureghello
From: Angelo Durgehello Move CONFIG_SYS_SBFHDR_SIZE to CFG_SYS_SBFHDR_SIZE. Signed-off-by: Angelo Durgehello --- include/configs/stmark2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h index 11ca86737d..81c8f011bf

Re: [PATCH 3/3] board: stmark2: fix clock value

2023-02-07 Thread Angelo Dureghello
Sorry, double sent. On 07/02/23 21:48, Angelo Dureghello wrote: From: Angelo Dureghello Fix totally blank console at boot, clock value must be decimal, as for the 30Mhz external crystal. Signed-off-by: Angelo Dureghello --- board/sysam/stmark2/Kconfig | 2 +- 1 file changed, 1

Re: [PATCH 2/3] board: stmark2: move CONFIG_SYS_SBFHDR_SIZE to CFG namespace

2023-02-07 Thread Angelo Dureghello
Sorry, sent as patchset for error, resending as single patch. On 07/02/23 21:47, Angelo Dureghello wrote: From: Angelo Durgehello Move CONFIG_SYS_SBFHDR_SIZE to CFG_SYS_SBFHDR_SIZE. Signed-off-by: Angelo Durgehello --- include/configs/stmark2.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] board: stmark2: fix clock value

2023-02-07 Thread Angelo Dureghello
From: Angelo Dureghello Fix totally blank console at boot, clock value must be decimal, as for the 30Mhz external crystal. Signed-off-by: Angelo Dureghello --- board/sysam/stmark2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sysam/stmark2/Kconfig

[PATCH 3/3] board: stmark2: fix clock value

2023-02-07 Thread Angelo Dureghello
From: Angelo Dureghello Fix totally blank console at boot, clock value must be decimal, as for the 30Mhz external crystal. Signed-off-by: Angelo Dureghello --- board/sysam/stmark2/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/sysam/stmark2/Kconfig

[PATCH 2/3] board: stmark2: move CONFIG_SYS_SBFHDR_SIZE to CFG namespace

2023-02-07 Thread Angelo Dureghello
From: Angelo Durgehello Move CONFIG_SYS_SBFHDR_SIZE to CFG_SYS_SBFHDR_SIZE. Signed-off-by: Angelo Durgehello --- include/configs/stmark2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stmark2.h b/include/configs/stmark2.h index 11ca86737d..81c8f011bf

Re: [PATCH v3 18/19] test/py: android: extend abootimg test

2023-02-07 Thread Tom Rini
On Mon, Feb 06, 2023 at 12:50:20AM +0100, Safae Ouajih wrote: > test_abootimg is extended to include the testing of boot images > version 4. For this, boot.img and vendor_boot.img have been > generated using mkbootimg tool with setting the header > version to 4. > > This tests: > - Getting the

Re: [PATCH] Dockerfile: Update QEMU git location

2023-02-07 Thread Simon Glass
On Tue, 7 Feb 2023 at 10:50, Tom Rini wrote: > > Per https://www.qemu.org/contribute/ the official location of the QEMU > sources are https://gitlab.com/qemu-project/qemu.git > > Signed-off-by: Tom Rini > --- > tools/docker/Dockerfile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH v3 6/8] dm: treewide: Complete migration to new driver model schema

2023-02-07 Thread Simon Glass
Hi Peter, On Tue, 7 Feb 2023 at 08:36, Peter Maydell wrote: > > On Mon, 6 Feb 2023 at 17:12, Simon Glass wrote: > > > > For QEMU, where to start... I already sent a patch to fix this > > problem[1]. > > If you want to propose changes to QEMU or to revive > discussions about old patchsets

Re: [PATCH] RFC: CI: add test/usage_of_is_enabled_check.sh

2023-02-07 Thread Simon Glass
Hi Troy, On Tue, 7 Feb 2023 at 11:06, Troy Kisky wrote: > > > Hi Guys > > My recent CI runs for my is_enabled branch have failed > Run tests for Nokia RX-51 (aka N900) with > > 2023-02-07T17:38:08.1393984Z --2023-02-07 17:38:08-- (try:20) >

Re: [PATCH] schemas: Add schema for firmware logs

2023-02-07 Thread Simon Glass
Hi Jan, On Tue, 7 Feb 2023 at 08:39, Jan Lübbe wrote: > > On Tue, 2023-02-07 at 06:38 -0700, Simon Glass wrote: > > Hi Jan, > > > > On Tue, 7 Feb 2023 at 04:56, Jan Lübbe wrote: > > > > > > On Mon, 2023-02-06 at 17:32 -0600, Rob Herring wrote: > > > > +boot-architecture > > > > > > > > On Mon,

Re: [PATCH v1 1/6] drivers/nvmxip: introduce NVM XIP block storage emulation

2023-02-07 Thread Simon Glass
Hi, On Mon, 16 Jan 2023 at 10:28, wrote: > > From: Abdellatif El Khlifi > > add block storage emulation for NVM XIP flash devices > > Some paltforms such as Corstone-1000 need to see NVM XIP raw flash > as a block storage device with read only capability. As mentioned I didn't see this patch

Re: [PATCH V5 08/12] iot2050: Add script for signing artifacts

2023-02-07 Thread Simon Glass
Hi Jan, On Tue, 7 Feb 2023 at 09:45, Jan Kiszka wrote: > > On 07.02.23 16:28, Simon Glass wrote: > > Hi Jan, > > > > On Mon, 6 Feb 2023 at 04:57, Jan Kiszka wrote: > >> > >> On 06.02.23 11:47, Jan Kiszka wrote: > >>> On 04.02.23 23:26, Simon Glass wrote: > Hi Jan, > > On Fri, 3

Re: [PATCH v1 3/6] sandbox64: add support for NVMXIP QSPI

2023-02-07 Thread Simon Glass
Hi, On Tue, 7 Feb 2023 at 09:30, Tom Rini wrote: > > On Mon, Feb 06, 2023 at 09:02:38PM -0700, Simon Glass wrote: > > On Mon, 16 Jan 2023 at 10:28, wrote: > > > > > > From: Abdellatif El Khlifi > > > > > > enable NVMXIP QSPI for sandbox 64-bit > > > > > > Adding two NVM XIP QSPI storage

Re: [PATCH] RFC: CI: add test/usage_of_is_enabled_check.sh

2023-02-07 Thread Troy Kisky
Hi Guys My recent CI runs for my is_enabled branch have failed Run tests for Nokia RX-51 (aka N900) with 2023-02-07T17:38:08.1393984Z --2023-02-07 17:38:08-- (try:20) http://repository.maemo.org/pool/maemo5.0/free/b/busybox/busybox_1.10.2.legal-1osso30+0m5_armel.deb 2023-02-07T17:40:17.4031492Z

[PATCH] Dockerfile: Update QEMU git location

2023-02-07 Thread Tom Rini
Per https://www.qemu.org/contribute/ the official location of the QEMU sources are https://gitlab.com/qemu-project/qemu.git Signed-off-by: Tom Rini --- tools/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile

[PATCH v2 2/2] rockchip: sdram: add dram bank with usable memory beyond 4GB

2023-02-07 Thread Jonas Karlman
Add a second dram bank of usable memory beyond the blob of space for peripheral near 4GB. Any memory that exists beyond the 4GB mark is added to the second bank. Signed-off-by: Jonas Karlman --- v2: - Change CONFIG_SYS_SDRAM_BASE to CFG_SYS_SDRAM_BASE arch/arm/mach-rockchip/sdram.c | 12

[PATCH v2 1/2] rockchip: sdram: add basic support for sdram reg info version 3

2023-02-07 Thread Jonas Karlman
Newer DRAM initialization blobs from vendor can encode sdram info in a new version 3 format. The new format makes use of more bits in sys_reg3 compared to the version 2 format. Add basic support for detecting the version 3 format and decoding the high bits used for ddrtype. This fixes decode of

[PATCH v2 0/2] Fix sdram size detection on RK3568 and RK3588

2023-02-07 Thread Jonas Karlman
DRAM initialization blobs for rk356x and rk3588 from vendor encode sdram info in a new version 3 format. The new format makes use of more bits in sys_reg3 compared to the version 2 format. RK3588 blob also encode information on sdram channel 3+4 in sys_reg4+5 using the same format. This series

Re: [PATCH 1/2] arm: cpu: Add optional CMOs by VA

2023-02-07 Thread Paul Liu
Hi Marc, I think you are the author. I'm just making some minor fixes and then upstreaming to the mailing list. What is the correct way to make the Signed-off-by list? Yours, Paul On Wed, 8 Feb 2023 at 00:35, Marc Zyngier wrote: > On 2023-02-07 16:20, Ying-Chun Liu (PaulLiu) wrote: > >

Re: [PATCH 1/2] arm: cpu: Add optional CMOs by VA

2023-02-07 Thread Tom Rini
On Tue, Feb 07, 2023 at 05:06:39PM +, Marc Zyngier wrote: > On Tue, 07 Feb 2023 16:40:05 +, > Tom Rini wrote: > > > > On Tue, Feb 07, 2023 at 04:35:25PM +, Marc Zyngier wrote: > > > On 2023-02-07 16:20, Ying-Chun Liu (PaulLiu) wrote: > > > > Exposing set/way cache maintenance to a

Re: [PATCH 1/2] arm: cpu: Add optional CMOs by VA

2023-02-07 Thread Marc Zyngier
On Tue, 07 Feb 2023 16:40:05 +, Tom Rini wrote: > > On Tue, Feb 07, 2023 at 04:35:25PM +, Marc Zyngier wrote: > > On 2023-02-07 16:20, Ying-Chun Liu (PaulLiu) wrote: > > > Exposing set/way cache maintenance to a virtual machine is unsafe, not > > > least because the instructions are not

Re: [PATCH] cmd: Add a SEAMA image load command

2023-02-07 Thread Tom Rini
On Wed, Feb 01, 2023 at 12:16:13AM +0100, Linus Walleij wrote: > Add a command to load SEAMA (Seattle Image), a NAND flash > on-flash storage format. > > This type of flash image is found in some D-Link routers such > as DIR-645, DIR-842, DIR-859, DIR-860L, DIR-885L, DIR890L and > DCH-M225, as

Re: [PATCH] elf: add Elf64_Sym

2023-02-07 Thread Tom Rini
On Sun, Jan 22, 2023 at 08:04:53PM +0100, KaDiWa wrote: > Required as Elf_Sym in tools/prelink-riscv.inc. I assume people have > been using an OS-supplied elf.h, but macOS doesn't have that. > > Taken from > https://github.com/torvalds/linux/blob/v6.1/include/uapi/linux/elf.h > > Signed-off-by:

Re: [PATCH 1/2] km/ppc: remove km-mpc8360.h and km-mpc832x.h

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 09:42:40AM +0100, Holger Brunck wrote: > Next step to get rid of the header files in icnlude/configs. Move > most of the defines to km83xx.c directly. Some remaining defines > which should go to Kconfig are moved to km-mpc83xx.h for now. > > Also remove some unused

Re: [PATCH] test: bootdev: Do not require USB to compile test

2023-02-07 Thread Tom Rini
On Mon, Jan 23, 2023 at 11:07:21PM +0100, Linus Walleij wrote: > This test will block compilation of the entire test suite > on platforms without USB support. Make the extern > "usb_started" conditional on USB host or gadget and > define a dummy flag if neither is enabled. > > Cc: Simon Glass >

Re: [PATCH] env: mmc: Fix offset issue for env save

2023-02-07 Thread Tom Rini
On Tue, Jan 31, 2023 at 02:41:58PM +0800, Ye Li wrote: > Fix the issue in commit 46c9016 (env: mcc: Drop unnecessary #ifdefs) > If CONFIG_SYS_REDUNDAND_ENVIRONMENT is not defined, the offset value > becomes undetermined, so write env to unexpected offset. > > Signed-off-by: Ye Li > Reviewed-by:

Re: [PATCH u-boot 3/3] tools: imagetool: Skip autodetection of gpimage type

2023-02-07 Thread Tom Rini
On Sun, Jan 29, 2023 at 05:45:55PM +0100, Pali Rohár wrote: > gpimage type requires only that two first 32-bit words of data file are > non-zero. So basically every random data file can be guessed and verified > as gpimage. So completely skip gpimage type from image autodetection code > to

Re: [PATCH] spl: Drop unwanted return in spl_fit_upload_fpga()

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 03:55:10AM -0700, Simon Glass wrote: > This was added by mistake and renders the function useless. Fix it. > > Signed-off-by: Simon Glass > Fixes: 33c60a38bb9 ("trace: Use notrace for short") > Reported-by: Stefan Herbrechtsmeier > > Reviewed-by: Oleksandr Suvorov

Re: [PATCH] MAINTAINERS: m68k: Change Angelo's email address

2023-02-07 Thread Tom Rini
On Mon, Jan 30, 2023 at 08:54:50PM +0100, Angelo Dureghello wrote: > Set my new current personal email. > > Signed-off-by: Angelo Dureghello Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] Makefile: fix shell error for darwin major/minor version check

2023-02-07 Thread Tom Rini
On Sun, Jan 22, 2023 at 01:42:10AM +0100, Christian Marangi wrote: > Fix shell error: > /bin/sh: line 0: [: too many arguments > > for the darwin major/minor version check. > > It seems for os_x_before for some reason DARWIN_MAJOR_VERSION and > DARWIN_MINOR_VERSION are empty. To fix this set

Re: [PATCH u-boot 2/2] tools: default_image: Accept images with padding

2023-02-07 Thread Tom Rini
On Mon, Feb 06, 2023 at 10:47:43PM +0100, Pali Rohár wrote: > On Monday 06 February 2023 14:43:07 Tom Rini wrote: > > On Sun, Jan 29, 2023 at 05:44:11PM +0100, Pali Rohár wrote: > > > > > If image file is stored on flash partition then it contains padding, which > > > is not part of the image

Re: [PATCH 2/2] km/ppc832x: join config files

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 09:42:41AM +0100, Holger Brunck wrote: > There are no differences for the different 832x targets we have in > the header defined with SYS_CONFIG_NAME. So we can join the five > headers to a single file. > > Signed-off-by: Holger Brunck Applied to u-boot/master, thanks!

Re: [PATCH u-boot 2/3] tools: imagetool: Show error message when detecting image type failed

2023-02-07 Thread Tom Rini
On Sun, Jan 29, 2023 at 05:45:54PM +0100, Pali Rohár wrote: > Signed-off-by: Pali Rohár Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH u-boot 1/2] tools: default_image: Verify header size

2023-02-07 Thread Tom Rini
On Sun, Jan 29, 2023 at 05:44:10PM +0100, Pali Rohár wrote: > Before reading image header, verify that image size is at least size of > the image header. > > Signed-off-by: Pali Rohár > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH u-boot 1/3] tools: imagetool: Fix error message when verify_header is undefined

2023-02-07 Thread Tom Rini
On Sun, Jan 29, 2023 at 05:45:53PM +0100, Pali Rohár wrote: > Signed-off-by: Pali Rohár Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 13/13] arm: qemu: Move GUIDs to the C file

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:28PM -0700, Simon Glass wrote: > These are only used in one place, so move them there. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 12/13] arm: qemu: Switch to a text environment

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:27PM -0700, Simon Glass wrote: > Use the new environment format so we can drop most of the config.h file. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 11/13] arm: qemu: Switch to standard boot

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:26PM -0700, Simon Glass wrote: > Drop use of the distro scripts and use standard boot instead. > > Enable BOOTDEV_FULL just for convenience, although this does add quite a > bit to the size. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! --

Re: [PATCH 10/13] qemu: Add a bootmeth for qfw

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:25PM -0700, Simon Glass wrote: > This supports reading a kernel and ramdisk from qfw, then loading it with > either the booti or bootz commands. > > For now this uses the existing booti and bootz commands, rather than > trying to call that functionality directly

Re: [PATCH 09/13] qemu: Add a bootdev for qfw

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:24PM -0700, Simon Glass wrote: > Add a bootdev device for qfw so that it can be used with standard boot. > This simply checks for the correct method and then does the read. Most of > the other logic is handed in a new bootmeth driver. > > Signed-off-by: Simon Glass

Re: [PATCH 08/13] qemu: Move qfw kernel setup into a common file

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:23PM -0700, Simon Glass wrote: > This is currently in the cmd/ file but we want to call it from a driver. > Move it into a common place. Tidy up the header-file order while we are > here. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 07/13] qemu: Update qfw command to use addresses

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:22PM -0700, Simon Glass wrote: > This uses casts all over the place. Use the correct type so that these > can be avoided, as is done with other commands. Also simplify a few > conditionals. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [PATCH 06/13] bootstd: Add some default filesystems and commands

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:21PM -0700, Simon Glass wrote: > We need to support a basic set of filesystems for booting to work in most > cases. Add these in via a new option, letting the board disable them > individually (for space reasons) if desired. > > This enables the filesystem commands

Re: [PATCH 05/13] bootstd: Correct virtio block-device handling

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:20PM -0700, Simon Glass wrote: > At present virtio tries to attach QEMU services to a bootdev device, which > cannot work. Add a check for this. > > Also use bootdev_setup_sibling_blk() to create the bootdev device, since > it allows the correct name to be used and

Re: [PATCH 04/13] bootstd: Probe the block device before use

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:19PM -0700, Simon Glass wrote: > In some cases the block device is obtained but is not probed, since it > is a sibling of the bootdev. Make sure it is probed, so it can be used > without any trouble. > > This fixes a bug with virtio, where the device is accessed

Re: [PATCH 03/13] bootstd: Allow enabling BOOTSTD_FULL without needing EXPO

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:18PM -0700, Simon Glass wrote: > It is sometimes useful to have one without the other, e.g. on a device > without a display, since at present the expo feature requires CONFIG_VIDEO > to be enabled. > > Update the Makefile and bootflow command to support this, as

Re: [PATCH 02/13] virtio: Add some debugging

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:17PM -0700, Simon Glass wrote: > When QEMU does not respond for some reason, it is helpful to have > debugging info to show. Add some. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 01/13] log: Add a category for filesystems

2023-02-07 Thread Tom Rini
On Sat, Jan 28, 2023 at 03:00:16PM -0700, Simon Glass wrote: > Sometimes it is useful to log things related to filesystems. Add a new > category and place it at the top of one of the FAT files. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [PATCH v1 12/12] powerpc/mpc85xx: socrates: enable signed fitImages

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:07:00PM +0100, Heiko Schocher wrote: > allow only to boot signed fitimages (and signed u-boot > scripts). > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 11/12] powerpc/mpc85xx: socrates: enable protected Environment

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:59PM +0100, Heiko Schocher wrote: > enable protected Environment on socrates board. > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 10/12] powerpc/mpc85xx: socrates: add autoboot delay string

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:58PM +0100, Heiko Schocher wrote: > add autoboot delay string for socrates board. > use sha256 for abort autoboot, use "ao" to abort. > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 09/12] powerpc/mpc85xx: socrates: add support for i2c eeprom at 0x51

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:57PM +0100, Heiko Schocher wrote: > add support for i2c eeprom on address 0x51. > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 08/12] powerpc/mpc85xx: socrates: Add boot retry feature

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:56PM +0100, Heiko Schocher wrote: > add boot retry feature and reboot after 120 seconds. > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 07/12] powerpc/mpc85xx: socrates: drop second flash bank

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:55PM +0100, Heiko Schocher wrote: > drop second flash bank, as not used anymore. > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 06/12] powerpc/mpc85xx: socrates: add initrd_high default environment variable

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:54PM +0100, Heiko Schocher wrote: > we need to set initrd_high to get fitimage booting. > > Without, U-Boot drops when booting fitimage: > > ERROR: Failed to allocate 0x59a0b6 bytes below 0x80. > ramdisk - allocation error > bootm - boot application image from

Re: [PATCH v1 05/12] powerpc/mpc85xx: socrates: add MTD partitioning support

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:53PM +0100, Heiko Schocher wrote: > setup MTD partitioning through mtdparts variable > and set it to: > > mtdparts=fe000.nor:13312k(system1),13312k(system2),5120k(data),128k(env),128k(env-red),768k(u-boot) > > and pass this to linux per kernel commandline. > >

Re: [PATCH v1 01/12] powerpc/mpc85xx: fixes and updates for socrates board

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:49PM +0100, Heiko Schocher wrote: > current mainline does not work on socrates board. To > get it back up working, there are some updates needed > in socrates_defconfig. > > Signed-off-by: Heiko Schocher > Fixes: 94633c36f9eb ("net: Make DM_ETH be selected by

Re: [PATCH v1 04/12] powerpc: dts: updates socrates board

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:52PM +0100, Heiko Schocher wrote: > include common e500v2_power_isa.dtsi and rearrange > some nodes. > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v1 03/12] powerpc/mpc85xx: drop socrates specific image creation

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:51PM +0100, Heiko Schocher wrote: > convert socrates board to use MPC85XX_HAVE_RESET_VECTOR and > disable CONFIG_OF_BOARD and use common u-boot.dtsi for > creating u-boot-dtb.bin. > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom

Re: [PATCH v1 02/12] powerpc/mpc85xx: socrates: rework build process

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 06:06:50PM +0100, Heiko Schocher wrote: > U-Boot build process for socrates board produces final U-Boot binary in > file u-boot-socrates.bin (by binman) And as a bonus it produces two > unusable broken binaries u-boot-dtb.bin and u-boot.bin (by Makefile). > > Clean this

Re: [PATCH v2 5/7] board: ti: am62x: am62x: Add splash screen env variables

2023-02-07 Thread Tom Rini
On Tue, Jan 31, 2023 at 03:35:18PM +0530, Nikhil M Jain wrote: > Set splash screen related env variables. Default splash source is > set to mmc where user is expected to keep bmp in compressed format > with name ti.gz on first partition of mmc. > > Splash file will be uncompressed to DDR at

Re: [PATCH v2 1/1] include: configs: am62x_evm: Add .env file for Am62x

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 10:46:02AM +0530, Nikhil M Jain wrote: > Use .env file for setting board related environment variables, > in place of am62x_evm.h file. Except for BOOTENV settings, as > config_distro_boot.env file doesn't exist. > > Signed-off-by: Nikhil M Jain > Reviewed-by: Tom Rini

Re: [PATCH] am335x_evm_defconfig: Enable CONFIG_CMD_EXTENSION

2023-02-07 Thread Tom Rini
On Thu, Jan 26, 2023 at 03:19:15PM +0300, Matwey V. Kornilov wrote: > am335x_evm_defconfig is used for BeagleBone Black, popular single board > computer with wide extension support. Enable CONFIG_CMD_EXTENSION by default > since extension detection is already implemented for am335x. > > Also run

Re: [PATCH] ti: j721e_evm: Add USB to the default boot order

2023-02-07 Thread Tom Rini
On Wed, Jan 25, 2023 at 06:09:55PM -0500, Tom Rini wrote: > This family of platforms typically has a USB port, and so attempting to > boot from it, and making it first, will provide a better overall user > experience. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [u-boot PATCH v2 3/3] arm: dts: k3-am64: Fix CPSW3G ethernet

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 11:43:27AM +0200, Roger Quadros wrote: > As MDIO driver does not support Driver Model, the > pinctrl settings in the MDIO node will not > be applied resulting in PHY not being detected. > > To workaround this we add the MDIO pinctrl in > the CPSW3G node in the

Re: [u-boot PATCH v2 2/3] arm: dts: k3-am6: Fix "EEPROM not available" error

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 11:43:26AM +0200, Roger Quadros wrote: > We need to enable i2c0 so u-boot can read from EEPROM. > > Signed-off-by: Roger Quadros > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [u-boot PATCH v2 1/3] arm: dts: k3-am64: sync with Linux DT files

2023-02-07 Thread Tom Rini
On Tue, Jan 24, 2023 at 11:43:25AM +0200, Roger Quadros wrote: > Sync AM64 DT files with Linux v6.2-rc4 > > Signed-off-by: Roger Quadros > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH] lmb: Default to not-LMB_USE_MAX_REGIONS

2023-02-07 Thread Tom Rini
On Wed, Jan 25, 2023 at 06:08:23PM -0500, Tom Rini wrote: > The LMB code allows for picking a hard limit on the number of regions it > can know of, or to dynamically allocate these regions. The reason for > this choice is to allow for the compiler to perform a size optimization > in the common

  1   2   >