Pull request for nand-next

2022-07-23 Thread Michael Trimarchi
Hi Tom, please pull this first batch of Nand related patches: In preparation of re-sync of mtd stack, we opt to move the current stack slowly in order to have a more easy sync and test. We would like to prepare uboot to support no-j

Re: [SPAM] Re: [PATCH v2 1/7] rockchip: generate idbloader.img content for u-boot-rockchip.bin with binman for ARM

2022-07-23 Thread Xavier Drudis Ferran
El Sat, Jul 23, 2022 at 02:07:30PM +0200, Johan Jonker deia: > > > + mkimage { > > + args = "-n", CONFIG_SYS_SOC, "-T", "rksd"; > > > +#ifndef CONFIG_TPL > > + u-boot-spl { > > + }; > > }; > > +#else > > +

Re: [bug] uboot 2022.07 hangs on rpi 2 with attached usb storage

2022-07-23 Thread Jan Palus
On 23.07.2022 10:42, Simon Glass wrote: > Hi Jan, > > On Sat, 23 Jul 2022 at 09:03, Jan Palus wrote: > > > > On 23.07.2022 16:43, Jan Palus wrote: > > > On 23.07.2022 16:19, Jan Palus wrote: > > > > On 22.07.2022 02:59, Simon Glass wrote: > > > > > Hi Jan, > > > > > > > > > > On Mon, 18 Jul 2022

Re: [PATCH v2 1/7] rockchip: generate idbloader.img content for u-boot-rockchip.bin with binman for ARM

2022-07-23 Thread Matwey V. Kornilov
сб, 23 июл. 2022 г. в 15:07, Johan Jonker : > > Hi Quentin and others, > > Some comments. Have a look if it's useful. > It works, but is in need for some improvement... > > Johan > > On 7/22/22 13:34, Quentin Schulz wrote: > > From: Quentin Schulz > > > > idbloader.img content - currently created

[PATCH 12/20] Convert CONFIG_SYS_MAX_FLASH_SECT to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_MAX_FLASH_SECT Signed-off-by: Tom Rini --- README | 3 --- configs/10m50_defconfig | 1 + configs/M5208EVBE_defconfig | 1 + configs/M5235EVB_Fla

[PATCH 20/20] Convert CONFIG_SYS_FSL_DDR_INTLV_256B to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_FSL_DDR_INTLV_256B Signed-off-by: Tom Rini --- README | 5 - configs/ls2080aqds_SECURE_BOOT_defconfig | 1 + configs/ls2080aqds_defconfig | 1 + configs/ls2080aqds_nand_defco

[PATCH 18/20] Convert CONFIG_FSL_MEMAC et al to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_FSL_MEMAC CONFIG_SYS_MEMAC_LITTLE_ENDIAN Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-fsl-layerscape/config.h| 10 -- configs/ls1088aqds_defconfig | 2 ++ configs/ls1088aqds_qspi_SECURE_BOOT_defcon

[PATCH 19/20] Convert CONFIG_SYS_FSL_CORES_PER_CLUSTER to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_FSL_CORES_PER_CLUSTER As part of this, correct the dependencies on SYS_FSL_THREADS_PER_CORE. Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-fsl-layerscape/config.h | 1 - arch/powerpc/cpu/mpc85xx/Kconfig | 8

[PATCH 13/20] Convert CONFIG_SYS_FLASH_QUIET_TEST to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_FLASH_QUIET_TEST Signed-off-by: Tom Rini --- README | 6 -- configs/P1010RDB-PA_36BIT_NAND_defconfig| 1 + configs/P1010RDB-PA_36BIT_NOR_defconfig | 1 + configs/P1010RD

[PATCH 17/20] Convert CONFIG_SYS_FSL_CCSR_GUR_BE et al to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_FSL_CCSR_GUR_BE CONFIG_SYS_FSL_CCSR_SCFG_BE CONFIG_SYS_FSL_ESDHC_BE CONFIG_SYS_FSL_IFC_BE CONFIG_SYS_FSL_PEX_LUT_BE CONFIG_SYS_FSL_CCSR_GUR_LE CONFIG_SYS_FSL_CCSR_SCFG_LE CONFIG_SYS_FSL_ESDHC_LE CONFIG_SYS_FSL_IFC_LE C

[PATCH 16/20] Convert CONFIG_FSL_CORENET to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_FSL_CORENET Signed-off-by: Tom Rini --- arch/powerpc/cpu/mpc85xx/Kconfig | 18 +- arch/powerpc/include/asm/config_mpc85xx.h | 9 - configs/P2041RDB_NAND_defconfig | 1 - configs/P2041RDB_SDCARD_defconf

[PATCH 15/20] configs: Remove a number of unreferenced CONFIG options.

2022-07-23 Thread Tom Rini
There are a large number of options under CONFIG_SYS (but some of these are elsewhere, spotted while cleaning CONFIG_SYS) that are never referenced, or only used slightly later in the config file. Remove or restructure these. Signed-off-by: Tom Rini --- doc/arch/m68k.rst |

[PATCH 14/20] Convert CONFIG_SYS_FMAN_V3 to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_FMAN_V3 Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-fsl-layerscape/config.h | 2 -- arch/powerpc/include/asm/config_mpc85xx.h | 5 - drivers/net/Kconfig | 8 3 files changed, 8 inse

[PATCH 11/20] Audit inclusion

2022-07-23 Thread Tom Rini
A large number of files include as it used to be how various SPI flash related functions were found, or for other reasons entirely. In order to migrate some further CONFIG symbols to Kconfig we need to not include flash.h in cases where we don't have a NOR flash of some sort enabled. Furthermore,

[PATCH 10/20] Convert CONFIG_FLASH_CFI_LEGACY to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_FLASH_CFI_LEGACY Signed-off-by: Tom Rini --- board/freescale/m5253demo/Kconfig | 4 include/configs/M5253DEMO.h | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/board/freescale/m5253demo/Kconfig b/board/freescale/m

[PATCH 09/20] flash: Remove pic32_flash.c

2022-07-23 Thread Tom Rini
As the only pic32 platform does not enable flash, this is dead code. Remove it. Cc: Purna Chandra Mandal Signed-off-by: Tom Rini --- As an alternative, enabling the driver would be appreciated. --- boot/Kconfig | 2 +- drivers/mtd/Kconfig | 20 -- drivers/mtd/Makefile

[PATCH 08/20] Convert CONFIG_SYS_FLASH_ERASE_TOUT et al to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_FLASH_ERASE_TOUT CONFIG_SYS_FLASH_LOCK_TOUT CONFIG_SYS_FLASH_UNLOCK_TOUT CONFIG_SYS_FLASH_WRITE_TOUT In practice, for two m68k platforms we move to hard-coding with a comment the timeout values, rather than try and make convoluted Kcon

[PATCH 03/20] Convert CONFIG_SYS_FLASH_EMPTY_INFO to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_FLASH_EMPTY_INFO Signed-off-by: Tom Rini --- configs/MPC837XERDB_defconfig | 1 + configs/MPC8548CDS_36BIT_defconfig | 1 + configs/MPC8548CDS_defconfig| 1 + configs/MPC8548CDS_l

[PATCH 06/20] P1010RDB: Drop support for not-CONFIG_SYS_DDR_RAW_TIMING

2022-07-23 Thread Tom Rini
All platforms today define CONFIG_SYS_DDR_RAW_TIMING, so drop the code for this option being unset. Cc: Qiang Zhao Signed-off-by: Tom Rini --- board/freescale/p1010rdb/ddr.c | 138 - include/configs/P1010RDB.h | 37 - 2 files changed, 175 deletions(-

[PATCH 07/20] Convert CONFIG_SYS_FLASH_CHECKSUM to Kconfig

2022-07-23 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_FLASH_CHECKSUM Signed-off-by: Tom Rini --- configs/M5249EVB_defconfig | 1 + configs/M5282EVB_defconfig | 1 + drivers/mtd/Kconfig| 7 +++ include/configs/M5249EVB.h | 1 - include/configs/M5282EVB.h | 1 - inc

[PATCH 05/20] malta: Switch to using CONFIG_SYS_SDRAM_SIZE

2022-07-23 Thread Tom Rini
This is the only platform defining and using CONFIG_SYS_MEM_SIZE, switch to using CONFIG_SYS_SDRAM_SIZE for consistency. Cc: Paul Burton Signed-off-by: Tom Rini --- board/imgtec/malta/lowlevel_init.S | 4 ++-- board/imgtec/malta/malta.c | 2 +- include/configs/malta.h| 2 +-

[PATCH 04/20] powerpc: Move CONFIG_SYS_DDR_SIZE to CONFIG_SYS_SDRAM_SIZE

2022-07-23 Thread Tom Rini
We have a number of CONFIG_SYS_xxx_SIZE options to describe the amount main memory available. Rework CONFIG_SYS_DDR_SIZE, which described a size in number of MiB to use CONFIG_SYS_SDRAM_SIZE which is most often used as a number of bytes. Use shifts of this option when required. Signed-off-by: To

[PATCH 02/20] net: Remove CONFIG_SYS_DIRECT_FLASH_TFTP

2022-07-23 Thread Tom Rini
No platforms enable the functionality to tftp directly to NOR flash, and this is discouraged by the documentation. Remove this code. Further, this highlights an oddity of the code. Un-indent the start of this function. Cc: Joe Hershberger Cc: Ramon Fried Signed-off-by: Tom Rini --- README

[PATCH 01/20] sh: Remove unused code in arch/sh/lib/bootm.c

2022-07-23 Thread Tom Rini
There are no callers of the hexdump function that is guarded by CONFIG_SYS_DEBUG, so remove the section. Signed-off-by: Tom Rini --- arch/sh/lib/bootm.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/arch/sh/lib/bootm.c b/arch/sh/lib/bootm.c index 9b71424dfe60..7ea04442b876

Re: [bug] uboot 2022.07 hangs on rpi 2 with attached usb storage

2022-07-23 Thread Jan Palus
On 23.07.2022 16:43, Jan Palus wrote: > On 23.07.2022 16:19, Jan Palus wrote: > > On 22.07.2022 02:59, Simon Glass wrote: > > > Hi Jan, > > > > > > On Mon, 18 Jul 2022 at 11:48, Jan Palus wrote: > > > > > > > > u-boot 2022.07 boots fine without any USB devices attached to > > > > RaspberryPi 2 ho

Re: [bug] uboot 2022.07 hangs on rpi 2 with attached usb storage

2022-07-23 Thread Jan Palus
On 23.07.2022 16:19, Jan Palus wrote: > On 22.07.2022 02:59, Simon Glass wrote: > > Hi Jan, > > > > On Mon, 18 Jul 2022 at 11:48, Jan Palus wrote: > > > > > > u-boot 2022.07 boots fine without any USB devices attached to > > > RaspberryPi 2 however it hangs early on if external USB drive is > > >

Re: [bug] uboot 2022.07 hangs on rpi 2 with attached usb storage

2022-07-23 Thread Jan Palus
On 22.07.2022 02:59, Simon Glass wrote: > Hi Jan, > > On Mon, 18 Jul 2022 at 11:48, Jan Palus wrote: > > > > u-boot 2022.07 boots fine without any USB devices attached to > > RaspberryPi 2 however it hangs early on if external USB drive is > > connected, right after: > > > >Request Sense retu

[PATCH] rockchip: rk3328: Set VOP QoS to high priority

2022-07-23 Thread Nicolas Frattaroli
The default priority for the quality of service for the video output results in unsightly glitches on the output whenever there is memory pressure on the system, which happens a lot. This sets the VOP QoS to high priority, which fixes this issue. Signed-off-by: Nicolas Frattaroli --- arch/arm/m

Re: [PATCH] Revert "power: pmic: rk8xx: Support sysreset shutdown method"

2022-07-23 Thread Simon Glass
Hi Chris, On Fri, 22 Jul 2022 at 11:32, Chris Morgan wrote: > > From: Chris Morgan > > This reverts commit ad607512f5757f4485968efd5bcf2c0245a8a235. > > It was found during extensive testing that this causes problems > on certain boards. I was able to test this patch on a second Please can you

Re: [PATCH] tools: mkimage: fix build with LibreSSL

2022-07-23 Thread Simon Glass
On Fri, 22 Jul 2022 at 11:56, Michal Vasilek wrote: > > RSA_get0_* functions are not available in LibreSSL > > Signed-off-by: Michal Vasilek > --- > tools/sunxi_toc0.c | 6 ++ > 1 file changed, 6 insertions(+) > Reviewed-by: Simon Glass

Re: [bug] uboot 2022.07 hangs on rpi 2 with attached usb storage

2022-07-23 Thread Simon Glass
Hi Jan, On Sat, 23 Jul 2022 at 09:03, Jan Palus wrote: > > On 23.07.2022 16:43, Jan Palus wrote: > > On 23.07.2022 16:19, Jan Palus wrote: > > > On 22.07.2022 02:59, Simon Glass wrote: > > > > Hi Jan, > > > > > > > > On Mon, 18 Jul 2022 at 11:48, Jan Palus wrote: > > > > > > > > > > u-boot 2022.

Re: [PATCH v7 3/7] tpm: Add the RNG child device

2022-07-23 Thread Simon Glass
Hi Ilias, On Fri, 22 Jul 2022 at 03:05, Ilias Apalodimas wrote: > > Hi Simon, > > On Fri, 22 Jul 2022 at 12:00, Simon Glass wrote: > > > > Hi Sughosh, > > > > On Wed, 20 Jul 2022 at 06:30, Sughosh Ganu wrote: > > > > > > The TPM device comes with the random number generator(RNG) > > > functiona

Re: Pull request for efi-2022-10-rc1-2

2022-07-23 Thread Tom Rini
On Fri, Jul 22, 2022 at 08:29:13PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit 26f6f7fb5c0651d65afdee6d8ed36063606179a8: > > Merge branch '2022-07-14-migrate-wiki-to-sphinx' (2022-07-14 18:43:51 > -0400) > > are available in the Git repository at: > >

Re: Please pull u-boot-watchdog/master

2022-07-23 Thread Tom Rini
On Thu, Jul 21, 2022 at 05:31:45PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following watchdog related changes: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 1/7] rockchip: generate idbloader.img content for u-boot-rockchip.bin with binman for ARM

2022-07-23 Thread Johan Jonker
Hi Quentin and others, Some comments. Have a look if it's useful. It works, but is in need for some improvement... Johan On 7/22/22 13:34, Quentin Schulz wrote: > From: Quentin Schulz > > idbloader.img content - currently created by way of Makefile - can be > created by binman directly. > > S

Re: [PATCH v3] board: freescale: p1_p2_rdb_pc: Fix parsing inverted bits from boot input data

2022-07-23 Thread Pali Rohár
On Friday 08 July 2022 19:10:26 Tom Rini wrote: > On Sat, Jul 09, 2022 at 12:49:27AM +0200, Pali Rohár wrote: > > PING? > > > > How many times you would ask me to again rebase this patch?? > > > > On Sunday 03 July 2022 14:39:13 Pali Rohár wrote: > > > On Thursday 23 June 2022 15:04:08 Pali Rohár

Re: [PATCH v2] mmc: fsl_esdhc_spl: Add support for loading proper U-Boot from unaligned location

2022-07-23 Thread Pali Rohár
On Thursday 14 July 2022 01:50:44 Pali Rohár wrote: > On Tuesday 28 June 2022 20:14:36 Pali Rohár wrote: > > On Thursday 23 June 2022 15:31:14 Pali Rohár wrote: > > > On Monday 20 June 2022 12:54:26 Pali Rohár wrote: > > > > This allows to concatenate SPL and proper U-Boot without extra > > > > al