Re: [PATCH] ARM: stm32: Set stdio to serial on DH STM32MP15xx DHSOM

2024-01-15 Thread Patrice CHOTARD
Hi Marek On 1/13/24 18:57, Marek Vasut wrote: > In case CONSOLE_MUX and SYS_CONSOLE_IS_IN_ENV are enabled, the console > stdin, stdout, stderr must be defined in environment. Define the default > settings to fix the following warning on boot: > > " > In:No input devices available! > Out:

Re: [PATCH v13 00/24] Modernize U-Boot shell

2024-01-15 Thread Patrice CHOTARD
On 1/16/24 01:46, Tom Rini wrote: > On Mon, Jan 15, 2024 at 06:34:24PM +0100, Patrice CHOTARD wrote: >> >> >> On 1/11/24 18:04, Francesco Dolcini wrote: >>> Hello Tom, Francis >>> >>> On Fri, Dec 29, 2023 at 07:55:37PM +0100, Francis Laniel wrote: Le jeudi 28 décembre 2023, 21:58:59 CET

[PATCH] board: sifive: spl: Initialized the PWM setting in the SPL stage

2024-01-15 Thread Nylon Chen
From: Vincent Chen LEDs and multiple fans can be controlled by SPL. This patch ensures that all fans have been enabled in the SPL stage. In addition, the LED's color will be set to yellow. Signed-off-by: Vincent Chen Co-developed-by: Nylon Chen Signed-off-by: Nylon Chen Co-developed-by: Zong

Re: [Upstream] [PATCH v4 0/2] *** Add support for phyCORE-AM62x ***

2024-01-15 Thread Wadim Egorov
Hello, is there something missing in this series for it to be applied? I would like to add support for a 2nd k3/am64x board based on this. So it would be nice to know if I can do it the same way or should wait for more k3 changes to come in first? Regards, Wadim Am 20.12.23 um 10:18 schrieb

[PATCH v2 2/2] configs: zynqmp_kria: Enable CONFIG_OF_BOARD_SETUP

2024-01-15 Thread Venkatesh Yadav Abbarapu
Enable CONFIG_OF_BOARD_SETUP, so we could use ft_board_setup() to enable the kaslr-seed and pass to kernel. Signed-off-by: Michal Simek Signed-off-by: Venkatesh Yadav Abbarapu --- configs/xilinx_zynqmp_kria_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v2 1/2] xilinx: board: Update the kaslr-seed property

2024-01-15 Thread Venkatesh Yadav Abbarapu
Create a ft_board_setup() api that gets called as part of bootm/booti before jumping to kernel. In this ft_board_setup() callback that will inspect the DTB and insert the device tree blob with the "kaslr-seed" property. Signed-off-by: Michal Simek Signed-off-by: Venkatesh Yadav Abbarapu ---

[PATCH v2 0/2] xilinx: Update the kaslr-seed property

2024-01-15 Thread Venkatesh Yadav Abbarapu
Update the kaslr-seed property and enable the config CONFIG_OF_BOARD_SETUP. Changes in v2: - Created macro for size variable. - Removed malloc and created array for rng buffer. - Added debug logs for all the apis. Venkatesh Yadav Abbarapu (2): xilinx: board: Update the kaslr-seed property

Pull request: Please pull u-boot-imx-20240115

2024-01-15 Thread Fabio Estevam
tags/u-boot-imx-20240115 for you to fetch changes up to 662e7ef7f0e84114dd58d77ccdcfdf61d1a0df31: arm: xea: Add support for boot image source descriptor in SPL (2024-01-15 10:55:42 -0300) u-boot-imx-20240115 --- CI: https://source.denx.de/u-boot/custodians/u-boot-imx

Re: [PATCH v4 2/4] efi_loader: rename BOOTEFI_BOOTMGR to EFI_BOOTMGR

2024-01-15 Thread AKASHI Takahiro
On Mon, Jan 15, 2024 at 03:16:22PM +0100, Heinrich Schuchardt wrote: > On 15.01.24 11:12, AKASHI Takahiro wrote: > > On Mon, Jan 15, 2024 at 09:34:51AM +0100, Heinrich Schuchardt wrote: > > > On 1/15/24 01:58, AKASHI Takahiro wrote: > > > > On Sun, Jan 14, 2024 at 01:46:45PM +0100, Heinrich

Re: [RFC][PATCH] ARM: imx: verdin-imx8mm: Set CAN oscillator frequency based on model

2024-01-15 Thread Marek Vasut
On 1/15/24 16:44, Francesco Dolcini wrote: On Sat, Jan 13, 2024 at 07:33:17PM +0100, Marek Vasut wrote: The older i.MX8M Mini Verdin SoMs before rev. 1.1C came with 20 MHz SPI CAN controller oscillator, the newer SoMs use 40 MHz oscillator. Handle both by overriding the oscillator frequency

Re: [PATCH v13 00/24] Modernize U-Boot shell

2024-01-15 Thread Tom Rini
On Mon, Jan 15, 2024 at 06:34:24PM +0100, Patrice CHOTARD wrote: > > > On 1/11/24 18:04, Francesco Dolcini wrote: > > Hello Tom, Francis > > > > On Fri, Dec 29, 2023 at 07:55:37PM +0100, Francis Laniel wrote: > >> Le jeudi 28 décembre 2023, 21:58:59 CET Tom Rini a écrit : > >>> On Fri, 22 Dec

Re: [PATCH v3] common: usb-hub: Reset hub port before scanning

2024-01-15 Thread Marek Vasut
On 1/8/24 23:11, Shantur Rathore wrote: Hi Marex, On Sat, Dec 9, 2023 at 6:12 PM Shantur Rathore wrote: Currently when a hub is turned on, all the ports are powered on. This works well for hubs which have individual power control. For the hubs without individual power control this has no

Re: [PATCH v3] common: usb-hub: Reset hub port before scanning

2024-01-15 Thread Marek Vasut
On 12/9/23 19:10, Shantur Rathore wrote: Currently when a hub is turned on, all the ports are powered on. This works well for hubs which have individual power control. For the hubs without individual power control this has no effect. Mostly in these scenarios the hub port is powered before the

Re: [PATCH v1] net: sun8i-emac: Add support for fixed-link phy

2024-01-15 Thread Andre Przywara
On Thu, 15 Jun 2023 00:44:06 +0300 Maxim Kiselev wrote: Hi Maxim, > From: Maksim Kiselev > > Based on dt-specs fixed-link doesn't require phy-handle to be used. Do you have such a board? And where is that written down? I don't see it explicitly mentioned as optional in

Re: [PATCH v3] common: usb-hub: Reset hub port before scanning

2024-01-15 Thread Shantur Rathore
On Mon, Jan 8, 2024 at 10:11 PM Shantur Rathore wrote: > > Hi Marex, > > On Sat, Dec 9, 2023 at 6:12 PM Shantur Rathore wrote: > > > > Currently when a hub is turned on, all the ports are powered on. > > This works well for hubs which have individual power control. > > > > For the hubs without

extlinux.conf file and fdtoverlay_addr_r (U-Boot 2022.01)

2024-01-15 Thread Łukasz Przeniosło
Hello, I am trying to load a custom device tree overlay file in the extlinux/extlinux.conf file (using Yocto [Kirkstone branch] and beaglebone yocto machine). At boot time u-boot complains: Invalid fdtoverlay_addr_r for loading overlays Full uboot output till that point: U-Boot 2022.01 (Jan

Re: [PATCH V3 1/6] dt-bindings: nvmem: layouts: add U-Boot environment variables layout

2024-01-15 Thread Miquel Raynal
Hi Rob, r...@kernel.org wrote on Mon, 15 Jan 2024 11:09:03 -0600: > On Thu, Jan 04, 2024 at 10:10:13AM +0100, Rafał Miłecki wrote: > > On 4.01.2024 08:58, Miquel Raynal wrote: > > > r...@kernel.org wrote on Wed, 3 Jan 2024 17:11:29 -0700: > > > > On Thu, Dec 21, 2023 at 06:34:16PM +0100, Rafał

Re: [PATCH v3 1/3] arm: xea: Move XEA's environment variables from xea.h to xea.env

2024-01-15 Thread Fabio Estevam
On Mon, Jan 15, 2024 at 10:52 AM Lukasz Majewski wrote: > > The default set of environment variables from CFG_EXTRA_ENV_SETTINGS > has been moved to a separate file - board/liebherr/xea/xea.env > > Adjustments done: > - fitImage support > - SPI-NOR layout re-organization > > Signed-off-by: Lukasz

Re: [PATCH v2] board: phytec: fix link error when disabling PHYTEC_SOM_DETECTION

2024-01-15 Thread Fabio Estevam
On Mon, Jan 15, 2024 at 6:31 AM Yannic Moog wrote: > > Commit aa7858fe5e2e ("board: phytec: som_detection: move definitions to > source file") moved function definitions from header to source file. > Makefile however was not updated to unconditionally (from > [..]_SOM_DETECTION) build the imx8

[PATCH] sandbox_flattree: enable button support

2024-01-15 Thread Caleb Connolly
sandbox_flattree enables QCOM_PMIC_GPIO which now depends on BUTTON. As a result the button tests now get run, but fail because the ADC and GPIO button drivers aren't enabled. Enable them to run the tests for sandbox_flattree. Reported-by: Neil Armstrong Signed-off-by: Caleb Connolly ---

Re: [PATCH v2 10/14] stm32mp: activate the command stboard for stm32mp25 boards

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 15:05, Patrick Delaunay wrote: > Activate the command stboard for stm32mp25 STMicroelectronics boards, > add the default used OTP identifier and the associated board identifier: > - stm32mp25xx-ev1 = MB1936 > - stm32mp25xx-dk = MB1605 > > Signed-off-by: Patrick Delaunay > --- > >

Re: [PATCH v2 09/14] stm32mp: stm32prog: add support of stm32mp25

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 15:05, Patrick Delaunay wrote: > Change OTP number to 364 for STM32MP25 as it is done in bsec driver. > > Signed-off-by: Patrick Delaunay > --- > > (no changes since v1) > > arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | 10 +- > 1 file changed, 9 insertions(+), 1

Re: [PATCH v2 14/14] arm: Rename STM32MP15x

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 15:05, Patrick Delaunay wrote: > CONFIG options must not use lower-case letter. Convert this and related > ones to upper case. > > Signed-off-by: Simon Glass Signed-off-by: Patrick Delaunay > --- > See Simon's patch in serie "Clean up of bad Kconfig options" never merged >

Re: [PATCH v13 00/24] Modernize U-Boot shell

2024-01-15 Thread Patrice CHOTARD
On 1/11/24 18:04, Francesco Dolcini wrote: > Hello Tom, Francis > > On Fri, Dec 29, 2023 at 07:55:37PM +0100, Francis Laniel wrote: >> Le jeudi 28 décembre 2023, 21:58:59 CET Tom Rini a écrit : >>> On Fri, 22 Dec 2023 22:02:20 +0100, Francis Laniel wrote: During 2021 summer, Sean Anderson

Re: [PATCH V3 1/6] dt-bindings: nvmem: layouts: add U-Boot environment variables layout

2024-01-15 Thread Rob Herring
On Thu, Jan 04, 2024 at 10:10:13AM +0100, Rafał Miłecki wrote: > On 4.01.2024 08:58, Miquel Raynal wrote: > > r...@kernel.org wrote on Wed, 3 Jan 2024 17:11:29 -0700: > > > On Thu, Dec 21, 2023 at 06:34:16PM +0100, Rafał Miłecki wrote: > > > > From: Rafał Miłecki > > > > > > > > U-Boot env data

Re: [PATCH v5 8/8] fdt: get FDT from bloblist

2024-01-15 Thread Raymond Mao
Hi Tom, On Mon, 15 Jan 2024 at 09:57, Raymond Mao wrote: > Hi Tom, > > On Sat, 13 Jan 2024 at 10:27, Tom Rini wrote: > >> On Fri, Jan 12, 2024 at 01:33:34PM -0800, Raymond Mao wrote: >> >> > Get device tree from a bloblist if it exists. >> > If not, fallback to traditional way. >> > >> >

Re: [PATCH v2 13/14] arm: Rename STM32MP13x

2024-01-15 Thread Igor Opaniuk
On Mon, Jan 15, 2024 at 3:08 PM Patrick Delaunay wrote: > > CONFIG options must not use lower-case letter. Convert this and related > ones to upper case. > > Signed-off-by: Simon Glass > Signed-off-by: Patrick Delaunay > --- > See Simon's patch in serie "Clean up of bad Kconfig options" never

Re: [PATCH 04/12] stm32mp: bsec: add support of stm32mp25

2024-01-15 Thread Igor Opaniuk
On Mon, Jan 15, 2024 at 1:47 PM Patrick Delaunay wrote: > > Add support of BSEC for STM32MP25x family to access OTP. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/bsec.c | 7 +++ > arch/arm/mach-stm32mp/include/mach/stm32.h | 3 ++- > 2 files changed, 9

Re: [PATCH v2 06/14] stm32mp: add soc.c file

2024-01-15 Thread Igor Opaniuk
On Mon, Jan 15, 2024 at 3:07 PM Patrick Delaunay wrote: > > Add a new file soc.c for common functions between stm32mp1 and stm32mp2 > family and move print_cpuinfo() in this new file. > > Reviewed-by: Patrice Chotard > Signed-off-by: Patrick Delaunay > --- > > (no changes since v1) > >

Re: [PATCH v2 07/14] stm32mp: add setup_serial_number for stm32mp25

2024-01-15 Thread Igor Opaniuk
Hello Patrick, On Mon, Jan 15, 2024 at 5:03 PM Patrick Delaunay wrote: > > From: Patrice Chotard > > Add support of serial number for stm32mp25, gets from OTP with BSEC driver. > > Reviewed-by: Patrice Chotard > Signed-off-by: Patrice Chotard > Signed-off-by: Patrick Delaunay > --- > > (no

Re: [PATCH] smt32mp: Add dependencies on CMDLINE for command stm32key

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 14:30, Patrick Delaunay wrote: > We cannot use stm32key commands without CONFIG_CMDLINE so add the > required condition. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [RFC][PATCH] ARM: imx: verdin-imx8mm: Set CAN oscillator frequency based on model

2024-01-15 Thread Francesco Dolcini
On Sat, Jan 13, 2024 at 07:33:17PM +0100, Marek Vasut wrote: > The older i.MX8M Mini Verdin SoMs before rev. 1.1C came with 20 MHz SPI CAN > controller oscillator, the newer SoMs use 40 MHz oscillator. Handle both by > overriding the oscillator frequency just before booting the kernel. > >

[PATCH] net: phy: the NC-SI phy device do not require mdio bus

2024-01-15 Thread Jacky Chou
As with fixed-link phy device, the NC-SI phy devive does not require an mdio bus. So, a condition is added to check the NC-SI phy id to avoid accessing the bus pointer that is NULL. Signed-off-by: Jacky Chou --- drivers/net/phy/phy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [PATCH v5 8/8] fdt: get FDT from bloblist

2024-01-15 Thread Raymond Mao
Hi Tom, On Sat, 13 Jan 2024 at 10:27, Tom Rini wrote: > On Fri, Jan 12, 2024 at 01:33:34PM -0800, Raymond Mao wrote: > > > Get device tree from a bloblist if it exists. > > If not, fallback to traditional way. > > > > Signed-off-by: Raymond Mao > > --- > > Changes in v2 > > - Refactor of

Re: [PATCH v4 2/4] efi_loader: rename BOOTEFI_BOOTMGR to EFI_BOOTMGR

2024-01-15 Thread Heinrich Schuchardt
On 15.01.24 11:12, AKASHI Takahiro wrote: On Mon, Jan 15, 2024 at 09:34:51AM +0100, Heinrich Schuchardt wrote: On 1/15/24 01:58, AKASHI Takahiro wrote: On Sun, Jan 14, 2024 at 01:46:45PM +0100, Heinrich Schuchardt wrote: On 1/10/24 02:16, AKASHI Takahiro wrote: At this point, EFI boot

[PATCH v2 14/14] arm: Rename STM32MP15x

2024-01-15 Thread Patrick Delaunay
CONFIG options must not use lower-case letter. Convert this and related ones to upper case. Signed-off-by: Simon Glass --- See Simon's patch in serie "Clean up of bad Kconfig options" never merged https://patchwork.ozlabs.org/project/uboot/list/?series=339004=*

[PATCH v2 13/14] arm: Rename STM32MP13x

2024-01-15 Thread Patrick Delaunay
CONFIG options must not use lower-case letter. Convert this and related ones to upper case. Signed-off-by: Simon Glass Signed-off-by: Patrick Delaunay --- See Simon's patch in serie "Clean up of bad Kconfig options" never merged https://patchwork.ozlabs.org/project/uboot/list/?series=339004=*

[PATCH v2 12/14] board: st: stm32mp2: display the board identification

2024-01-15 Thread Patrick Delaunay
Add the display of the STMicroelectronics board identification saved in OTP in stm32mp2 checkboard function. Reviewed-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- (no changes since v1) board/st/stm32mp2/stm32mp2.c | 23 +++ 1 file changed, 23 insertions(+)

[PATCH v2 10/14] stm32mp: activate the command stboard for stm32mp25 boards

2024-01-15 Thread Patrick Delaunay
Activate the command stboard for stm32mp25 STMicroelectronics boards, add the default used OTP identifier and the associated board identifier: - stm32mp25xx-ev1 = MB1936 - stm32mp25xx-dk = MB1605 Signed-off-by: Patrick Delaunay --- Changes in v2: - fix CONFIG name with 'x': TARGET_ST_STM32MP15x

[PATCH v2 11/14] board: st: stm32mp2: add checkboard

2024-01-15 Thread Patrick Delaunay
Implement the weak function checkboard to identify the used board with compatible in device tree for the support of stm32mp2 STMicroelectronics boards. Reviewed-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- (no changes since v1) board/st/stm32mp2/stm32mp2.c | 14 ++ 1

[PATCH v2 07/14] stm32mp: add setup_serial_number for stm32mp25

2024-01-15 Thread Patrick Delaunay
From: Patrice Chotard Add support of serial number for stm32mp25, gets from OTP with BSEC driver. Reviewed-by: Patrice Chotard Signed-off-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- (no changes since v1) .../arm/mach-stm32mp/include/mach/sys_proto.h | 1 +

[PATCH v2 08/14] smt32mp: add setup_mac_address for stm32mp25

2024-01-15 Thread Patrick Delaunay
Add a function setup_mac_address() to update the MAC address from the default location in OTP for stm32mp2 platform. The max number of OTP for MAC address is increased to 8 for STM32MP25, defined with get_eth_nb() and checked in setup_mac_address. The MAC address FF:FF:FF:FF:FF:FF, the broadcast

[PATCH v2 09/14] stm32mp: stm32prog: add support of stm32mp25

2024-01-15 Thread Patrick Delaunay
Change OTP number to 364 for STM32MP25 as it is done in bsec driver. Signed-off-by: Patrick Delaunay --- (no changes since v1) arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

[PATCH v2 06/14] stm32mp: add soc.c file

2024-01-15 Thread Patrick Delaunay
Add a new file soc.c for common functions between stm32mp1 and stm32mp2 family and move print_cpuinfo() in this new file. Reviewed-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- (no changes since v1) arch/arm/mach-stm32mp/Makefile | 1 + arch/arm/mach-stm32mp/soc.c |

[PATCH v2 05/14] configs: stm32mp25: add support of fuse command

2024-01-15 Thread Patrick Delaunay
Add support of the command fuse with CONFIG_CMD_FUSE to allow access on OTP with command line. Reviewed-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- (no changes since v1) configs/stm32mp25_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm32mp25_defconfig

[PATCH v2 00/14] stm32: add bsec and OTP support to stm32mp25

2024-01-15 Thread Patrick Delaunay
Add BSEC support to STM32MP25 SoC family with SoC information: - SERIAL number with UUID (BSEC_OTP_DATA5) - RPN = Device part number (BSEC_OTP_DATA9) - PKG = package data register (Bits 2:0 of BSEC_OTP_DATA122) and with board information for STMicroelectronics boards - BOARD identifier: OTP246

[PATCH v2 04/14] stm32mp: bsec: add support of stm32mp25

2024-01-15 Thread Patrick Delaunay
Add support of BSEC for STM32MP25x family to access OTP. Reviewed-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- (no changes since v1) arch/arm/mach-stm32mp/bsec.c | 7 +++ arch/arm/mach-stm32mp/include/mach/stm32.h | 3 ++- 2 files changed, 9 insertions(+), 1

[PATCH v2 03/14] stm32mp: bsec: add driver data

2024-01-15 Thread Patrick Delaunay
Add driver data in BSEC driver to test presence of OP-TEE TA, mandatory for STM32MP13 family and prepare the support of new device with more OTP than 95. Reviewed-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- (no changes since v1) arch/arm/mach-stm32mp/bsec.c | 38

[PATCH v2 02/14] arm: stm32mp: add Rev.B support for STM32MP25

2024-01-15 Thread Patrick Delaunay
From: Yann Gautier Add chip revision B support for STM32MP25, for displaying it in trace. Reviewed-by: Patrice Chotard Signed-off-by: Yann Gautier Signed-off-by: Patrick Delaunay --- (no changes since v1) arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c | 3 +++ 1 file changed, 3 insertions(+)

[PATCH v2 01/14] arm64: dts: st: add bsec support to stm32mp25

2024-01-15 Thread Patrick Delaunay
Add BSEC support to STM32MP25 SoC family with SoC information: - RPN = Device part number (BSEC_OTP_DATA9) - PKG = package data register (Bits 2:0 of BSEC_OTP_DATA122) Reviewed-by: Patrice Chotard Signed-off-by: Patrick Delaunay Signed-off-by: Alexandre Torgue --- (no changes since v1)

[PATCH v3 3/3] arm: xea: Add support for boot image source descriptor in SPL

2024-01-15 Thread Lukasz Majewski
From: Anatolij Gustschin We load two boot image source descriptor structures from last two sectors in the SPI NOR flash and determine the boot source for loading the kernel/DTB images, then adjust the boot order for loading image from eMMC boot0 or boot1 partition. Signed-off-by: Anatolij

[PATCH v3 2/3] arm: config: Enable CRC8 support in SPL on imx287 XEA board

2024-01-15 Thread Lukasz Majewski
The boot0/1 feature uses simple CRC8 to check (in SPL) if SPI-NOR content is not corrupted, hence the need to enable it. Signed-off-by: Lukasz Majewski --- Changes in v3: - None configs/imx28_xea_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx28_xea_defconfig

[PATCH v3 1/3] arm: xea: Move XEA's environment variables from xea.h to xea.env

2024-01-15 Thread Lukasz Majewski
The default set of environment variables from CFG_EXTRA_ENV_SETTINGS has been moved to a separate file - board/liebherr/xea/xea.env Adjustments done: - fitImage support - SPI-NOR layout re-organization Signed-off-by: Lukasz Majewski --- Changes in v3: - Remove customer's default IP settings

[PATCH 1/1] cmd: increase default for SYS_MAXARGS

2024-01-15 Thread Heinrich Schuchardt
The value of CONFIG SYS_MAXARGS limits the usability of the 'for' command. The current default of 16 is too low for some use case. Cf. https://bugs.launchpad.net/snap-core18/+bug/1910094 Increase the default to 64. Reported-by: Dave Jones Signed-off-by: Heinrich Schuchardt --- cmd/Kconfig | 2

Re: [PATCH 10/12] stm32mp: activate the command stboard for stm32mp25 boards

2024-01-15 Thread Patrick DELAUNAY
Hi, On 1/15/24 14:03, Patrice CHOTARD wrote: On 1/15/24 13:46, Patrick Delaunay wrote: Activate the command stboard for stm32mp25 STMicroelectronics boards, add the default used OTP identifier and the associated board identifier: - stm32mp25xx-ev1 = MB1936 - stm32mp25xx-dk = MB1605

Re: [PATCH v4 2/7] usb: dwc3: Switch to device mode on gadget start

2024-01-15 Thread Roger Quadros
On 12/01/2024 16:18, Sjoerd Simons wrote: > On Fri, 2024-01-12 at 14:56 +0200, Roger Quadros wrote: >> >> >> On 12/01/2024 13:06, Sjoerd Simons wrote: >>> On Fri, 2024-01-12 at 12:39 +0200, Roger Quadros wrote: On 12/01/2024 10:52, Sjoerd Simons wrote: > When dr_mode is "otg"

[PATCH] smt32mp: Add dependencies on CMDLINE for command stm32key

2024-01-15 Thread Patrick Delaunay
We cannot use stm32key commands without CONFIG_CMDLINE so add the required condition. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-stm32mp/Kconfig b/arch/arm/mach-stm32mp/Kconfig index

Re: [PATCH 12/12] board: st: stm32mp2: display the board identification

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > Add the display of the STMicroelectronics board identification saved in OTP > in stm32mp2 checkboard function. > > Signed-off-by: Patrick Delaunay > --- > > board/st/stm32mp2/stm32mp2.c | 23 +++ > 1 file changed, 23

Re: [PATCH 11/12] board: st: stm32mp2: add checkboard

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > Implement the weak function checkboard to identify the used board with > compatible in device tree for the support of stm32mp2 STMicroelectronics > boards. > > Signed-off-by: Patrick Delaunay > --- > > board/st/stm32mp2/stm32mp2.c | 14

Re: [PATCH 09/12] stm32mp: stm32prog: add support of stm32mp25

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > Change OTP number to 364 for STM32MP25 as it is done in bsec driver. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) > > diff --git

Re: [PATCH 08/12] smt32mp: add setup_mac_address for stm32mp25

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > Add a function setup_mac_address() to update the MAC address from the > default location in OTP for stm32mp2 platform. > > The max number of OTP for MAC address is increased to 8 for STM32MP25, > defined with get_eth_nb() and checked in

Re: [PATCH 07/12] stm32mp: add setup_serial_number for stm32mp25

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > From: Patrice Chotard > > Add support of serial number for stm32mp25, gets from OTP with BSEC driver. > > Signed-off-by: Patrice Chotard > Signed-off-by: Patrick Delaunay > --- > > .../arm/mach-stm32mp/include/mach/sys_proto.h | 1 + >

Re: [PATCH 06/12] stm32mp: add soc.c file

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > Add a new file soc.c for common functions between stm32mp1 and stm32mp2 > family and move print_cpuinfo() in this new file. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/Makefile | 1 + > arch/arm/mach-stm32mp/soc.c

Re: [PATCH 05/12] configs: stm32mp25: add support of fuse command

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > Add support of the command fuse with CONFIG_CMD_FUSE to allow access > on OTP with command line. > > Signed-off-by: Patrick Delaunay > --- > > configs/stm32mp25_defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [PATCH 04/12] stm32mp: bsec: add support of stm32mp25

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > Add support of BSEC for STM32MP25x family to access OTP. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/bsec.c | 7 +++ > arch/arm/mach-stm32mp/include/mach/stm32.h | 3 ++- > 2 files changed, 9

Re: [PATCH 03/12] stm32mp: bsec: add driver data

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > Add driver data in BSEC driver to test presence of OP-TEE TA, > mandatory for STM32MP13 family and prepare the support of new device > with more OTP than 95. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/bsec.c | 38

Re: [PATCH 02/12] arm: stm32mp: add Rev.B support for STM32MP25

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > From: Yann Gautier > > Add chip revision B support for STM32MP25, for displaying it in trace. > > Signed-off-by: Yann Gautier > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c | 3 +++ > 1 file changed, 3

Re: [PATCH 01/12] arm64: dts: st: add bsec support to stm32mp25

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > Add BSEC support to STM32MP25 SoC family with SoC information: > - RPN = Device part number (BSEC_OTP_DATA9) > - PKG = package data register (Bits 2:0 of BSEC_OTP_DATA122) > > Signed-off-by: Patrick Delaunay > Signed-off-by: Alexandre Torgue > ---

Re: [PATCH 10/12] stm32mp: activate the command stboard for stm32mp25 boards

2024-01-15 Thread Patrice CHOTARD
On 1/15/24 13:46, Patrick Delaunay wrote: > Activate the command stboard for stm32mp25 STMicroelectronics boards, > add the default used OTP identifier and the associated board identifier: > - stm32mp25xx-ev1 = MB1936 > - stm32mp25xx-dk = MB1605 > > Signed-off-by: Patrick Delaunay > --- > >

[PATCH 12/12] board: st: stm32mp2: display the board identification

2024-01-15 Thread Patrick Delaunay
Add the display of the STMicroelectronics board identification saved in OTP in stm32mp2 checkboard function. Signed-off-by: Patrick Delaunay --- board/st/stm32mp2/stm32mp2.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/board/st/stm32mp2/stm32mp2.c

[PATCH 10/12] stm32mp: activate the command stboard for stm32mp25 boards

2024-01-15 Thread Patrick Delaunay
Activate the command stboard for stm32mp25 STMicroelectronics boards, add the default used OTP identifier and the associated board identifier: - stm32mp25xx-ev1 = MB1936 - stm32mp25xx-dk = MB1605 Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/include/mach/stm32.h | 1 +

[PATCH 11/12] board: st: stm32mp2: add checkboard

2024-01-15 Thread Patrick Delaunay
Implement the weak function checkboard to identify the used board with compatible in device tree for the support of stm32mp2 STMicroelectronics boards. Signed-off-by: Patrick Delaunay --- board/st/stm32mp2/stm32mp2.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

[PATCH 08/12] smt32mp: add setup_mac_address for stm32mp25

2024-01-15 Thread Patrick Delaunay
Add a function setup_mac_address() to update the MAC address from the default location in OTP for stm32mp2 platform. The max number of OTP for MAC address is increased to 8 for STM32MP25, defined with get_eth_nb() and checked in setup_mac_address. The MAC address FF:FF:FF:FF:FF:FF, the broadcast

[PATCH 07/12] stm32mp: add setup_serial_number for stm32mp25

2024-01-15 Thread Patrick Delaunay
From: Patrice Chotard Add support of serial number for stm32mp25, gets from OTP with BSEC driver. Signed-off-by: Patrice Chotard Signed-off-by: Patrick Delaunay --- .../arm/mach-stm32mp/include/mach/sys_proto.h | 1 + arch/arm/mach-stm32mp/soc.c | 31 +++

[PATCH 09/12] stm32mp: stm32prog: add support of stm32mp25

2024-01-15 Thread Patrick Delaunay
Change OTP number to 364 for STM32MP25 as it is done in bsec driver. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.h

[PATCH 06/12] stm32mp: add soc.c file

2024-01-15 Thread Patrick Delaunay
Add a new file soc.c for common functions between stm32mp1 and stm32mp2 family and move print_cpuinfo() in this new file. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/Makefile | 1 + arch/arm/mach-stm32mp/soc.c | 17 +

[PATCH 05/12] configs: stm32mp25: add support of fuse command

2024-01-15 Thread Patrick Delaunay
Add support of the command fuse with CONFIG_CMD_FUSE to allow access on OTP with command line. Signed-off-by: Patrick Delaunay --- configs/stm32mp25_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/stm32mp25_defconfig b/configs/stm32mp25_defconfig index

[PATCH 04/12] stm32mp: bsec: add support of stm32mp25

2024-01-15 Thread Patrick Delaunay
Add support of BSEC for STM32MP25x family to access OTP. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/bsec.c | 7 +++ arch/arm/mach-stm32mp/include/mach/stm32.h | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-stm32mp/bsec.c

[PATCH 00/12] stm32: add bsec and OTP support to stm32mp25

2024-01-15 Thread Patrick Delaunay
Add BSEC support to STM32MP25 SoC family with SoC information: - SERIAL number with UUID (BSEC_OTP_DATA5) - RPN = Device part number (BSEC_OTP_DATA9) - PKG = package data register (Bits 2:0 of BSEC_OTP_DATA122) and with board information for STMicroelectronics boards - BOARD identifier: OTP246

[PATCH 03/12] stm32mp: bsec: add driver data

2024-01-15 Thread Patrick Delaunay
Add driver data in BSEC driver to test presence of OP-TEE TA, mandatory for STM32MP13 family and prepare the support of new device with more OTP than 95. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/bsec.c | 38 1 file changed, 30

[PATCH 02/12] arm: stm32mp: add Rev.B support for STM32MP25

2024-01-15 Thread Patrick Delaunay
From: Yann Gautier Add chip revision B support for STM32MP25, for displaying it in trace. Signed-off-by: Yann Gautier Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/stm32mp2/stm32mp25x.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[PATCH 01/12] arm64: dts: st: add bsec support to stm32mp25

2024-01-15 Thread Patrick Delaunay
Add BSEC support to STM32MP25 SoC family with SoC information: - RPN = Device part number (BSEC_OTP_DATA9) - PKG = package data register (Bits 2:0 of BSEC_OTP_DATA122) Signed-off-by: Patrick Delaunay Signed-off-by: Alexandre Torgue --- arch/arm/dts/stm32mp25-u-boot.dtsi | 4

Re: [PATCH 4/5] arm: dts: k3-j721e-beagleboneai64: Fix USB operation

2024-01-15 Thread Roger Quadros
On 12/01/2024 15:21, Tom Rini wrote: > On Fri, Jan 12, 2024 at 07:14:50AM -0600, Nishanth Menon wrote: >> On 15:06-20240112, Roger Quadros wrote: >>> >>> >>> On 12/01/2024 15:02, Nishanth Menon wrote: On 14:49-20240112, Roger Quadros wrote: > Without correct SERDES MUX and Lane control

[PULL] Pull request for u-boot-nand-20240115

2024-01-15 Thread Dario Binacchi
-boot-nand-20240115 for you to fetch changes up to 4dfa08af79097d068d6657a4c77e7d474733b796: arm: mach-k3: am642: Define NAND boot device (2024-01-15 08:58:24 +0100) Gitlab CI showed no issues: https://source.denx.de/u-boot/custodians/u-boot-nand-flash/-/pipelines/19322

Re: [PATCH] net: phy: the NC-SI phy device do not require mdio bus

2024-01-15 Thread Marek Vasut
On 1/15/24 11:34, Jacky Chou wrote: As with fixed-link phy device, the NC-SI phy devive does not require an mdio bus. So, a condition is added to check the NC-SI phy id to avoid accessing the bus pointer that is NULL. Signed-off-by: Jacky Chou Reviewed-by: Marek Vasut Thanks !

Re: [PATCH v2 00/14] Support SPI NAND in fastboot protocol

2024-01-15 Thread Dario Binacchi
Hi Alexey, On Tue, Jan 9, 2024 at 6:32 PM Alexey Romanov wrote: > > Currently, fastboot in U-Boot doens't support SPI NAND > devices. This patchset adds support for SPI NAND in fastboot > nand subsystem. > > Changes V1 -> V2: > > - Rebase patchset over u-boot/next. > - Move nand_unregister(),

Re: [PATCH v4 2/4] efi_loader: rename BOOTEFI_BOOTMGR to EFI_BOOTMGR

2024-01-15 Thread AKASHI Takahiro
On Mon, Jan 15, 2024 at 09:34:51AM +0100, Heinrich Schuchardt wrote: > On 1/15/24 01:58, AKASHI Takahiro wrote: > > On Sun, Jan 14, 2024 at 01:46:45PM +0100, Heinrich Schuchardt wrote: > > > On 1/10/24 02:16, AKASHI Takahiro wrote: > > > > At this point, EFI boot manager interfaces is fully

Re: [PATCH v2 0/2] mtd: nand: omap_gpmc: Fix NAND for AM335x

2024-01-15 Thread Dario Binacchi
Hi Roger And Michael, On Thu, Jan 11, 2024 at 2:13 PM Michael Nazzareno Trimarchi wrote: > > Hi > > Il gio 11 gen 2024, 14:06 Roger Quadros ha scritto: >> >> Hi, >> >> On 11/12/2023 13:45, Roger Quadros wrote: >> > Hi, >> > >> > These patches fix NAND and ELM for AM335x and related legacy

Re: [PATCH v2 0/4] mtd: omap_gpmc: Fix GPMC & NAND drivers

2024-01-15 Thread Dario Binacchi
On Thu, Jan 11, 2024 at 2:19 PM Roger Quadros wrote: > > Hi, > > When testing the driver with K3 platform, build and functional > issues were found in the ti-gpmc and omap_gpmc NAND driver. > Fix those. > > cheers, > -roger > > Changelog: > > v2: > - Added "mtd: rawnand: omap_gpmc: fix OF based

Re: [PATCH] arm64: zynqmp: Start TPM automatically via preboot on Kria

2024-01-15 Thread Michal Simek
On 1/11/24 14:49, Michal Simek wrote: SOMs have HW tpm but previous stages won't start it that's why start it at U-Boot which will also provide access to random generator and it's usage with KASLR. Signed-off-by: Michal Simek --- board/xilinx/zynqmp/zynqmp_kria.env | 5 - 1 file

[PATCH v2] board: phytec: fix link error when disabling PHYTEC_SOM_DETECTION

2024-01-15 Thread Yannic Moog
Commit aa7858fe5e2e ("board: phytec: som_detection: move definitions to source file") moved function definitions from header to source file. Makefile however was not updated to unconditionally (from [..]_SOM_DETECTION) build the imx8 and phytec som detection units. Also remove unused includes that

Re: [PATCH] arm64: zynqmp: Add missing description for efuse aeskey/pufuser

2024-01-15 Thread Michal Simek
On 1/9/24 12:26, Michal Simek wrote: Add missing description for efuse aeskey/pufuser offsets. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/dts/zynqmp.dtsi b/arch/arm/dts/zynqmp.dtsi index

Re: [PATCH] arm64: zynqmp: Update the i2c0 node for zcu1285

2024-01-15 Thread Michal Simek
On 1/8/24 15:47, Michal Simek wrote: From: Shubhrajyoti Datta The pca mux is not added to the i2c0 bus so remove it from the bus. Signed-off-by: Shubhrajyoti Datta Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-zcu1285-revA.dts | 174 --- 1 file changed,

Re: [PATCH] arm64: zynqmp: Describe interrupt by using macro (OCM)

2024-01-15 Thread Michal Simek
On 1/8/24 11:25, Michal Simek wrote: OCM controller interrupt description hasn't been converted by using macros that's why fix it now. Fixes: 6b049190c9c5 ("arm64: zynqmp: Describe interrupts by using macros") Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp.dtsi | 2 +- 1 file

Re: [PATCH] arm64: xilinx: Remove multiple blank lines from DTSes

2024-01-15 Thread Michal Simek
On 1/8/24 11:10, Michal Simek wrote: There is no reason to have multiple blank lines in DTS files that's why remove them. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-dlc21-revA.dts | 1 - arch/arm/dts/zynqmp-sc-vpk120-revB.dtso | 1 -

Re: [PATCH] arm64: zynqmp: Replace '-' by '_' in fixed clock nodes

2024-01-15 Thread Michal Simek
On 1/8/24 10:24, Michal Simek wrote: Using '_' in node name is not recommended that's why convert them to use '-' instead. Signed-off-by: Michal Simek --- arch/arm/dts/zynqmp-dlc21-revA.dts | 4 ++-- arch/arm/dts/zynqmp-e-a2197-00-revA.dts| 2 +-

Re: [PATCH] arm64: zynqmp: Add support for new power-management node name

2024-01-15 Thread Michal Simek
On 1/5/24 10:55, Michal Simek wrote: zynqmp-power node is going to be renamed to power-management which should be generic enough. New name came from dt-binding review that's why there is no way around. Add support new name but also at the same time check old name just in case older dt binding

Re: [PATCH] arm64: zynqmp: Rename zynqmp-power node to power-management

2024-01-15 Thread Michal Simek
On 1/4/24 10:12, Michal Simek wrote: Rename zynqmp-power node name to power-management which is more aligned with generic node name recommendation. Signed-off-by: Michal Simek --- Linux patch already reviewed here

Re: [PATCH] arm64: zynqmp: Match dwc3 interrupts description with values

2024-01-15 Thread Michal Simek
On 1/4/24 11:28, Michal Simek wrote: Correct IRQ values don't match IRQ line description. There is one more IRQ (hiber) but it is not described in DT binding spec that's why value is not described. Just for completeness dwc3_0 has hiber IRQ at 75 and dwc3_1 at 76. Signed-off-by: Michal Simek

Re: [PATCH v4 2/4] efi_loader: rename BOOTEFI_BOOTMGR to EFI_BOOTMGR

2024-01-15 Thread Heinrich Schuchardt
On 1/15/24 01:58, AKASHI Takahiro wrote: On Sun, Jan 14, 2024 at 01:46:45PM +0100, Heinrich Schuchardt wrote: On 1/10/24 02:16, AKASHI Takahiro wrote: At this point, EFI boot manager interfaces is fully independent from bootefi command. So just rename the configuration parameter.

  1   2   >