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

2024-06-25 Thread Francesco Dolcini
ency just before booting the kernel. > > These are the known variants with 20 MHz oscillator: > - 0055, V1.1A, V1.1B, V1.1C and V1.1D, use a 20MHz oscillator > - 0059, V1.1A and V1.1B, use a 20MHz oscillator > > Signed-off-by: Marek Vasut Reviewed-by: Francesco Dolcini Francesco

Re: [PATCH 2/2] net: phy: Replace PHY_ANEG_TIMEOUT with Kconfig symbol

2024-06-03 Thread Francesco Dolcini
Hello Tom, Il 3 giugno 2024 19:56:07 CEST, Tom Rini ha scritto: >On Sat, Jun 01, 2024 at 11:21:54AM +0200, Francesco Dolcini wrote: >> Hello Marek, >> >> On Fri, May 31, 2024 at 06:47:17PM +0200, Marek Vasut wrote: >> > Switch PHY_ANEG_TIMEOUT to CONFIG_P

Re: [PATCH] spl: Kconfig: ARCH_K3: Set default SPL_STACK_R_MALLOC_SIMPLE_LEN for R5 build

2024-06-01 Thread Francesco Dolcini
de in defconfig as needed. > > Signed-off-by: Vignesh Raghavendra Reviewed-by: Francesco Dolcini Francesco

Re: [PATCH 2/2] net: phy: Replace PHY_ANEG_TIMEOUT with Kconfig symbol

2024-06-01 Thread Francesco Dolcini
Hello Marek, On Fri, May 31, 2024 at 06:47:17PM +0200, Marek Vasut wrote: > Switch PHY_ANEG_TIMEOUT to CONFIG_PHY_ANEG_TIMEOUT Kconfig symbol. > This removes one more configuration headers option finalizes its > Kconfig symbol conversion. No functional change expected. > > Signed-off-by: Marek

Re: [PATCH v1 0/5] board: toradex: Add new Verdin and Aquila SKUs

2024-05-28 Thread Francesco Dolcini
Hello Fabio, On Tue, May 28, 2024 at 09:31:47AM -0300, Fabio Estevam wrote: > Hi Emanuele, > > On Tue, May 28, 2024 at 7:00 AM Emanuele Ghidoli > wrote: > > From: Emanuele Ghidoli > > This series adds support for 0090 PID4 Verdin iMX8M Mini Quad 4GB WB > > ET SKU. It also adds two new SKUs

Re: [PATCH v2 00/14] Introduce the lwIP network stack

2024-05-27 Thread Francesco Dolcini
Hello Jerome, On Fri, May 24, 2024 at 06:19:54PM +0200, Jerome Forissier wrote: > - Make the support of HTTPS in the wget command easier. Javier T. (CC'd) > has some additional lwIP and Mbed TLS patches to do so. With that it > becomes possible to fetch and launch a distro installer such as

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

2024-05-23 Thread Francesco Dolcini
On Wed, May 22, 2024 at 03:23:51PM +0200, Marek Vasut wrote: > On 5/22/24 8:39 AM, Francesco Dolcini wrote: > > > diff --git a/board/toradex/verdin-imx8mm/verdin-imx8mm.c > > > b/board/toradex/verdin-imx8mm/verdin-imx8mm.c > > > index 55c02653da6..ef632d95f0a 10

[PATCH] board: toradex: change maintainer to Francesco

2024-05-22 Thread Francesco Dolcini
From: Francesco Dolcini Marcel is leaving Toradex and the email will start bouncing in a few weeks, move maintainership to myself. Cc: Marcel Ziswiler Signed-off-by: Francesco Dolcini --- board/toradex/apalis-imx8/MAINTAINERS | 2 +- board/toradex/apalis-tk1/MAINTAINERS | 2

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

2024-05-22 Thread Francesco Dolcini
he kernel. > > These are the known variants with 20 MHz oscillator: > - 0055, V1.1A, V1.1B, V1.1C and V1.1D, use a 20MHz oscillator > - 0059, V1.1A and V1.1B, use a 20MHz oscillator > > Signed-off-by: Marek Vasut > --- > Cc: "NXP i.MX U-Boot Team" > Cc: Fabio Estevam > C

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

2024-05-21 Thread Francesco Dolcini
On Tue, May 21, 2024 at 01:19:24PM +0200, Francesco Dolcini wrote: > On Tue, May 21, 2024 at 11:39:05AM +0200, Marek Vasut wrote: > > The older i.MX8M Mini Verdin SoMs may came with 20 MHz SPI CAN controller > > oscillator, the newer SoMs always use 40 MHz oscillator. Handle both by

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

2024-05-21 Thread Francesco Dolcini
st before booting the kernel. > > These are the known variants with 20 MHz oscillator: > - 0055, V1.1A, V1.1B, V1.1C and V1.1D, use a 20MHz oscillator > - 0059, V1.1A and V1.1B, use a 20MHz oscillator > > Signed-off-by: Marek Vasut > --- > Cc: "NXP i.MX U-Boot Team" &

Re: [PATCH] ARM: imx: Increase PHY auto-negotiation timeout to 20s on MX8Menlo

2024-05-21 Thread Francesco Dolcini
On Tue, May 21, 2024 at 11:39:38AM +0200, Marek Vasut wrote: > The ethernet PHY on MX8Menlo board takes a while to come out of > reset, increase the auto-negotiation timeout to prevent it from > timing out in case the ethernet is used right after the board was > reset. Is this specific of

Re: [PATCH v3 4/4] imx: hab: Use nxp_imx8mcst etype for i.MX8M flash.bin signing

2024-05-17 Thread Francesco Dolcini
Hello Marek, On Fri, May 17, 2024 at 03:25:38AM +0200, Marek Vasut wrote: > On 5/16/24 11:40 PM, Tim Harvey wrote: > > [...] > > > > -The entire script is available in doc/imx/habv4/csf_examples/mx8m/csf.sh > > > -and can be used as follows to modify flash.bin to be signed > > > -(adjust paths

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

2024-05-07 Thread Francesco Dolcini
Hello Martyn, first thanks for your series, with this we might be able to drop some downstream branch. On Mon, May 06, 2024 at 03:38:44PM +0100, Martyn Welch wrote: > From: Sjoerd Simons > > Provide config fragments to enable USB host as well as USB gadget and DFU > support for a53 and r5. This

Re: [PATCH v2 1/4] binman: Add nxp_imx8mcst etype for i.MX8M flash.bin signing

2024-05-06 Thread Francesco Dolcini
Hello Marek, On Fri, May 03, 2024 at 03:05:09AM +0200, Marek Vasut wrote: > Add new binman etype which allows signing both the SPL and fitImage sections > of i.MX8M flash.bin using CST. There are multiple DT properties which govern > the signing process, nxp,loader-address is the only mandatory

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

2024-04-30 Thread Francesco Dolcini
On Mon, Apr 29, 2024 at 03:39:53PM -0500, Judith Mendez wrote: > On 4/26/24 10:51 AM, Tom Rini wrote: > > On Fri, Apr 26, 2024 at 07:38:30PM +0900, Jaehoon Chung wrote: > > > Please pull u-boot-mmc master into u-boot master branch. > > > If there is any problem, let me know, plz > > Applied to

[PATCH v1] board: toradex: colibri-imx(6ull|imx7): Fix missing fdt_fixup boot error

2024-04-23 Thread Francesco Dolcini
From: Francesco Dolcini In commit 51aaaf5e7975 ("board: toradex: imx: Remove not needed env variables") the empty definition of fdt_fixup variable was removed, however this was still referenced from the boot command leading to boot failures: ## Error: \"fdt_fixup\&quo

[PATCH v1] board: toradex: verdin-am62: Remove not needed env variables

2024-04-18 Thread Francesco Dolcini
From: Francesco Dolcini Remove not needed variables from environment. - boot_scripts is not needed, the default value is just fine and already includes boot.scr - setup variable used to be executed from some bootscript, however it's not required and there is no point on having

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

2024-04-18 Thread Francesco Dolcini
From: Francesco Dolcini Remove not needed variables from environment and include config files. - setup variable used to be executed from some bootscript, however it's not required and there is no point on having this small helper here - boot_file, kernel_file, ip_dyn variables

Re: [PATCH 4/4] Kconfig: Make all Kconfig encoding ascii

2024-04-16 Thread Francesco Dolcini
On Tue, Apr 16, 2024 at 03:18:08PM +0200, Dragan Simic wrote: > On 2024-04-16 08:59, Francesco Dolcini wrote: > > On Tue, Apr 16, 2024 at 02:36:12AM +0200, Tom Rini wrote: > > > On Mon, Apr 15, 2024 at 02:22:02PM +0200, Heinrich Schuchardt wrote: > > > > C is the sign

Re: [PATCH 4/4] Kconfig: Make all Kconfig encoding ascii

2024-04-16 Thread Francesco Dolcini
On Tue, Apr 16, 2024 at 02:36:12AM +0200, Tom Rini wrote: > On Mon, Apr 15, 2024 at 02:22:02PM +0200, Heinrich Schuchardt wrote: > > On 15.04.24 13:35, Michal Simek wrote: > > > Some of Kconfigs are using utf-8 encoding because of used chars. Convert > > > all of them to ascii enconging. > > > >

[PATCH v1] arm: dts: k3-am625-verdin: add tifsstub to tispl.bin

2024-04-15 Thread Francesco Dolcini
Signed-off-by: Francesco Dolcini --- .../dts/k3-am625-verdin-wifi-dev-binman.dtsi | 140 +- 1 file changed, 138 insertions(+), 2 deletions(-) diff --git a/arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi b/arch/arm/dts/k3-am625-verdin-wifi-dev-binman.dtsi index 6f5845024f27..a9b86b61e

Re: [PATCH 2/2] arm: dts: k3: binman: am625: add support for signing TIFSSTUB Images

2024-04-04 Thread Francesco Dolcini
On Thu, Apr 04, 2024 at 10:20:21AM +0530, Neha Malcom Francis wrote: > On 03/04/24 17:33, Dhruva Gole wrote: > > From: Kamlesh Gurudasani > > > > Add support for signing of TIFSSTUB images for HSSE, HSFS and GP devices > > and include them in tispl.bin and tispl.bin_unsigned. > > > >

Re: bugs with EFI "reserved" memory and LMB?

2024-03-25 Thread Francesco Dolcini
Hello all, re-opening this old email thread ... On Sat, Aug 12, 2023 at 08:23:32AM +0200, Heinrich Schuchardt wrote: > On 7/27/23 14:14, Emanuele Ghidoli wrote: > > On 27/07/2023 13:21, Heinrich Schuchardt wrote: > > > On 27.07.23 13:08, Emanuele Ghidoli wrote: > > > > Efi loader module have its

Re: [PATCH v1] board: toradex: verdin-am62_r5: Increase SPL_STACK_R_MALLOC_SIMPLE_LEN

2024-03-21 Thread Francesco Dolcini
9.2.5, the size of tispl.bin fit image has > increased to 1.4MB, causing allocation errors in the R5 SPL: > > ``` > alloc space exhausted > Could not get FIT buffer of 1325056 bytes > check CONFIG_SPL_SYS_MALLOC_SIZE > ``` > > Signed-off-by: Hiago De Franco Reviewed-

Re: [PATCH] arm: dts: k3-am625-verdin-r5: Change CPU frequency to 800MHz

2024-03-19 Thread Francesco Dolcini
Hello Tom, On Tue, Mar 19, 2024 at 11:04:27AM -0300, Joao Paulo Goncalves wrote: > From: Joao Paulo Goncalves > > The lowest speed grade of Toradex AM62 SoMs is K speed, resulting in a > max value of 800MHz for the CPU operating frequency. A solution with > runtime selection of the CPU

Re: [PATCH v1] doc: board: colibri-imx8x: Update and improve documentation

2024-03-15 Thread Francesco Dolcini
2.6'. > - imx-seco updated to version 5.8.7. > - nxp-imx mfgtools link updated to GitHub releases. > - General writing improvements. > > Signed-off-by: Hiago De Franco Reviewed-by: Francesco Dolcini Francesco

Re: [PATCH v1] arm: imx: imx8m: soc: Fix NPU/VPU fdt disable fixup

2024-03-15 Thread Francesco Dolcini
upstream Linux node's paths to the disable list while > keep the compatibility with downstream Linux. > > Signed-off-by: Vitor Soares Reviewed-by: Francesco Dolcini Francesco

Re: [PATCH 1/2] lmb: Avoid to add identical region in lmb_add_region_flags()

2024-03-11 Thread Francesco Dolcini
Hello Patrice, On Mon, Mar 11, 2024 at 03:39:17PM +0100, Patrice Chotard wrote: > In case lmb_add_region_flags() is called with the same parameter than > an already existing lmb and this lmb is adjacent to its previous lmb with > different flag, this lmb is added again. Is this On Mon, Mar 11,

Re: [PATCH v1] configs: colibri-imx7: enable watchdog

2024-03-11 Thread Francesco Dolcini
Hello Fabio, On Mon, Mar 11, 2024 at 07:44:02AM -0300, Fabio Estevam wrote: > On Thu, Mar 7, 2024 at 12:23 PM Parth Pancholi wrote: > > From: Parth Pancholi > > > > Enable watchdog functionality for Toradex's Colibri iMX7 (NAND/EMMC) > > modules. > > You described what the patch does, but the

[PATCH v2 6/7] toradex: common: Use random mac address if toradex config block is missing

2024-02-23 Thread Francesco Dolcini
. Acked-by: Marcel Ziswiler Tested-by: Marcel Ziswiler # Verdin iMX8M Plus Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- v2: remove CONFIG_NET_RANDOM_ETHADDR from verdin am62 r5 --- board/toradex/common/tdx-common.c | 1 - configs/apalis-imx8_defconfig | 1

[PATCH v2 7/7] toradex: imx6*: fix reset using wdt-reboot driver

2024-02-23 Thread Francesco Dolcini
6, colibri-imx6ull (with nand and emmc) and apalis-imx6 which solves the reset command regression on these modules. Acked-by: Marcel Ziswiler Fixes: 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") Signed-off-by: Parth Pancholi Signed-off-by: Francesco Dolcini --- arch/arm/dts/imx6

[PATCH v2 3/7] toradex: common: Use SETTINGS_R event to read toradex config block

2024-02-23 Thread Francesco Dolcini
From: Emanuele Ghidoli Use SETTINGS_R event to read toradex config block and checkboard() to print board info. Acked-by: Marcel Ziswiler Tested-by: Marcel Ziswiler # Verdin iMX8M Plus Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- board/toradex/common/tdx-common.c

[PATCH v2 5/7] toradex: common: Add sysinfo driver

2024-02-23 Thread Francesco Dolcini
per board specific prints. Acked-by: Marcel Ziswiler Tested-by: Marcel Ziswiler # Verdin iMX8M Plus Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi| 6 +++ arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi | 6 +++ .../dts/imx6dl

[PATCH v2 2/7] toradex: Remove not necessary model prints from checkboard()

2024-02-23 Thread Francesco Dolcini
complete. If toradex config block is missing the model info from device tree is enough. Acked-by: Marcel Ziswiler Tested-by: Marcel Ziswiler # Verdin iMX8M Plus Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- board/toradex/apalis-imx8/apalis-imx8.c | 10 - board

[PATCH v2 0/7] toradex: fix reset and hardware detection regressions

2024-02-23 Thread Francesco Dolcini
From: Francesco Dolcini This series fixes two regressions affecting multiple Toradex boards (i.MX, TI and TEGRA based) and targets the current master, e.g. v2024.04 release. U-Boot `reset` command is broken on all Tordex i.MX6* based SoMs since v2023.07, this series fixes it enabling the `wdt

[PATCH v2 4/7] arm: dts: Refactor device trees using "&{/aliases}" syntax

2024-02-23 Thread Francesco Dolcini
From: Emanuele Ghidoli Use the common syntax to define aliases. Acked-by: Marcel Ziswiler Tested-by: Marcel Ziswiler # Verdin iMX8M Plus Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- .../dts/imx6dl-colibri-eval-v3-u-boot.dtsi| 18 - arch/arm/dts/imx6q

[PATCH v2 1/7] toradex: Fix recursive call to checkboard

2024-02-23 Thread Francesco Dolcini
Use checkboard() instead of show_board_info()") Acked-by: Marcel Ziswiler Tested-by: Marcel Ziswiler # Verdin iMX8M Plus Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- board/toradex/common/tdx-common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/toradex/co

Re: [PATCH v1 6/7] toradex: common: Use random mac address if toradex config block is missing

2024-02-23 Thread Francesco Dolcini
On Tue, Feb 20, 2024 at 07:29:25PM +0100, Francesco Dolcini wrote: > From: Emanuele Ghidoli > > Set CONFIG_NET_RANDOM_ETHADDR=y, which sets random eth address in > case there is no toradex config block programmed. > In case of missing toradex config block the generated mac addre

Re: [PATCH 7/7] verdin-imx8mp_defconfig: Enable PCIe/NVMe support

2024-02-22 Thread Francesco Dolcini
t; +CONFIG_RESET_IMX=y > > > +CONFIG_PCI=y > > > +CONFIG_PCIE_DW_IMX8=y > > > +CONFIG_PHY_IMX8M_PCIE=y > > > +CONFIG_CMD_PCI=y > > > +CONFIG_NVME=y > > > +CONFIG_NVME_PCI=y > > > +CONFIG_CMD_NVME=y > > > > Please don't group all these new config options at the end of the file. > That sounds better, I will do that for v2. ... and this change, feel free to add in v2 Acked-by: Francesco Dolcini Francesco

Re: [PATCH v1 5/7] toradex: common: Add sysinfo driver

2024-02-21 Thread Francesco Dolcini
On Wed, Feb 21, 2024 at 04:43:28PM +0100, Igor Opaniuk wrote: > On Tue, Feb 20, 2024 at 7:31 PM Francesco Dolcini > wrote: > > > > + sysinfo { > > + compatible = "toradex,sysinfo"; > > + }; > > + > Have you conside

Re: [PATCH 7/7] verdin-imx8mp_defconfig: Enable PCIe/NVMe support

2024-02-21 Thread Francesco Dolcini
On Wed, Feb 21, 2024 at 09:18:51AM +, Marcel Ziswiler wrote: > On Wed, 2024-02-21 at 08:55 +0100, Francesco Dolcini wrote: > > On Tue, Feb 20, 2024 at 06:40:56PM +0530, Sumit Garg wrote: > > > Also, enable reset driver which is a prerequisite for PCIe support. > > >

Re: [PATCH V6 07/20] configs: am62x_evm_a53_defconfig: Switch to bootstd

2024-02-21 Thread Francesco Dolcini
Hello Jan, On Mon, Feb 19, 2024 at 07:37:55PM +0100, Jan Kiszka wrote: > My personal observation is that continuous integration testings with > all-upstream components is not really a common thing. I saw that with > multiple active SoCs from various vendors. With some limitation we have this

Re: [PATCH 7/7] verdin-imx8mp_defconfig: Enable PCIe/NVMe support

2024-02-20 Thread Francesco Dolcini
Hello Sumit, On Tue, Feb 20, 2024 at 06:40:56PM +0530, Sumit Garg wrote: > Also, enable reset driver which is a prerequisite for PCIe support. > > Signed-off-by: Sumit Garg > --- > configs/verdin-imx8mp_defconfig | 9 + > 1 file changed, 9 insertions(+) > > diff --git

[PATCH v1 6/7] toradex: common: Use random mac address if toradex config block is missing

2024-02-20 Thread Francesco Dolcini
. Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- board/toradex/common/tdx-common.c | 1 - configs/apalis-imx8_defconfig | 1 + configs/apalis-tk1_defconfig | 1 + configs/apalis_imx6_defconfig | 1 + configs/apalis_t30_defconfig | 1

[PATCH v1 7/7] toradex: imx6*: fix reset using wdt-reboot driver

2024-02-20 Thread Francesco Dolcini
6, colibri-imx6ull (with nand and emmc) and apalis-imx6 which solves the reset command regression on these modules. Fixes: 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") Signed-off-by: Parth Pancholi Signed-off-by: Francesco Dolcini --- arch/arm/dts/imx6dl-colibri-eval-v3-u-boot.dts

[PATCH v1 5/7] toradex: common: Add sysinfo driver

2024-02-20 Thread Francesco Dolcini
per board specific prints. Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- arch/arm/dts/fsl-imx8qm-apalis-u-boot.dtsi| 6 +++ arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi | 6 +++ .../dts/imx6dl-colibri-eval-v3-u-boot.dtsi| 4 ++ arch/arm/dts/imx6q-apalis-eval-u

[PATCH v1 3/7] toradex: common: Use SETTINGS_R event to read toradex config block

2024-02-20 Thread Francesco Dolcini
From: Emanuele Ghidoli Use SETTINGS_R event to read toradex config block and checkboard() to print board info. Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- board/toradex/common/tdx-common.c | 92 ++- 1 file changed, 54 insertions(+), 38

[PATCH v1 2/7] toradex: Remove not necessary model prints from checkboard()

2024-02-20 Thread Francesco Dolcini
complete. If toradex config block is missing the model info from device tree is enough. Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- board/toradex/apalis-imx8/apalis-imx8.c | 10 - board/toradex/apalis-tk1/apalis-tk1.c | 7 --- board/toradex

[PATCH v1 4/7] arm: dts: Refactor device trees using "&{/aliases}" syntax

2024-02-20 Thread Francesco Dolcini
From: Emanuele Ghidoli Use the common syntax to define aliases. Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- .../dts/imx6dl-colibri-eval-v3-u-boot.dtsi| 18 - arch/arm/dts/imx6q-apalis-eval-u-boot.dtsi| 26 ++- .../arm/dts/imx7d

[PATCH v1 1/7] toradex: Fix recursive call to checkboard

2024-02-20 Thread Francesco Dolcini
Use checkboard() instead of show_board_info()") Signed-off-by: Emanuele Ghidoli Signed-off-by: Francesco Dolcini --- board/toradex/common/tdx-common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/board/toradex/common/tdx-common.c b/board/toradex/common/tdx-common.c index ed8f0a6a4756.

[PATCH v1 0/7] toradex: fix reset and hardware detection regressions

2024-02-20 Thread Francesco Dolcini
From: Francesco Dolcini This series fixes two regressions affecting multiple Toradex boards (i.MX, TI and TEGRA based) and targets the current master, e.g. v2024.04 release. U-Boot `reset` command is broken on all Tordex i.MX6* based SoMs since v2023.07, this series fixes it enabling the `wdt

Re: [PATCH] arm: dts: k3-am625-verdin-r5: Change CPU frequency to 1000MHz

2024-02-20 Thread Francesco Dolcini
On Tue, Feb 20, 2024 at 10:47:03AM +0530, Vignesh Raghavendra wrote: > > > On 19/02/24 18:04, Vitor Soares wrote: > > From: Vitor Soares > > > > The same U-Boot binary is compatible with multiple Verdin AM62 board > > variants. However, some of the SoC models can only operate at a maximum > >

Re: [PATCH] arm: dts: k3-am625-verdin-r5: Change CPU frequency to 1000MHz

2024-02-19 Thread Francesco Dolcini
, there is a regression in overall boot time, increasing by around > 200 milliseconds for the faster SoC variant. > > Signed-off-by: Vitor Soares Reviewed-by: Francesco Dolcini

Re: verdin-imx8mp: Ethernet does not load at boot

2024-02-15 Thread Francesco Dolcini
On Fri, Feb 16, 2024 at 10:31:20AM +0530, Sahaj Sarup wrote: > On a verdin-imx8mp platform I am now unable to use the ethernet ports. I believe it's a known regression, we are currently working on a fix. See https://lore.kernel.org/all/e40ed93bd8f371ec56b8fc451dcb458f3ce6dcba.ca...@toradex.com/

Re: [PATCH 6/6] arm: mach-k3: Move DRAM address of ATF for AM62/AM62a

2024-02-15 Thread Francesco Dolcini
Hello Andrew, thanks for this series. On Wed, Feb 14, 2024 at 10:30:09AM -0600, Andrew Davis wrote: > The current address of TF-A in DRAM is just below the 512MB address line. > This means if the DRAM in a system is 512MB then TF-A is right at the > end of memory which is often reused, for

[PATCH v1] Revert "board: verdin-am62: set cpu core voltage depending on speed grade"

2024-02-13 Thread Francesco Dolcini
From: Francesco Dolcini This reverts commit d2099587d661c6ca2309256c0e04c06e26c8d34c. According to TI changing the VDD_CORE while the SoC is running is not allowed, the voltage must be set before the AM62 device reset is released, revert this change therefore. The correct solution would

[PATCH v1 2/2] arm: mach-k3: am62: Fixup thermal zone critical points

2024-02-08 Thread Francesco Dolcini
From: Joao Paulo Goncalves Read the max temperature for the SoC temperature grade from the hardware and change the critical trip nodes on each thermal zone of FDT at runtime so they are correct with the hardware value for its grade. Signed-off-by: Joao Paulo Goncalves Signed-off-by: Francesco

[PATCH v1 1/2] arm: mach-k3: am62: Get soc max temperature by grade

2024-02-08 Thread Francesco Dolcini
-by: Joao Paulo Goncalves Signed-off-by: Francesco Dolcini --- arch/arm/mach-k3/include/mach/am62_hardware.h | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/mach-k3/include/mach/am62_hardware.h b/arch/arm/mach-k3/include/mach/am62_hardware.h index 54380f36e161

[PATCH v1 0/2] arm: mach-k3: am62: Fixup thermal zone critical points

2024-02-08 Thread Francesco Dolcini
From: Francesco Dolcini This series adds support to dynamically fixup the DT the critical thermal trip point of TI AM62 depending on the SoC temperature grade. Joao Paulo Goncalves (2): arm: mach-k3: am62: Get soc max temperature by grade arm: mach-k3: am62: Fixup thermal zone critical

Re: [PATCH] toradex: tdx-cfg-block: Add new apalis and colibri pid

2024-01-25 Thread Francesco Dolcini
On Mon, Jan 22, 2024 at 05:09:30PM -0300, Joao Paulo Goncalves wrote: > From: Joao Paulo Goncalves > > Add new apalis imx6 and colibri imx6/imx7 products IDs. > > Signed-off-by: Joao Paulo Goncalves > --- > board/toradex/common/tdx-cfg-block.c | 9 + >

Re: [PATCH v1 4/4] board: verdin-am62: set cpu core voltage depending on speed grade

2024-01-18 Thread Francesco Dolcini
On Thu, Jan 18, 2024 at 05:31:20PM +0100, Max Krummenacher wrote: > On Thu, Jan 18, 2024 at 10:50:07AM +0100, Max Krummenacher wrote: > > On Wed, Jan 17, 2024 at 11:16:49AM +0100, Max Krummenacher wrote: > > > From: Max Krummenacher > > > > > > Speed grade T requires the VDD_CORE voltage to be

Re: [PATCH] headers: don't depend on errno.h being available

2024-01-18 Thread Francesco Dolcini
| #endif > > In the #else path ENOSYS is used, however linux/errno.h is not included. > If errno.h has not been included already the compiler errors out even > if the inline function is not referenced. > > Make those headers self contained. > > Signed-off-by: Max Krummenacher Reviewed-by: Francesco Dolcini

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

2024-01-17 Thread Francesco Dolcini
On Thu, Jan 18, 2024 at 12:30:42AM +0700, Francis Laniel wrote: > Le mercredi 17 janvier 2024, 17:05:28 +07 Patrice CHOTARD a écrit : > > On 1/16/24 18:25, Francis Laniel wrote: > > > Le mardi 16 janvier 2024, 00:34:24 +07 Patrice CHOTARD a écrit : > > >> On 1/11/24

Re: [PATCH v1 0/4] board: verdin-am62: set cpu core voltage depending on speed grade

2024-01-17 Thread Francesco Dolcini
board code to set the CPU core > voltage according to speed grade to gain more than 100mW power > consumption reduction for the slower speed graded SKUs. For the whole series, Reviewed-by: Francesco Dolcini

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

2024-01-16 Thread Francesco Dolcini
On Tue, Jan 16, 2024 at 02:01:02AM +0100, Marek Vasut wrote: > On 1/15/24 16:44, Francesco Dolcini wrote: > > On Sat, Jan 13, 2024 at 07:33:17PM +0100, Marek Vasut wrote: > > 0059, V1.1A and V1.1B, use a 20MHz oscillator > > 0055, V1.1A, V1.1B, V1.1C and V1.1D, use a 20Mhz o

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

2024-01-15 Thread Francesco Dolcini
t; > Signed-off-by: Marek Vasut > --- > Cc: "NXP i.MX U-Boot Team" > Cc: Fabio Estevam > Cc: Francesco Dolcini > Cc: Marcel Ziswiler > Cc: Philippe Schenker Philippe is no longer in toradex, removed from cc list. > Cc: Stefano Babic > --- &g

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

2024-01-13 Thread Francesco Dolcini
On Sat, Jan 13, 2024 at 09:45:42PM +0100, Francesco Dolcini wrote: > On Sat, Jan 13, 2024 at 06:40:19PM +, Marcel Ziswiler wrote: > > Hi Marek > > > > Thanks, seems like a decent idea. I guess we just did not do it as those > > previous revisions were just sampl

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

2024-01-13 Thread Francesco Dolcini
r frequency just before booting the kernel. > > > > Signed-off-by: Marek Vasut > > --- > > Cc: "NXP i.MX U-Boot Team" > > Cc: Fabio Estevam > > Cc: Francesco Dolcini > > Cc: Marcel Ziswiler > > Cc: Philippe Schenker > > Cc: Stefano B

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

2024-01-11 Thread Francesco Dolcini
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 wrote a contribution to add a new shell, > > >

Re: [PATCH 4/4] configs: am64x_evm_a53_defconfig: Enable NAND

2024-01-09 Thread Francesco Dolcini
On Tue, Jan 09, 2024 at 02:54:00PM -0500, Tom Rini wrote: > On Tue, Jan 09, 2024 at 01:18:59PM -0600, Nishanth Menon wrote: > > On 14:26-20240109, Roger Quadros wrote: > > > CONFIG_CMD_PMIC=y > > > CONFIG_CMD_REGULATOR=y > > > +CONFIG_CMD_MTDPARTS=y > > >

[PATCH v1] verdin-imx8mm: Remove stale fdt_addr env variable

2024-01-02 Thread Francesco Dolcini
From: Francesco Dolcini fdt_addr variable is the location in flash of the device tree blob [1], it does not exist for verdin-imx8mm. Because of this the bootefi command fails unless the optional `[fdt address]` parameter is passed on the command line, bootefi.c:efi_install_fdt() assumes

Re: Regression: i.MX6ULL reset not working

2023-12-28 Thread Francesco Dolcini
On Thu, Dec 28, 2023 at 02:08:33PM -0300, Fabio Estevam wrote: > On Thu, Dec 28, 2023 at 1:46 PM Francesco Dolcini > wrote: > > > With that we would have to enable the watchdog, something that is not > > done today. Any potential downside on doing it? > > I don't

Re: Regression: i.MX6ULL reset not working

2023-12-28 Thread Francesco Dolcini
On Thu, Dec 28, 2023 at 01:35:31PM -0300, Fabio Estevam wrote: > Hi Francesco, > > On Thu, Dec 28, 2023 at 12:49 PM Francesco Dolcini > wrote: > > > > Hello Marek and all, > > I just tried latest master on colibri-imx6ull-emmc and the reset command > > is br

Re: Regression: i.MX6ULL reset not working

2023-12-28 Thread Francesco Dolcini
On Thu, Dec 28, 2023 at 04:49:33PM +0100, Francesco Dolcini wrote: > Hello Marek and all, > I just tried latest master on colibri-imx6ull-emmc and the reset command > is broken - it does nothing. > > >From a bisect the issue was introduced with commit 68dcbdd594d4 ("ARM:

Regression: i.MX6ULL reset not working

2023-12-28 Thread Francesco Dolcini
Hello Marek and all, I just tried latest master on colibri-imx6ull-emmc and the reset command is broken - it does nothing. >From a bisect the issue was introduced with commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()"), U-Boot releases >= v2023.07 are broken. Any hint? I did not try

Re: [PATCH v1 3/3] colibri-imx8x: configure usb hub to bypass mode

2023-12-20 Thread Francesco Dolcini
On Wed, Dec 20, 2023 at 08:39:38AM -0300, Fabio Estevam wrote: > Hi Francesco, > > On Wed, Dec 20, 2023 at 8:30 AM Francesco Dolcini > wrote: > > > Valid point. > > > > In general re-using the DTS for the kernel would not work. > > > > The bypass a

Re: [PATCH v1 3/3] colibri-imx8x: configure usb hub to bypass mode

2023-12-20 Thread Francesco Dolcini
Hello Fabio, On Wed, Dec 20, 2023 at 07:48:50AM -0300, Fabio Estevam wrote: > On Wed, Dec 20, 2023 at 7:39 AM Andrejs Cainikovs > wrote: > > > diff --git a/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi > > b/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi > > index a6af4e5e2b7..6ab6b1f9ee6 100644

Re: [PATCH v1] arm: dts: k3-am625-verdin: fix DDRSS configuration

2023-12-19 Thread Francesco Dolcini
On Tue, Dec 19, 2023 at 09:25:33AM +0100, Francesco Dolcini wrote: > From: Emanuele Ghidoli > > The current DDR subsystem configuration occasionally results in write > failures, > impacting memory stability, on Verdin AM62 Solo 512MB WB IT 0072 SKU. > This commit a

[PATCH v1] arm: dts: k3-am625-verdin: fix DDRSS configuration

2023-12-19 Thread Francesco Dolcini
li Signed-off-by: Francesco Dolcini --- .../dts/k3-am625-verdin-lpddr4-1600MTs.dtsi | 151 +- 1 file changed, 76 insertions(+), 75 deletions(-) diff --git a/arch/arm/dts/k3-am625-verdin-lpddr4-1600MTs.dtsi b/arch/arm/dts/k3-am625-verdin-lpddr4-1600MTs.dtsi index 9bad4309b491..84

Re: [PATCH v1] board: colibri_imx7: fix emmc detection

2023-12-12 Thread Francesco Dolcini
Hello Fabio, On Tue, Dec 12, 2023 at 08:28:15AM -0300, Hiago De Franco wrote: > From: Marcel Ziswiler > > Later versions of Colibri iMX7D V1.1B modules use a "new" SoC fusing. The > difference lies in whether we enable the boot ROM to use the eMMC reset > signal. Depending on the SoC fuse, the

[PATCH v1] configs: verdin-am62: Disable SPL FIT Overlay

2023-12-11 Thread Francesco Dolcini
From: Francesco Dolcini Disable CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY, this is not required nor used on verdin am62, disable it to save precious binary size. Update defconfig using savedefconfig, this adds CONFIG_OF_LIBFDT_OVERLAY explicitly. Signed-off-by: Francesco Dolcini --- configs/verdin

Re: [PATCH v5 04/17] arm: mach-k3: Add basic support for J784S4 SoC definition

2023-12-01 Thread Francesco Dolcini
On Fri, Dec 01, 2023 at 10:37:55AM -0600, Bryan Brattlof wrote: > On November 30, 2023 thus sayeth Apurva Nandan: > > Add J784S4 initialization files for initial SPL boot. > > > > Signed-off-by: Hari Nagalla > > [ add firewall configurations and change the R5 MCU scratchpad ] > > Signed-off-by:

Re: [PATCH 2/4] arm: dts: k3-am625: Drop SoC provided bootph params from board u-boot/r5 dtsi

2023-11-13 Thread Francesco Dolcini
3 main_esm mcu_esm > > Drop these from board r5 and u-boot.dtsi files as these are duplicate in > them now. > > Signed-off-by: Nishanth Menon I had just a quick look and I have not tested the change, with that said Acked-by: Francesco Dolcini

Re: [RFC PATCH 1/1] arm: mach-k3: Enable icache on am625 to boot faster

2023-11-10 Thread Francesco Dolcini
On Thu, Nov 09, 2023 at 01:51:19PM -0500, Tom Rini wrote: > On Thu, Nov 09, 2023 at 12:44:56PM -0600, Andrew Davis wrote: > > On 11/9/23 11:37 AM, Nishanth Menon wrote: > > > On 11:09-20231109, Joao Paulo Goncalves wrote: > > > > Enable the am625 instruction cache on SPL and U-boot earlier for the

Re: [PATCH V2 2/2] arm: mach-k3: Move TI dummy keys out of board folder

2023-11-04 Thread Francesco Dolcini
ile at it, drop the reference in verdin-binman file which is > redundant. > > Signed-off-by: Nishanth Menon Reviewed-by: Francesco Dolcini

Re: [PATCH V2 1/2] arm: mach-k3: Move K3 degenerate keys out of board folder

2023-11-04 Thread Francesco Dolcini
nman file which is > redundant. > > Signed-off-by: Nishanth Menon Reviewed-by: Francesco Dolcini Francesco

Re: [PATCH] arm: mach-k3: Move K3 common schema.yaml out of board directory

2023-11-02 Thread Francesco Dolcini
ths which makes adding > non-TI boards (like Toradex Verdin) not need to override these paths. > > Signed-off-by: Andrew Davis Reviewed-by: Francesco Dolcini Francesco

Re: [PATCH 5/7] arm: mach-k3: am62x: Move board selection to mach-k3

2023-11-02 Thread Francesco Dolcini
Hello Andrew, On Wed, Nov 01, 2023 at 03:35:28PM -0500, Andrew Davis wrote: > Currently each set of board targets from a vendor is selected inside > the board directory for that vendor. This has the problem of multiple > targets, one from each vendor, being selectable at the same time. > For

[PATCH] toradex: verdin-imx8mm/imx8mp: Remove bootcmd_mfg

2023-10-04 Thread Francesco Dolcini
From: Joao Paulo Goncalves The bootcmd_mfg env variable is legacy from IMX downstream u-boot branch and is not needed on mainline. Signed-off-by: Joao Paulo Goncalves Signed-off-by: Francesco Dolcini --- include/configs/verdin-imx8mm.h | 1 - include/configs/verdin-imx8mp.h | 1 - 2 files

Re: [PATCH V5 02/17] include: configs: am62x_evm: Drop unused SDRAM address

2023-08-24 Thread Francesco Dolcini
On Thu, Aug 24, 2023 at 06:09:54PM +0200, Francesco Dolcini wrote: > On Thu, Aug 24, 2023 at 01:02:21PM +, Marcel Ziswiler wrote: > > On Thu, 2023-08-24 at 07:05 -0500, Nishanth Menon wrote: > > > On 10:13-20230824, Mattijs Korpershoek wrote: > > > > Hi Nishanth,

Re: [PATCH V5 02/17] include: configs: am62x_evm: Drop unused SDRAM address

2023-08-24 Thread Francesco Dolcini
On Thu, Aug 24, 2023 at 01:02:21PM +, Marcel Ziswiler wrote: > On Thu, 2023-08-24 at 07:05 -0500, Nishanth Menon wrote: > > On 10:13-20230824, Mattijs Korpershoek wrote: > > > Hi Nishanth, > > > > > > On mer., août 23, 2023 at 22:10, Nishanth Menon wrote: > > > > > > > Drop unused macro.

Re: [PATCH v1 2/2] board: verdin-am62: fix check for minimum memory size

2023-08-24 Thread Francesco Dolcini
On Thu, Aug 24, 2023 at 09:58:56AM -0500, Nishanth Menon wrote: > On 16:37-20230824, Francesco Dolcini wrote: > > Hello Nishanth, > > > > On Thu, Aug 24, 2023 at 07:14:12AM -0500, Nishanth Menon wrote: > > > On 10:08-20230824, Emanuele Ghidoli wrote:

Re: [PATCH v1 1/2] verdin-am62: add u-boot update wrappers

2023-08-24 Thread Francesco Dolcini
Hello Nishanth, On Thu, Aug 24, 2023 at 07:10:57AM -0500, Nishanth Menon wrote: > On 13:19-20230824, Francesco Dolcini wrote: > > On Thu, Aug 24, 2023 at 10:08:49AM +0200, Emanuele Ghidoli wrote: > > > From: Emanuele Ghidoli > > > > > > Add update_tiboot3, up

Re: [PATCH v1 2/2] board: verdin-am62: fix check for minimum memory size

2023-08-24 Thread Francesco Dolcini
Hello Nishanth, On Thu, Aug 24, 2023 at 07:14:12AM -0500, Nishanth Menon wrote: > On 10:08-20230824, Emanuele Ghidoli wrote: > > From: Emanuele Ghidoli > > > > verdin am62 SKUs comes in multiple memory configuration, check that > > the detected memory is at least 512MB since we have some > >

Re: [PATCH v1 2/2] board: verdin-am62: fix check for minimum memory size

2023-08-24 Thread Francesco Dolcini
re > the module cannot work with less memory. > > Fixes: 7d1a10659f5b ("board: toradex: add verdin am62 support") > Signed-off-by: Emanuele Ghidoli Acked-by: Francesco Dolcini

Re: [PATCH v1 1/2] verdin-am62: add u-boot update wrappers

2023-08-24 Thread Francesco Dolcini
2x-gp-verdin.bin > > run update_tiboot3 > > > tftpboot ${loadaddr} tispl.bin > > run update_tispl > > > tftpboot ${loadaddr} u-boot.img > > run update_uboot > > Signed-off-by: Emanuele Ghidoli Acked-by: Francesco Dolcini

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-04 Thread Francesco Dolcini
On Fri, Aug 04, 2023 at 08:12:36AM +, Marcel Ziswiler wrote: > Hi Neha > > On Fri, 2023-08-04 at 13:35 +0530, Neha Malcom Francis wrote: > > Hi Francesco > > > > On 04/08/23 13:24, Francesco Dolcini wrote: > > > On Fri, Aug 04, 2023 at 12:04:5

Re: [PATCH v5 3/3] board: toradex: add verdin am62 support

2023-08-04 Thread Francesco Dolcini
On Fri, Aug 04, 2023 at 12:04:59PM +0530, Neha Malcom Francis wrote: > On 03/08/23 19:30, Marcel Ziswiler wrote: > > + combined-sysfw-cfg { > > + filename = "combined-sysfw-cfg.bin"; > > + ti-board-config { > > + board-cfg { > > +

Re: [PATCH 3/6] board: ti: am62x: Add basic initialization for usb voltage, 32k crystal, debounce

2023-07-26 Thread Francesco Dolcini
On Wed, Jul 26, 2023 at 06:10:19AM -0500, Nishanth Menon wrote: > On 00:35-20230726, Francesco Dolcini wrote: > > However to my understanding this would need to have the corresponding > > DEBOUNCE_SEL register written on the pad configuration, and by default it's > > 0. &g

  1   2   3   >