Re: [PATCH 6/6] ARM: dts: stm32: Add DHCOR based DRC Compact board

2022-06-14 Thread Patrice CHOTARD
HI Marek On 6/13/22 11:55, Marek Vasut wrote: > Add DT for DH DRC Compact unit, which is a universal controller device. > The system has two ethernet ports, one CAN, RS485 and RS232, USB, uSD > card slot, eMMC and SDIO Wi-Fi. > > Signed-off-by: Marek Vasut > Cc: Patrice Chotard > Cc: Patrick De

[PATCH RFC v3 11/11] ci: world_build: test: Add requirements.txt

2022-06-14 Thread Neha Malcom Francis
To avoid ModuleNotFoundErrors during World Build in CI tests, add installation of test/py/requirements.txt to .azure-pipelines.yml Signed-off-by: Neha Malcom Francis --- .azure-pipelines.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml index ad5

[PATCH RFC v3 09/11] ti: dtsi: j721e: Use binman to package sysfw.itb and tiboot3.bin

2022-06-14 Thread Neha Malcom Francis
By providing entries in the binman node of the device tree, binman will be able to find and package board config binary artifacts generated by TIBoardConfig with sysfw.bin and generate the final image sysfw.itb. k3-j721e-r5-binman.dtsi has been introduced for R5 specific binman node. It can be the

[PATCH RFC v3 10/11] ti: dtsi: j721e: Use binman to package tispl.bin

2022-06-14 Thread Neha Malcom Francis
tispl.bin must be packaged (with ATF, OPTEE, DM and A72 SPL) for J721E. Binman picks up and packages entries according to the description given in the device tree. k3-j721e-a72-binman.dtsi has been introduced for A72 specific binman node. It is included by k3-j721e-common-proc-board-u-boot.dtsi S

[PATCH RFC v3 08/11] ti: j721e: Exclude makefile tispl.bin target for J721E

2022-06-14 Thread Neha Malcom Francis
tispl.bin is to be packaged (with ATF, OPTEE, DM and A72 SPL) using binman. The tispl.bin target from the makefile is no longer needed for J721E. Signed-off-by: Neha Malcom Francis --- arch/arm/mach-k3/config.mk | 5 + scripts/Makefile.spl | 2 ++ 2 files changed, 7 insertions(+) diff

[PATCH RFC v3 06/11] ti: sysfw: Add support for packaging sysfw.itb

2022-06-14 Thread Neha Malcom Francis
For devices that require sysfw.itb, board config binary artifacts must be populated in the R5 output directory. These can be used by binman to package sysfw.itb. config.mk for mach-k3 updated to generate the required binaries using tibcfg_gen.py. Signed-off-by: Neha Malcom Francis --- arch/arm/

[PATCH RFC v3 07/11] ti: j721e: Exclude makefile tiboot3.bin target for J721E

2022-06-14 Thread Neha Malcom Francis
Intention of patch is to move the signing and packaging of tiboot3.bin image for J721E to binman. So patch excludes tiboot3.bin target for J721E. The functionality of tools/k3_gen_x509_cert.sh has been replicated in binman with the etype x509_cert. This can be used for J721E by binman. Signed-off

[PATCH RFC v3 05/11] ti: etype: x509: Add etype for x509 certificate for K3 devices

2022-06-14 Thread Neha Malcom Francis
K3 devices requires x509 certificate to be added as header of bootloader binaries that allows ROM to validate the integrity of the image. Etype that generates a TI x509 certificate is added. Currently this etype is scaled for J721E. For J721E, tiboot3.bin requires the x509 certificate binary to be

[PATCH RFC v3 04/11] ti: etype: dm: Add entry type for TI DM

2022-06-14 Thread Neha Malcom Francis
K3 devices introduces the concept of centralized power, resource and security management to System Firmware. This is to overcome challenges by the traditional approach that implements system control functions on each of the processing units. The software interface for System Firmware is split into

[PATCH RFC v3 03/11] ti: etype: sysfw: Add entry type for sysfw

2022-06-14 Thread Neha Malcom Francis
For K3 devices that require a sysfw image, add entry for SYSFW. It can contain system firmware image that can be packaged into sysfw.itb by binman. Signed-off-by: Tarun Sahu [n-fran...@ti.com: added tests for addition of etype] Signed-off-by: Neha Malcom Francis --- Makefile

[PATCH RFC v3 02/11] ti: tools: config: Add board config class to generate config binaries

2022-06-14 Thread Neha Malcom Francis
For validating config files and generating binary config artifacts, here board specific config class is added. Add function cfgBinaryGen() in tibcfg_gen.py. It uses TIBoardConfig class to load given schema and config files in YAML, validate them and generate binaries. Signed-off-by: Tarun Sahu [

[PATCH RFC v3 00/11] Integration of tiboot3.bin, sysfw.itb and

2022-06-14 Thread Neha Malcom Francis
Devices that belong to the K3 architecture require SYSFW which is a FIT image consisting of a signed system firmware image and board config binaries. Board config binaries are needed to bring up SYSFW during U-Boot SPL startup. The board config data is given in YAML as input. These board configs c

Re: [PATCH 5/6] ARM: dts: stm32: Add alternate pinmux for SPI2 pins

2022-06-14 Thread Patrice CHOTARD
HI Marek On 6/13/22 11:55, Marek Vasut wrote: > Add another mux option for SPI2 pins, this is used on DRC Compact board. > > Signed-off-by: Marek Vasut > Cc: Patrice Chotard > Cc: Patrick Delaunay > --- > arch/arm/dts/stm32mp15-pinctrl.dtsi | 15 +++ > 1 file changed, 15 insertion

Re: [PATCH 4/6] ARM: dts: stm32: Add alternate pinmux for CAN1 pins

2022-06-14 Thread Patrice CHOTARD
Hi Marek On 6/13/22 11:55, Marek Vasut wrote: > Add another mux option for CAN1 pins, this is used on DRC Compact board. > > Signed-off-by: Marek Vasut > Cc: Patrice Chotard > Cc: Patrick Delaunay > --- > arch/arm/dts/stm32mp15-pinctrl.dtsi | 20 > 1 file changed, 20 inse

Re: [PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-06-14 Thread Michael Nazzareno Trimarchi
Hi Heiko On Wed, Jun 15, 2022 at 8:23 AM Heiko Thiery wrote: > > Hi Marek, > > [SNIP] > > > > diff --git a/board/freescale/imx8mn_evk/spl.c > > > b/board/freescale/imx8mn_evk/spl.c > > > index 14cb51368f..0d9909a662 100644 > > > --- a/board/freescale/imx8mn_evk/spl.c > > > +++ b/board/freescale/

Re: [PATCH 3/6] ARM: dts: stm32: Add alternate pinmux for UART5 pins

2022-06-14 Thread Patrice CHOTARD
Hi Marek On 6/13/22 11:55, Marek Vasut wrote: > Add another mux option for UART5 pins, this is used on DRC Compact board. > > Signed-off-by: Marek Vasut > Cc: Patrice Chotard > Cc: Patrick Delaunay > --- > arch/arm/dts/stm32mp15-pinctrl.dtsi | 13 + > 1 file changed, 13 insertions

Re: [PATCH 2/6] ARM: dts: stm32: Add alternate pinmux for UART4 pins

2022-06-14 Thread Patrice CHOTARD
Hi Marek On 6/13/22 11:55, Marek Vasut wrote: > Add another mux option for UART4 pins, this is used on DRC Compact board. > > Signed-off-by: Marek Vasut > Cc: Patrice Chotard > Cc: Patrick Delaunay > --- > arch/arm/dts/stm32mp15-pinctrl.dtsi | 30 + > 1 file change

Re: [PATCH] stm32mp: stpmic1: remove the debug unit request by debugger

2022-06-14 Thread Patrice CHOTARD
Hi Patrick On 6/1/22 18:33, Patrick Delaunay wrote: > Depending on backup register value, U-Boot SPL maintains the debug unit > powered-on for debugging purpose; only BUCK1 is required for powering > the debug unit, so revert the setting for all the other power lanes, > except BUCK3 that has to be

Re: [PATCH v5 08/23] FWU: Add boot time checks as highlighted by the FWU specification

2022-06-14 Thread Takahiro Akashi
On Wed, Jun 15, 2022 at 08:34:18AM +0200, Heinrich Schuchardt wrote: > On 6/9/22 14:29, Sughosh Ganu wrote: > > The FWU Multi Bank Update specification requires the Update Agent to > > carry out certain checks at the time of platform boot. The Update > > Agent is the component which is responsible

Re: [PATCH 1/6] ARM: dts: stm32: Add alternate pinmux for UART3 pins

2022-06-14 Thread Patrice CHOTARD
Hi Marek On 6/13/22 11:55, Marek Vasut wrote: > Add another mux option for UART3 pins, this is used on DRC Compact board. > > Signed-off-by: Marek Vasut > Cc: Patrice Chotard > Cc: Patrick Delaunay > --- > arch/arm/dts/stm32mp15-pinctrl.dtsi | 41 + > 1 file change

Re: [PATCH 1/1] efi_loader: initialize console size late

2022-06-14 Thread AKASHI Takahiro
On Wed, Jun 15, 2022 at 08:27:26AM +0200, Heinrich Schuchardt wrote: > > > On 6/15/22 08:16, AKASHI Takahiro wrote: > > On Tue, Jun 14, 2022 at 08:02:03AM +0200, Heinrich Schuchardt wrote: > > > From: Heinrich Schuchardt > > > > > > If CONFIG_VIDEO_DM=n we query the display size from the serial

Re: [PATCH v5 08/23] FWU: Add boot time checks as highlighted by the FWU specification

2022-06-14 Thread Heinrich Schuchardt
On 6/9/22 14:29, Sughosh Ganu wrote: The FWU Multi Bank Update specification requires the Update Agent to carry out certain checks at the time of platform boot. The Update Agent is the component which is responsible for updating the firmware components and maintaining and keeping the metadata in

Re: [PATCH v5 23/23] sandbox: fwu: Add support for testing FWU feature on sandbox

2022-06-14 Thread Takahiro Akashi
On Thu, Jun 09, 2022 at 06:00:10PM +0530, Sughosh Ganu wrote: > Add a python test script for testing the FWU Multi Bank Update > functionality on the sandbox platform. The script has test cases for > updation of the u-boot binary and the u-boot environment image to the > non active bank. IIUC, you

Re: [PATCH 1/1] efi_loader: initialize console size late

2022-06-14 Thread Heinrich Schuchardt
On 6/15/22 08:16, AKASHI Takahiro wrote: On Tue, Jun 14, 2022 at 08:02:03AM +0200, Heinrich Schuchardt wrote: From: Heinrich Schuchardt If CONFIG_VIDEO_DM=n we query the display size from the serial console. Especially when using a remote console the response can be so late that it interfer

Re: [PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-06-14 Thread Heiko Thiery
Hi Marek, [SNIP] > > diff --git a/board/freescale/imx8mn_evk/spl.c > > b/board/freescale/imx8mn_evk/spl.c > > index 14cb51368f..0d9909a662 100644 > > --- a/board/freescale/imx8mn_evk/spl.c > > +++ b/board/freescale/imx8mn_evk/spl.c > > @@ -83,6 +83,15 @@ int power_init_board(void) > > #ifdef CO

Re: [PATCH 1/1] efi_loader: initialize console size late

2022-06-14 Thread AKASHI Takahiro
On Tue, Jun 14, 2022 at 08:02:03AM +0200, Heinrich Schuchardt wrote: > From: Heinrich Schuchardt > > If CONFIG_VIDEO_DM=n we query the display size from the serial console. > Especially when using a remote console the response can be so late that > it interferes with autoboot. > > Only query the

Re: [PATCH v5 23/23] sandbox: fwu: Add support for testing FWU feature on sandbox

2022-06-14 Thread Takahiro Akashi
On Thu, Jun 09, 2022 at 06:00:10PM +0530, Sughosh Ganu wrote: > Add a python test script for testing the FWU Multi Bank Update > functionality on the sandbox platform. The script has test cases for > updation of the u-boot binary and the u-boot environment image to the > non active bank. > > The F

Re: [PATCH v5 11/23] mkeficapsule: Add support for generating empty capsules

2022-06-14 Thread Takahiro Akashi
On Thu, Jun 09, 2022 at 05:59:58PM +0530, Sughosh Ganu wrote: > The Dependable Boot specification[1] describes the structure of the > firmware accept and revert capsules. These are empty capsules which > are used for signalling the acceptance or rejection of the updated > firmware by the OS. Add su

Re: [PATCH v7 0/9] enable menu-driven UEFI variable maintenance

2022-06-14 Thread Takahiro Akashi
On Mon, Jun 13, 2022 at 06:38:44PM +0900, Masahisa Kojima wrote: > This series add the menu-driven UEFI boot variable maintenance > and removable media support in bootmenu. > > Different from previous version, thie series adds a new U-Boot > command "efimenu" to invoke the UEFI boot-related variab

Re: [PATCH] tools: binman: install btool

2022-06-14 Thread Tom Rini
On Wed, Jun 15, 2022 at 12:34:17AM +0300, Alper Nebi Yasak wrote: > On 14/06/2022 13:42, Peng Fan (OSS) wrote: > > From: Peng Fan > > > > btool is needed after install binman to system. > > > > Signed-off-by: Peng Fan > > --- > > Reviewed-by: Alper Nebi Yasak > > > Tom, Simon, Alper > > Th

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

2022-06-14 Thread Peng Fan
> Subject: Re: [PATCH 7/8] binman_sym: guard with > CONFIG_IS_ENABLED(BINMAN_SYMBOLS) > > On 13/06/2022 05:34, Peng Fan (OSS) wrote: > > 在 2022/6/11 20:44, Alper Nebi Yasak 写道: > >> CONFIG_IS_ENABLED(BINMAN) doesn't work, but > IS_ENABLED(CONFIG_BINMAN) > >> worked for me. I see all 8 symbols in s

Re: [PATCH] tools: binman: install btool

2022-06-14 Thread Alper Nebi Yasak
On 14/06/2022 13:42, Peng Fan (OSS) wrote: > From: Peng Fan > > btool is needed after install binman to system. > > Signed-off-by: Peng Fan > --- Reviewed-by: Alper Nebi Yasak > Tom, Simon, Alper > This is a bug fix, if possible, please pick it up. > > tools/binman/setup.py | 2 +- > 1 f

Re: [PATCH v2] crypto/fsl: fsl_hash: Fix crash in flush dcache

2022-06-14 Thread Fabio Estevam
Hi Gaurav, On Thu, Jun 9, 2022 at 9:47 AM Gaurav Jain wrote: > + flush_dcache_range((ulong)ctx->sg_tbl, > + (ulong)(ctx->sg_tbl) + (ctx->sg_num * > sizeof(struct sg_entry))); > + for (i = 0; i < ctx->sg_num; i++) { > + sg_entry_len = (sec_in32(

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

2022-06-14 Thread Alper Nebi Yasak
On 13/06/2022 05:34, Peng Fan (OSS) wrote: > 在 2022/6/11 20:44, Alper Nebi Yasak 写道: >> CONFIG_IS_ENABLED(BINMAN) doesn't work, but IS_ENABLED(CONFIG_BINMAN) >> worked for me. I see all 8 symbols in spl/u-boot-spl.sym. I can send you >> a git branch if you want? > > But now with your suggestion, t

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

2022-06-14 Thread Alper Nebi Yasak
On 13/06/2022 05:31, Peng Fan (OSS) wrote: >> 在 2022/6/11 0:47, Alper Nebi Yasak 写道: >>> Looks like I have misunderstood things here a bit. CONFIG_BINMAN enables >>> you to declare and use symbols. CONFIG_SPL/TPL_BINMAN_SYMBOLS declares >>> certain symbols ('u_boot_any'). The name is a bit misleadi

Re: [PATCH v2] armv8: always use current exception level for TCR_ELx access

2022-06-14 Thread Mark Kettenis
> From: Andre Przywara > Date: Tue, 14 Jun 2022 00:11:10 +0100 > > Currently get_tcr() takes an "el" parameter, to select the proper > version of the TCR_ELx system register. > This is problematic in case of the Apple M1, since it runs with > HCR_EL2.E2H fixed to 1, so TCR_EL2 is actually using t

[PATCH v3] ARM: imx: Switch Data Modul i.MX8M Mini eDM SBC to USB251x Hub driver

2022-06-14 Thread Marek Vasut
Replace the ad-hoc I2C register programming scripted in board environment with U-Boot DM driver. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- V2: Use uclass_get_device_by_name() V3: Reinstate the device-internal.h, needed for device_probe() --- .../imx8mm_da

[PATCH v2] ARM: imx: Switch Data Modul i.MX8M Mini eDM SBC to USB251x Hub driver

2022-06-14 Thread Marek Vasut
Replace the ad-hoc I2C register programming scripted in board environment with U-Boot DM driver. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- V2: Use uclass_get_device_by_name() --- .../imx8mm_data_modul_edm_sbc.c | 8 configs/imx8mm_

Re: [PATCH v3 8/8] board: gw_ventana: enable MV88E61XX DSA support

2022-06-14 Thread Vladimir Oltean
Hi Tim, On Tue, Jun 14, 2022 at 10:00:57AM -0700, Tim Harvey wrote: > Vladimir, > > I'm not sure if you've had a chance to look at this latest patch > revision yet. I believe above is what you were describing as the > correct way to do this (without modifying the Linux driver and > improving bind

Re: [PATCH 2/2] rockchip: rk3399: enable spl-fifo-mode for sdmmc only when needed

2022-06-14 Thread Jerome Forissier
On 6/9/22 08:23, Jerome Forissier wrote: > Commit 5c606ca35c42 ("rockchip: rk3399: enable spl-fifo-mode for sdmmc") > mentions that the RK3399 SoC can't do DMA between SDMMC and SRAM. > According to the TRM "7.3.2 Embedded SRAM access path" [1], only the > 8KB SRAM at 0xff3b (INTMEM1) is in

Re: [PATCH] dtoc: Update test_src_scan.py for new tegra compatibles

2022-06-14 Thread Tom Rini
On Tue, Jun 14, 2022 at 02:00:48PM -0400, Tom Rini wrote: > This test was written to match up with the list of compatibles in > drivers/i2c/tegra_i2c.c so adding another one requires the test to be > updated to match. > > Fixes: 0d2105ae5e32 ("arm: tegra: Update some DT compatibles") > Signed-off

[PATCH] dtoc: Update test_src_scan.py for new tegra compatibles

2022-06-14 Thread Tom Rini
This test was written to match up with the list of compatibles in drivers/i2c/tegra_i2c.c so adding another one requires the test to be updated to match. Fixes: 0d2105ae5e32 ("arm: tegra: Update some DT compatibles") Signed-off-by: Tom Rini --- tools/dtoc/test_src_scan.py | 1 + 1 file changed,

Re: Pull request, u-boot-tegra/master

2022-06-14 Thread Tom Rini
On Tue, Jun 14, 2022 at 01:24:13PM -0400, Tom Rini wrote: > On Tue, Jun 14, 2022 at 09:05:11AM -0700, Tom Warren wrote: > > > Tom, > > > > Please pull u-boot-tegra/master into U-Boot/master. Thanks. > > > > The following changes since commit 92a8bc6b419f548230f10a924db2b3ef10a5edad: > > > > M

Re: [PATCH] tbs2910: Convert to DM_SERIAL

2022-06-14 Thread Soeren Moch
On 14.06.22 18:27, Fabio Estevam wrote: On Sat, Mar 19, 2022 at 10:31 AM Fabio Estevam wrote: Fabio, will you sync the imx6qdl.dtsi changes to linux? Or how is this supposed to keep in sync? Yes, I plan to submit these imx6qdl.dtsi changes (and similar changes to the other i.MX dtsi file

Re: [PATCH v3 0/3] usb: add isp1760 hcd support

2022-06-14 Thread Rui Miguel Silva
Hi *, On Wed, May 25, 2022 at 02:22:48PM +0100, Rui Miguel Silva wrote: > Add support for the usb isp1760 host controller family, which > for example is present in MPS3 FPGA board from Arm (isp1763). > > First we move some helper functions and defines to a more > common place to be shared by sever

Re: Pull request, u-boot-tegra/master

2022-06-14 Thread Tom Rini
On Tue, Jun 14, 2022 at 09:05:11AM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks. > > The following changes since commit 92a8bc6b419f548230f10a924db2b3ef10a5edad: > > Merge tag 'efi-2022-07-rc5' of > https://source.denx.de/u-boot/custodians/u-b

Re: [PATCH v3 8/8] board: gw_ventana: enable MV88E61XX DSA support

2022-06-14 Thread Tim Harvey
On Mon, May 23, 2022 at 11:26 AM Tim Harvey wrote: > > Add MV88E61XX DSA support: > - update dt: U-Boot dsa driver requires different device-tree syntax >than the linux driver in order to link the dsa ports to the mdio bus. > - update defconfig > - replace mv88e61xx_hw_reset weak override w

Re: [PATCH 8/8] gw_ventana: Migrate to using CONFIG_EXTRA_ENV_TEXT

2022-06-14 Thread Tim Harvey
On Tue, Jun 14, 2022 at 9:18 AM Tom Rini wrote: > > On Tue, Jun 14, 2022 at 09:14:03AM -0700, Tim Harvey wrote: > > On Mon, Jun 13, 2022 at 7:57 PM Tom Rini wrote: > > > > > > Move the environment text over from being set via > > > CONFIG_EXTRA_ENV_SETTINGS in include/configs/gw_ventana.h and ove

Re: [PATCH] tbs2910: Convert to DM_SERIAL

2022-06-14 Thread Fabio Estevam
On Sat, Mar 19, 2022 at 10:31 AM Fabio Estevam wrote: > > Fabio, will you sync the imx6qdl.dtsi changes to linux? > > Or how is this supposed to keep in sync? > > Yes, I plan to submit these imx6qdl.dtsi changes (and similar changes > to the other i.MX dtsi files too) to the mainline kernel. >

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

2022-06-14 Thread Stefan Herbrechtsmeier
Hi Michal, Am 14.06.2022 um 17:49 schrieb Michal Simek: On 6/14/22 17:34, Stefan Herbrechtsmeier wrote: Hi, Am 14.06.2022 um 15:03 schrieb Michal Simek: Hi, On 6/13/22 11:02, Stefan Herbrechtsmeier wrote: [CAUTION: External Email] Hi Michal, Am 13.06.2022 um 10:21 schrieb Stefan Herbrec

Re: [PATCH 8/8] gw_ventana: Migrate to using CONFIG_EXTRA_ENV_TEXT

2022-06-14 Thread Tom Rini
On Tue, Jun 14, 2022 at 09:14:03AM -0700, Tim Harvey wrote: > On Mon, Jun 13, 2022 at 7:57 PM Tom Rini wrote: > > > > Move the environment text over from being set via > > CONFIG_EXTRA_ENV_SETTINGS in include/configs/gw_ventana.h and over > > to plain text in board/gateworks/gw_ventana/gw_ventana.

Re: [PATCH 8/8] gw_ventana: Migrate to using CONFIG_EXTRA_ENV_TEXT

2022-06-14 Thread Tim Harvey
On Mon, Jun 13, 2022 at 7:57 PM Tom Rini wrote: > > Move the environment text over from being set via > CONFIG_EXTRA_ENV_SETTINGS in include/configs/gw_ventana.h and over > to plain text in board/gateworks/gw_ventana/gw_ventana.env. This lets > us drop CONFIG_EXTRA_ENV_SETTINGS_COMMON as everythi

Pull request, u-boot-tegra/master

2022-06-14 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks. The following changes since commit 92a8bc6b419f548230f10a924db2b3ef10a5edad: Merge tag 'efi-2022-07-rc5' of https://source.denx.de/u-boot/custodians/u-boot-efi (2022-06-13 09:33:37 -0400) are available in the git repository at:

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

2022-06-14 Thread Michal Simek
On 6/14/22 17:34, Stefan Herbrechtsmeier wrote: Hi, Am 14.06.2022 um 15:03 schrieb Michal Simek: Hi, On 6/13/22 11:02, Stefan Herbrechtsmeier wrote: [CAUTION: External Email] Hi Michal, Am 13.06.2022 um 10:21 schrieb Stefan Herbrechtsmeier: Hi Michal, Am 13.06.2022 um 09:20 schrieb Mic

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

2022-06-14 Thread Stefan Herbrechtsmeier
Hi, Am 14.06.2022 um 15:03 schrieb Michal Simek: Hi, On 6/13/22 11:02, Stefan Herbrechtsmeier wrote: [CAUTION: External Email] Hi Michal, Am 13.06.2022 um 10:21 schrieb Stefan Herbrechtsmeier: Hi Michal, Am 13.06.2022 um 09:20 schrieb Michal Simek: Hi, On 6/10/22 18:48, Xavier Drudis Fer

[PATCH 5/5] configs: am62x_evm_r5: Add CONFIG_NR_DRAM_BANKS as done in a53 defconfig

2022-06-14 Thread Georgi Vlaev
Add CONFIG_NR_DRAM_BANKS from am62x_evm_a53_defconfig as this is needed to calculate the size of DDR that is available. Signed-off-by: Georgi Vlaev --- configs/am62x_evm_r5_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/am62x_evm_r5_defconfig b/configs/am62x_evm_r5_defconf

[PATCH 4/5] board: ti: am62x: Account for DDR size fixups if ECC is enabled

2022-06-14 Thread Georgi Vlaev
Call into k3-ddrss driver to fixup device tree and resize the available amount of DDR if ECC is enabled. A second fixup is required from A53 SPL to take the fixup as done from R5 SPL and apply it to DT passed to A53 U-boot, which in turn passes this to the OS. Signed-off-by: Georgi Vlaev --- bo

[PATCH 3/5] board: ti: am62x: Use fdt functions for ram and bank init

2022-06-14 Thread Georgi Vlaev
Use the appropriate fdtdec_setup_mem_size_base() call in dram_init() and fdtdec_setup_bank_size() in dram_bank_init() to pull these values from DT, where they are already available, instead of hardcoding them. Signed-off-by: Georgi Vlaev --- board/ti/am62x/evm.c | 11 ++- 1 file changed,

[PATCH 2/5] arm: dts: k3-am625-*: Mark memory with u-boot,dm-spl

2022-06-14 Thread Georgi Vlaev
Mark the memory node with u-boot,dm-spl so we can use it from early SPL on both R5 and A53. Signed-off-by: Georgi Vlaev --- arch/arm/dts/k3-am625-r5-sk.dts | 1 + arch/arm/dts/k3-am625-sk-u-boot.dtsi | 4 2 files changed, 5 insertions(+) diff --git a/arch/arm/dts/k3-am625-r5-sk.dts b/

[PATCH 1/5] arm: mach-k3: common: Use ddr_init in spl_enable_dcache

2022-06-14 Thread Georgi Vlaev
The spl_enable_dcache() function calls dram_init_banksize() to get the total memory size. Normally the dram_init_banksize() setups the memory banks, while the total size is reported by ddr_init(). This worked so far for K3 since we set the gd->ram_size in dram_init_banksize() as well. Signed-off-b

[PATCH 0/5] board: ti: am62x: Add support for 1-bit inline DDRSS ECC

2022-06-14 Thread Georgi Vlaev
Hi, This series enables the 1-bit inline DDR ECC support in the TI DDRSS bridge for AM62x. The base DDRSS ECC support was merged for k3-ddrss in a previous series for AM64x [1]. The ECC data is stored together with the data, which will reduce the total available memory with 1/9th. The k3-ddrss dr

Re: [PATCH 1/1] efi_loader: initialize console size late

2022-06-14 Thread Heiko Thiery
Hi, Am Di., 14. Juni 2022 um 08:02 Uhr schrieb Heinrich Schuchardt : > > From: Heinrich Schuchardt > > If CONFIG_VIDEO_DM=n we query the display size from the serial console. > Especially when using a remote console the response can be so late that > it interferes with autoboot. > > Only query th

[PATCH] spl: fit: Allocate buffers aligned to cache line size

2022-06-14 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Allocate memory for buffers at a cache-line boundary to avoid misaligned buffer address for subsequent reads. This avoids an additional sector-based memory copy in the fat file system driver: FAT: Misaligned buffer address (...) Signed-off-by: Stefan Herbrechtsmeier

Re: [PATCH] board: ti: am335x: eth_cpsw should depend on CONFIG_NET

2022-06-14 Thread Andrew Davis
On 6/14/22 3:44 AM, Corentin LABBE wrote: The origin of this patch is the breaking of am335x-hs boot due to commit e41651fffda7 ("dm: Support parent devices with of-platdata") HS boards have less SRAM for SPL and so this commit increased memory usage beyond am335x limit. This commit added 10 dri

Re: [PATCH v3 0/2] usb: dwc3: add a SPL_USB_DWC3_GENERIC option for the dwc3 driver

2022-06-14 Thread Angus Ainslie
Did this fix the CI issues now ? On 2022-05-30 10:15, Angus Ainslie wrote: Changes since v2: Add a second patch to deal with CI failures due to the new options. Changes since v1: Updated Kconfig depends Angus Ainslie (2): usb: dwc3: add a SPL_USB_DWC3_GENERIC option for the dwc3 driver c

[PATCH 2/2] misc: usb251xb: Support 8/16 bit device tree values

2022-06-14 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier The device tree binding [1] specify the vendor-id, product-id, device-id and language-id as 16 bit values and the linux driver reads the boost-up value as 8 bit value. [1] https://www.kernel.org/doc/Documentation/devicetree/bindings/usb/usb251xb.txt Signed-off-by:

[PATCH 1/2] dm: core: Add functions to read 8/16-bit integers

2022-06-14 Thread Stefan Herbrechtsmeier
From: Stefan Herbrechtsmeier Add functions to read 8/16-bit integers like the existing functions for 32/64-bit to simplify read of 8/16-bit integers from device tree properties. Signed-off-by: Stefan Herbrechtsmeier --- arch/sandbox/dts/test.dts | 2 ++ drivers/core/of_access.c | 38 +++

Re: [PATCH 2/2] imx: kontron-sl-mx8mm: Remove deprecated phy-mode property

2022-06-14 Thread Frieder Schrempf
Am 14.06.22 um 15:13 schrieb Fabio Estevam: > Hi Frieder, > > On 14/06/2022 10:03, Frieder Schrempf wrote: >> From: Frieder Schrempf >> >> This was previously needed, but U-Boot is now capable of parsing >> the new "phy-connection-type" property that is already used in >> the main devicetree. >>

Re: [PATCH 2/2] imx: kontron-sl-mx8mm: Remove deprecated phy-mode property

2022-06-14 Thread Fabio Estevam
Hi Frieder, On 14/06/2022 10:03, Frieder Schrempf wrote: From: Frieder Schrempf This was previously needed, but U-Boot is now capable of parsing the new "phy-connection-type" property that is already used in the main devicetree. Signed-off-by: Frieder Schrempf Should the Subject say "unnee

[PATCH 2/2] imx: kontron-sl-mx8mm: Remove deprecated phy-mode property

2022-06-14 Thread Frieder Schrempf
From: Frieder Schrempf This was previously needed, but U-Boot is now capable of parsing the new "phy-connection-type" property that is already used in the main devicetree. Signed-off-by: Frieder Schrempf --- arch/arm/dts/imx8mm-kontron-n801x-u-boot.dtsi | 4 1 file changed, 4 deletions(-)

[PATCH 1/2] imx: kontron-sl-mx8mm: Sync dts files and fix ethernet

2022-06-14 Thread Frieder Schrempf
From: Frieder Schrempf This syncs the devicetree files with the latest Linux kernel (5.19-rc2). This also fixes the currently broken ethernet support: Before: Net: Could not get PHY for FEC0: addr 0 After: Net: eth0: ethernet@30be Signed-off-by: Frieder Schrempf --- arch/arm/dt

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

2022-06-14 Thread Michal Simek
Hi, On 6/13/22 11:02, Stefan Herbrechtsmeier wrote: [CAUTION: External Email] Hi Michal, Am 13.06.2022 um 10:21 schrieb Stefan Herbrechtsmeier: Hi Michal, Am 13.06.2022 um 09:20 schrieb Michal Simek: Hi, On 6/10/22 18:48, Xavier Drudis Ferran wrote: El Fri, Jun 10, 2022 at 04:42:55PM +020

Re: [PATCH] arm64: dts: imx8mq-kontron-pitx-imx8m-u-boot.dtsi: disable assigned clocks

2022-06-14 Thread Tom Rini
On Tue, Jun 14, 2022 at 06:11:11AM +0200, Heiko Thiery wrote: > Hi Tom, > > Am Sa., 11. Juni 2022 um 16:56 Uhr schrieb Heiko Thiery > : > > > > Hi Marek, > > > > Am Sa., 11. Juni 2022 um 12:15 Uhr schrieb Marek Vasut : > > > > > > On 6/11/22 08:09, Heiko Thiery wrote: > > > > With the move to use

Re: [PATCH] board: ti: am335x: eth_cpsw should depend on CONFIG_NET

2022-06-14 Thread Tom Rini
On Tue, Jun 14, 2022 at 08:44:07AM +, Corentin LABBE wrote: > The origin of this patch is the breaking of am335x-hs boot > due to commit e41651fffda7 ("dm: Support parent devices with of-platdata") > HS boards have less SRAM for SPL and so this commit increased memory usage > beyond am335x li

Re: [PATCH v4] imx: add i.MX8MN DDR3L evk board support

2022-06-14 Thread Heiko Thiery
Hi Michael, Am Di., 14. Juni 2022 um 08:56 Uhr schrieb Michael Nazzareno Trimarchi : > > Hi > > On Mon, Jun 13, 2022 at 11:10 PM Heiko Thiery wrote: > > > > Add the support for the 8MNANOD3L-EVK board. The board has an i.MX8MNano > > UltraLite Quad SoC and uses 1GB DDR3L memory. > > > > U-Boot SP

Re: [PATCH V3 2/2] nvmem: add driver handling U-Boot environment variables

2022-06-14 Thread Sascha Hauer
On Sat, Jun 11, 2022 at 10:46:51PM +0200, Rafał Miłecki wrote: > From: Rafał Miłecki > > U-Boot stores its setup as environment variables. It's a list of > key-value pairs stored on flash device with a custom header. > > This commit adds an NVMEM driver that: > 1. Provides NVMEM access to enviro

Re: [PATCH 1/1] efi_loader: initialize console size late

2022-06-14 Thread Fabio Estevam
Hi Heinrich, On Tue, Jun 14, 2022 at 3:02 AM Heinrich Schuchardt wrote: > > From: Heinrich Schuchardt > > If CONFIG_VIDEO_DM=n we query the display size from the serial console. > Especially when using a remote console the response can be so late that > it interferes with autoboot. > > Only quer

Re: [PATCH v2] kontron-sl-mx8mm: Add CAAM support

2022-06-14 Thread Frieder Schrempf
Am 09.06.22 um 22:13 schrieb Fabio Estevam: > Add CAAM support, which is required when enabling HAB secure boot. > > Select CONFIG_SPL_DRIVERS_MISC so that CONFIG_IMX_HAB could > build successfully, if selected. > > Signed-off-by: Fabio Estevam Build-tested on next and partly runtime-tested by

Re: [PATCH V2 07/17] imx: kontron-sl-mx8mm: enable DM_SERIAL

2022-06-14 Thread Frieder Schrempf
Am 11.06.22 um 14:21 schrieb Peng Fan (OSS): > From: Peng Fan > > Enable CONFIG_DM_SERIAL. uart and its pinmux was already > marked with u-boot,dm-spl. > Move preloader_console_init after spl_init to make sure driver > model work. > > Signed-off-by: Peng Fan > Acked-by: Frieder Schrempf > Revi

Re: [PATCH V2 16/17] imx: imx8mn-kontron-n801x: enable pinctrl_wdog in SPL

2022-06-14 Thread Frieder Schrempf
Am 11.06.22 um 14:21 schrieb Peng Fan (OSS): > From: Peng Fan > > Mark pinctrl_wdog as u-boot,dm-spl to clean up board code, > > The set_wdog_reset() function is not necessary as this is handled by > the imx_watchdog.c driver due to the 'fsl,ext-reset-output' property > being set. > > Signed-of

[PATCH] tools: binman: install btool

2022-06-14 Thread Peng Fan (OSS)
From: Peng Fan btool is needed after install binman to system. Signed-off-by: Peng Fan --- Tom, Simon, Alper This is a bug fix, if possible, please pick it up. tools/binman/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/binman/setup.py b/tools/binman/set

Re: [PATCH] ARM: imx: Switch Data Modul i.MX8M Mini eDM SBC to USB251x Hub driver

2022-06-14 Thread Stefan Herbrechtsmeier
Am 14.06.2022 um 10:39 schrieb Marek Vasut: Replace the ad-hoc I2C register programming scripted in board environment with U-Boot DM driver. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- .../imx8mm_data_modul_edm_sbc.c | 10 ++ confi

Re: [PATCH V3 2/2] nvmem: add driver handling U-Boot environment variables

2022-06-14 Thread Miquel Raynal
Hello, > > +static int u_boot_env_probe(struct platform_device *pdev) > > +{ > > + struct nvmem_config config = { > > + .name = "u-boot-env", > > + .reg_read = u_boot_env_read, > > + }; > > + struct device *dev = &pdev->dev; > > + struct device_node *np = dev->of_node;

[PATCH] board: ti: am335x: eth_cpsw should depend on CONFIG_NET

2022-06-14 Thread Corentin LABBE
The origin of this patch is the breaking of am335x-hs boot due to commit e41651fffda7 ("dm: Support parent devices with of-platdata") HS boards have less SRAM for SPL and so this commit increased memory usage beyond am335x limit. This commit added 10 driver binding pass and am335x boot only if one

[PATCH] ARM: imx: Switch Data Modul i.MX8M Mini eDM SBC to USB251x Hub driver

2022-06-14 Thread Marek Vasut
Replace the ad-hoc I2C register programming scripted in board environment with U-Boot DM driver. Signed-off-by: Marek Vasut Cc: Fabio Estevam Cc: Peng Fan Cc: Stefano Babic --- .../imx8mm_data_modul_edm_sbc.c | 10 ++ configs/imx8mm_data_modul_edm_sbc_defconfig | 1 +

Re: [PATCH v2 1/3] arm: apple: nvme: Add SART support and RTKit buffer management

2022-06-14 Thread Mark Kettenis
> From: Janne Grunau > Date: Tue, 14 Jun 2022 09:09:07 +0200 > > The NVMe firmware in the macOS 13 beta blocks or crashes with u-boot's > current minimal RTKit implementation. It does not provide buffers for > the firmware's buffer requests. The ANS2 firmware included in macOS 11 > and 12 tolerat

Re: [PATCH v2 3/3] arm: apple: Increase RTKit timeouts

2022-06-14 Thread Mark Kettenis
> From: Janne Grunau > Date: Tue, 14 Jun 2022 09:09:09 +0200 > > Timeouts are not expected to happen and are handled as fatal errors. > Increase all timeouts to 1 second as defensive measure to avoid relying > on the timing behaviour of certain firmware versions or configurations. > > Signed-off

Re: [PATCH v2 2/3] MAINTAINERS: Add nvme_apple to Apple SoC section

2022-06-14 Thread Mark Kettenis
> From: Janne Grunau > Date: Tue, 14 Jun 2022 09:09:08 +0200 > > Signed-off-by: Janne Grunau Reviewed-by: Mark Kettenis > --- > > (no changes since v1) > > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 28e4d3823861..a15ba7abdcd6 100

Re: [PATCH] misc: Port USB251xB/xBi Hi-Speed Hub Controller Driver from Linux

2022-06-14 Thread Marek Vasut
On 6/14/22 09:08, Stefan Herbrechtsmeier wrote: Am 13.06.2022 um 22:26 schrieb Marek Vasut: On 6/13/22 19:23, Stefan Herbrechtsmeier wrote: [snip] +    if (dev_read_u32(dev, "vendor-id", &hub->vendor_id)) +    hub->vendor_id = USB251XB_DEF_VENDOR_ID; + +    if (dev_read_u32(dev, "product

[PATCH v2 1/3] arm: apple: nvme: Add SART support and RTKit buffer management

2022-06-14 Thread Janne Grunau
The NVMe firmware in the macOS 13 beta blocks or crashes with u-boot's current minimal RTKit implementation. It does not provide buffers for the firmware's buffer requests. The ANS2 firmware included in macOS 11 and 12 tolerates this. The firmware included in the first macOS 13 beta requires buffer

[PATCH v2 3/3] arm: apple: Increase RTKit timeouts

2022-06-14 Thread Janne Grunau
Timeouts are not expected to happen and are handled as fatal errors. Increase all timeouts to 1 second as defensive measure to avoid relying on the timing behaviour of certain firmware versions or configurations. Signed-off-by: Janne Grunau --- (no changes since v1) arch/arm/mach-apple/rtkit.c

[PATCH v2 2/3] MAINTAINERS: Add nvme_apple to Apple SoC section

2022-06-14 Thread Janne Grunau
Signed-off-by: Janne Grunau --- (no changes since v1) MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 28e4d3823861..a15ba7abdcd6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -121,6 +121,7 @@ F: arch/arm/include/asm/arch-m1/ F: arch/arm/mac

[PATCH v2 0/3] Improve robustness of NVMe suuport for Apple silicon devices

2022-06-14 Thread Janne Grunau
Hej, this series has assorted fixes to improve the robustness of the NVMe support on Apple silicon devices. The main change which prompted this series is "rm: apple: nvme: Add SART support and RTKit buffer management". It fixes the RTKit driver required for the NVMe with the system-wide firmware i

Re: [PATCH] misc: Port USB251xB/xBi Hi-Speed Hub Controller Driver from Linux

2022-06-14 Thread Stefan Herbrechtsmeier
Am 13.06.2022 um 22:26 schrieb Marek Vasut: On 6/13/22 19:23, Stefan Herbrechtsmeier wrote: [snip] +    if (dev_read_u32(dev, "vendor-id", &hub->vendor_id)) +    hub->vendor_id = USB251XB_DEF_VENDOR_ID; + +    if (dev_read_u32(dev, "product-id", &hub->product_id)) +    hub->product_id