Re: [PATCH v2 0/6] Enable setexpr command to print cpu-list like bitmaps

2023-12-13 Thread Lukas Funke
On 12.12.2023 14:09, Heinrich Schuchardt wrote: On 12.12.23 12:56, Lukas Funke wrote: On 12.12.2023 12:40, Heinrich Schuchardt wrote: On 12.12.23 11:13, Heinrich Schuchardt wrote: On 12.12.23 09:52, lukas.funke-...@weidmueller.com wrote: From: Lukas Funke This series enables the 'setexpr'

Re: Proposal: FIT support for extension boards / overlays

2023-12-13 Thread Geert Uytterhoeven
Hi, On Tue, Dec 12, 2023 at 4:52 PM Andrew Davis wrote: > On 12/12/23 8:05 AM, Simon Glass wrote: > > The devicetree files for a board can be quite large, perhaps around > > 60KB. To boot on any supported board, many of them need to be > > provided, typically hundreds. > > > > All boards for a pa

Re: [PATCH 0/7] pinctrl: exynos: Prepare for other SoCs support

2023-12-13 Thread Minkyu Kang
Hi, 2023년 12월 1일 (금) 05:13, Sam Protsenko 님이 작성: > Some Exynos SoCs (not supported by pinctrl-exynos driver yet) have > different offsets and widths of pin bank registers (i.e. PIN_CON, > PIN_PUD and PIN_DRV registers). Rework pinctrl-exynos driver so it > allows for different offsets and widths

Re: [PATCH v2 0/2] arm: s5p4418: fix relocation

2023-12-13 Thread Minkyu Kang
Hi, 2023년 11월 28일 (화) 03:46, Stefan Bosch 님이 작성: > > Fix relocation of u-boot for s5p4418-SoC. I.e. use __image_copy_start > instead of _start to calculate the monitor length. Furthermore use an > adapted version of relocate_vectors for the s5p4418-SoC. Background: > The header (NSIH) used by th

Re: [PATCH v3 4/4] configs: am62x_evm_*: Enable USB and DFU support

2023-12-13 Thread Sjoerd Simons
Hey Brian, On Tue, 2023-12-12 at 21:58 -0600, Bryan Brattlof wrote: [...] > > > >  configs/am62x_evm_a53_defconfig   |  31 ++- > >  configs/am62x_evm_r5_usbdfu_defconfig | 111 > > ++ > > One of the newer developments was the addition of config fragments[0] > to >

[PATCH] efi_loader: eliminate efi_disk_obj structure

2023-12-13 Thread Masahisa Kojima
Current code uses struct efi_disk_obj to keep information about block devices and partitions. As the efi handle already has a field with the udevice, we should eliminate struct efi_disk_obj and use an pointer to struct efi_object for the handle. efi_link_dev() call is moved inside of efi_disk_add_

[PATCH] fw_env: rename variables holding env data content

2023-12-13 Thread Rafał Miłecki
From: Rafał Miłecki Rename "addr0" and "addr1" to "buf0" and "buf1" accordingly. Name "addr" suggests that variable contains a numeric value being some kind of address. Name "buf" is de facto a standard name for pointer to allocated memory for reading data to. While at it drop redundant checks f

[PATCH v2 0/2] ARM: meson: introduce GXL MDIO mux driver and switch to Linux v6.4 DT

2023-12-13 Thread Neil Armstrong
Linux v6.4 uses a new MDIO mux driver for GXL boards, let's port the driver to U-Boot and sync the GXBB/GXL/GXM DT to make use of this driver. Signed-off-by: Neil Armstrong --- Changes in v2: - Fixed copyright line in mdio mux driver - Link to v1: https://lore.kernel.org/r/20231212-u-boot-gxl-md

[PATCH v2 1/2] net: Add Amlogic GXL MDIO Mux driver

2023-12-13 Thread Neil Armstrong
Port the mdio-mux-meson-gxl.c Linux driver introduced in [1], and adapt it to U-Boot. This driver is needed to boot U-Boot with Linux DT since v6.4, since it switched the MDIO mux from the mmio to a proper GXL driver. [1] 9a24e1ff4326 ("net: mdio: add amlogic gxl mdio mux support") Signed-off-by

[PATCH v2 2/2] ARM: dts: sync Amlogic GX DT to Linux v6.4

2023-12-13 Thread Neil Armstrong
Sync Amlogic GXBB, GXL & GXM DTs from Linux v6.4, and also switch to GXL MDIO MUX driver to adapt to DT change, Most of the changes are only cosmetic or doesn't concern U-Boot, the most important change for U-Boot is the GXL mdio mux compatible switch to amlogic,gxl-mdio-mux. Signed-off-by: Neil

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

2023-12-13 Thread neil . armstrong
On 08/12/2023 23:30, Francis Laniel wrote: Hi. During 2021 summer, Sean Anderson wrote a contribution to add a new shell, based on LIL, to U-Boot [1, 2]. While one of the goals of this contribution was to address the fact actual U-Boot shell, which is based on Busybox hush, is old there was a d

Re: [PATCH v1 0/5] Convert recently merged T30 boards to use DM PMIC

2023-12-13 Thread Svyatoslav Ryhel
15 листопада 2023 р. 21:11:49 GMT+02:00, Tom Rini написав(-ла): >On Wed, Nov 15, 2023 at 04:51:08PM +0100, Thierry Reding wrote: >> On Mon, Nov 06, 2023 at 04:04:07PM -0500, Tom Rini wrote: >> > On Mon, Nov 06, 2023 at 02:11:16PM +, Peter Robinson wrote: >> > > On Mon, Nov 6, 2023 at 1:28 

Re: [PATCH v1 0/8] Convert Tegra pinctrl to DM

2023-12-13 Thread Svyatoslav Ryhel
9 грудня 2023 р. 16:14:06 GMT+02:00, Tom Rini написав(-ла): >On Mon, Dec 04, 2023 at 04:45:38PM +0200, Svyatoslav Ryhel wrote: >> пн, 4 груд. 2023 р. о 12:26 Thierry Reding пише: >> > >> > On Mon, Dec 04, 2023 at 10:20:46AM +0200, Svyatoslav Ryhel wrote: >> > > Create a DM supported wrapper ar

Re: [PATCH v1 0/5] Convert recently merged T30 boards to use DM PMIC

2023-12-13 Thread Thierry Reding
On Wed, Dec 13, 2023 at 11:42:45AM +0200, Svyatoslav Ryhel wrote: > > > 15 листопада 2023 р. 21:11:49 GMT+02:00, Tom Rini > написав(-ла): > >On Wed, Nov 15, 2023 at 04:51:08PM +0100, Thierry Reding wrote: > >> On Mon, Nov 06, 2023 at 04:04:07PM -0500, Tom Rini wrote: > >> > On Mon, Nov 06, 2023

Re: [PATCH v1 0/8] Convert Tegra pinctrl to DM

2023-12-13 Thread Thierry Reding
On Wed, Dec 13, 2023 at 11:46:58AM +0200, Svyatoslav Ryhel wrote: > > > 9 грудня 2023 р. 16:14:06 GMT+02:00, Tom Rini > написав(-ла): > >On Mon, Dec 04, 2023 at 04:45:38PM +0200, Svyatoslav Ryhel wrote: > >> пн, 4 груд. 2023 р. о 12:26 Thierry Reding пише: > >> > > >> > On Mon, Dec 04, 2023 at

[PATCH] fw_env: keep calling read() until whole flash block is read

2023-12-13 Thread Rafał Miłecki
From: Rafał Miłecki It's totally valid for read() to provide less bytes than requested maximum. It may happen if there is no more data available yet or source pushes data in small chunks. This actually happens when trying to read env data from NVMEM device. Kernel may provide NVMEM content in pa

Re: [PATCH v1 0/5] Convert recently merged T30 boards to use DM PMIC

2023-12-13 Thread Tom Rini
On Wed, Dec 13, 2023 at 12:44:34PM +0100, Thierry Reding wrote: > On Wed, Dec 13, 2023 at 11:42:45AM +0200, Svyatoslav Ryhel wrote: > > > > > > 15 листопада 2023 р. 21:11:49 GMT+02:00, Tom Rini > > написав(-ла): > > >On Wed, Nov 15, 2023 at 04:51:08PM +0100, Thierry Reding wrote: > > >> On Mon,

Re: [PATCH v3 4/4] configs: am62x_evm_*: Enable USB and DFU support

2023-12-13 Thread Bryan Brattlof
On December 13, 2023 thus sayeth Sjoerd Simons: > Hey Brian, > > On Tue, 2023-12-12 at 21:58 -0600, Bryan Brattlof wrote: > [...] > > > > > >  configs/am62x_evm_a53_defconfig   |  31 ++- > > >  configs/am62x_evm_r5_usbdfu_defconfig | 111 > > > ++ > > > > One of th

[PATCH v1 1/1] arm64: zynqmp: Fix k24 psu_init_gpl.c clocking

2023-12-13 Thread Neal Frager
This patch corrects the k24 som clocking configuration such that the serdes clocks are correctly enabled and the usb0 is configured to use the psgtr refclk2 for usb3 mode. This patch also corrects the configuration of mio pins mio76 and mio77 which should be configured as gpio pins. Signed-off-by

[PATCH v2 1/1] arm64: zynqmp: Add output-enable pins to SOMs

2023-12-13 Thread Neal Frager
Now that the zynqmp pinctrl driver supports the tri-state registers, make sure that the pins requiring output-enable are configured appropriately for SOMs. Without it, all tristate setting for MIOs, which are not related to SOM itself, are using default configuration which is not correct setting.

Re: [PATCH v3] mmc: Poll CD in case cyclic framework is enabled

2023-12-13 Thread Marek Vasut
On 12/12/23 15:05, Simon Glass wrote: Hi Marek, On Mon, 11 Dec 2023 at 12:24, Marek Vasut wrote: On 12/11/23 18:52, Simon Glass wrote: Hi Marek, On Sun, 10 Dec 2023 at 08:03, Marek Vasut wrote: In case the cyclic framework is enabled, poll the card detect of already initialized cards and

Re: [PATCH] efi_loader: eliminate efi_disk_obj structure

2023-12-13 Thread Heinrich Schuchardt
On 13.12.23 09:57, Masahisa Kojima wrote: Current code uses struct efi_disk_obj to keep information about block devices and partitions. As the efi handle already has a field with the udevice, we should eliminate struct efi_disk_obj and use an pointer to struct efi_object for the handle. efi_link

Re: [PATCH v3 4/4] configs: am62x_evm_*: Enable USB and DFU support

2023-12-13 Thread Nishanth Menon
On 06:57-20231213, Bryan Brattlof wrote: > On December 13, 2023 thus sayeth Sjoerd Simons: > > Hey Brian, > > > > On Tue, 2023-12-12 at 21:58 -0600, Bryan Brattlof wrote: > > [...] > > > > > > > >  configs/am62x_evm_a53_defconfig   |  31 +++

Re: [PATCH v1] android_ab: don't ignore ab_control_store return code

2023-12-13 Thread Alexey Romanov
Hello! Really sorry for the noise, but please, take a look at my patch :) On Tue, Nov 28, 2023 at 02:26:34PM +0300, Alexey Romanov wrote: > ab_control_store() can return an error if writing to disk fails. > In this case, we have to pass the error code to the caller. > > Signed-off-by: Alexey Rom

Re: [PATCH v9 2/2] arm64: boot: Support Flat Image Tree

2023-12-13 Thread Will Deacon
On Fri, Dec 01, 2023 at 08:54:42PM -0700, Simon Glass wrote: > Add a script which produces a Flat Image Tree (FIT), a single file > containing the built kernel and associated devicetree files. > Compression defaults to gzip which gives a good balance of size and > performance. > > The files compre

whitelist commands

2023-12-13 Thread Thomas McCann
How do I add commands to the whitelist. Yours sincerely, [cid:image001.png@01DA2DCD.383194D0] Thomas McCann Software Engineer 📧 tmcc...@drumgrange.com [cid:image002.png@01DA2DCD.383194D0][cid:image003.png@01DA2DCD.383194D

Re: [PATCH] net: wget: Support non-default HTTP port

2023-12-13 Thread Tom Rini
On Sat, Nov 04, 2023 at 04:09:54PM +0100, Marek Vasut wrote: > Currently the wget command is hard wired to HTTP port 80. This is > inconvenient, as it is extremely easy to start trivial HTTP server > as an unprivileged user using e.g. python http module to serve the > files, but such a server has

Re: [PATCH v5 0/8] Move framebuffer reservation for SPL to RAM end

2023-12-13 Thread Devarsh Thakkar
Hi Antoine, On 05/12/23 21:25, Devarsh Thakkar wrote: > Move video memory reservation for SPL at end of RAM so that it does > not interefere with reservations for next stage so that the next stage > need not have holes in between for passed regions and instead it can > maintain continuity in reser

Re: 回复: Build failed when CONFIG_TOOLS_LIBCRYPTO is disabled on latest u-boot

2023-12-13 Thread Alexander Dahl
Hello, Am Montag, 27. November 2023, 03:53:49 CET schrieb Terry Lv: > Hi Experts, > > Any feedback on this? Bitten by the same problem again, I did a quick search on lore and found these: 1. Patch from 2021: https://lore.kernel.org/u-boot/20211021093304.25399-1-p...@kernel.org/ I car

Re: [PATCH v1 2/2] tools: fix build without LIBCRYPTO support

2023-12-13 Thread Alexander Dahl
Hello, Am Samstag, 21. Januar 2023, 16:47:42 CET schrieb Paul-Erwan Rio: > Commit introduced a > target-independent configuration to build crypto features in host tools. > > But since commit <2c21256b27d70b5950bd059330cdab027fb6ab7e>, the build > without OpenSSL is broken, due to FIT signature/e

Re: [PATCH v2] clk: zynqmp: enable topsw_lsbus clock

2023-12-13 Thread Michal Simek
On 12/4/23 09:45, Venkatesh Yadav Abbarapu wrote: Display port is using topsw_lsbus clock, it is failing while enabling the clock, so enable the topsw_lsbus clock. Signed-off-by: Sreekanth Sunnam Signed-off-by: Venkatesh Yadav Abbarapu --- Changes in v2: - Fixed the name to Sreekanth Sunnam

Re: [PATCH v2] mtd: spi-nor: Add IS25LP02G flash support

2023-12-13 Thread Michal Simek
On 12/4/23 09:52, Venkatesh Yadav Abbarapu wrote: Add support for ISSI 256MB flash IS25LP02G. This part supports 4byte opcodes. It also supports dual and quad read. Signed-off-by: Sreekanth Sunnam Signed-off-by: Venkatesh Yadav Abbarapu --- Changes in v2: - Fixed the name to Sreekanth Sunna

Re: [PATCH v2 1/1] arm64: zynqmp: Add output-enable pins to SOMs

2023-12-13 Thread Michal Simek
On 12/13/23 14:40, Neal Frager wrote: Now that the zynqmp pinctrl driver supports the tri-state registers, make sure that the pins requiring output-enable are configured appropriately for SOMs. Without it, all tristate setting for MIOs, which are not related to SOM itself, are using default c

Re: [PATCH v1 1/1] arm64: zynqmp: Fix k24 psu_init_gpl.c clocking

2023-12-13 Thread Michal Simek
On 12/13/23 14:40, Neal Frager wrote: This patch corrects the k24 som clocking configuration such that the serdes Corrects the ... clocks are correctly enabled and the usb0 is configured to use the psgtr refclk2 for usb3 mode. I sort of have no problem with this patch but it should be be

[PATCH v1 0/4] Add TJA1120 driver support

2023-12-13 Thread Radu Pirea (NXP OSS)
TJA1120 is a 1Gbps automotive PHY. The nxp-c45-tja11xx driver is updated to support multiple PHYs and TJA1120. Link speed is read from hardware instead of assuming a default value of 100Mbps. Radu P. Radu Pirea (NXP OSS) (4): net: phy: nxp-c45-tja11xx: use local definion of features net: phy:

[PATCH v1 1/4] net: phy: nxp-c45-tja11xx: use local definion of features

2023-12-13 Thread Radu Pirea (NXP OSS)
Use a local definition for the PHY features. PHY_100BT1_FEATURES are not defined using the 100BaseT1 bit, so keep this workaround in the driver. Signed-off-by: Radu Pirea (NXP OSS) --- drivers/net/phy/nxp-c45-tja11xx.c | 5 - include/phy.h | 4 2 files changed, 4 ins

[PATCH v1 2/4] net: phy: nxp-c45-tja11xx: read PHY the speed from hardware

2023-12-13 Thread Radu Pirea (NXP OSS)
Read PHY speed from hardware instead of assuming 100Mbps by default. The TJA1103 works only at 100Mbps, but the driver will support more PHYs. Signed-off-by: Radu Pirea (NXP OSS) --- drivers/net/phy/nxp-c45-tja11xx.c | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) d

[PATCH v1 3/4] net: phy: nxp-c45-tja11xx: rename nxp_c45_tja11xx structure

2023-12-13 Thread Radu Pirea (NXP OSS)
Rename nxp_c45_tja11xx structure to nxp_c45_tja1103. The driver will support more PHYs and nxp_c45_tja11xx is too generic. Signed-off-by: Radu Pirea (NXP OSS) --- drivers/net/phy/nxp-c45-tja11xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/nxp-c45-tja11xx

[PATCH v1 4/4] net: phy: nxp-c45-tja11xx: add tja1120 support

2023-12-13 Thread Radu Pirea (NXP OSS)
Add TJA1120 driver structure and report 1G speed. Signed-off-by: Radu Pirea (NXP OSS) --- drivers/net/phy/nxp-c45-tja11xx.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/net/phy/nxp-c45-tja11xx.c b/drivers/net/phy/nxp-c45-tja11xx.c index e787f5fbb9..f24fc5b2de 1006

Re: [PATCH] imx8qm_dmsse20a1: Improve SPL memory configuration

2023-12-13 Thread Fabio Estevam
On Thu, May 4, 2023 at 7:41 AM Fabio Estevam wrote: > > From: Fabio Estevam > > Currently, building imx8qm_dmsse20a1_defconfig leads to the following > warning: > > aarch64-linux-ld.bfd: invalid origin for memory region .sdram > > Fix it by using the same SPL memory layout as done in the imx8mq_e

Re: [PATCH v2] imx: imx8mp: Add support for Polyhex Debix Model A SBC

2023-12-13 Thread Fabio Estevam
On Thu, Dec 7, 2023 at 2:15 PM Milan Zamazal wrote: > > Peng Fan writes: > > > On 5/24/2023 3:21 AM, Gilles Talis wrote: > >> Add support for the Polyhex Debix Model A SBC board. > >> It is an industrial grade single board computer based on > >> NXP's i.MX 8M Plus. > >> Currently supported interf

Re: [PATCH v2] mtd: spi-nor: Add IS25LP02G flash support

2023-12-13 Thread Jagan Teki
On Wed, Dec 13, 2023 at 9:19 PM Michal Simek wrote: > > > > On 12/4/23 09:52, Venkatesh Yadav Abbarapu wrote: > > Add support for ISSI 256MB flash IS25LP02G. This part supports 4byte > > opcodes. It also supports dual and quad read. > > > > Signed-off-by: Sreekanth Sunnam > > Signed-off-by: Venka

Re: [PATCH] imx7d-sdb: Sync devicetree with kernel 6.5-rc1

2023-12-13 Thread Fabio Estevam
On 11/07/2023 08:23, Fabio Estevam wrote: From: Fabio Estevam Commit 0aea5dda2928 ("ARM: dts: imx7d-sdb-u-boot: Fix usdhc1 UHS operation") did a temporary workaround by addng the usdhc1 fix inside the -u-boot.dtsi file. The imx7d-sdb.dts from kernel 6.5-rc1 contains the proper UHS fix, so sync

Re: [PATCH v2 1/4] net: dwc_eth_qos: add i.MX93 support

2023-12-13 Thread Fabio Estevam
On Tue, Oct 17, 2023 at 6:45 AM Sébastien Szymanski wrote: > > Add support for DWC EQoS MAC on i.MX93. > > Signed-off-by: Sébastien Szymanski Applied all to u-boot-imx next, thanks.

Re: [PATCH] imx8mn-var-som: add manufacturer to target description

2023-12-13 Thread Fabio Estevam
On Tue, Oct 17, 2023 at 11:25 AM Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > Add Variscite manufacturer to the IMX8MN_VAR_SOM target menu label as > the majority of targets include the manufacturer as part of their menu > description/label and it helps when looking for a particular > man

Re: [PATCH] arm: dts: imx8mm-venice-gw73xx: add TPM device

2023-12-13 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:33 PM Tim Harvey wrote: > > Add the TPM device found on the GW73xx revision F PCB. > > This hangs off of SPI2, uses gpio1_10 as a CS and gpio1_11 as RST#. > > Signed-off-by: Tim Harvey Applied to u-boot-imx next, thanks.

Re: [PATCH] arm: dts: imx8mp-venice-gw73xx: add TPM device

2023-12-13 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:33 PM Tim Harvey wrote: > > Add the TPM device found on the GW73xx revision F PCB. > > This hangs off of SPI2, uses gpio1_10 as a CS and gpio1_11 as RST#. > > Signed-off-by: Tim Harvey Applied to u-boot-imx next, thanks.

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

2023-12-13 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 4:17 PM 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

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

2023-12-13 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 4:17 PM 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 Applied to u-boot-imx next, thanks.

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

2023-12-13 Thread Fabio Estevam
On Thu, Oct 19, 2023 at 9:06 AM Fabio Estevam wrote: > > 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 um

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

2023-12-13 Thread Fabio Estevam
On Thu, Oct 19, 2023 at 9:36 AM 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 aborte

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

2023-12-13 Thread Fabio Estevam
On Thu, Oct 19, 2023 at 6:51 PM 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. > > Also, the

Re: [PATCH] clock_imx8mm: Add a stub for imx8mp_fec_interface_init()

2023-12-13 Thread Fabio Estevam
On Thu, Oct 19, 2023 at 9:47 PM Fabio Estevam wrote: > > From: Fabio Estevam > > When CONFIG_DWC_ETH_QOS_IMX=y and CONFIG_FEC_MXC is not selected, the > following warning is seen: > > arch/arm/mach-imx/imx8m/clock_imx8mm.c: In function > 'board_interface_eth_init': > arch/arm/mach-imx/imx8m/cloc

Re: [PATCH] imx8mn_var_som: Add myself to MAINTAINERS

2023-12-13 Thread Fabio Estevam
On Thu, Oct 19, 2023 at 4:42 PM Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > I would like to help maintaining the imx8mn_var_som symphony board. > > Add myself to MAINTAINERS. > > Signed-off-by: Hugo Villeneuve Applied to u-boot-imx next, thanks.

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

2023-12-13 Thread Fabio Estevam
On Thu, Oct 19, 2023 at 4:43 PM Hugo Villeneuve wrote: > > 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 o

Re: [PATCH] MAINTAINERS: Remove non-working address from MAINTAINERS

2023-12-13 Thread Fabio Estevam
On Mon, Oct 23, 2023 at 1:45 PM Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > The address ariel.dalessan...@collabora.com is no longer working: > > A message that you sent could not be delivered to one or more of its > recipients. This is a permanent error. The following address(es) fa

Re: [PATCH 1/5] configs: imx8mp_beacon: Do not set SYS_CONSOLE_IS_IN_ENV

2023-12-13 Thread Fabio Estevam
On Wed, Oct 25, 2023 at 8:05 PM Adam Ford wrote: > > The hardware only supports a specific console port, so remove the > option to change the console location in the environment. > > Signed-off-by: Adam Ford Applied all to u-boot-imx next, thanks.

Re: [PATCH 0/2] librem5: allow using distroboot w/ extlinux files

2023-12-13 Thread Fabio Estevam
On Fri, Oct 27, 2023 at 10:41 AM Arnaud Ferraris wrote: > > The Librem 5 currently can't boot from `extlinux.conf` files due to > undefined environment variables: > * `fdtfile` is missing, preventing the kernel from selecting the > appropriate device-tree > * the lack of `kernel_comp_addr_r` and

Re: [PATCH] pico-imx7d: Remove board_phy_config()

2023-12-13 Thread Fabio Estevam
On Fri, Nov 3, 2023 at 7:47 PM Fabio Estevam wrote: > > From: Fabio Estevam > > With Ethernet DM in place, there is no longer the need for having > the board_phy_config() anymore. > > Remove it. > > Tested on imx7d-pico-pi board: > > => setenv autoload no > => dhcp > BOOTP broadcast 1 > *** Unhan

Re: [PATCH] imx7d-pico-pi-u-boot.dtsi: Fix aliases indentation

2023-12-13 Thread Fabio Estevam
On Fri, Nov 3, 2023 at 8:01 PM Fabio Estevam wrote: > > From: Fabio Estevam > > The aliases are currently indented using spaces. > > Fix it to use the standard tab indentation. > > Signed-off-by: Fabio Estevam Applied to u-boot-imx next, thanks.

Re: [PATCH 0/2] apalis/colibri imx6/imx6ull/imx7: Add fastboot supp

2023-12-13 Thread Fabio Estevam
On Thu, Nov 9, 2023 at 9:44 PM Hiago De Franco wrote: > > This patch series introduces Fastboot support on all Apalis iMX6, > Colibri iMX6, Colibri iMX6ULL and Colibri iMX7 machines. It includes the > necessary configurations in their respective defconfig files and > implements logic in the boards

Re: [PATCH 1/1] clk: imx8mn: add pwm clocks

2023-12-13 Thread Fabio Estevam
On Mon, Dec 11, 2023 at 1:52 PM Nicolas Heemeryck wrote: > > Based on Linux kernel 6.7-rc4, add necessary clocks for the PWM > controllers. > > Signed-off-by: Nicolas Heemeryck Applied to u-boot-imx next, thanks.

Re: [PATCH v2 0/6] some LED patches

2023-12-13 Thread Tom Rini
On Fri, 17 Nov 2023 12:38:05 +0100, Rasmus Villemoes wrote: > 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 a prerequisite fo

Re: [PATCH] Add imx93-var-som support

2023-12-13 Thread Fabio Estevam
Hi Mathieu, On Sat, Dec 9, 2023 at 9:57 AM Mathieu Othacehe wrote: > > Add support for the Variscite VAR-SOM-IMX93 evaluation kit. The SoM > consists of an NXP iMX93 dual A55 CPU. The SoM is mounted on a Variscite > Symphony SBC. > > Signed-off-by: Mathieu Othacehe > --- > arch/arm/dts/Makefile

Re: [PATCH v2 1/6] sandbox: add generic find_next_zero_bit implementation

2023-12-13 Thread Simon Glass
Hi, On Tue, 12 Dec 2023 at 01:53, wrote: > > From: Lukas Funke > > Add generic 'find_next_zero_bit' implementation in order to enable the > use of the 'for_each_set_bitrange' macro. The implementation is currently > missing for the sandbox-arch and using the function results in a linker > error.

Re: [PATCH] efi_loader: eliminate efi_disk_obj structure

2023-12-13 Thread Simon Glass
Hi Heinrich, On Wed, 13 Dec 2023 at 07:23, Heinrich Schuchardt wrote: > > On 13.12.23 09:57, Masahisa Kojima wrote: > > Current code uses struct efi_disk_obj to keep information > > about block devices and partitions. As the efi handle already > > has a field with the udevice, we should eliminate

Re: whitelist commands

2023-12-13 Thread Simon Glass
Hi Thomas, On Wed, 13 Dec 2023 at 07:29, Thomas McCann wrote: > > How do I add commands to the whitelist. Which whitelist are you referring to? I am not aware of one for commands. Regards, Simon > > > Yours sincerely, > > [cid:image001.png@01DA2DCD.383194D0] > > Th

Re: [PATCH 02/17] video: dw_hdmi: Add Vendor PHY handling

2023-12-13 Thread Simon Glass
Hi Jagan, On Mon, 11 Dec 2023 at 02:00, Jagan Teki wrote: > > From: Jagan Teki > > DW HDMI support Vendor PHY like Rockchip RK3328 Inno HDMI PHY. > > Extend the vendor phy handling by adding platform phy hooks. > > Signed-off-by: Jagan Teki > --- > drivers/video/dw_hdmi.c | 29 +++

Re: [PATCH v2 3/6] test: cmd: setexptr: Add tests for bitmap string format

2023-12-13 Thread Simon Glass
On Tue, 12 Dec 2023 at 01:53, wrote: > > From: Lukas Funke > > Add test to test the bitmap format specifier > > Signed-off-by: Lukas Funke > --- > > (no changes since v1) > > test/cmd/setexpr.c | 9 + > 1 file changed, 9 insertions(+) Reviewed-by: Simon Glass

Re: [PATCH v4] arm: dts: rockpro64: Add RockPro64 smbios

2023-12-13 Thread Simon Glass
Hi Tom, On Mon, 11 Dec 2023 at 13:53, Tom Rini wrote: > > On Mon, Dec 11, 2023 at 08:42:19PM +, Shantur Rathore wrote: > > Hi, > > > > On Mon, Nov 13, 2023 at 11:24 AM Shantur Rathore wrote: > > > > > > Add smbios information for Pine64 RockPro64 board and enable in > > > config > > > > > >

Re: [PATCH 2/2 v2] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Simon Glass
Hi Ilias, On Mon, 11 Dec 2023 at 00:49, Ilias Apalodimas wrote: > > Hi Tom, > > On Sat, 9 Dec 2023 at 20:49, Tom Rini wrote: > > > > On Wed, Dec 06, 2023 at 06:03:14PM +0200, Ilias Apalodimas wrote: > > > Hi Simon, > > > > > > On Sat, 2 Dec 2023 at 20:28, Simon Glass wrote: > > > > > > > > Hi I

Re: [PATCH] cmd: part: Cover both part type entries with GUID ifdef

2023-12-13 Thread Simon Glass
On Sun, 10 Dec 2023 at 14:25, Marek Vasut wrote: > > The 'part type' subcommand depends on GUID partition table support. > The help text exposes one of two 'part type' subcommand entries, > hide both in case GUID partition table support is not enabled to > avoid confusing users. > > Signed-off-by:

Re: [PATCH 1/2 v3] smbios: Simplify reporting of unknown values

2023-12-13 Thread Simon Glass
Hi Ilias, On Thu, 7 Dec 2023 at 02:19, Ilias Apalodimas wrote: > > If a value is not valid during the DT or SYSINFO parsing, we explicitly > set that to "Unknown Product" and "Unknown" for the product and > manufacturer respectively. It's cleaner if we move the checks insisde > smbios_add_prop_

Re: [u-boot-gitdm PATCH 1/2] Use Google LLC for Google

2023-12-13 Thread Simon Glass
Hi Tom, On Sat, 9 Dec 2023 at 06:53, Tom Rini wrote: > > On Sat, Dec 02, 2023 at 09:46:57PM -0700, Simon Glass wrote: > > > The name changed a few years ago, so update it. > > > > Signed-off-by: Simon Glass > > Applied to gitdm/u-boot, thanks! Do you want me to do a quick search and > replace on

Re: [PATCH 3/5] test: cmd: setexptr: Add tests for bitmap string format

2023-12-13 Thread Simon Glass
On Mon, 11 Dec 2023 at 05:21, wrote: > > From: Lukas Funke > > Add test to test the bitmap format specifier > > Signed-off-by: Lukas Funke > --- > > test/cmd/setexpr.c | 9 + > 1 file changed, 9 insertions(+) > Reviewed-by: Simon Glass

Re: [PATCH v2 1/5] cyclic: Add a symbol for SPL

2023-12-13 Thread Simon Glass
Hi Tom, On Sat, 9 Dec 2023 at 08:48, Tom Rini wrote: > > On Sat, Dec 02, 2023 at 08:33:48AM -0700, Simon Glass wrote: > > > The cyclic subsystem is currently enabled either in all build phases > > or none. For tools this should not be enabled, but since lib/shc256.c > > and other files include wa

Re: [PATCH] boot: add support for fdt_fixup command in environment

2023-12-13 Thread Simon Glass
On Mon, 11 Dec 2023 at 04:04, Matthias Schiffer wrote: > > The "fdt" command is convenient for making small changes to the OS FDT, > especially during development. This is easy when the kernel and FDT are > loaded separately, but can be cumbersome for FIT images, requiring to > unpack the image, m

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Simon Glass
Hi Ilias, On Thu, 7 Dec 2023 at 02:19, Ilias Apalodimas wrote: > > In order to fill in the SMBIOS tables U-Boot currently relies on a > "u-boot,sysinfo-smbios" compatible node. This is fine for the boards > that already include such nodes. However with some recent EFI changes, > the majority of

Re: [PATCH 1/2] command: Allocate history buffer using calloc()

2023-12-13 Thread Simon Glass
Hi Marek, On Sun, 3 Dec 2023 at 13:44, Marek Vasut wrote: > > On 12/3/23 18:44, Simon Glass wrote: > > Hi Marek, > > > > On Sat, 2 Dec 2023 at 13:53, Marek Vasut > > wrote: > >> > >> The history buffer is currently a static array which can be some > >> 10-40 kiB depending on configuration, and s

Re: [PATCH v3] mmc: Poll CD in case cyclic framework is enabled

2023-12-13 Thread Simon Glass
Hi Marek, On Wed, 13 Dec 2023 at 07:08, Marek Vasut wrote: > > On 12/12/23 15:05, Simon Glass wrote: > > Hi Marek, > > > > On Mon, 11 Dec 2023 at 12:24, Marek Vasut wrote: > >> > >> On 12/11/23 18:52, Simon Glass wrote: > >>> Hi Marek, > >>> > >>> On Sun, 10 Dec 2023 at 08:03, Marek Vasut > >>>

Re: [PATCH v3 00/32] bootm: Refactoring to reduce reliance on CMDLINE (part A)

2023-12-13 Thread Tom Rini
On Sat, 18 Nov 2023 14:04:48 -0700, Simon Glass wrote: > It would be useful to be able to boot an OS when CONFIG_CMDLINE is > disabled. This could allow reduced code size. > > Standard boot provides a way to handle programmatic boot, without > scripts, so such a feature is possible. The main impe

Re: [PATCH v2 1/3] drivers: rtc: add pcf2131 rtc driver

2023-12-13 Thread Fabio Estevam
Hi Joy, In Linux, the pcf2131 rtc is handled by the pcf2127 driver. I suggest we do the same in U-Boot. Thanks

Re: [PATCH 2/2 v3] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Tom Rini
On Wed, Dec 13, 2023 at 12:51:33PM -0700, Simon Glass wrote: > Hi Ilias, > > On Thu, 7 Dec 2023 at 02:19, Ilias Apalodimas > wrote: > > > > In order to fill in the SMBIOS tables U-Boot currently relies on a > > "u-boot,sysinfo-smbios" compatible node. This is fine for the boards > > that already

Re: [PATCH 2/2 v2] smbios: Fallback to the default DT if sysinfo nodes are missing

2023-12-13 Thread Tom Rini
On Wed, Dec 13, 2023 at 12:50:03PM -0700, Simon Glass wrote: > Hi Ilias, > > On Mon, 11 Dec 2023 at 00:49, Ilias Apalodimas > wrote: > > > > Hi Tom, > > > > On Sat, 9 Dec 2023 at 20:49, Tom Rini wrote: > > > > > > On Wed, Dec 06, 2023 at 06:03:14PM +0200, Ilias Apalodimas wrote: > > > > Hi Simon

Re: [PATCH v4] arm: dts: rockpro64: Add RockPro64 smbios

2023-12-13 Thread Tom Rini
On Wed, Dec 13, 2023 at 12:50:06PM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, 11 Dec 2023 at 13:53, Tom Rini wrote: > > > > On Mon, Dec 11, 2023 at 08:42:19PM +, Shantur Rathore wrote: > > > Hi, > > > > > > On Mon, Nov 13, 2023 at 11:24 AM Shantur Rathore wrote: > > > > > > > > Add smbi

Re: [PATCH 1/1] cmd: check argc for acpi dump

2023-12-13 Thread Simon Glass
On Sat, 9 Dec 2023 at 10:05, Heinrich Schuchardt wrote: > > 'acpi dump' without parameter results in a NULL dereference. Check the > number of arguments. > > Signed-off-by: Heinrich Schuchardt > --- > cmd/acpi.c | 3 +++ > 1 file changed, 3 insertions(+) > Reviewed-by: Simon Glass This could

Re: [PATCH 1/1] binman: elf: Using variable 'old_val' before assignment

2023-12-13 Thread Simon Glass
On 11.12.23 18:52, Simon Glass wrote: > On Sat, 9 Dec 2023 at 11:50, Heinrich Schuchardt > wrote: >> >> old_val can only be assumed initialized in the finally block >> if it is assigned a value before the try statement. >> >> Signed-off-by: Heinrich Schuchardt >> --- >> tools/binman/elf_test.py

Re: [PATCH v2] bootstd: Fix a memory leak in the efi manager bootflow

2023-12-13 Thread Simon Glass
> From: Ilias Apalodimas > Date: Thu, 7 Dec 2023 14:36:36 +0200 > > efi_get_var() allocates memory which has to be freed after the value of > the variable is consumed. Free the memory properly > > Fixes: f2bfa0cb1794 ("bootstd: Make efi_mgr bootmeth work for non-sandbox > setups") > Signed-off-b

Re: [PATCH v2 1/2] test: fit: Using variable 'old_dtb' before assignment

2023-12-13 Thread Simon Glass
old_dtb can only be assumed initialized in the finally block if it is assigned a value before the try statement. Avoid a pylint error reported by current pylint. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v2: mention pylint in commit message --- test/py/tests/test_

Re: [PATCH v2 2/2] test: vboot: Using variable 'old_dtb' before assignment

2023-12-13 Thread Simon Glass
old_dtb can only be assumed initialized in the finally block if it is assigned a value before the try statement. Avoid a pylint error reported by current pylint. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v2: mention pylint in commit message --- test/py/tests/test_

Re: [PATCH v2 3/3] doc: board: ti: k3: Mention TI_DM argument

2023-12-13 Thread Simon Glass
Hi Neha, On 15:12-20231205, Neha Malcom Francis wrote: > Mention TI_DM argument can be used to fetch a custom DM binary in the > A72 build instructions for K3 devices. > > Signed-off-by: Neha Malcom Francis > Reviewed-by: Andrew Davis > --- > doc/board/ti/k3.rst | 7 +++ > 1 file changed, 7

Re: [PATCH 7/7] tools: Move python tools to version 0.0.6

2023-12-13 Thread Simon Glass
A new release has been done with this version, so update it. Use the version numbers in dependencies also. Signed-off-by: Simon Glass --- tools/binman/pyproject.toml | 4 ++-- tools/buildman/pyproject.toml | 4 ++-- tools/dtoc/pyproject.toml | 4 ++-- tools/patman/pyproject.to

Re: [PATCH 4/7] u_boot_pylib: Correct files used for pip release

2023-12-13 Thread Simon Glass
The files list is incorrect and dates from a time when the script was run from a different directory. Update it to match all the other tools. Signed-off-by: Simon Glass --- tools/u_boot_pylib/pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Applied to u-boot-dm/next, t

Re: [PATCH v4 1/2] acpi: fix struct acpi_xsdt

2023-12-13 Thread Simon Glass
The size of the ACPI table header is not a multiple of 8. We have to mark struct acpi_xsdt as packed to correctly access field Entry. Add a unit test for the offsets of field Entry in the RSDT and XSDT tables. Signed-off-by: Heinrich Schuchardt Reviewed-by: Simon Glass --- v4: no change

Re: [PATCH 3/7] tools: Keep test_util and patman test files in the pip release

2023-12-13 Thread Simon Glass
The test_util module is actually imported by some tools, e.g. binman so include it in the pip release. The patman tool uses its test code when starting up, so keep that too. Show a list of deleted files so it is clear what is happening. Signed-off-by: Simon Glass --- scripts/make_pip.sh | 12

Re: [PATCH 2/7] u_boot_pylib: Correct readme formatting

2023-12-13 Thread Simon Glass
Correct a heading which is too short in the readme. Fixes: 75554dfac29 ("patman: Add support for building a u_boot_tools...") Signed-off-by: Simon Glass --- tools/u_boot_pylib/README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm/next, thanks!

Re: [PATCH v2 1/3] binman: etype: dm: Add entry type for TI DM

2023-12-13 Thread Simon Glass
Hi Simon, On 06/12/23 09:24, Simon Glass wrote: > On Tue, 5 Dec 2023 at 02:42, Neha Malcom Francis wrote: >> >> K3 devices introduces the concept of centralized power, resource and >> security management to System Firmware. This is to overcome challenges >> by the traditional approach that implem

Re: [PATCH 5/7] tools/make_pip: Add mention of u_boot_pylib in tool list

2023-12-13 Thread Simon Glass
This is not a tool but it is handled by the script, so update the help to include it. Signed-off-by: Simon Glass --- scripts/make_pip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot-dm/next, thanks!

Re: [PATCH v2 2/3] arm: dts: k3-*-binman: Move to using ti-dm entry type

2023-12-13 Thread Simon Glass
On Tue, 5 Dec 2023 at 02:42, Neha Malcom Francis wrote: > > Move the DM entry in tispl.bin FIT image from default fetching an > external blob entry to fetching using ti-dm entry type. This way, the > DM entry will be populated by the TI_DM pathname if provided. Else it > will resort to the ti-dm.b

Re: [PATCH 1/7] doc: Update documentation URL

2023-12-13 Thread Simon Glass
Update to use the new docs.u-boot.org URL for documentation. Signed-off-by: Simon Glass --- MAINTAINERS | 2 +- README| 2 +- doc/build/documentation.rst | 2 +- tools/binman/pyproject.toml | 2 +- tools/buildman/pyproject.toml |

  1   2   >