Re: [PATCH v5 0/3] Add imx93-var-som support

2024-01-08 Thread Fabio Estevam
Hi Mathieu, On Mon, Jan 8, 2024 at 6:26 AM Mathieu Othacehe wrote: > This issue was that we are expecting binman to keep working on the CI > even though the binary blobs are not present. I fixed that, had a green > Github build and submitted a v6. Excellent, thank you. I plan to apply this

Re: [RFC PATCH V2] net: wget: Take in account tcp sequence number wrap around

2024-01-07 Thread Fabio Estevam
On Sun, Jan 7, 2024 at 5:01 PM Michael Trimarchi wrote: > > Coming from some discussion on mailing about wget unconsistent. It's > just and idea to play around > > Signed-off-by: Michael Trimarchi > --- > RFC V1 -> RFC V2: > - drop random train change in unsigned difference Same

Re: inconsistent wget behavior

2024-01-07 Thread Fabio Estevam
Hi Michael, On Sun, Jan 7, 2024 at 1:36 PM Michael Nazzareno Trimarchi wrote: > I have sent but not sure about it, just compile for now ;) It didn't work: u-boot=> wget 192.168.0.16:/test HTTP/1.0 200 OK| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |

Re: inconsistent wget behavior

2024-01-07 Thread Fabio Estevam
Hi Michael, On Sat, Jan 6, 2024 at 5:49 AM Michael Nazzareno Trimarchi wrote: > > Hi > > Is this code correct? > > if (tcp_seq_num >= initial_data_seq_num && > store_block(pkt, tcp_seq_num - initial_data_seq_num, > len) != 0) { >

Re: inconsistent wget behavior

2024-01-05 Thread Fabio Estevam
On Fri, Jan 5, 2024 at 4:49 PM Michael Nazzareno Trimarchi wrote: > I was thinking that was lwip integration That's a different issue. If you want to test lwip integration, you can try it from: https://github.com/muvarov/u-boot/tree/master_lwip_test_v10

Re: inconsistent wget behavior

2024-01-05 Thread Fabio Estevam
Hi Michael, On Fri, Jan 5, 2024 at 4:12 PM Michael Nazzareno Trimarchi wrote: > Can you reproduce with dcache off? I haven't tried it. > Where are the patches to test? The wget issue can be reproduced with U-Boot master. No need for extra patches. Please see the first message of this thread

Re: inconsistent wget behavior

2024-01-05 Thread Fabio Estevam
Hi Paul, On Fri, Jan 5, 2024 at 3:57 PM Paul Liu wrote: > > Hi Fabio, > > I tried to investigate this by U-boot sandbox. But it seems to me that I > cannot reproduce this issue. > I put a file on localhost apache server and tried to download it from > localhost. > I might need a more

Re: inconsistent wget behavior

2024-01-05 Thread Fabio Estevam
Hi Paul, On Thu, Nov 16, 2023 at 6:41 AM Paul Liu wrote: > > Hi Fabio, > > Yes. I'll look into this problem. Did you have a chance to investigate this problem? Thanks

Re: [PATHv11 00/43] net/lwip: add lwip library for the network stack

2024-01-04 Thread Fabio Estevam
On Thu, Jan 4, 2024 at 12:02 PM Maxim Uvarov wrote: > CI tests this in all qemu emulated boards. I tested it locally on Raspberry > Pi - works well. This version did not > yet tested on imx8, but the previous version worked on eth0, did not work on > eth1. So I plan to continue testing >

Re: [PATCH v5 0/3] Add imx93-var-som support

2024-01-04 Thread Fabio Estevam
On Thu, Jan 4, 2024 at 12:54 PM Mathieu Othacehe wrote: > > From: Mathieu Othacehe > > Hello, > > This v5 fixes imx93_evk compilation by enabling binman support for this board. Still fails: https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/764792 Please run a CI job for your series

Re: [PATCH v4 0/3] Add imx93-var-som support

2024-01-04 Thread Fabio Estevam
Hi Mathieu, On Thu, Jan 4, 2024 at 6:14 AM Mathieu Othacehe wrote: > > From: Mathieu Othacehe > > Hello, > > This v4 rebases the series on top of the next branch and fixes Fabio's > remarks. I ran your v4 series through CI, but it failed:

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

2024-01-03 Thread Fabio Estevam
[fdt address]` parameter is passed on the command line, > bootefi.c:efi_install_fdt() assumes that `fdt_addr` is valid when > present. > > Fix this removing fdt_addr from the U-Boot environment. > > [1] doc/usage/environment.rst > > Signed-off-by: Francesco Dolcini Reviewed-by: Fabio Estevam

Re: [PATCH] ARM: imx: Auto-detect PHY on Data Modul i.MX8M Mini/Plus eDM SBC

2024-01-03 Thread Fabio Estevam
, in > case BCM54213PE PHY is populated, the PHY MDIO address is 1, the > fdtdec_board_setup() is used to patch the correct address into > the U-Boot control DT. > > Enable broadcom PHY support to support both PHYs. > > Signed-off-by: Marek Vasut Reviewed-by: Fabio Estevam

Re: [PATCH v3 2/3] mach-imx: Add i.MX93 binman support.

2024-01-03 Thread Fabio Estevam
On Fri, Dec 29, 2023 at 8:17 AM Mathieu Othacehe wrote: > > From: Mathieu Othacehe > > Add dedicated Makefile targets for the i.MX93 and a new imx93-u-boot.dtsi > device-tree to create binman images. > > Signed-off-by: Mathieu Othacehe Reviewed-by: Fabio Estevam

Re: [PATCH v3 1/3] spl: binman: Disable u_boot_any symbols for i.MX93 boards

2024-01-03 Thread Fabio Estevam
On Fri, Dec 29, 2023 at 8:17 AM Mathieu Othacehe wrote: > > From: Mathieu Othacehe > > This is extending commit 6516c9b349b3 ("spl: binman: Disable u_boot_any > symbols for i.MX8M boards") to i.MX93 boards. > > Signed-off-by: Mathieu Othacehe Reviewed-by: Fabio Estevam

Re: [PATCH v3 3/3] Add imx93-var-som support

2024-01-03 Thread Fabio Estevam
Hi Mathieu, On Fri, Dec 29, 2023 at 8:17 AM Mathieu Othacehe wrote: > > From: Mathieu Othacehe > > 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

Re: [PATHv11 00/43] net/lwip: add lwip library for the network stack

2024-01-03 Thread Fabio Estevam
Hi Maxim, On Tue, Jan 2, 2024 at 2:31 PM Maxim Uvarov wrote: > > Small update here. I made changes without any board limit size changes. > Reordered patches to make them compile in sequence. I think I will do one > more clean up and more testing, > and after that will be able to send an updated

Re: [PATCH v3 0/3] Add imx93-var-som support

2023-12-29 Thread Fabio Estevam
Hi Mathieu, On Fri, Dec 29, 2023 at 8:17 AM Mathieu Othacehe wrote: > > From: Mathieu Othacehe > > Hello, > > This v3 adds support for binman and documents how to build and flash a > bootloader for the i.MX93 Variscite Symphony evaluation board. Nice work! Thanks for adding i.MX93 binman

Re: Regression: i.MX6ULL reset not working

2023-12-28 Thread Fabio Estevam
On Thu, Dec 28, 2023 at 2:23 PM Francesco Dolcini wrote: > Are you sure? After the related kconfig changes you'll have CONFIG_WDT > enabled, and with that the watchdog is started and you need to > periodically refresh it. At the moment the watchdog is not enabled at > boot and it is used only

Re: Regression: i.MX6ULL reset not working

2023-12-28 Thread Fabio Estevam
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 see any. The watchdog was being used originally too, but not via DM.

Re: Regression: i.MX6ULL reset not working

2023-12-28 Thread Fabio Estevam
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 broken - it does nothing. > > From a bisect the issue was introduced with commit 68dcbdd594d4 ("ARM: > imx: Add weak

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

2023-12-28 Thread Fabio Estevam
[Adding Peng] On Thu, Dec 28, 2023 at 12:20 PM Fabio Estevam wrote: > > Hi Mathieu, > > On Thu, Dec 28, 2023 at 11:54 AM Mathieu Othacehe > wrote: > > > For now, I am testing the bootloaders I produce using those > > instructions: > > https://variwiki.co

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

2023-12-28 Thread Fabio Estevam
Hi Mathieu, On Thu, Dec 28, 2023 at 11:54 AM Mathieu Othacehe wrote: > For now, I am testing the bootloaders I produce using those > instructions: > https://variwiki.com/index.php?title=Yocto_Build_U-Boot=mx93-yocto-mickledore-6.1.36_2.1.0-v1.1 > > I understand that it would be nice to have

Re: [PATCH v8 7/8] config: xea: Enable the SPL_FIT config option

2023-12-26 Thread Fabio Estevam
Please run /scripts/get_maintainer.pl and add the board maintainer on Cc. I have added Lukasz. On Tue, Dec 26, 2023 at 6:43 AM Venkatesh Yadav Abbarapu wrote: > > Enable the config SPL_FIT. Please improve the commit log by explaining why SPL_FIT is being enabled.

Re: fw_env: auto-detect NAND characteristics

2023-12-21 Thread Fabio Estevam
Hi Anthony, On Thu, Dec 21, 2023 at 1:18 PM Anthony Loiseau wrote: > > Hello, > > Please find attached a patch proposal which modifies fw_env so NAND chip Your patch did not come. Could you please send it via git send-email? Also, run ./scripts/get_maintainer.pl 0001-your.patch and Cc the

Pull request: Please pull u-boot-imx-master-20231220

2023-12-20 Thread Fabio Estevam
Hi Tom, Please pull these fixes from u-boot-imx, thanks. The following changes since commit 3ac22891cfc0dc6d8eec25d2b0fbdd2eb8f3d3ed: Merge tag 'u-boot-imx-20231214' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx (2023-12-15 08:22:31 -0500) are available in the Git repository at:

Pull request: Please pull u-boot-imx-next-20231220

2023-12-20 Thread Fabio Estevam
Hi Tom, Please pull this u-boot-imx material targetted for 'next', thanks. The following changes since commit f7655af980dc376783bbdac833e450a86e3255f4: Merge tag 'u-boot-amlogic-next-20231220' of https://source.denx.de/u-boot/custodians/u-boot-amlogic into next (2023-12-20 08:34:12 -0500)

Re: [PATCH v2 0/5] This series fixes various bugs in the phytec som_detection unit.

2023-12-20 Thread Fabio Estevam
On Wed, Dec 20, 2023 at 5:45 AM Yannic Moog wrote: > > > --- > Changes in v2: > - fixed accidental squashing of changes -> split into 2 separate patches > > --- > Yannic Moog (5): > board: phytec: imx8m_som_detection: change phytec_imx8m_detect return > type > board: phytec:

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

2023-12-20 Thread Fabio Estevam
On Wed, Dec 20, 2023 at 7:39 AM Andrejs Cainikovs wrote: > > From: Andrejs Cainikovs > > This series: > - Drops -u-boot.dtsi includes in apalis-imx8 and colibri-imx8x device > trees. This file is included automatically since quite some time now. > - Configures Toradex Colibri iMX8X SoM USB hub

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

2023-12-20 Thread Fabio Estevam
On Wed, Dec 20, 2023 at 8:45 AM Francesco Dolcini wrote: > Understood. Yes, this is some real work that someone should take up. > Just doing the sync will likely break everything now. Exactly. > At the moment the situation with i.MX8QXP/i.MX8QM is not as good as > i.MX8M* neither in U-Boot nor

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

2023-12-20 Thread Fabio Estevam
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 and reset signals are part of the USB HUB node [1], and we > would need to add such a driver to U-Boot to be able to properly >

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

2023-12-20 Thread Fabio Estevam
Hi Andrejs, 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 > --- a/arch/arm/dts/fsl-imx8qxp-colibri-u-boot.dtsi > +++

Re: [PATCH] ARM: dts: imx: Power off display output on Data Modul i.MX8M Mini/Plus eDM SBC

2023-12-18 Thread Fabio Estevam
On Mon, Dec 18, 2023 at 3:02 PM Marek Vasut wrote: > > Turn display connector power off on boot and reboot to prevent any > bogus start up sequence of any panel potentially attached to the > display connector. > > Signed-off-by: Marek Vasut Applied to u-boot-imx/master, thanks.

Re: [PATCH 1/2] ARM: imx: Force DRAM regulators into FPWM mode on DH i.MX8MP DHCOM SoM

2023-12-16 Thread Fabio Estevam
On Sat, Dec 16, 2023 at 2:43 AM Marek Vasut wrote: > > In case the Buck5 and Buck6 regulators which supply DRAM Vdd1 and Vdd2/Vddq > respectively operate in automatic PWM/PFM mode, the DRAM EDAC detects more > correctable errors than if the regulators operate in forced PWM only mode. > Force DRAM

Re: [PATCH 1/2] configs: imx8m{m, n, p}_venice_defconfig: add arch_misc_init

2023-12-16 Thread Fabio Estevam
On Thu, Dec 14, 2023 at 1:25 PM Tim Harvey wrote: > > Enable call to arch_misc_init in order to probe the CAAM driver. > > Signed-off-by: Tim Harvey Applied only this one to u-boot-imx next, thanks.

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

2023-12-16 Thread Fabio Estevam
On Mon, Nov 27, 2023 at 4:37 PM Tim Harvey wrote: > > Add the TPM device found on the GW72xx 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: imx8mm-venice-gw72xx: add TPM device

2023-12-16 Thread Fabio Estevam
On Mon, Nov 27, 2023 at 4:37 PM Tim Harvey wrote: > > Add the TPM device found on the GW72xx 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: imx7d-pico: Fix alias node indent

2023-12-16 Thread Fabio Estevam
Hi Marek, On Sat, Dec 16, 2023 at 2:36 AM Marek Vasut wrote: > > Switch from indent with spaces to indent with tabs. No functional change. > > Fixes: f8548ce0e093 ("imx7d-pico: Fix the name of the u-boot.dtsi file") > Signed-off-by: Marek Vasut Thanks for the patch, but this is already fixed

Re: [RFC PATCH] mxs: Don't enable 4P2 reg if mx28 is powered only from DCDC_BATT without 5V

2023-12-15 Thread Fabio Estevam
On Fri, Dec 15, 2023 at 1:20 PM Fabio Estevam wrote: > Ok, what about the patch below? > > https://patchwork.ozlabs.org/project/uboot/patch/20230703205700.9120-1-c...@londelec.com/ > > Is this still needed? I looked in the i.MX28 Reference Manual, and the one above looks a

Re: [PATCH] arm: dts: imx8mm_evk: Fix PMIC definition

2023-12-15 Thread Fabio Estevam
Hi Alexander, On Tue, Sep 26, 2023 at 3:55 AM Alexander Koch wrote: > > Newer revisions of the i.MX8MM EVK are equipped with a different PMIC than > the initial ones (PCA9540 instead of BD71847), which has already been > reflected in 4c07a21e5. This commit hash does not exist: $ git show

Re: [PATCH 2/2] ARM: dts: imx8mm-venice: prepare for dek blob encapsulation

2023-12-15 Thread Fabio Estevam
. Yes, please submit a v2 and I will queue this series and the TPM one to u-boot-imx next. Regards, Fabio Estevam

Re: [RFC PATCH] mxs: Don't enable 4P2 reg if mx28 is powered only from DCDC_BATT without 5V

2023-12-15 Thread Fabio Estevam
Hi Alan and Cody, On Mon, Oct 9, 2023 at 9:45 AM Alan Kay wrote: > The patch: > https://source.denx.de/u-boot/u-boot/-/commit/79230640cb4fb780e2be9bb9a47b31976b18cac4 > does fix the issue, please feel free to discard my patch, thank you. Ok, what about the patch below?

Re: [PATCH 1/1] Makefile: pass -ansi option to cmd_gen_envp

2023-12-15 Thread Fabio Estevam
Hi Sébastien, On Fri, Dec 15, 2023 at 10:26 AM Sébastien Szymanski wrote: > With the -ansi option, the C++ style comments make an error: > > include/generated/env.txt:1:1: error: C++ style comments are not allowed > in ISO C90 > 1 | // SPDX-License-Identifier: GPL-2.0+ > > I should have

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

2023-12-15 Thread Fabio Estevam
Hi Tom, Please pull these fixes from u-boot-imx, thanks. The following changes since commit 27089f1e4d11fd7e0619097b59258d0428cde2ac: Merge branch '2023-12-13-assorted-minor-fixes' (2023-12-13 09:57:28 -0500) are available in the Git repository at:

Re: [PATCH 1/1] Makefile: pass -ansi option to cmd_gen_envp

2023-12-15 Thread Fabio Estevam
Hi Sébastien, On Fri, Dec 15, 2023 at 8:14 AM Sébastien Szymanski wrote: > --- a/board/siemens/iot2050/iot2050.env > +++ b/board/siemens/iot2050/iot2050.env > @@ -1,4 +1,4 @@ > -// SPDX-License-Identifier: GPL-2.0+ > +/* SPDX-License-Identifier: GPL-2.0+ */ This is an unrelated change. > /*

Re: [PATCH 1/2] ARM: imx: Force DRAM regulators into FPWM mode on Data Modul i.MX8M Plus eDM SBC

2023-12-14 Thread Fabio Estevam
On Thu, Dec 7, 2023 at 2:51 PM Marek Vasut wrote: > > In case the Buck5 and Buck6 regulators which supply DRAM Vdd1 and Vdd2/Vddq > respectively operate in automatic PWM/PFM mode, the DRAM EDAC detects more > correctable errors than if the regulators operate in forced PWM only mode. > Force DRAM

Re: [PATCH] ARM: imx: Enable CAAM on DH i.MX8M Plus DHCOM

2023-12-14 Thread Fabio Estevam
On Fri, Dec 1, 2023 at 10:58 PM Marek Vasut wrote: > > Enable CAAM in U-Boot to make crypto available early in the boot process. > > This has a side-effect that in case an older kernel version contains a > broken CAAM initialization timeout code, initialization in bootloader > will help that old

Re: [PATCH] ARM: imx: Enable CAAM on Data Modul i.MX8M Mini/Plus eDM SBC

2023-12-14 Thread Fabio Estevam
On Fri, Dec 1, 2023 at 10:56 PM Marek Vasut wrote: > > Enable CAAM in U-Boot to make crypto available early in the boot process. > > This has a side-effect that in case an older kernel version contains a > broken CAAM initialization timeout code, initialization in bootloader > will help that old

Re: [PATCH] ddr: imx: Add 3600 MTps rate support

2023-12-14 Thread Fabio Estevam
On Fri, Dec 1, 2023 at 10:49 PM Marek Vasut wrote: > > Add PLL settings for DDR 3600 MTps . This is very similar to 3200 MTps > PLL setting, except the divider is not 9 but 8 . > > Signed-off-by: Marek Vasut Applied to u-boot-imx master, thanks.

Re: [PATCH] ddr: imx: Handle 3734 in addition to 3733 and 3732 MTps rates

2023-12-14 Thread Fabio Estevam
On Fri, Dec 1, 2023 at 10:48 PM Marek Vasut wrote: > > The new MX8M DDR tool 3.31 now generates a programming file which uses > data rate 3734 instead of 3733 or 3732 . Handle another rounding option . > > Signed-off-by: Marek Vasut Applied to u-boot-imx master, thanks.

Re: [PATCH] arm64: imx8mp: Inhibit DTC warning on DH i.MX8MP DHCOM rev.100 DTO

2023-12-14 Thread Fabio Estevam
t; it would also require a full new copy of the PHY node, i.e. > ethernet-phy@5 { ... reg = <5>; ... }, to avoid DTC warnings about > mismatch between node unit and reg value. The node unit in SoM DT is > ethernet-phy@7 { ... }; . > > This simpler approach avoids unnecessary dupl

Re: [PATCH 1/3] board: gateworks: venice: remove extra file

2023-12-14 Thread Fabio Estevam
On Thu, Dec 14, 2023 at 1:22 PM Tim Harvey wrote: > > Remove lpddr4_timing_imx8mm_512mb.c mistakenly committed > > Fixes: a1c711046b0d "(board: gateworks: venice: add imx8mm-gw7903 support)" > Signed-off-by: Tim Harvey Applied all to u-boot-imx master, thanks.

Re: [PATCH 3/3] imx8mp-venice: update DRAM config for 2000MHz

2023-12-14 Thread Fabio Estevam
Hi Tim, On Thu, Dec 14, 2023 at 2:09 PM Tim Harvey wrote: > Fabio, > > Thanks for asking. I suppose I should have put a Fixes on "[2/3] > imx8mp-venice: fix DRAM bus configuration" as that one does resolve a > real issue (patch 1 just removes a bogus file and patch 3 is a memory > speed

Re: [PATCH 2/2] ARM: dts: imx8mm-venice: prepare for dek blob encapsulation

2023-12-14 Thread Fabio Estevam
Hi Tim, On Thu, Dec 14, 2023 at 1:25 PM Tim Harvey wrote: > > Prepare for DEK blob encapsulation support through "dek_blob" command. > On ARMv8, u-boot runs in non-secure, thus cannot encapsulate a DEK blob > for encrypted boot. > > The DEK blob is encapsulated by OP-TEE through a trusted

Re: [PATCH 3/3] imx8mp-venice: update DRAM config for 2000MHz

2023-12-14 Thread Fabio Estevam
Hi Tim, On Thu, Dec 14, 2023 at 1:22 PM Tim Harvey wrote: > > The imx8mp venice boards can support 2000Mhz DRAM. > Update the DRAM config to support this. > > Signed-off-by: Tim Harvey Do you consider this series material for 2024.01 or 2024.04?

Pull request: Please pull u-boot-imx-next-20231214

2023-12-14 Thread Fabio Estevam
load Benjamin Szőke (1): pico-imx7d: add baseboard SD card boot detect Cem Tenruh (1): arm: dts: imx8mm-phyboard-polis-rdk: Sync dts files with kernel Fabio Estevam (14): imx8qm_dmsse20a1: Improve SPL memory configuration imx7d-sdb: Sync devicetree with kernel 6.5-rc1

Re: [PATCH] arm64: imx8mp: Enable TCP, IPv6, wget on Data Modul i.MX8M eDM SBC

2023-12-14 Thread Fabio Estevam
On Wed, Nov 22, 2023 at 8:38 PM Marek Vasut wrote: > > Enable support for TCP protocol, wget, and IPv6 on this platform. > The former two allow users download payload into the U-Boot from > a web server, which may be more convenient or easier to set up > than TFTP server. The later is enabled to

Re: [PATCH 2/2] arm64: imx8mp: Enable TCP, IPv6, wget on DH i.MX8MP DHCOM

2023-12-14 Thread Fabio Estevam
On Sat, Nov 4, 2023 at 1:32 PM Marek Vasut wrote: > > Enable support for TCP protocol, wget, and IPv6 on this platform. > The former two allow users download payload into the U-Boot from > a web server, which may be more convenient or easier to set up > than TFTP server. The later is enabled to

Re: [PATCH 1/2] arm: imx6: Enable TCP, IPv6, wget on DH i.MX6 DHCOM

2023-12-14 Thread Fabio Estevam
On Sat, Nov 4, 2023 at 1:32 PM Marek Vasut wrote: > > Enable support for TCP protocol, wget, and IPv6 on this platform. > The former two allow users download payload into the U-Boot from > a web server, which may be more convenient or easier to set up > than TFTP server. The later is enabled to

Re: [PATCH 1/1] pico-imx7d: add baseboard SD card boot detect

2023-12-13 Thread Fabio Estevam
On Tue, Nov 7, 2023 at 7:16 PM wrote: > > From: Benjamin Szőke > > Technexion PICO-IMX7 SoM is supporting USDHC3 (eMMC or micro SD on SoM) > and USDHC1 (SD on carrier board) to use on any carrier board like > PICO-NYMPH. Based on the U-Boot version from Technexion it adds > baseboard SD card

Re: [PATCH] imx: imx-hab: Select SPL_DRIVERS_MISC in the SPL case

2023-12-13 Thread Fabio Estevam
On Mon, Dec 11, 2023 at 10:46 AM Fabio Estevam wrote: > > From: Fabio Estevam > > Selecting CONFIG_IMX_HAB=y on a SPL target, such as apalis_imx6_defconfig, > for example, leads to the following build error: > > /usr/bin/arm-linux-gnueabihf-ld.bfd: arch/arm/mach-i

Re: [PATCH] tools: mxsboot: pre-fill buffer with 0xff, not 0

2023-12-13 Thread Fabio Estevam
On Sun, Dec 3, 2023 at 9:24 PM Alessandro Rubini wrote: > > The tool works for me, with imx28 and NAND memory, but the resulting > blocks are reported as bad, both by u-boot and the kernel. > > This makes it impossible to erase from Linux (for an upgrade without > console access, for example --

Re: [PATCH v2] arm: mxs: Clear CPSR V bit to activate low vectors

2023-12-13 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:52 PM Marek Vasut wrote: > > The MXS starts with CPSR V bit set, which makes the CPU jump to high vectors > in case of an exception. Those high vectors are located at 0x, which > is where the BootROM exception table is located as well. U-Boot should handle >

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] 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 > --- >

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 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

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] 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 autol

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`

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] 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)

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

2023-12-13 Thread Fabio Estevam
has the EC configuration option > (onboard ethernet PHY), it also has a dedicated crystal/oscillator. > So in all cases, there is no need to enable the RGMII TX clk output. > > This follows a similar change introduced by Fabio Estevam: > Link: > https://lore.kernel.org/u-boot/2

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] 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': &

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

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,

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

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 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 commen

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] 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] 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 >

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] 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 U

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

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 sam

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

2023-12-12 Thread Fabio Estevam
Hi Adam, On Tue, Dec 12, 2023 at 2:05 PM Adam Ford wrote: > Fabio / Stefan, > > Is there any chance this series can be applied to imx-next? Yes, I will start collecting patches for u-boot-imx next soon.

Re: Pull request: please pull u-boot-imx-20231212

2023-12-12 Thread Fabio Estevam
Hi Tom, On Tue, Dec 12, 2023 at 1:20 PM Fabio Estevam wrote: > From: Andrejs Cainikovs (1): > apalis-imx8: add USBH_EN gpio hog This one did not apply cleanly, and I messed up the From: line (it contains a double From:) Could you please fix it while applying? Thanks

Re: [PATCH] tqma6: Fix DDR configuration

2023-12-12 Thread Fabio Estevam
formation on this topic. I think someone at NXP who is close to the i.MX6 DDR controller design would be able to explain it. I am adding Peng Fan on Cc just in case. Or maybe you need to enter a ticket to the NXP folks. Regards, Fabio Estevam

Pull request: please pull u-boot-imx-20231212

2023-12-12 Thread Fabio Estevam
Fabio Estevam (4): imx8mp_evk: Select CONFIG_NET_RANDOM_ETHADDR pico-pi-imx7d: Convert to watchdog driver model pico-pi-imx6ul: Connvert to DM_SERIAL imx7s-warp-u-boot: Fix aliases and chosen nodes indentation From: Andrejs Cainikovs (1): apalis

Re: [PATCH] imx8mp_evk: Select CONFIG_NET_RANDOM_ETHADDR

2023-12-12 Thread Fabio Estevam
On Thu, Oct 26, 2023 at 9:16 AM Fabio Estevam wrote: > > From: Fabio Estevam > > On an early revision of the imx8mp-evk that I have access to, > the MAC addresses fuses are not programmed, causing failure to bring > the Ethernet interfaces. > > Fix th

Re: [PATCH] pico-pi-imx7d: Convert to watchdog driver model

2023-12-12 Thread Fabio Estevam
On Thu, Oct 26, 2023 at 6:02 PM Fabio Estevam wrote: > > From: Fabio Estevam > > Commit 68dcbdd594d4 ("ARM: imx: Add weak default reset_cpu()") caused > the 'reset' command in U-Boot to not cause a board reset. > > Fix it by switching to the watchdog d

Re: [PATCH 1/2] pico-pi-imx6ul: Connvert to DM_SERIAL

2023-12-12 Thread Fabio Estevam
On Sat, Nov 4, 2023 at 6:47 PM Fabio Estevam wrote: > > From: Fabio Estevam > > The conversion to DM_SERIAL is mandatory, so select this option. > > Signed-off-by: Fabio Estevam Applied, thanks.

Re: [PATCH 1/2] imx7s-warp-u-boot: Fix aliases and chosen nodes indentation

2023-12-12 Thread Fabio Estevam
On Mon, Nov 6, 2023 at 1:33 PM Fabio Estevam wrote: > > From: Fabio Estevam > > The aliases and chosen nodes are currently indented using spaces. > > Fix them to use the standard tab indentation. > > Signed-off-by: Fabio Estevam Applied, thanks.

Re: [PATCH v1] apalis-imx8: add USBH_EN gpio hog

2023-12-12 Thread Fabio Estevam
On Fri, Oct 20, 2023 at 12:25 PM Andrejs Cainikovs wrote: > > From: Andrejs Cainikovs > > USB host interface is not working on some Apalis Toradex carrier > boards with Apalis iMX8 SoM. This is due to USBH_EN pin, which > powers USB peripherals, having a strong pull-down on some boards, > and a

Re: [PATCH] arm: dts: imx8mn-var-som: Fix broken EEPROM read

2023-12-12 Thread Fabio Estevam
On Tue, Oct 17, 2023 at 5:58 PM Hugo Villeneuve wrote: > > From: Hugo Villeneuve > > On branch WIP/17Oct2023, the EEPROM can no longer be read: > > U-Boot 2023.10-latest (Oct 17 2023 - 15:53:43 -0400) > CPU: Freescale i.MX8MNano Quad rev1.0 at 1200 MHz > Reset cause: POR >

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

2023-12-12 Thread Fabio Estevam
On Tue, Dec 12, 2023 at 8:48 AM Francesco Dolcini wrote: > > 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

Re: [PATCH] tqma6: Fix DDR configuration

2023-12-12 Thread Fabio Estevam
On Fri, Nov 17, 2023 at 1:50 PM Miquel Raynal wrote: > > Initially investigating a Linux network issue causing a lot of drop and > poor network performances on a custom system based on a TQMA6A module > (based on an iMX6Q), [1st link below]. > > I eventually correlated my observations with a

Re: [PATCH] board: gateworks: venice: add fixup for GW73xx-F+

2023-12-12 Thread Fabio Estevam
On Wed, Oct 18, 2023 at 3:33 PM Tim Harvey wrote: > > GW73xx-F board revision switched back to the original PCIe switch due to > part availability. > > Signed-off-by: Tim Harvey Applied, thanks.

<    1   2   3   4   5   6   7   8   9   10   >