[PATCH] imx8mn-var-som: Simplify FEC initialization

2023-10-19 Thread Hugo Villeneuve
From: Hugo Villeneuve With DM enabled, there is no need for board code to initialize the FEC interface. The ethernet PHYs on the symphony carrier board have a dedicated crystal/oscillator. If the SOM has the EC configuration option (onboard ethernet PHY), it also has a dedicated

Re: [RESEND PATCH v1 1/2] spi: add support for Amlogic A1 SPI Flash Controller

2023-10-19 Thread Igor Prusov
On Tue, Oct 17, 2023 at 09:33:02PM -0600, Simon Glass wrote: > Hi Igor, > > On Tue, 17 Oct 2023 at 11:18, Igor Prusov wrote: > > > > From: Igor Prusov > > > > Add A1 SPIFC driver from Linux. Slightly modified to use u-boot driver > > framework and accommodate to lack of

[PATCH v3 1/2] imx8mp_evk: Simplify Ethernet initialization

2023-10-19 Thread Fabio Estevam
From: Fabio Estevam With DM enabled, there is no need for board code to initialize the Ethernet interfaces. The RTL8211FDI Ethernet PHYs have 25MHz oscillator, so there is no need to enable the RGMII TX clk output. Also, there is no need for describing the deprecated phy-reset FEC properties,

[PATCH v3 2/2] imx8mp_evk: Remove unneeded header files

2023-10-19 Thread Fabio Estevam
From: Fabio Estevam Cleanup the file by removing unneeded header files. Signed-off-by: Fabio Estevam --- Changes since v2: - Also remove and DECLARE_GLOBAL_DATA_PTR. (Hugo) board/freescale/imx8mp_evk/imx8mp_evk.c | 13 - 1 file changed, 13 deletions(-) diff --git

Re: [PATCH v13 7/8] efi_loader: fix EFI_ENTRY point on get_active_pcr_banks

2023-10-19 Thread Heinrich Schuchardt
On 10/19/23 18:21, Eddie James wrote: From: Ilias Apalodimas efi_tcg2_get_active_pcr_banks doesn't immediately call the EFI_ENTRY() wrapper once it enters the function. Move the call a few lines above to cover the error cases properly as well. Signed-off-by: Ilias Apalodimas Reviewed-by:

Re: [PATCH] imx8mp_evk: Simplify FEC initialization

2023-10-19 Thread Hugo Villeneuve
On Thu, 19 Oct 2023 14:04:41 -0300 Fabio Estevam wrote: > From: Fabio Estevam > > With DM enabled, there is no need for board code to initialize > the FEC interface. > > The RTL8211FDI Ethernet PHYs have 25MHz oscillator, so there is no > need to enable the RGMII TX clk output. > > Also,

[PATCH v2 1/2] imx8mp_evk: Simplify Ethernet initialization

2023-10-19 Thread Fabio Estevam
From: Fabio Estevam With DM enabled, there is no need for board code to initialize the Ethernet interfaces. The RTL8211FDI Ethernet PHYs have 25MHz oscillator, so there is no need to enable the RGMII TX clk output. Also, there is no need for describing the deprecated phy-reset FEC properties,

[PATCH v2 2/2] mx8mp_evk: Remove unneeded header files

2023-10-19 Thread Fabio Estevam
From: Fabio Estevam Cleanup the file by removing unneeded header files. Signed-off-by: Fabio Estevam --- Changes since v1: - Newly introduced. (Hugo) board/freescale/imx8mp_evk/imx8mp_evk.c | 10 -- 1 file changed, 10 deletions(-) diff --git a/board/freescale/imx8mp_evk/imx8mp_evk.c

[PATCH] net: eth-uclass: Improve error message when MAC is not found

2023-10-19 Thread Fabio Estevam
From: Fabio Estevam While bringinp up a new board without the MAC fuses programmed, the following error message was observed: Error: ethernet@30bf address not set. Improve the error message to make it clearer the reason of the failure. Signed-off-by: Fabio Estevam --- net/eth-uclass.c |

Re: [PATCH v3 2/2] imx8mp_evk: Remove unneeded header files

2023-10-19 Thread Hugo Villeneuve
On Thu, 19 Oct 2023 18:51:13 -0300 Fabio Estevam wrote: > From: Fabio Estevam > > Cleanup the file by removing unneeded header files. > > Signed-off-by: Fabio Estevam Reviewed-by: Hugo Villeneuve > --- > Changes since v2: > - Also remove and DECLARE_GLOBAL_DATA_PTR. (Hugo) > >

Re: [PATCH] board: synquacer: Update the flash image layout

2023-10-19 Thread Masahisa Kojima
On Thu, 19 Oct 2023 at 22:54, Ilias Apalodimas wrote: > > The SynQuacer Developerbox, in EFI mode, supports A/B capsule > updates and single image ones. The flash layout in the latter case is > outdated, update it with the new offsets and images > > Signed-off-by: Ilias Apalodimas > --- >

Re: [PATCH v2 01/22] sunxi: remove CONFIG_SATAPWR

2023-10-19 Thread Samuel Holland
On 9/28/23 16:54, Andre Przywara wrote: > The CONFIG_SATAPWR Kconfig symbol was used to point to a GPIO that > enables the power for a SATA harddisk. > In the DT this is described with the target-supply property in the AHCI > DT node, pointing to a (GPIO controlled) regulator. Since we need SATA >

Re: CONFIG_SPL_SKIP_RELOCATE in non-SPL build

2023-10-19 Thread Tom Rini
On Thu, Oct 19, 2023 at 03:30:25PM +0200, Martin Fäcknitz wrote: > Hello, > > The patch > Convert CONFIG_SPL_INIT_MINIMAL et al to Kconfig > (b35316fb67cb7aeaf022032ce078135251372f39) > > changes the behaviour for non-SPL builds when relocating code. The patch > sets the

Re: [PATCH v2 2/2] mx8mp_evk: Remove unneeded header files

2023-10-19 Thread Hugo Villeneuve
On Thu, 19 Oct 2023 16:21:55 -0300 Fabio Estevam wrote: > From: Fabio Estevam > > Cleanup the file by removing unneeded header files. > > Signed-off-by: Fabio Estevam > --- > Changes since v1: > - Newly introduced. (Hugo) > > board/freescale/imx8mp_evk/imx8mp_evk.c | 10 -- > 1

Re: [PATCH v2 02/22] net: sunxi_emac: chase DT nodes to find PHY regulator

2023-10-19 Thread Samuel Holland
Hi Andre, On 9/28/23 16:54, Andre Przywara wrote: > At the moment the sun4i EMAC driver relies on hardcoded CONFIG_MACPWR > Kconfig symbols to enable potential PHY regulators. As we want to get rid > of those, we need to find the regulator by chasing up the DT. > > The sun4i-emac binding puts

[PATCH] imx8mn_var_som: Add myself to MAINTAINERS

2023-10-19 Thread Hugo Villeneuve
From: Hugo Villeneuve I would like to help maintaining the imx8mn_var_som symphony board. Add myself to MAINTAINERS. Signed-off-by: Hugo Villeneuve --- board/variscite/imx8mn_var_som/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/board/variscite/imx8mn_var_som/MAINTAINERS

Re: [PATCH 1/2] configs: rockchip: Use dwc3-generic driver on RK3328 and RK3399

2023-10-19 Thread Jonas Karlman
On 2023-10-19 01:44, Marek Vasut wrote: > On 10/19/23 00:30, Jonas Karlman wrote: > > [..] > >> +++ b/configs/rock960-rk3399_defconfig >> @@ -50,6 +50,7 @@ CONFIG_SYS_RELOC_GD_ENV_ADDR=y >> CONFIG_SYS_MMC_ENV_DEV=1 >> CONFIG_ROCKCHIP_GPIO=y >> CONFIG_SYS_I2C_ROCKCHIP=y >> +CONFIG_MISC=y >>

Re: [PATCH v13 6/8] doc: Add measured boot documentation

2023-10-19 Thread Heinrich Schuchardt
On 10/19/23 18:21, Eddie James wrote: Briefly describe the feature and specify the requirements. Signed-off-by: Eddie James Reviewed-by: Simon Glass --- Changes since v12: - Add a bit of detail about OS usage and what pieces are measured doc/usage/index.rst | 1 +

Re: [PATCH v13 0/8] tpm: Support boot measurements

2023-10-19 Thread Ilias Apalodimas
Hi Eddie, Does the series compile for you against -master? For qemu_arm64_defonfig I am getting compilation errors both locally and on the CI https://source.denx.de/u-boot/custodians/u-boot-tpm/-/jobs/717362#L39 Thanks /Ilias On Thu, 19 Oct 2023 at 19:45, Ilias Apalodimas wrote: > > Thanks

Falcon mode on RISC-V

2023-10-19 Thread Heinrich Schuchardt
Hello Randolph, I just saw your patches merged to enable Falcon mode on RISC-V using CONFIG_SPL_LOAD_FIT_OPENSBI_OS_BOOT. I did not see any documentation update. Should information about your development be added to doc/develop/falcon.rst? Would you be willing to provide a patch? Best regards

Re: [PATCH v2 1/2] imx8mp_evk: Simplify Ethernet initialization

2023-10-19 Thread Hugo Villeneuve
On Thu, 19 Oct 2023 16:21:54 -0300 Fabio Estevam wrote: > From: Fabio Estevam > > With DM enabled, there is no need for board code to initialize > the Ethernet interfaces. > > The RTL8211FDI Ethernet PHYs have 25MHz oscillator, so there is no > need to enable the RGMII TX clk output. > >

Re: [PATCH v2 12/22] clk: sunxi: Add support for the D1 CCU

2023-10-19 Thread Samuel Holland
On 9/28/23 16:54, Andre Przywara wrote: > From: Samuel Holland > > Since the D1 CCU binding is defined, we can add support for its > gates/resets, following the pattern of the existing drivers. > > Signed-off-by: Samuel Holland > Reviewed-by: Andre Przywara > Acked-by: Sean Anderson >

Re: [PATCH v7 4/9] efi_loader: create default file boot option

2023-10-19 Thread Masahisa Kojima
Hi Ilias, On Wed, 18 Oct 2023 at 18:12, Ilias Apalodimas wrote: > > Hi Kojima-san > > On Wed, 18 Oct 2023 at 12:07, Masahisa Kojima > wrote: > > > > Hi Ilias, > > > > On Wed, 18 Oct 2023 at 04:47, Ilias Apalodimas > > wrote: > > > > > > Hi all, > > > > > > On Tue, 17 Oct 2023 at 08:33,

Re: [PATCH v7 4/9] efi_loader: create default file boot option

2023-10-19 Thread Ilias Apalodimas
[...] > > > > > > > > > > According to the EDK II implementation[1], the boot option is > > > > > enumerated with the following order. > > > > > 1. Removable BlockIo > > > > > 2. Fixed BlockIo > > > > > 3. Non-BlockIo SimpleFileSystem > > > > > 4. LoadFile > > > > > So boot option for the

Re: [PATCH 0/2] MAINTAINERS: Add Mattijs to USB/fastboot maintainers

2023-10-19 Thread Mattijs Korpershoek
Hi Lukasz, Marek, On mer., oct. 18, 2023 at 12:52, Lukasz Majewski wrote: > Hi Mattijs, > >> From discussions with Marek at Kernel Recipes, it seems that the USB >> subsystem in U-boot need some help. >> >> Since I've been asked and I'm willing to help, I've added myself to >> the maintainers

Re: [PATCH 0/2] MAINTAINERS: Add Mattijs to USB/fastboot maintainers

2023-10-19 Thread Lukasz Majewski
On Thu, 19 Oct 2023 09:40:37 +0200 Mattijs Korpershoek wrote: > Hi Lukasz, Marek, > > On mer., oct. 18, 2023 at 12:52, Lukasz Majewski > wrote: > > > Hi Mattijs, > > > >> From discussions with Marek at Kernel Recipes, it seems that the > >> USB subsystem in U-boot need some help. > >> > >>

Re: [PATCH v7 4/9] efi_loader: create default file boot option

2023-10-19 Thread Masahisa Kojima
On Thu, 19 Oct 2023 at 16:22, Ilias Apalodimas wrote: > > [...] > > > > > > > > > > > > > According to the EDK II implementation[1], the boot option is > > > > > > enumerated with the following order. > > > > > > 1. Removable BlockIo > > > > > > 2. Fixed BlockIo > > > > > > 3. Non-BlockIo

Re: [PATCH 5/9] ram: k3-ddrss: Add exit retention support

2023-10-19 Thread Thomas Richard
On 10/19/23 00:42, Bryan Brattlof wrote: > Hi Thomas! > > On October 16, 2023 thus sayeth Thomas Richard: >> Add the exit retention support. >> The enter retention is done by DM-Firmware. >> A part of the exit retention sequence is specific to the board. >> It is done in

Re: [PATCH 1/2] imx8mp_evk: Convert to DM_PMIC

2023-10-19 Thread Peng Fan
On 10/19/2023 3:17 AM, Fabio Estevam wrote: From: Fabio Estevam Currently, the imx8mp_evk uses the non-DM code to initialize the PMIC. Convert to DM_PMIC, which is the recommended way to access the PMIC. While at it, fix multi-line comments style. Signed-off-by: Fabio Estevam

Re: [PATCH] ARM: zynq: Disable the config CONFIG_SPI_FLASH_USE_4K_SECTORS

2023-10-19 Thread Michal Simek
On 10/12/23 15:39, Michal Simek wrote: From: Venkatesh Yadav Abbarapu Lock size for the flashes will be in terms of sector size, so disable the CONFIG_SPI_FLASH_USE_4K_SECTORS and read it from the flash itself. Signed-off-by: Venkatesh Yadav Abbarapu Signed-off-by: Michal Simek ---

Re: [PATCH] riscv: Add Zbb support for building U-Boot

2023-10-19 Thread Leo Liang
On Tue, Oct 17, 2023 at 11:38:45AM -0400, Tom Rini wrote: > On Wed, Aug 09, 2023 at 06:49:30PM +0800, Yu Chien Peter Lin wrote: > > > This patch adds ISA string to the -march to generate zbb instructions > > for U-Boot binaries, along with optimized string functions introduced > > from Linux

[PATCH 3/6] led: introduce led_bind_generic()

2023-10-19 Thread Rasmus Villemoes
All existing drivers in drivers/led/ contain a .bind method that does exactly the same thing, with just the actual driver name differing. Create a helper so all those individual methods can be changed to one-liners. Signed-off-by: Rasmus Villemoes --- drivers/led/led-uclass.c | 18

[PATCH 1/6] led-uclass: do not create fallback label for top-level node

2023-10-19 Thread Rasmus Villemoes
Many existing drivers, and led-uclass itself, rely on uc_plat->label being NULL for the device representing the top node, as opposed to the child nodes representing individual LEDs. This means that the drivers whose .probe methods rely on this were broken by 83c63f0d1185 ("led: Move OF "label"

[PATCH 0/6] some LED patches

2023-10-19 Thread Rasmus Villemoes
I wanted to add support for ti,lp5562, and found an old submission from Doug. While trying to modify that to work in current U-Boot, I found a problem with the "move label handling to core" patches. Patch 1 is an attempt at (quick-)fixing that, though the real fix is probably to not bind the same

[PATCH 2/6] led-uclass: honour ->label field populated by driver's own .bind

2023-10-19 Thread Rasmus Villemoes
If the driver's own .bind method has populated uc_plat->label, don't override that. This is necessary for an upcoming driver for ti,lp5562, where the DT binding unfortunately says to use "chan-name" and not "label". Signed-off-by: Rasmus Villemoes --- drivers/led/led-uclass.c | 4 +++- 1 file

Re: [PATCH v4] imx8mp-evk: Add USB0 OTG support

2023-10-19 Thread Peng Fan
On 10/16/2023 8:24 AM, Fabio Estevam wrote: From: Fabio Estevam Add USB0 OTG support. Currently, the USB0 OTG nodes are not enabled in the Linux kernel devicetree. For this reason, enable the USB0 OTG nodes inside imx8mp-evk-u-boot.dtsi for now. Also select several useful options such as

Re: [PATCH v8 0/2] Add support to fetch baudrate from dtb

2023-10-19 Thread Michal Simek
On 9/21/23 13:20, Venkatesh Yadav Abbarapu wrote: In this patch series - Add support in Kconfig and convert for armada boards - Fetch baudrate from the dtb and update Changes in v8: - Added test to cover fetch_baud_from_dtb. - Changed this check_valid_baudrate() to static and removed from

Re: [PATCH] sandbox: watchdog: Avoid an error on startup

2023-10-19 Thread Stefan Roese
On 8/11/23 09:10, Stefan Roese wrote: On 8/10/23 17:53, Simon Glass wrote: For some time now running sandbox with -T produces an error:     Core:  270 devices, 95 uclasses, devicetree: board     WDT:   Not starting wdt-gpio-toggle     wdt_gpio wdt-gpio-level: Request for wdt gpio failed: -16   

Please pull u-boot-watchdog/master

2023-10-19 Thread Stefan Roese
Hi Tom, please pull the following watchdog related commits: - sandbox: watchdog: Avoid an error on startup (Simon) - nuvoton: Fix reset/expire function error (Jim)

Re: [PATCH 9/9] cmd: test_enter_suspend: Add test_enter_suspend command

2023-10-19 Thread Thomas Richard
On 10/16/23 20:14, Heinrich Schuchardt wrote: > On 10/16/23 16:11, Thomas Richard wrote: >> From: Gregory CLEMENT >> >> Add test_enter_suspend command using PSCI. >> This command is only to test suspend sequence from U-Boot. >> The resume will not work. >> >> Signed-off-by: Gregory CLEMENT >>

Re: [PATCH 2/2] imx8mp_evk: Add myself to MAINTAINERS

2023-10-19 Thread Peng Fan
On 10/19/2023 3:17 AM, Fabio Estevam wrote: From: Fabio Estevam I would like to help maintaining the imx8mp_evk board. Add myself to MAINTAINERS. Signed-off-by: Fabio Estevam Acked-by: Peng Fan --- board/freescale/imx8mp_evk/MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH] arm64: zynqmp: Remove fclk driver

2023-10-19 Thread Michal Simek
On 10/12/23 10:22, Michal Simek wrote: fclk will never go upstream that's why removing this node from DT. All PL (programmable logic) based IPs should handle clocks self without using this workaround. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-clk-ccf.dtsi | 6 -- 1 file

Re: [PATCH] spi: cadence_ospi_versal: Add support for 64-bit address

2023-10-19 Thread Michal Simek
On 10/11/23 05:15, Venkatesh Yadav Abbarapu wrote: When 64-bit address is passed only lower 32-bit address is getting updated. Program the upper 32-bit address in the DMA destination memory address MSBs register. Signed-off-by: Venkatesh Yadav Abbarapu ---

Re: [PATCH v2] drivers: firmware: Handle error case in the zynqmp_pm_feature

2023-10-19 Thread Michal Simek
On 10/11/23 04:56, Venkatesh Yadav Abbarapu wrote: Unhandled error coming from xilinx_pm_request() but return value is not read back that's why getting sparse warning as below: warning: variable 'ret' set but not used [-Wunused-but-set-variable]. In case of error return the "ret" value.

Re: [PATCH] arm64: dts: zynqmp: make hw-ecc as the default ecc mode

2023-10-19 Thread Michal Simek
On 10/12/23 15:58, Michal Simek wrote: From: Amit Kumar Mahapatra Except for Linux no other component (i.e., u-boot, fsbl or BootRom) of the software stack supports software ecc engine. So, make hw-ecc as the default ecc mode. Signed-off-by: Amit Kumar Mahapatra Signed-off-by: Michal

Re: [PATCH 0/5] arm64: xilinx: DT sync

2023-10-19 Thread Michal Simek
On 10/12/23 14:58, Michal Simek wrote: Hi, I have found 5 more patches internally which should be also upstreamed to get DT in sync and descrease amount of differences. Thanks, Michal Michal Simek (4): arm64: zynqmp: Use mdio node by vp-x-a2785-00-revA and vpk120-revA arm64: zynqmp:

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-19 Thread Peter Robinson
On Wed, Oct 18, 2023 at 4:29 PM Simon Glass wrote: > > Hi Tom, > > On Wed, 18 Oct 2023 at 07:37, Tom Rini wrote: > > > > On Mon, Oct 16, 2023 at 04:28:13PM -0600, Simon Glass wrote: > > > > > Since efi_device_path.c calls eth_get_dev() and assumes that Ethernet is > > > available, add it as an

[PATCH v3] driver: misc: k3_avs: Add support for thermal shutdown

2023-10-19 Thread Udit Kumar
To avoid thermal burn out, program thermal shutdown value in VTM (Voltage and Thermal Manager) IP. Part of Linux kernel driver (drivers/thermal/k3_j72xx_bandgap.c) is ported from kernel 6.6-rc1, which sets thermal shutdown values. Signed-off-by: Udit Kumar Signed-off-by: Neha Francis ---

Re: [PATCH 0/2] MAINTAINERS: Add Mattijs to USB/fastboot maintainers

2023-10-19 Thread Mattijs Korpershoek
On jeu., oct. 19, 2023 at 10:18, Lukasz Majewski wrote: > On Thu, 19 Oct 2023 09:40:37 +0200 > Mattijs Korpershoek wrote: > >> Hi Lukasz, Marek, >> >> On mer., oct. 18, 2023 at 12:52, Lukasz Majewski >> wrote: >> >> > Hi Mattijs, >> > >> >> From discussions with Marek at Kernel Recipes, it

[PATCH 6/6] led: add TI LP5562 LED driver

2023-10-19 Thread Rasmus Villemoes
From: Doug Zobel Driver for the TI LP5562 4 channel LED controller. Supports independent on/off control of all 4 channels. Supports LED_BLINK on 3 independent channels: blue/green/red. The white channel can blink, but shares the blue channel blink rate. Heavily based on patch originally from

[PATCH 4/6] led: led_gpio: use led_bind_generic() helper

2023-10-19 Thread Rasmus Villemoes
Signed-off-by: Rasmus Villemoes --- drivers/led/led_gpio.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/led/led_gpio.c b/drivers/led/led_gpio.c index fbed151b5d..71421de628 100644 --- a/drivers/led/led_gpio.c +++ b/drivers/led/led_gpio.c @@ -11,7

[PATCH 5/6] led: led_pwm: use led_bind_generic() helper

2023-10-19 Thread Rasmus Villemoes
Signed-off-by: Rasmus Villemoes --- drivers/led/led_pwm.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/led/led_pwm.c b/drivers/led/led_pwm.c index 7c8eae9337..ae6de3087a 100644 --- a/drivers/led/led_pwm.c +++ b/drivers/led/led_pwm.c @@ -9,7 +9,6 @@

Re: [PATCH v1] zynqmp: migrate gqspi debug to logging

2023-10-19 Thread Michal Simek
On 10/13/23 14:37, Ibai Erkiaga wrote: The following patch migrates the usage of debug and printf functions to the relevant logging function as per U-Boot DM guidelines. Additionally some of the debugging statements have been rearanged for a more meaningfull debug experience.

Re: [PATCH] arm64: zynqmp: Disable the lock option for mini qspi

2023-10-19 Thread Michal Simek
On 10/12/23 15:37, Michal Simek wrote: From: Venkatesh Yadav Abbarapu As mini configs are required only for flashing the images, so disabling the lock config which will save nearly 6KB of memory. Signed-off-by: Venkatesh Yadav Abbarapu Signed-off-by: Michal Simek --- Depends on

Re: [PATCH v2 0/3] Add spi flash lock option

2023-10-19 Thread Michal Simek
On 10/3/23 05:17, Venkatesh Yadav Abbarapu wrote: Disabling the flash lock option for versal and versal-net mini ospi and qspi defconfigs. Changes in v2: - Updated the commit message. - Added SPI_FLASH_LOCK in cmd/sf.c, so when disabling this option "sf protect" commands wont appear to

Re: [PATCH v3] wdt: nuvoton: Fix reset/expire function error

2023-10-19 Thread Stefan Roese
On 10/19/23 07:53, Stefan Roese wrote: On 10/18/23 04:09, Jim Liu wrote: Fix npcm845 watchdog halt for reset function and expire function. Reset function is restart wdt. Signed-off-by: Jim Liu Changes for v3:     - Modify start sentences     - Remove empty line Changes for v2:     - Add

[PULL] u-boot-riscv/master

2023-10-19 Thread Leo Liang
Hi Tom, The following changes since commit 9a0cf3993f71043ba08c315572c54622de42d447: Merge branch '2023-10-17-spl-test-some-load-methods' (2023-10-18 08:28:00 -0400) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-riscv.git for you to fetch

[PATCH v2] make: check if DTC variable is an absolute path

2023-10-19 Thread Richard Marko
If we try to build using external dtc using > make DTC=dtc we get a confusing error like > make[2]: *** No rule to make target 'arch/x86/dts/bayleybay.dtb', > needed by 'dtbs'. Stop. Workaround is to use > make DTC=$( which dtc ) which gives make a full path, so the dependency is satisfied.

[tiU23.04 PATCH] board: ti: common: board_detect: Fix EEPROM offset read for 1-byte

2023-10-19 Thread Prasanth Babu Mantena
EEPROM detection logic in ti_i2c_eeprom_get() involves reading the total size followed by reading 1-byte size with an offset 1. This commit fixes the header matching issue in commit 9f393a2d7af8 ("board: ti: common: board_detect: Fix EEPROM read quirk for 2-byte"). In the previous commit, the

[PATCH v2 3/3] arm: dts: imx8mp: Sync with linux-next 20231019

2023-10-19 Thread Fabio Estevam
From: Fabio Estevam Sync imx8mp.dtsi and imx8mp-clock.h with linux-next 20231019. Signed-off-by: Fabio Estevam --- Changes since v1: - Rebased against latest U-Boot and synced with linux-next 20231019 arch/arm/dts/imx8mp.dtsi | 542 ++- include/dt-bindings

[PATCH v2 2/3] arm: dts: imx8mn: Sync with linux-next 20231019

2023-10-19 Thread Fabio Estevam
From: Fabio Estevam Sync imx8mn.dtsi with linux-next 20231019. Signed-off-by: Fabio Estevam --- Changes since v1: - Rebased against latest U-Boot and synced with linux-next 20231019 arch/arm/dts/imx8mn.dtsi | 167 --- 1 file changed, 154 insertions(+), 13

[PATCH v2 1/3] arm: dts: imx8mm: Sync with linux-next 20231019

2023-10-19 Thread Fabio Estevam
From: Fabio Estevam Sync imx8mm.dtsi with linux-next 20231019. The motivation for doing this sync was a bug when doing "ums 0 mmc 1" on imx8mm-evk. It worked well for the first time, but after doing a CTRL+C and launching the ums again, the command did not work. Adam Ford suggest

Re: U-Boot 2023.10 does not boot from uSD on RPi4

2023-10-19 Thread Ivan Ivanov
Hi, Sorry I can't find mail thread regarding patch itself, so using this one: On Fri, 2023-10-13 at 10:08 +, Guillaume Gardet wrote: > > > > Hi, >   > Indeed, your patch [2] fixes my boot problem. >   > > > [2] >

[PATCH] phy: phy-imx8mq-usb: Remove .exit operation

2023-10-19 Thread Fabio Estevam
From: Fabio Estevam Currently, when running "ums 0 mmc 2" and breaking it via CTRL + C, the following message is seen: u-boot=> ums 0 mmc 1 UMS: LUN 0, dev mmc 1, hwpart 0, sector 0x0, count 0x1dacc00 CTRL+C - Operation aborted clk usb_phy_root_clk already disabled The USB PHY clock is

Re: [PATCH 1/9] DO NOT MERGE: arm: dts: k3-j7200-r5-common: Add pmic node for esm

2023-10-19 Thread Thomas Richard
On 10/16/23 18:29, Nishanth Menon wrote: > On 16:11-20231016, Thomas Richard wrote: >> From: Gowtham Tammana >> >> Add pmic tps659413 node needed for ESM error event handling. >> >> Signed-off-by: Gowtham Tammana >> Signed-off-by: Neha Malcom Francis >> Signed-off-by: Thomas Richard >> --- >>

Re: [PATCH v2 0/9] ufs: Add a PCI UFS controller support

2023-10-19 Thread Marek Vasut
On 10/19/23 07:08, Bin Meng wrote: + Marek, On Wed, Oct 11, 2023 at 9:16 PM Bin Meng wrote: This adds a PCI UFS controller support and enables the support on QEMU RISC-V for testing. Requiring QEMU v8.2+. This series is avaiable at u-boot-x86/ufs for testing. Changes in v2: - fix a build

Re: [PATCH v12 5/8] test: Add sandbox TPM boot measurement

2023-10-19 Thread Eddie James
On 10/13/23 12:22, Ilias Apalodimas wrote: Hi Eddie, This doesn't apply on -master, can you please rebase? Ugh I thought you wanted -next... I can rebase again. Thanks /Ilias On Thu, 12 Oct 2023 at 16:49, Eddie James wrote: Use the sandbox TPM driver to measure some boot images in a

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-19 Thread Tom Rini
On Thu, Oct 19, 2023 at 11:39:49AM +0100, Peter Robinson wrote: > On Wed, Oct 18, 2023 at 4:29 PM Simon Glass wrote: > > > > Hi Tom, > > > > On Wed, 18 Oct 2023 at 07:37, Tom Rini wrote: > > > > > > On Mon, Oct 16, 2023 at 04:28:13PM -0600, Simon Glass wrote: > > > > > > > Since

Re: [PATCH v3 32/32] sandbox: Add a test for disabling CONFIG_CMDLINE

2023-10-19 Thread Simon Glass
Hi Tom, On Wed, 18 Oct 2023 at 20:32, Tom Rini wrote: > > On Mon, Oct 16, 2023 at 04:28:23PM -0600, Simon Glass wrote: > > > Now that everything is working, add a test to make sure that this > > builds correctly. > > > > Signed-off-by: Simon Glass > > Reviewed-by: Tom Rini > > --- > > > >

Re: [PATCH v3 04/32] cmd: Add a few more dependencies on CMDLINE

2023-10-19 Thread Simon Glass
Hi Heinrich, On Wed, 18 Oct 2023 at 07:14, Heinrich Schuchardt wrote: > > On 10/17/23 00:27, Simon Glass wrote: > > Add this to some more commands to avoid build errors with sandbox. > > > > Note that this is a temporary solution to expose more problems. A later > > patch puts these behind an

Re: [PATCH v3 14/32] bootm: Allow building when cleanup functions are missing

2023-10-19 Thread Simon Glass
Hi Tom, On Wed, 18 Oct 2023 at 06:39, Tom Rini wrote: > > On Tue, Oct 17, 2023 at 09:31:04PM -0600, Simon Glass wrote: > > Hi Tom, > > > > On Tue, 17 Oct 2023 at 08:02, Tom Rini wrote: > > > > > > On Mon, Oct 16, 2023 at 04:28:05PM -0600, Simon Glass wrote: > > > > > > > There are two cleanup

[v4 07/24] env: Move env_set() out of cmd/nvedit.c and in to env/common.c

2023-10-19 Thread Tom Rini
Inside of env/common.c we already have our helper env_set_xxx functions, and even have a comment that explains why env_set() itself wasn't moved. We now handle that move. This requires that we rename the previous _do_env_set() to env_do_env_set() and note it as an internal env function. Add

[v4 04/24] version: Separate our version string from the version command

2023-10-19 Thread Tom Rini
In order to be able to disable all commands we need to construct our version string in a common file, and have the version command reference that string, like the other users of it do. Create common/version.c with just the strings. Signed-off-by: Tom Rini --- cmd/version.c| 9 -

[v4 05/24] qemu: Correct CMD_QFW dependencies in Kconfig

2023-10-19 Thread Tom Rini
Rather than selecting CMD_QFW, we should make the option itself by enabled by default on these platforms. Then in the board-specific Kconfig we should select the appropriate back-end as needed if the command is enabled. Signed-off-by: Tom Rini --- Cc: Tuomas Tynkkynen Cc: Bin Meng ---

[v4 09/24] video: Don't require the font command

2023-10-19 Thread Tom Rini
From: Simon Glass While it is nice to have the font command, using 'select' makes it impossible to build the console code without it. Stop using 'select' and make it default if CONSOLE_TRUETYPE is enabled when asking the command. Signed-off-by: Simon Glass Signed-off-by: Tom Rini --- Changes

[v4 06/24] Kconfig: Move CONFIG_SYS_[CP]BSIZE to common/Kconfig

2023-10-19 Thread Tom Rini
Move CONFIG_SYS_CBSIZE (console buffer size) and CONFIG_SYS_PBSIZE (console print buffer size) out of cmd/Kconfig and in to common/Kconfig. Create help entries for both which explain their usage and why they are both not entirely command centric. Signed-off-by: Tom Rini --- cmd/Kconfig| 14

[v4 08/24] test: Make UNIT_TEST depend on CMDLINE

2023-10-19 Thread Tom Rini
From: Simon Glass Many tests make some use of the command line, so require it for all test code. This could be teased apart, perhaps with a test flag indicating that it uses the command line. Leave that for later. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- test/Kconfig | 1 + 1

Re: [v4 11/24] efi: Rearrange the Kconfig for CMD_BOOTEFI_BOOTMGR

2023-10-19 Thread Heinrich Schuchardt
On 19.10.23 17:00, Tom Rini wrote: From: Simon Glass The command should not be used to enable library functionality. Add a new BOOTEFI_BOOTMGR Kconfig for that. Adjust the conditions so that the same code is built. Signed-off-by: Simon Glass Suggested-by: AKASHI Takahiro --- Cc: Heinrich

Re: [PATCH v3 1/2] binman: openssl: x509: ti_secure_rom: Add support for bootcore_opts

2023-10-19 Thread Simon Glass
Hi Neha, On Tue, 17 Oct 2023 at 23:20, Neha Malcom Francis wrote: > > Hi Simon > > On 18/10/23 09:03, Simon Glass wrote: > > Hi Neha, > > > > On Tue, 17 Oct 2023 at 03:58, Neha Malcom Francis wrote: > >> > >> Hi Simon > >> > >> On 08/10/23 04:39, Simon Glass wrote: > >>> Hi Neha, > >>> > >>> On

Re: [RFC PATCH 4/5] video: Skip framebuffer reservation if already reserved

2023-10-19 Thread Simon Glass
Hi Devarsh, On Mon, 16 Oct 2023 at 10:06, Devarsh Thakkar wrote: > > Skip framebufer reservation if it was already reserved > from previous stage and whose information was passed > using a bloblist. > > Signed-off-by: Devarsh Thakkar > --- > drivers/video/video-uclass.c | 8 > 1 file

Re: [PATCH v2 1/1] efi_loader: expose the device-tree file name

2023-10-19 Thread Simon Glass
Hi Heinrich, On Wed, 18 Oct 2023 at 02:15, Heinrich Schuchardt wrote: > > On 10/18/23 05:33, Simon Glass wrote: > > Hi Heinrich, > > > > On Tue, 17 Oct 2023 at 07:50, Heinrich Schuchardt > > wrote: > >> > >> Forward and backward compatibility of Linux kernel device-trees is > >> sometimes

Re: [RFC PATCH 1/5] arm: mach-k3: common: Reserve video memory from end of the RAM

2023-10-19 Thread Simon Glass
Hi Devarsh, On Mon, 16 Oct 2023 at 10:06, Devarsh Thakkar wrote: > > Move the function to setup video memory before page table > reservation so that framebuffer memory gets reserved from > the end of RAM. > > This is as per the new policy being discussed for passing > blobs where each of the

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-19 Thread Simon Glass
Hi Heinrich, On Wed, 18 Oct 2023 at 06:55, Heinrich Schuchardt wrote: > > On 10/17/23 16:09, Tom Rini wrote: > > On Mon, Oct 16, 2023 at 04:28:13PM -0600, Simon Glass wrote: > > > >> Since efi_device_path.c calls eth_get_dev() and assumes that Ethernet is > >> available, add it as an explicit

Re: [PATCH v3 22/32] efi: Update EFI_LOADER to depend on DM_ETH

2023-10-19 Thread Simon Glass
Hi Peter, On Thu, 19 Oct 2023 at 04:40, Peter Robinson wrote: > > On Wed, Oct 18, 2023 at 4:29 PM Simon Glass wrote: > > > > Hi Tom, > > > > On Wed, 18 Oct 2023 at 07:37, Tom Rini wrote: > > > > > > On Mon, Oct 16, 2023 at 04:28:13PM -0600, Simon Glass wrote: > > > > > > > Since

Re: U-Boot 2023.10 does not boot from uSD on RPi4

2023-10-19 Thread Simon Glass
Hi Ivan, On Thu, 19 Oct 2023 at 02:59, Ivan Ivanov wrote: > > > Hi, > > Sorry I can't find mail thread regarding patch itself, so using this one: > > On Fri, 2023-10-13 at 10:08 +, Guillaume Gardet wrote: > > > > > > > > Hi, > > > > Indeed, your patch [2] fixes my boot problem. > > > > > >

Re: U-Boot 2023.10 does not boot from uSD on RPi4

2023-10-19 Thread Simon Glass
Hi Ivan, On Thu, 19 Oct 2023 at 08:29, Ivan Ivanov wrote: > > On Thu, 2023-10-19 at 08:00 -0600, Simon Glass wrote: > > > > > > > > [2] > > > > https://patchwork.ozlabs.org/project/uboot/patch/20230923205017.1754340-1-...@chromium.org/ > > > > > > > > > > > > > > > > [1]

Re: [PULL] u-boot-riscv/master

2023-10-19 Thread Tom Rini
On Thu, Oct 19, 2023 at 07:41:24PM +0800, Leo Liang wrote: > Hi Tom, > > The following changes since commit 9a0cf3993f71043ba08c315572c54622de42d447: > > Merge branch '2023-10-17-spl-test-some-load-methods' (2023-10-18 08:28:00 > -0400) > > are available in the Git repository at: > >

Re: [PATCH v3 32/32] sandbox: Add a test for disabling CONFIG_CMDLINE

2023-10-19 Thread Tom Rini
On Thu, Oct 19, 2023 at 08:00:00AM -0600, Simon Glass wrote: > Hi Tom, > > On Wed, 18 Oct 2023 at 20:32, Tom Rini wrote: > > > > On Mon, Oct 16, 2023 at 04:28:23PM -0600, Simon Glass wrote: > > > > > Now that everything is working, add a test to make sure that this > > > builds correctly. > > >

Re: Please pull u-boot-watchdog/master

2023-10-19 Thread Tom Rini
On Thu, Oct 19, 2023 at 12:35:54PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull the following watchdog related commits: > Applied to u-boot/master, thanks! -- Tom signature.asc Description: PGP signature

Re: U-Boot 2023.10 does not boot from uSD on RPi4

2023-10-19 Thread Ivan Ivanov
Hi, On Thu, 2023-10-19 at 08:32 -0600, Simon Glass wrote: > > > > > > > > I am afraid we still have a boot issue. This time device can not boot > > > > from USB. > > > > Device boot order was changed to USB first then uSD. uSD card is > > > > removed. > > > > > > > > Please see [1]

Re: Branches in uboot-imx

2023-10-19 Thread Peter Robinson
On Thu, Oct 19, 2023 at 3:58 PM Grzegorz Borowiak wrote: > > Hello! > > I just cloned the repository: > > https://github.com/nxp-imx/uboot-imx > > and I encountered a rather large amount of branches (listed below). > > Are these branches somehow described, so I could read what they are about? >

[v4 11/24] efi: Rearrange the Kconfig for CMD_BOOTEFI_BOOTMGR

2023-10-19 Thread Tom Rini
From: Simon Glass The command should not be used to enable library functionality. Add a new BOOTEFI_BOOTMGR Kconfig for that. Adjust the conditions so that the same code is built. Signed-off-by: Simon Glass Suggested-by: AKASHI Takahiro --- Cc: Heinrich Schuchardt Cc: Ilias Apalodimas

[v4 13/24] autoboot: Correct dependencies on CMDLINE

2023-10-19 Thread Tom Rini
From: Simon Glass Make AUTOBOOT depend on CMDLINE since it is mostly meaningless without it. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- boot/Kconfig | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig index

[v4 10/24] cli_simple: Rework this support slightly

2023-10-19 Thread Tom Rini
The interactive portion of our non-HUSH 'simple' parser is guarded by CONFIG_CMDLINE already. Much of the code behind this simple parser is also used as "input" parser, such as from menu interfaces and so forth and not strictly command line input. To support this, always build the assorted cli

[v4 12/24] bootmeth: Make BOOTMETH_EFILOADER depend on CMD_BOOTEFI

2023-10-19 Thread Tom Rini
Today, the bootmeth for using the EFI loader via bootefi depends on calling the bootefi command directly, so make this in turn depend on CMD_BOOTEFI. Signed-off-by: Tom Rini --- boot/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boot/Kconfig b/boot/Kconfig

[PATCH] common: Reword CONSOLE_RECORD_.*SIZE help texts

2023-10-19 Thread Tom Rini
Make it clear that in the options for setting the console record buffer sizes that we are talking about buffers for that feature specifically and not the general console buffers. Signed-off-by: Tom Rini --- common/Kconfig | 16 1 file changed, 8 insertions(+), 8 deletions(-)

[v4 24/24] clk_k210.c: Clean up how we handle nop

2023-10-19 Thread Tom Rini
Now that sandbox has and defines nop() there we should include that in our driver for clarity and then remove our local nop() from . Signed-off-by: Tom Rini --- I can see that our ARM should be and updated in a few other ways to match how the kernel is currently. This is not a big deal yet

Re: [PATCH v12 5/8] test: Add sandbox TPM boot measurement

2023-10-19 Thread Ilias Apalodimas
Hi Eddie, On Thu, 19 Oct 2023 at 16:29, Eddie James wrote: > > > On 10/13/23 12:22, Ilias Apalodimas wrote: > > Hi Eddie, > > > > This doesn't apply on -master, can you please rebase? > > > Ugh I thought you wanted -next... I can rebase again. Yea by the time the patches were sent -next got

Re: [PATCH] phy: phy-imx8mq-usb: Remove .exit operation

2023-10-19 Thread Marek Vasut
On 10/19/23 14:36, Fabio Estevam wrote: From: Fabio Estevam Currently, when running "ums 0 mmc 2" and breaking it via CTRL + C, the following message is seen: u-boot=> ums 0 mmc 1 UMS: LUN 0, dev mmc 1, hwpart 0, sector 0x0, count 0x1dacc00 CTRL+C - Operation aborted clk usb_phy_root_clk

[PATCH] board: synquacer: Update the flash image layout

2023-10-19 Thread Ilias Apalodimas
The SynQuacer Developerbox, in EFI mode, supports A/B capsule updates and single image ones. The flash layout in the latter case is outdated, update it with the new offsets and images Signed-off-by: Ilias Apalodimas --- board/socionext/developerbox/developerbox.c | 23 + 1

  1   2   >