Re: [PATCH v3 4/4] efi_selftest: add tests for setvariableRT

2024-04-20 Thread Heinrich Schuchardt
On 4/18/24 14:54, Ilias Apalodimas wrote: Since we support SetVariableRT now add the relevant tests - Search for the RTStorageVolatile and VarToFile variables after EBS - Try to update with invalid variales (BS, RT only) - Try to write a variable bigger than our backend storage - Write a

[PATCH 1/3] spi: cv1800b: Add spi nor flash controller driver for cv1800b SoC

2024-04-20 Thread Kongyang Liu
Add spi nor flash controller driver for cv1800b SoC Signed-off-by: Kongyang Liu --- drivers/spi/Kconfig| 8 + drivers/spi/Makefile | 1 + drivers/spi/cv1800b_spif.c | 321 + 3 files changed, 330 insertions(+) create mode 100644

[PATCH 2/3] riscv: dts: sophgo: Add spi nor flash controller node

2024-04-20 Thread Kongyang Liu
Add spi nor flash controller node for cv18xx SoCs Signed-off-by: Kongyang Liu --- arch/riscv/dts/cv1800b-milkv-duo.dts | 13 + arch/riscv/dts/cv18xx.dtsi | 17 + 2 files changed, 30 insertions(+) diff --git a/arch/riscv/dts/cv1800b-milkv-duo.dts

[PATCH 3/3] configs: milkv_duo: Add spi nor configs

2024-04-20 Thread Kongyang Liu
Add configs related to spi nor flash for Sophgo Milk-V Duo board Signed-off-by: Kongyang Liu --- configs/milkv_duo_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/milkv_duo_defconfig b/configs/milkv_duo_defconfig index e8413d7aa9..c69eab5fad 100644 ---

Re: [PATCH v2 00/16] pxe: Allow extlinux booting without CMDLINE enabled

2024-04-20 Thread Jonas Karlman
Hi Tom and Simon, On 2024-04-18 20:13, Tom Rini wrote: > On Sun, Apr 14, 2024 at 06:58:03PM +0200, Jonas Karlman wrote: >> Hi Tom and Simon, >> >> On 2024-04-11 03:45, Tom Rini wrote: >>> On Thu, 14 Dec 2023 21:18:58 -0700, Simon Glass wrote: >>> This series is the culmanation of the current

[PATCH v2 1/3] board: milkv_duo: Add init code for Milk-V Duo ethernet

2024-04-20 Thread Kongyang Liu
Initialize register in cv1800b ethernet phy to make it compatible with generic phy driver Signed-off-by: Kongyang Liu Reviewed-by: Leo Yu-Chi Liang --- (no changes since v1) board/sophgo/milkv_duo/Makefile | 3 +- board/sophgo/milkv_duo/board.c| 4 ++

[PATCH v2 2/3] riscv: dts: sophgo: Add ethernet node

2024-04-20 Thread Kongyang Liu
Add ethernet node for cv1800b SoC Signed-off-by: Kongyang Liu --- Changes in v2: - Change compatible - Add clocks and interrupt properties. arch/riscv/dts/cv1800b-milkv-duo.dts | 7 ++- arch/riscv/dts/cv18xx.dtsi | 23 +++ 2 files changed, 29 insertions(+),

[PATCH v2 3/3] configs: milkv_duo: Add ethernet configs

2024-04-20 Thread Kongyang Liu
Add configs related to ethernet and ethernet boot command for Sophgo Milk-V Duo board Signed-off-by: Kongyang Liu Reviewed-by: Leo Yu-Chi Liang --- (no changes since v1) configs/milkv_duo_defconfig | 4 1 file changed, 4 insertions(+) diff --git a/configs/milkv_duo_defconfig

[PATCH v2 0/3] board: sophgo: milkv_duo: Add ethernet support for Milk-V Duo board

2024-04-20 Thread Kongyang Liu
This series add init code for cv1800b ethernet phy and enable ethernet support for Sophgo Milk-V Duo board. In cv1800b, as the PHY register phy_id being initialized to 0, it is necessary to initialize the PHY before the ethernet driver initialization. Therefore, the initialization code is placed

[PATCH 0/3] spi: sophgo: milkv_duo: Add spi nor flash support for Milk-V Duo board

2024-04-20 Thread Kongyang Liu
This series add spi nor flash controller driver for cv1800b SoC and enable it for Sophgo Milk-V Duo board. Kongyang Liu (3): spi: cv1800b: Add spi nor flash controller driver for cv1800b SoC riscv: dts: sophgo: Add spi nor flash controller node configs: milkv_duo: Add spi nor configs

Re: [PATCH v3 0/4]

2024-04-20 Thread Heinrich Schuchardt
On 4/18/24 14:54, Ilias Apalodimas wrote: Hi! This is v3 of SetVariable at runtime [0] Nothing changed drastically from v2. A few more test cases have been added, comments/suggestions have been addressed and a bug where deleting a variable by setting 'attributes' to 0 has been fixed. Changes

Pull request efi-2024-07-rc1-3

2024-04-20 Thread Heinrich Schuchardt
Dear Tom, The following changes since commit af04f37a78c7e61597fb9ed6db2c8f8d7f8b0f92: Merge tag 'u-boot-stm32-20240419' of https://source.denx.de/u-boot/custodians/u-boot-stm (2024-04-19 14:25:04 -0600) are available in the Git repository at:

Re: [PATCH] cmd: terminate efidebug test bootmgr early on error

2024-04-20 Thread Ilias Apalodimas
On Sat, 20 Apr 2024 at 17:06, Heinrich Schuchardt wrote: > > If efi_bootmgr_load() fails, there is no point in trying to start an image > that has not been loaded. > > Signed-off-by: Heinrich Schuchardt > --- > cmd/efidebug.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git

Re: [PATCH v3 4/4] efi_selftest: add tests for setvariableRT

2024-04-20 Thread Ilias Apalodimas
Hi Heinrich, I was about to fix and send a v4, but I see you fixed them up on the PR. Thanks! On Sat, 20 Apr 2024 at 10:23, Heinrich Schuchardt wrote: > > On 4/18/24 14:54, Ilias Apalodimas wrote: > > Since we support SetVariableRT now add the relevant tests > > > > - Search for the

[PATCH 1/1] efi_loader: improve error handling in try_load_entry()

2024-04-20 Thread Heinrich Schuchardt
The image is not unloaded if a security violation occurs. If efi_set_load_options() fails, we do not free the memory allocated for the optional data. We do not unload the image. If a load option is not active, we use a random value from the stack to allocate memory for the optional data of the

Re: [PATCH v2 0/7] Tegra panel improvements

2024-04-20 Thread Anatolij Gustschin
On Fri, 19 Apr 2024 08:05:22 -0600 Tom Rini tr...@konsulko.com wrote: > On Fri, Apr 19, 2024 at 02:29:20PM +0300, Svyatoslav Ryhel wrote: > > > Hello Tom! This patch set is hanging in patchwork for 3 month > > without any comments. If no one has anything to say, may you > > pick it into master?

[PATCH] cmd: terminate efidebug test bootmgr early on error

2024-04-20 Thread Heinrich Schuchardt
If efi_bootmgr_load() fails, there is no point in trying to start an image that has not been loaded. Signed-off-by: Heinrich Schuchardt --- cmd/efidebug.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/efidebug.c b/cmd/efidebug.c index a587860e2a5..5103ada29a5 100644 ---

Re: [PATCH] riscv: dts: jh7110: Enable PLL node in SPL

2024-04-20 Thread E Shattow
On Fri, Apr 19, 2024 at 5:51 PM Bo Gan wrote: > ...snip... > > If without the change (reverted), can you read/write the same SD media in > U-boot > proper? (U-boot proper will switch BUS_ROOT to PLL2). I tested again this change in commit e6b7aeef, before this change in parent commit e6b7aeef~,

Re: [PATCH v3 0/4]

2024-04-20 Thread Ilias Apalodimas
On Sat, 20 Apr 2024 at 10:20, Heinrich Schuchardt wrote: > > On 4/18/24 14:54, Ilias Apalodimas wrote: > > Hi! > > This is v3 of SetVariable at runtime [0] > > > > Nothing changed drastically from v2. > > A few more test cases have been added, comments/suggestions have been > > addressed and a

Re: [PATCH 1/1] efi_loader: improve error handling in try_load_entry()

2024-04-20 Thread Ilias Apalodimas
Hi Heinrich, On Sat, 20 Apr 2024 at 17:01, Heinrich Schuchardt wrote: > > The image is not unloaded if a security violation occurs. > > If efi_set_load_options() fails, we do not free the memory allocated for > the optional data. We do not unload the image. > > If a load option is not active, we

Re: [PATCH] imx93: Move SoC and lifeclycle information to debug level

2024-04-20 Thread Fabio Estevam
On Mon, Apr 15, 2024 at 6:57 PM Fabio Estevam wrote: > > From: Fabio Estevam > > The following information printed on every boot is not very > helpful for the users: > > SOC: 0xa0009300 > LC: 0x40040 > > Move them to debug() level. > > Signed-off-by: Fabio Estevam Applied, thanks.

Re: [PATCH v1] arm: dts: verdin-imx8mm/imx8mp: use gpio-hog for sleep moci

2024-04-20 Thread Fabio Estevam
On Wed, Apr 17, 2024 at 5:49 AM Stefan Eichenberger wrote: > > From: Stefan Eichenberger > > In Linux, we allow sleep moci to be turned off when the carrier board > supports it and the system is in suspend. In U-Boot, however, we want > the sleep moci to be always on. So we use a gpio hog and

Re: [PATCH] imx8m*-venice: enable TPM support

2024-04-20 Thread Fabio Estevam
On Mon, Mar 25, 2024 at 1:27 PM Tim Harvey wrote: > > Enable support for TPM2 devices. As the ATTPM20P TPM2 used on the > Gateworks Venice boards hangs off the SPI bus we enable SPI support > as well. > > Signed-off-by: Tim Harvey Applied, thanks.

Re: [PATCH v6 00/18] Add T114 video support

2024-04-20 Thread Anatolij Gustschin
On Tue, 23 Jan 2024 19:16:15 +0200 Svyatoslav Ryhel clamo...@gmail.com wrote: > T114 is not that different from T30 and all T30 drivers will work > on T114 as well with some adjustments. > > Patches propose general improvements for existing Tegra DC and DSI > drivers as well Tegra 114 video

Re: [PATCH] video: dw_hdmi: Fix compiler warnings with gcc-14

2024-04-20 Thread Anatolij Gustschin
On Sat, 27 Jan 2024 14:54:59 -0800 Khem Raj raj.k...@gmail.com wrote: > GCC-14 find more warnings like > "make pointer from integer without a cast" > fix them by adding a type cast. > > Signed-off-by: Khem Raj > Cc: Anatolij Gustschin > Cc: Tom Rini > --- > drivers/video/dw_hdmi.c | 8

Re: [GIT PULL] Please pull u-boot-imx-master-20240420

2024-04-20 Thread Tom Rini
x.de/u-boot/custodians/u-boot-stm (2024-04-19 14:25:04 > -0600) > > are available in the Git repository at: > > https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git > tags/u-boot-imx-master-20240420 > > for you to fetch changes up to 8b8c699d88171b0d40f072e114f32cce

Re: Pull request efi-2024-07-rc1-3

2024-04-20 Thread Tom Rini
On Sat, Apr 20, 2024 at 12:09:37PM +0200, Heinrich Schuchardt wrote: > Dear Tom, > > The following changes since commit af04f37a78c7e61597fb9ed6db2c8f8d7f8b0f92: > > Merge tag 'u-boot-stm32-20240419' of > https://source.denx.de/u-boot/custodians/u-boot-stm (2024-04-19 14:25:04 > -0600) > >

[GIT PULL] Please pull u-boot-imx-master-20240420

2024-04-20 Thread Fabio Estevam
at: https://gitlab.denx.de/u-boot/custodians/u-boot-imx.git tags/u-boot-imx-master-20240420 for you to fetch changes up to 8b8c699d88171b0d40f072e114f32cce93cb2987: imx8mm_venice_defconfig: Enable PCIe/NVMe support (2024-04-20 00:37:51 -0300) u-boot-imx-master-20240420 -- CI

Re: [PATCH v1] board: toradex: imx: Remove not needed env variables

2024-04-20 Thread Fabio Estevam
On Thu, Apr 18, 2024 at 10:12 AM Francesco Dolcini wrote: > > From: Francesco Dolcini > > Remove not needed variables from environment and include config files. > > - setup variable used to be executed from some bootscript, however >it's not required and there is no point on having this

Re: [PATCH] board: gateworks: venice: fix dt adjustment for gw73xx baseboard for imx8mp

2024-04-20 Thread Fabio Estevam
On Wed, Apr 17, 2024 at 5:01 PM Tim Harvey wrote: > > The GW73xx baseboard needs a PCI dt adjustment for revC/D based on a > change of the PCIe switch. Make sure we are only doing this for a pci > based ethernet to avoid causing a boot hang when the ethernet1 alias > points to eqos or fec. To

Re: [PATCH v3 1/3] clk: imx8mm: Add support for PCIe clocks

2024-04-20 Thread Fabio Estevam
On Fri, Apr 19, 2024 at 12:29 PM Tim Harvey wrote: > > Add support for PCIe clocks required to enable PCIe support on > iMX8MM SoC. > > Signed-off-by: Tim Harvey > --- > v3: wrap pcie clk config around IS_ENABLED to avoid SPL growth as > suggested by Marek Applied all, thanks.

Re: [PATCH] imx8m*_venice_defconfig: enable ipv6, wget and tftpput

2024-04-20 Thread Fabio Estevam
On Wed, Apr 17, 2024 at 5:03 PM Tim Harvey wrote: > > Enable ipv6, wget, and tftpput support > > Signed-off-by: Tim Harvey Applied, thanks.

Re: [PATCH 0/4] Simplefb and fb reservation related updates

2024-04-20 Thread Anatolij Gustschin
On Fri, 8 Mar 2024 16:38:28 +0530 Devarsh Thakkar devar...@ti.com wrote: > Hi Tom, Anatolij, Simon, > > On 22/02/24 18:38, Devarsh Thakkar wrote: > > This adds support for simple-framebuffer reservation using video handoff > > when splash is enabled at SPL stage. > > > > Also adds helper

Re: [PATCH] video: simplefb: modernise DT parsing

2024-04-20 Thread Anatolij Gustschin
On Fri, 16 Feb 2024 18:38:06 + Caleb Connolly caleb.conno...@linaro.org wrote: > simplefb was using old style FDT parsing which doesn't behave well in > combination with livetree. Update it to use ofnode instead and add a > missing null check for the "format" property. > > Standardise the

Re: [PATCH v2 0/7] Tegra panel improvements

2024-04-20 Thread Anatolij Gustschin
On Wed, 31 Jan 2024 08:57:14 +0200 Svyatoslav Ryhel clamo...@gmail.com wrote: > The current patch set improves the logic of existing panels and > bridge used by Tegra 3 devices and brings support for additional > DSI panels used by Tegra 4 devices. > > New and existing drivers are fully

Re: [PATCH v3 00/17] video: dw_hdmi: Support Vendor PHY

2024-04-20 Thread Anatolij Gustschin
On Thu, 14 Mar 2024 14:55:32 +0530 Jagan Teki ja...@amarulasolutions.com wrote: ... > > > Jagan Teki (17): > > > video: rockchip: hdmi: Detect hpd after controller init > > > video: dw_hdmi: Add Vendor PHY handling > > > video: dw_hdmi: Extend the HPD detection > > > video: dw_hdmi: Add

Re: [PATCH v1 0/2] Simple panel improvements

2024-04-20 Thread Anatolij Gustschin
On Mon, 8 Jan 2024 18:44:59 +0200 Svyatoslav Ryhel clamo...@gmail.com wrote: > Simplify platform data pass to simple DSI panels by direct > asigning in udevice_id struct. > > Support EDID searching in case device tree provides no > specific timings or device has different panels (like paz00).