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

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

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

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 > >

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

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

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 =

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,

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

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

[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() ---

[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

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

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") >

[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: > > > >

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

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

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 >

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

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

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

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

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

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

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

[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

[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 ---

[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

[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

[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.

[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

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

[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

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

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

[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

[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

[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 ---

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

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

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

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

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

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 >

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. > >

[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

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 ++

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 = >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

[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

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. > >

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

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", >vendor_id)) +    hub->vendor_id = USB251XB_DEF_VENDOR_ID; + +    if (dev_read_u32(dev,

[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

[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)

[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:

[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

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", >vendor_id)) +    hub->vendor_id = USB251XB_DEF_VENDOR_ID; + +    if (dev_read_u32(dev, "product-id", >product_id)) +    hub->product_id =

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

2022-06-14 Thread 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 SPL 2022.07-rc4-00017-gcf594ebce1 (Jun 13 2022 - 22:40:31 +0200) > Normal Boot > WDT: Started

Re: [PATCH V3 1/2] mtd: allow getting MTD device associated with a specific DT node

2022-06-14 Thread Ahmad Fatoum
Hello Rafał, On 11.06.22 22:46, Rafał Miłecki wrote: > From: Rafał Miłecki > > MTD subsystem API allows interacting with MTD devices (e.g. reading, > writing, handling bad blocks). So far a random driver could get MTD > device only by its name (get_mtd_device_nm()). This change allows > getting

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

2022-06-14 Thread Ahmad Fatoum
Hello Rafał, On 11.06.22 22:46, 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 environment

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

2022-06-14 Thread 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 the console size when running an EFI binary. Add debug output showing the determined