Re: [PATCH 0/5] spl: binman: Fixes for BINMAN_SYMBOLS

2022-06-10 Thread Marek Vasut
On 6/10/22 12:58, Alper Nebi Yasak wrote: There's some trouble with an i.MX8M series [1] trying to use binman symbols. The crux of it is the 'u_boot_any' symbols BINMAN_SYMBOLS configs declare, and the boards creating partial binman images including an SPL without a U-Boot the symbol is

Re: imx8m(n): garbage on serial line

2022-06-10 Thread Fabio Estevam
Hi Heiko, On Fri, Jun 10, 2022 at 7:29 AM Heiko Thiery wrote: > > Hi, > > I just rebased my pending patch for adding support for the NXP imx8mn > ddr3l evk board. When applying on the current master I see some > garbage on the serial input. > > Can anyone confirm that behavior or is it just

Boot regression on am335x-hs-evm

2022-06-10 Thread LABBE Corentin
Hello I hit a boot regression on am335x-hs-evm. On current uboot, the board does not boot at all. This board uses both MLO and u-boot.img and only MLO was the problem. After a bisect, I found that e41651fffda7 ("dm: Support parent devices with of-platdata") was the problem. Reverting this patch

RE: [EXT] RE: [PATCH] i.MX8M: crypto: disable JR0 in SPL, U-Boot

2022-06-10 Thread Gaurav Jain
Hi Fabio I can not see the patch in my mails. Can you include me using my mail id. Regards Gaurav Jain > -Original Message- > From: Fabio Estevam > Sent: Friday, June 10, 2022 1:36 AM > To: Gaurav Jain > Cc: ZHIZHIKIN Andrey ; u- > b...@lists.denx.de; Stefano Babic ; Tommaso Merciai

Re: [PATCH v5 10/23] FWU: cmd: Add a command to read FWU metadata

2022-06-10 Thread Ilias Apalodimas
On Thu, Jun 09, 2022 at 05:59:57PM +0530, Sughosh Ganu wrote: > Add a command to read the metadata as specified in the FWU > specification and print the fields of the metadata. > > Signed-off-by: Sughosh Ganu > --- > cmd/Kconfig | 7 + > cmd/Makefile| 1 + > cmd/fwu_mdata.c | 74

imx8m(n): garbage on serial line

2022-06-10 Thread Heiko Thiery
Hi, I just rebased my pending patch for adding support for the NXP imx8mn ddr3l evk board. When applying on the current master I see some garbage on the serial input. Can anyone confirm that behavior or is it just here? U-Boot 2022.07-rc4-00011-gacd4e97ae6 (Jun 10 2022 - 09:46:24 +0200) CPU:

Re: [SPAM] Boot regression on am335x-hs-evm

2022-06-10 Thread Xavier Drudis Ferran
El Fri, Jun 10, 2022 at 11:59:23AM +0200, LABBE Corentin deia: > --- a/drivers/core/lists.c > +++ b/drivers/core/lists.c > @@ -20,6 +20,10 @@ > #include > #include > > +static int _errorcount; > +int errorlist[1024]; > +int errorcount; > + > struct driver *lists_driver_lookup_name(const

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in, caam_hash()

2022-06-10 Thread Fabio Estevam
Hi Michal, On Fri, Jun 10, 2022 at 7:02 AM Michal Vokáč wrote: > Hi Fabio, > I had the very same problem/error on i.MX6 and figured out that > CONFIG_ARCH_MISC_INIT=y must be enabled otherwise the caam_jr driver > is not initialized. Yes, correct. There is a patch from Gaurav to address this:

Re: [PATCH v5 06/23] FWU: stm32mp1: Add helper functions for accessing FWU metadata

2022-06-10 Thread Ilias Apalodimas
Hi Sughosh, On Thu, Jun 09, 2022 at 05:59:53PM +0530, Sughosh Ganu wrote: > Add helper functions needed for accessing the FWU metadata which > contains information on the updatable images. These functions have > been added for the STM32MP157C-DK2 board which has the updatable > images on the uSD

Re: Boot regression on am335x-hs-evm

2022-06-10 Thread Tom Rini
On Fri, Jun 10, 2022 at 11:59:23AM +0200, LABBE Corentin wrote: > Hello > > I hit a boot regression on am335x-hs-evm. > On current uboot, the board does not boot at all. > This board uses both MLO and u-boot.img and only MLO was the problem. > > After a bisect, I found that e41651fffda7 ("dm:

[PATCH 2/5] spl: binman: Make TPL_BINMAN_SYMBOLS depend on TPL_FRAMEWORK

2022-06-10 Thread Alper Nebi Yasak
TPL_BINMAN_SYMBOLS depends on SPL_FRAMEWORK. The code this enables is compiled by checking CONFIG_$(SPL_TPL_)FRAMEWORK, so it should depend on TPL_FRAMEWORK instead (which in turn depends on SPL_FRAMEWORK). This was most likely a typo due to copy-pasting the config's SPL version, fix it.

[PATCH 1/5] spl: binman: Fix use of undeclared u_boot_any symbols

2022-06-10 Thread Alper Nebi Yasak
Some SPL functions directly use the binman 'u_boot_any' symbols to get U-Boot's binman image position. These symbols are declared by the SPL/TPL_BINMAN_SYMBOLS configs, but they are accessed by macros defined by just CONFIG_BINMAN. So when BINMAN is enabled and BINMAN_SYMBOLS is disabled, the code

[PATCH 4/5] spl: binman: Let u-boot-spl/vpl symbol declarations be disabled

2022-06-10 Thread Alper Nebi Yasak
The SPL/TPL_BINMAN_SYMBOLS config only disables the u_boot_any symbol. Extend its #if directive to cover declarations for all phases. Update the Kconfig prompt and help message to make it clearer about this. Signed-off-by: Alper Nebi Yasak --- common/spl/Kconfig | 12 ++--

[PATCH 0/5] spl: binman: Fixes for BINMAN_SYMBOLS

2022-06-10 Thread Alper Nebi Yasak
There's some trouble with an i.MX8M series [1] trying to use binman symbols. The crux of it is the 'u_boot_any' symbols BINMAN_SYMBOLS configs declare, and the boards creating partial binman images including an SPL without a U-Boot the symbol is referring to. Normally this should be easy to

[PATCH 3/5] spl: binman: Declare extern symbols for VPL as well

2022-06-10 Thread Alper Nebi Yasak
The binman extern symbol declarations in spl.h are missing the VPL symbols recently added to spl.c, add them like the others. Signed-off-by: Alper Nebi Yasak --- include/spl.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/spl.h b/include/spl.h index 83ac583e0b49..1778e0f53686

[PATCH] intel: n5x: ddr: update license

2022-06-10 Thread tien . fong . chee
From: Tien Fong Chee All the source code of sdram_n5x.c are from Intel, update the license to use both GPL2.0 and BSD-3 Clause because this copy of code may used for open source and internal project. Signed-off-by: Tien Fong Chee --- drivers/ddr/altera/sdram_n5x.c | 4 ++-- 1 file changed, 2

Re: Reproducibility issue due to use of uname

2022-06-10 Thread Heinrich Schuchardt
On 6/9/22 18:06, Vagrant Cascadian wrote: It looks like u-boot 2022.07-rc1 introduced a reproducibility issue that is dependent on the running kernel. I believe the commit that triggered this issue is: f7691a6d736bec7915c227ac14076f9993a27367 sandbox: allow cross-compiling sandbox Thanks

[PATCH 5/5] spl: binman: Add a config option for binman symbols in VPL

2022-06-10 Thread Alper Nebi Yasak
The SPL code declares binman symbols for U-Boot phases depending on CONFIG_IS_ENABLED(BINMAN_SYMBOLS). This config exists for SPL and TPL, also add a version for VPL. Signed-off-by: Alper Nebi Yasak --- common/spl/Kconfig.vpl | 12 1 file changed, 12 insertions(+) diff --git

Re: [PATCH v5 07/23] FWU: STM32MP1: Add support to read boot index from backup register

2022-06-10 Thread Ilias Apalodimas
That's looks ok to me, but I'd rather ST people to have a look On Thu, 9 Jun 2022 at 15:31, Sughosh Ganu wrote: > > The FWU Multi Bank Update feature allows the platform to boot the > firmware images from one of the partitions(banks). The first stage > bootloader(fsbl) passes the value of the

Re: [PATCH] dt-bindings: mtd: partitions: add UBI binding

2022-06-10 Thread Daniel Golle
On Thu, Feb 17, 2022 at 11:24:48AM +0100, Rafał Miłecki wrote: > From: Rafał Miłecki > > UBI is often used on embedded devices to store UBI volumes with device > configuration / calibration data. Such volumes may need to be documented > and referenced for proper boot & setup. > > Some examples:

Re: [EXT] RE: [PATCH] i.MX8M: crypto: disable JR0 in SPL, U-Boot

2022-06-10 Thread Fabio Estevam
Hi Gaurav, On Fri, Jun 10, 2022 at 8:51 AM Gaurav Jain wrote: > > Hi Fabio > > I can not see the patch in my mails. > Can you include me using my mail id. I added your email, when submitting: http://lists.infradead.org/pipermail/linux-arm-kernel/2022-June/749625.html Regards, Fabio Estevam

[PATCH] board: ti: j721e: Return if there is an error while configuring SerDes

2022-06-10 Thread Aswath Govindraju
While configuring SerDes, errors could be encountered, in these cases, return instead of going ahead. This is will help in booting even if configuration of SerDes fails. Signed-off-by: Aswath Govindraju --- board/ti/j721e/evm.c | 32 ++-- 1 file changed, 22

Re: Boot regression on am335x-hs-evm

2022-06-10 Thread Tom Rini
On Fri, Jun 10, 2022 at 05:45:04PM +0200, LABBE Corentin wrote: > Le Fri, Jun 10, 2022 at 11:01:47AM -0400, Tom Rini a écrit : > > On Fri, Jun 10, 2022 at 04:51:12PM +0200, LABBE Corentin wrote: > > > Le Fri, Jun 10, 2022 at 08:16:10AM -0400, Tom Rini a écrit : > > > > On Fri, Jun 10, 2022 at

Re: [PATCH v2] xilinx: zynqmp: Do not use 0 as spl bss start address

2022-06-10 Thread Stefan Herbrechtsmeier
Hi Michal, what is the default entry address for the aft / bl31.bin? I have a bl31.bin with an entry address of 0x1000 and this is inside the BSS. Regards Stefan Am 07.06.2022 um 10:13 schrieb Michal Simek: út 7. 6. 2022 v 9:44 odesílatel Stefan Herbrechtsmeier napsal: From: Stefan

Re: imx8m(n): garbage on serial line

2022-06-10 Thread Heiko Thiery
Hi, Am Fr., 10. Juni 2022 um 15:00 Uhr schrieb Fabio Estevam : > > Hi Heiko, > > On Fri, Jun 10, 2022 at 7:29 AM Heiko Thiery wrote: > > > > Hi, > > > > I just rebased my pending patch for adding support for the NXP imx8mn > > ddr3l evk board. When applying on the current master I see some > >

Re: Boot regression on am335x-hs-evm

2022-06-10 Thread LABBE Corentin
Le Fri, Jun 10, 2022 at 08:16:10AM -0400, Tom Rini a écrit : > On Fri, Jun 10, 2022 at 11:59:23AM +0200, LABBE Corentin wrote: > > Hello > > > > I hit a boot regression on am335x-hs-evm. > > On current uboot, the board does not boot at all. > > This board uses both MLO and u-boot.img and only MLO

Re: Boot regression on am335x-hs-evm

2022-06-10 Thread LABBE Corentin
Le Fri, Jun 10, 2022 at 11:01:47AM -0400, Tom Rini a écrit : > On Fri, Jun 10, 2022 at 04:51:12PM +0200, LABBE Corentin wrote: > > Le Fri, Jun 10, 2022 at 08:16:10AM -0400, Tom Rini a écrit : > > > On Fri, Jun 10, 2022 at 11:59:23AM +0200, LABBE Corentin wrote: > > > > Hello > > > > > > > > I hit

Re: [PATCH 2/8] configs: imx8mm_data_modul_edm_sbc: not select SPL_RAM_DEVICE

2022-06-10 Thread Alper Nebi Yasak
On 08/06/2022 01:54, Marek Vasut wrote: > I still don't see why we should randomly damage board configs to work > around what looks like a bug in binman -- are we now implementing > workarounds instead of trying to fully understand issues and implement > proper fixes for those ? > > Why can't

Re: imx8m(n): garbage on serial line

2022-06-10 Thread Fabio Estevam
Hi Heiko, On Fri, Jun 10, 2022 at 7:29 AM Heiko Thiery wrote: > > Hi, > > I just rebased my pending patch for adding support for the NXP imx8mn > ddr3l evk board. When applying on the current master I see some > garbage on the serial input. > > Can anyone confirm that behavior or is it just

Re: [u-boot PATCH 2/3] tools/fdtgrep: Include __symbols__ table

2022-06-10 Thread Tom Rini
On Mon, May 09, 2022 at 10:29:35AM +0300, Roger Quadros wrote: > This is required for overlays to work at SPL. > > Signed-off-by: Roger Quadros This breaks booting my dra7xx_evm and I get no output in SPL. -- Tom signature.asc Description: PGP signature

Re: [PATCH v2 0/7] Add video damage tracking

2022-06-10 Thread Matthias Brugger
On 10/06/2022 00:59, Alexander Graf wrote: This patch set speeds up graphics output on ARM by a factor of 60x. On most ARM SBCs, we keep the frame buffer in DRAM and map it as cached, but need it accessible by the display controller which reads directly from a later point of consistency.

Re: Boot regression on am335x-hs-evm

2022-06-10 Thread Tom Rini
On Fri, Jun 10, 2022 at 04:51:12PM +0200, LABBE Corentin wrote: > Le Fri, Jun 10, 2022 at 08:16:10AM -0400, Tom Rini a écrit : > > On Fri, Jun 10, 2022 at 11:59:23AM +0200, LABBE Corentin wrote: > > > Hello > > > > > > I hit a boot regression on am335x-hs-evm. > > > On current uboot, the board

[PATCH v16 1/2] net: Add TCP protocol

2022-06-10 Thread Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)" Currently file transfers are done using tftp or NFS both over udp. This requires a request to be sent from client (u-boot) to the boot server. The current standard is TCP with selective acknowledgment. Signed-off-by: Duncan Hare Signed-off-by: Duncan Hare

[PATCH v16 2/2] net: Add wget application

2022-06-10 Thread Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)" This commit adds a simple wget command that can download files from http server. The command syntax is wget ${loadaddr} Signed-off-by: Duncan Hare Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Christian Gmeiner Cc: Joe Hershberger Cc: Michal Simek Cc: Ramon

[PATCH v16 0/2] add TCP and HTTP for downloading images

2022-06-10 Thread Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)" This patch is a refresh from previous patches made by Duncan Hare . I've contacted him and continue to work on this patch. This patch introduce a TCP stack with SACK. And a simple wget command to download images from http server. v1-v12: Made by Duncan, didn't

Re: [PATCH 1/3] Kconfig: set i.MX8MQ SYS_MALLOC_F_LEN

2022-06-10 Thread Heiko Thiery
Hi Peng, Am Fr., 29. Apr. 2022 um 09:20 Uhr schrieb Peng Fan (OSS) : > > From: Peng Fan > > set SPL_SYS_MALLOC_F_LEN to 0x2000 > set SYS_MALLOC_F_LEN to 0x1 > > This is to prepare enable CLK_IMX8MQ for i.MX8MQ > > Fixes: commit 4eb82c2e56a7c ("imx: power-domain: Get rid of SMCCC dependency")

[PATCH 1/1] efi_loader: correctly identify binary name

2022-06-10 Thread Heinrich Schuchardt
Only on the sandbox the default EFI binary name (e.g. BOOTX64.EFI) must match the host architecture. In all other cases we must use the target architecture. Use #elif where appropriate. Reported-by: Vagrant Cascadian Signed-off-by: Heinrich Schuchardt --- include/efi_default_filename.h | 40

Re: [PATCH 7/8] binman_sym: guard with CONFIG_IS_ENABLED(BINMAN_SYMBOLS)

2022-06-10 Thread Alper Nebi Yasak
On 04/06/2022 14:50, Alper Nebi Yasak wrote: > On 03/06/2022 10:17, Peng Fan (OSS) wrote: >> From: Peng Fan >> >> There is case that CONFIG_BINMAN is defined, but >> CONFIG_SPL_BINMAN_SYMBOLS is not defined. In that case, there will be >> build failure. So use CONFIG_SPL_BINMAN_SYMBOLS to guard

Re: [SPAM] Re: [PATCH v2] xilinx: zynqmp: Do not use 0 as spl bss start address

2022-06-10 Thread Xavier Drudis Ferran
El Fri, Jun 10, 2022 at 04:42:55PM +0200, Stefan Herbrechtsmeier deia: > Hi Michal, > > what is the default entry address for the aft / bl31.bin? > > I have a bl31.bin with an entry address of 0x1000 and this is inside the > BSS. > Me too, load address at 0x1000, but for me in SPL text, not

[PATCH v15 2/2] net: Add wget application

2022-06-10 Thread Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)" This commit adds a simple wget command that can download files from http server. The command syntax is wget ${loadaddr} Signed-off-by: Duncan Hare Signed-off-by: Ying-Chun Liu (PaulLiu) Cc: Christian Gmeiner Cc: Joe Hershberger Cc: Michal Simek Cc: Ramon

[PATCH v15 1/2] net: Add TCP protocol

2022-06-10 Thread Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)" Currently file transfers are done using tftp or NFS both over udp. This requires a request to be sent from client (u-boot) to the boot server. The current standard is TCP with selective acknowledgment. Signed-off-by: Duncan Hare Signed-off-by: Duncan Hare

[PATCH v15 0/2] add TCP and HTTP for downloading images

2022-06-10 Thread Ying-Chun Liu (PaulLiu)
From: "Ying-Chun Liu (PaulLiu)" This patch is a refresh from previous patches made by Duncan Hare . I've contacted him and continue to work on this patch. This patch introduce a TCP stack with SACK. And a simple wget command to download images from http server. v1-v12: Made by Duncan, didn't

Re: [PATCH v2 1/4] EFI: Populate descriptor_count value only when image_info_size is not zero

2022-06-10 Thread Peter Griffin
Hi Sughosh, On Wed, 1 Jun 2022 at 19:01, Sughosh Ganu wrote: > The GetImageInfo function of the Firmware Mangement Protocol(FMP) gets > called initially to query the size of the image descriptor array that > would have to be allocated. During this call, the rest of the function > arguments,

Re: [PATCH 4/4] spi: synquacer: simplify tx completion checking

2022-06-10 Thread Tom Rini
On Tue, May 17, 2022 at 05:41:39PM +0900, Masahisa Kojima wrote: > There is a TX-FIFO and Shift Register empty(TFES) status > bit in spi controller. This commit checks the TFES bit > to wait the TX transfer completes. > > Signed-off-by: Masahisa Kojima > Signed-off-by: Satoru Okamoto >

Re: [PATCH 3/4] spi: synquacer: DMSTART bit must not be set while transferring

2022-06-10 Thread Tom Rini
On Tue, May 17, 2022 at 05:41:38PM +0900, Masahisa Kojima wrote: > DMSTART bit must not be set while there is active transfer. > This commit sets the DMSTART bit only when the transfer begins. > > Signed-off-by: Masahisa Kojima > Signed-off-by: Satoru Okamoto > Acked-by: Jassi Brar Applied

Re: [PATCH 1/3] ARM: omap3: evm: Power on MMC when setting up PMIC

2022-06-10 Thread Tom Rini
On Sun, May 15, 2022 at 10:25:03PM -0500, Derald D. Woods wrote: > This commit copies the related code changes from the BeagleBoard. > > Reference: > - > https://source.denx.de/u-boot/u-boot/-/commit/848cfe098f59c47a2542385513fb554430b874d6 > > Signed-off-by: Derald D. Woods Applied to

Re: [PATCH 1/9] arm: dts: k3-j721e-mcu-wakeup: Add HyperBus Controller node

2022-06-10 Thread Tom Rini
On Mon, May 09, 2022 at 11:50:09AM +0530, Vaishnav Achath wrote: > Add DT node for HyperBus Memory Controller and hbmc-mux in the > FSS. hbmc-am654 driver uses syscon_get_regmap() call which fails > with current compatible setting. > > Signed-off-by: Vaishnav Achath For the series, applied to

Re: [PATCH v3 1/1] arm: bcmbca: introduce the bcmbca architecture and 47622 SOC

2022-06-10 Thread Tom Rini
On Mon, May 09, 2022 at 09:28:02AM -0700, William Zhang wrote: > This is the initial support for Broadcom's ARM-based 47622 SOC. > > In this change, our first SOC is an armv7 platform called 47622. The > initial support includes a bare-bone implementation and dts with ARM > PL011 uart. > > The

Re: [PATCH v1] pinctrl: nuvoton: Add NPCM7xx pinctrl driver

2022-06-10 Thread Tom Rini
On Tue, May 17, 2022 at 04:30:32PM +0800, Jim Liu wrote: > Add Nuvoton BMC NPCM750 Pinmux and Pinconf support. > > Signed-off-by: Jim Liu Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 2/4] spi: synquacer: wait until slave is deselected

2022-06-10 Thread Tom Rini
On Tue, May 17, 2022 at 05:41:37PM +0900, Masahisa Kojima wrote: > synquacer_cs_set() function does not wait the chip select > is deasserted when the driver sets the DMSTOP to deselect > the slave. > This commit checks the Slave Select Released(SRS) bit to wait > until the slave is deselected. >

Re: [PATCH v1] rng: nuvoton: Add NPCM7xx rng driver

2022-06-10 Thread Tom Rini
On Tue, May 24, 2022 at 04:56:57PM +0800, Jim Liu wrote: > Add Nuvoton BMC NPCM750 rng driver. > > Signed-off-by: Jim Liu Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 1/4] spi: synquacer: busy variable must be initialized before use

2022-06-10 Thread Tom Rini
On Tue, May 17, 2022 at 05:41:36PM +0900, Masahisa Kojima wrote: > "busy" variable is ORed without being initialized, > must be zeroed before use. > > Signed-off-by: Masahisa Kojima > Signed-off-by: Satoru Okamoto > Acked-by: Jassi Brar Applied to u-boot/next, thanks! -- Tom

Re: [PATCH 1/3] arm: dts: k3-am654-r5-base-board: Fix the dt properties in usb0 instance

2022-06-10 Thread Tom Rini
On Wed, May 18, 2022 at 04:49:12PM +0530, Aswath Govindraju wrote: > For dfu boot mode, the clocks property needs to be deleted and dr_mode > needs to be set to peripheral. Therefore, add the required fixes for the > same. > > Signed-off-by: Aswath Govindraju Applied to u-boot/next, thanks!

Re: [PATCH 2/3] ARM: omap3: evm: Complete DM_I2C migration

2022-06-10 Thread Tom Rini
On Sun, May 15, 2022 at 10:25:04PM -0500, Derald D. Woods wrote: > This commits enables DM_I2C and sets the default bus to 0. > > Signed-off-by: Derald D. Woods Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP signature

Re: [PATCH 3/3] ARM: omap3: evm: Fix 'fitImage' booting

2022-06-10 Thread Tom Rini
On Sun, May 15, 2022 at 10:25:05PM -0500, Derald D. Woods wrote: > This commit sets two additional variables in the default BOOTCOMMAND. > Adding 'boot=mmc' and 'addr_fit=0x8b00' removes the need for a > special 'uEnv.txt' to be created. The 'addr_fit' variable is the key > piece here. It is

Re: [PATCH 2/3] arm: mach-k3: am6_init: Fix the path and value's length in the fixup performed for usb boot

2022-06-10 Thread Tom Rini
On Wed, May 18, 2022 at 04:49:13PM +0530, Aswath Govindraju wrote: > The node name of the bus in the device tree has changed. Also, the length > argument to be passed should be the length of new value. Therefore, fix the > path to usb device tree node as well as the length argument passed. > >

Re: [PATCH v2 01/12] drivers: mmc: am654_sdhci: Add new compatible for AM62 SoC

2022-06-10 Thread Tom Rini
On Wed, May 25, 2022 at 01:38:39PM +0530, Vignesh Raghavendra wrote: > From: Aswath Govindraju > > The phy used in the 8 bit instance has been changed to the phy used in 4 > bit instance on AM62 SoC. This implies the phy configuration required for > both the instances of mmc are similar.

Re: [PATCH 3/3] configs: am65_evm_r5_usb*_defconfig: Sync the checks for size of image and stack from generic r5 defconfig

2022-06-10 Thread Tom Rini
On Wed, May 18, 2022 at 04:49:14PM +0530, Aswath Govindraju wrote: > Sync the configs required for enabling checks for size of image and stack > from generic r5 defconfig file. > > Signed-off-by: Aswath Govindraju Applied to u-boot/next, thanks! -- Tom signature.asc Description: PGP

Re: [PATCH 1/1] efi_loader: correctly identify binary name

2022-06-10 Thread AKASHI Takahiro
On Fri, Jun 10, 2022 at 08:55:24PM +0200, Heinrich Schuchardt wrote: > Only on the sandbox the default EFI binary name (e.g. BOOTX64.EFI) must > match the host architecture. > > In all other cases we must use the target architecture. So most of the new code, particularly else clause of "#ifdef

[PATCH 03/15] ata: fsl_sata: Remove legacy non-BLK code

2022-06-10 Thread Tom Rini
The migration deadline for this has passed and all boards have been updated, remove this legacy code and references for it. Signed-off-by: Tom Rini --- drivers/ata/fsl_sata.c | 70 ++-- drivers/ata/fsl_sata.h | 2 - include/configs/MPC837XERDB.h

[PATCH 04/15] Convert CONFIG_FSL_SATA_V2 to Kconfig

2022-06-10 Thread Tom Rini
This converts the following to Kconfig: CONFIG_FSL_SATA_V2 Signed-off-by: Tom Rini --- configs/P1010RDB-PA_36BIT_NAND_defconfig | 1 + configs/P1010RDB-PA_36BIT_NOR_defconfig | 1 + configs/P1010RDB-PA_36BIT_SDCARD_defconfig | 1 + configs/P1010RDB-PA_36BIT_SPIFLASH_defconfig | 1

[PATCH 02/15] ata: dwc_ahsata: Remove legacy non-CONFIG_AHCI code

2022-06-10 Thread Tom Rini
The migration deadline for this has passed and all boards have been updated, remove this legacy code and references for it. Signed-off-by: Tom Rini --- drivers/ata/dwc_ahsata.c | 133 --- include/configs/cm_fx6.h | 2 - include/configs/ge_bx50v3.h |

[PATCH 07/15] block: ide: Remove ide_preinit function

2022-06-10 Thread Tom Rini
The only platform currently that defines an ide_preinit function has an empty one that immediately returns. Remove this hook. Signed-off-by: Tom Rini --- board/freescale/m5253demo/m5253demo.c | 5 - drivers/block/ide.c | 9 - include/configs/M5253DEMO.h

[PATCH 09/15] arm: exynos: Remove old pwm backlight driver

2022-06-10 Thread Tom Rini
Remove the unused older exynos pwm backlight driver. Signed-off-by: Tom Rini --- .../mach-exynos/include/mach/pwm_backlight.h | 20 - drivers/video/exynos/exynos_pwm_bl.c | 44 --- 2 files changed, 64 deletions(-) delete mode 100644

[PATCH 01/15] xtensa: Switch to using CONFIG_XTENSA for building device trees

2022-06-10 Thread Tom Rini
The only use of CONFIG_XTFPGA was to build all of the in-tree device trees. Switch to using CONFIG_XTENSA instead of a non-Kconfig symbol. Signed-off-by: Tom Rini --- arch/xtensa/dts/Makefile | 2 +- include/configs/xtfpga.h | 6 -- 2 files changed, 1 insertion(+), 7 deletions(-) diff

[PATCH 06/15] ata: sata_sil: Remove useless BLK guard in sata_sil.h

2022-06-10 Thread Tom Rini
Now that the driver only supports CONFIG_BLK, remove the useless guard in sata_sil.h. Signed-off-by: Tom Rini --- drivers/ata/sata_sil.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/ata/sata_sil.h b/drivers/ata/sata_sil.h index bea4322c919d..9ad09e5461d2 100644 ---

[PATCHv2 16/18] spl: Ensure all SPL symbols in Kconfig have some SPL dependency

2022-06-10 Thread Tom Rini
Tighten up symbol dependencies in a number of places. Ensure that a SPL specific option has at least a direct dependency on SPL. In places where it's clear that we depend on something more specific, use that dependency instead. This means in a very small number of places we can drop redundant

Re: [PATCH resend 1/2] imx: imx8mq: default select CLK_IMX8MQ

2022-06-10 Thread Heiko Thiery
Hi Tom, Am Fr., 3. Juni 2022 um 21:49 Uhr schrieb Tom Rini : > > On Mon, May 23, 2022 at 07:38:27PM +0800, Peng Fan (OSS) wrote: > > > From: Peng Fan > > > > Since the power domain driver default select CONFIG_CLK, so we will > > meet lots failures without CLK_IMX8MQ, so default select it. > > >

[PATCH 05/15] Convert CONFIG_LBA48 et al to Kconfig

2022-06-10 Thread Tom Rini
This converts the following to Kconfig: CONFIG_LBA48 CONFIG_SYS_64BIT_LBA Signed-off-by: Tom Rini --- README | 12 arch/arm/mach-kirkwood/include/mach/config.h | 2 -- configs/A10-OLinuXino-Lime_defconfig | 1 +

[PATCH 10/15] arm: samsung: Migrate a number of symbols to Kconfig

2022-06-10 Thread Tom Rini
- In a number of cases, use CONFIG_ARCH_EXYNOS[45] rather than CONFIG_EXYNOS[45] - In other cases, test for CONFIG_ARCH_EXYNOS or CONFIG_ARCH_S5PC1XX - Migrate specific SoC CONFIG values to Kconfig - Use CONFIG_TARGET_x rather than CONFIG_x - Migrate other CONFIG_EXYNOS_x symbols to Kconfig -

[PATCH 14/15] Convert CONFIG_SYS_MPC85XX_NO_RESETVEC to Kconfig

2022-06-10 Thread Tom Rini
This converts the following to Kconfig: CONFIG_SYS_MPC85XX_NO_RESETVEC Signed-off-by: Tom Rini --- README | 5 - arch/powerpc/cpu/mpc85xx/Kconfig | 23 arch/powerpc/cpu/mpc85xx/u-boot-spl.lds | 6 ++---

[PATCH 13/15] Remove CONFIG_SPL_RAW_IMAGE_ARM_TRUSTED_FIRMWARE and CONFIG_SPL_ABORT_ON_RAW_IMAGE

2022-06-10 Thread Tom Rini
These symbols do not exist in mainline, remove them. Signed-off-by: Tom Rini --- include/configs/capricorn-common.h | 3 --- include/configs/cgtqmx8.h | 4 include/configs/imx8mm-cl-iot-gate.h| 3 --- include/configs/imx8mm_beacon.h | 3 ---

[PATCH 11/15] video: Migrate exynos display options to Kconfig

2022-06-10 Thread Tom Rini
Following how it's done for the majority of drivers, add a new VIDEO_EXYNOS option and Kconfig file under drivers/video/exynos and list the current options there. Cc: Anatolij Gustschin Cc: Jaehoon Chung Cc: Minkyu Kang Signed-off-by: Tom Rini --- It would be good to have help options here,

[PATCH 12/15] siemens: Move CONFIG_FACTORYSET to Kconfig

2022-06-10 Thread Tom Rini
Introduce board/siemens/common/Kconfig and have it hold FACTORYSET to start with. Use select for this on the boards that need it. Cc: Anatolij Gustschin Cc: Samuel Egli Signed-off-by: Tom Rini --- arch/arm/Kconfig | 1 + arch/arm/mach-imx/imx8/Kconfig | 2 ++

[PATCH 1/2] efi_loader: allow booting from short dev only DP

2022-06-10 Thread Heinrich Schuchardt
Allow booting from a short form device-path without file path, e.g. /HD(1,GPT,5ef79931-a1aa-4c70-9d67-611e8f69eafd,0x800,0x1000) Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_bootmgr.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git

[PATCH 2/2] efi_loader: create boot options without file path

2022-06-10 Thread Heinrich Schuchardt
Allow creating boot options without file path, e.g. efidebug boot add -b 0001 'short dev only' host 0:1 '' efidebug boot add -B 0002 'long dev only' host 0:1 '' Signed-off-by: Heinrich Schuchardt --- lib/efi_loader/efi_device_path.c | 14 -- 1 file changed, 8 insertions(+),

[PATCH 0/2] efi_loader: allow booting from short dev only DP

2022-06-10 Thread Heinrich Schuchardt
Allow creating boot options without file path, e.g. efidebug boot add -b 0001 'short dev only' host 0:1 '' efidebug boot add -B 0001 'long dev only' host 0:1 '' Allow booting from a short form device-path without file path, e.g.

[PATCH 15/15] Globally remove most CONFIG_SPL_BUILD tests from config headers

2022-06-10 Thread Tom Rini
With the exception of how PowerPC handles SPL and TPL (which has its own issues), we cannot safely hide options under CONFIG_SPL_BUILD. Largely remove the places that have this test today. Signed-off-by: Tom Rini --- include/configs/am335x_igep003x.h | 2 --

[PATCH] i2c: fix stack buffer overflow vulnerability in i2c md command

2022-06-10 Thread nicolas . iooss . ledger
From: Nicolas Iooss When running "i2c md 0 0 8100", the function do_i2c_md parses the length into an unsigned int variable named length. The value is then moved to a signed variable: int nbytes = length; #define DISP_LINE_LEN 16 int linebytes = (nbytes > DISP_LINE_LEN) ?

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in, caam_hash()

2022-06-10 Thread Michal Vokáč
On Fri, Apr 29, 2022 at 10:35 AM Stefan Roese wrote: While working on an LX2160 based board and updating to latest mainline I noticed problems using the HW accelerated hash functions on this platform, when trying to boot a FIT Kernel image. Here the resulting error message: Using

[PATCHv2 07/18] Convert CONFIG_USB_XHCI_EXYNOS et al to Kconfig

2022-06-10 Thread Tom Rini
This converts the following to Kconfig: CONFIG_USB_XHCI_EXYNOS CONFIG_USB_EHCI_EXYNOS Signed-off-by: Tom Rini --- Changes in v2: - Remove another now useless comment (Minkyu) --- drivers/usb/host/Kconfig| 16 include/configs/exynos5250-common.h | 5 -

Re: [PATCH] crypto: fsl_hash: Remove unnecessary alignment check in, caam_hash()

2022-06-10 Thread Michal Vokáč
On 10. 06. 22 13:47, Fabio Estevam wrote: [EXTERNAL EMAIL] Hi Michal, On Fri, Jun 10, 2022 at 7:02 AM Michal Vokáč wrote: Hi Fabio, I had the very same problem/error on i.MX6 and figured out that CONFIG_ARCH_MISC_INIT=y must be enabled otherwise the caam_jr driver is not initialized. Yes,