[PATCH] Add imx93-var-som support

2023-12-09 Thread 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 --- arch/arm/dts/Makefile |3 +- .../dts/imx93-var-som-symphony-u-boot.dtsi

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

2023-12-28 Thread Mathieu Othacehe
Hello Fabio, Thanks for the review! > It would also be helpful to add doc/board/variscite/imx93_var_som.rst > that explains > how to build U-Boot for this board, how to get the firmware, ATF, > binaries, etc, and how to flash it to the boot medium. For now, I am testing the bootloaders I produ

[PATCH v2] Add imx93-var-som support

2023-12-28 Thread Mathieu Othacehe
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 --- v1: https://lists.denx.de/pipermail/u-boot/2023-December/539825.html Changes in

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

2023-12-29 Thread Mathieu Othacehe
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. Thanks, Mathieu v2: https://lists.denx.de/pipermail/u-boot/2023-December/542001.html Mathieu Othacehe (3): spl: binman

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

2023-12-29 Thread Mathieu Othacehe
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 --- common/spl/Kconfig | 2 +- common/spl/Kconfig.tpl | 2 +- common/spl/Kconfig.vpl | 2 +- 3 files

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

2023-12-29 Thread Mathieu Othacehe
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 --- arch/arm/dts/imx93-u-boot.dtsi | 88 ++ arch/arm/mach-imx/Makefile | 22 - 2

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

2023-12-29 Thread Mathieu Othacehe
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 --- arch/arm/dts/Makefile |3 +- .../dts/imx93-var-som

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

2024-01-04 Thread Mathieu Othacehe
Hello Fabio, > I applied this patch against U-Boot's next branch. > > I had to manually add: I was testing on 2023.10. I rebased the series on `next` on my side. I had to do something similar to fb2bdc4efcb in order to fix booting. > $ git am ~/Downloads/Add-imx93-var-som-support.patch > Apply

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

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe Hello, This v4 rebases the series on top of the next branch and fixes Fabio's remarks. Thanks, Mathieu v3: https://lists.denx.de/pipermail/u-boot/2023-December/542111.html Mathieu Othacehe (3): spl: binman: Disable u_boot_any symbols for i.MX93 boards mac

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

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe This is extending commit 6516c9b349b3 ("spl: binman: Disable u_boot_any symbols for i.MX8M boards") to i.MX93 boards. Reviewed-by: Fabio Estevam Signed-off-by: Mathieu Othacehe --- common/spl/Kconfig | 2 +- common/spl/Kconfig.tpl | 2 +- common/spl/Kconf

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

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe Add dedicated Makefile targets for the i.MX93 and a new imx93-u-boot.dtsi device-tree to create binman images. Reviewed-by: Fabio Estevam Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93-u-boot.dtsi | 88 ++ arch/arm/mach-imx

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

2024-01-04 Thread Mathieu Othacehe
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 --- arch/arm/dts/Makefile |3 +- .../dts/imx93-var-som

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

2024-01-04 Thread Mathieu Othacehe
Hello, > https://source.denx.de/u-boot/custodians/u-boot-imx/-/jobs/764727 > > Take a look at the xilinx_zynqmp_virt and imx8mm-cl-iot-gate errors, > for example. Due to multi-threaded testing the output is a bit hard to read but I think that those configs are working fine. The faulty config s

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

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe Hello, This v5 fixes imx93_evk compilation by enabling binman support for this board. Thanks, Mathieu v4: https://lists.denx.de/pipermail/u-boot/2024-January/542515.html Mathieu Othacehe (4): spl: binman: Disable u_boot_any symbols for i.MX93 boards mach-imx: Add

[PATCH v5 1/4] spl: binman: Disable u_boot_any symbols for i.MX93 boards

2024-01-04 Thread Mathieu Othacehe
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 --- common/spl/Kconfig | 2 +- common/spl/Kconfig.tpl | 2 +- common/spl/Kconfig.vpl | 2 +- 3 files

[PATCH v5 2/4] mach-imx: Add i.MX93 binman support.

2024-01-04 Thread Mathieu Othacehe
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 --- arch/arm/dts/imx93-u-boot.dtsi | 88 arch/arm/mach-imx/Makefile | 22

[PATCH v5 3/4] imx9: imx93_evk: Add binman support.

2024-01-04 Thread Mathieu Othacehe
From: Mathieu Othacehe Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 2 + arch/arm/mach-imx/imx9/Kconfig | 1 + configs/imx93_11x11_evk_defconfig| 2 + configs/imx93_11x11_evk_ld_defconfig | 2 + doc/board/nxp/imx93_11x11_evk.rst

[PATCH v5 4/4] Add imx93-var-som support

2024-01-04 Thread Mathieu Othacehe
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 --- arch/arm/dts/Makefile |3 +- .../dts/imx93-var-som

[PATCH v6 0/4] Add imx93-var-som support

2024-01-08 Thread Mathieu Othacehe
Hello, This v6 fixes CI checks on IMX9 by allowing binman to keep working even though some binary blobs are absent. Thanks, Mathieu v5: https://lists.denx.de/pipermail/u-boot/2024-January/542579.html Mathieu Othacehe (4): spl: binman: Disable u_boot_any symbols for i.MX93 boards mach-imx

[PATCH v6 1/4] spl: binman: Disable u_boot_any symbols for i.MX93 boards

2024-01-08 Thread Mathieu Othacehe
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 --- common/spl/Kconfig | 2 +- common/spl/Kconfig.tpl | 2 +- common/spl/Kconfig.vpl | 2 +- 3 files

[PATCH v6 2/4] mach-imx: Add i.MX93 binman support.

2024-01-08 Thread Mathieu Othacehe
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 --- arch/arm/dts/imx93-u-boot.dtsi | 88 arch/arm/mach-imx/Makefile | 27

[PATCH v6 3/4] imx9: imx93_evk: Add binman support.

2024-01-08 Thread Mathieu Othacehe
From: Mathieu Othacehe Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93-11x11-evk-u-boot.dtsi | 2 + arch/arm/mach-imx/imx9/Kconfig | 1 + configs/imx93_11x11_evk_defconfig| 2 + configs/imx93_11x11_evk_ld_defconfig | 2 + doc/board/nxp/imx93_11x11_evk.rst

[PATCH v6 4/4] Add imx93-var-som support

2024-01-08 Thread Mathieu Othacehe
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 --- arch/arm/dts/Makefile |3 +- .../dts/imx93-var-som

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

2024-01-08 Thread Mathieu Othacehe
Hello, > Please run a CI job for your series at https://github.com/u-boot/u-boot/pulls > > After it passes, then please submit a v6. 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 sub

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

2024-01-08 Thread Mathieu Othacehe
Hello, > I will also wait for the Gitbug CI job to finish: > https://github.com/u-boot/u-boot/pull/457 > > Also, it seems you generated v6 against U-Boot master instead of U-Boot next? Right, because I wasn't sure CI was working for pull requests on the `next` branch of Github. It looks like it

[PATCH] Add Phytec i.MX93 support

2024-01-17 Thread Mathieu Othacehe
Add support for the Phytec i.MX93 Segin evaluation kit. The SoM consists of an NXP i.MX93 dual A55 CPU. The SoM is mounted on a Phytec Segin SBC. Signed-off-by: Mathieu Othacehe --- arch/arm/dts/Makefile |3 +- arch/arm/dts/imx93-phycore-segin-u-boot.dtsi | 274

Re: [PATCH] Add Phytec i.MX93 support

2024-01-18 Thread Mathieu Othacehe
Hi, Thanks for the review! > s/imx93_phycore/phycore_imx93 > > To fit into existing PHYTEC boards already in tree. I deliberately picked that order so that it is aligned with most imx boards already supported by u-boot. The supported imx93 boards follow that pattern: - imx93_var_som - imx93_

Re: [PATCH] Add Phytec i.MX93 support

2024-01-24 Thread Mathieu Othacehe
Hello Yannic, > As a heads-up: you need to rebase as am62 (doc) got applied by Tom. Noted. > Is the trusted-firmware-a upstream version working? If so, please use that > instead. It is but only on the master branch, so it might be better to stick to the nxp-imx repository until a lts release

[PATCH v2] Add Phytec i.MX93 support

2024-01-24 Thread Mathieu Othacehe
Add support for the Phytec i.MX93 Segin evaluation kit. The SoM consists of an NXP i.MX93 dual A55 CPU. The SoM is mounted on a Phytec Segin SBC. Signed-off-by: Mathieu Othacehe --- Hello, This new revision takes Yannic and Primoz comments into account. I went for a configuration file that is

Re: [PATCH v2] Add Phytec i.MX93 support

2024-01-25 Thread Mathieu Othacehe
Hello, Thanks for having a look! > Here are my findings: > > - FEC ethernet doesn't work > - distroboot doesn't work > > Did you expirience the same? I have not tested Ethernet ports on u-boot yet. I removed distroboot support as you proposed later in the review. Note that my evaluation board

[PATCH v3] board: phytec: phycore-imx93: Add phyBOARD-Segin-i.MX93 support

2024-01-25 Thread Mathieu Othacehe
Add initial support for the PHYTEC phyBOARD-Segin-i.MX93 board based on the PHYTEC phyCORE-i.MX93 SoM. Supported features: - 1GB LPDDR4 RAM - eMMC - external SD - debug UART - watchdog Signed-off-by: Mathieu Othacehe --- Hello, This new revision fixes the remarks of Primoz. It uses

Re: [PATCH v3] board: phytec: phycore-imx93: Add phyBOARD-Segin-i.MX93 support

2024-01-30 Thread Mathieu Othacehe
Hello, > Please remove findfdt script. > > Not needed when you set fdt_file to CONFIG_DEFAULT_FDT_FILE above. The reason I used findfdt is that CONFIG_DEFAULT_FDT_FILE is a string so, we end up with: --8<---cut here---start->8--- fdt_file="oftree" --8<--

Re: [PATCH v3] board: phytec: phycore-imx93: Add phyBOARD-Segin-i.MX93 support

2024-01-30 Thread Mathieu Othacehe
Hey, > Can you re-check, please? > > Maybe check your include/generated/environment.h? Thanks for checking. It is strange that you do not reproduce that one. My include/generated/environment.h looks like: --8<---cut here---start->8--- #define CONFIG_EXTRA_E

Re: [PATCH v3] board: phytec: phycore-imx93: Add phyBOARD-Segin-i.MX93 support

2024-01-30 Thread Mathieu Othacehe
> And what awk do you both have? environment.h is generated via > scripts/env2string.awk On my side: mathieu@meije ~/u-boot [env]$ awk --version GNU Awk 5.2.1, API 3.2, PMA Avon 8-g1 and I have a similar result with: mathieu@FRMONPC1176:~$ awk --version GNU Awk 5.0.1, API: 2.0 (GNU MPFR 4.0.

Re: [PATCH v3] board: phytec: phycore-imx93: Add phyBOARD-Segin-i.MX93 support

2024-01-30 Thread Mathieu Othacehe
> I am based on latest master 6faba41927bd (tag: v2024.04-rc1) That was it. I rebased from 043ca8c8a9b to 6faba41927bd and I now have the same behaviour as you. I cannot find which commit fixed the situation in that interval though. Preparing the v4, Thanks, Mathieu

Re: [PATCH] imx9: clock: Fix board_interface_eth_init for FEC

2024-01-30 Thread Mathieu Othacehe
Hello, > Fixes: d5eae216d833 ("net: dwc_eth_qos: Add board_interface_eth_init() for > i.MX93") > Signed-off-by: Primoz Fiser I confirm that it fixes Ethernet connection when using FEC as a primary port on the phyBOARD-Segin-i.MX93. Tested-by: Mathieu Othacehe Mathieu

Re: [PATCH v3] board: phytec: phycore-imx93: Add phyBOARD-Segin-i.MX93 support

2024-01-30 Thread Mathieu Othacehe
Hey, > And see if it fixes Ethernet on the board? Yes, it works! That allowed me to check that netboot was working as well on my patch. Thanks, Mathieu

[PATCH v4] board: phytec: phycore-imx93: Add phyBOARD-Segin-i.MX93 support

2024-01-30 Thread Mathieu Othacehe
Add initial support for the PHYTEC phyBOARD-Segin-i.MX93 board based on the PHYTEC phyCORE-i.MX93 SoM. Supported features: - 1GB LPDDR4 RAM - eMMC - external SD - FEC Ethernet - debug UART - watchdog Signed-off-by: Mathieu Othacehe --- Hello, This new revision fixes the remarks of Primoz. The

Re: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM

2024-03-28 Thread Mathieu Othacehe
Hello, > Mathieu: please help test the boards you maintain when you have time. I have tried both imx93_var_som and imx93-phyboard-segin configurations. Compilation works but I only get garbage on the UART on those two different boards. I will try to conduct further investigations later on, bu

Re: [PATCH v4 0/5] imx93: Conver to OF_UPSTREAM

2024-04-07 Thread Mathieu Othacehe
> Any comments? Yes, see: https://lists.denx.de/pipermail/u-boot/2024-March/549531.html Thanks, Mathieu

Re: [PATCH v6 5/5] imx93: convert to OF_UPSTREAM

2024-04-14 Thread Mathieu Othacehe
Hello, I was able to test this series on the imx93-phyboard-segin. Up to that specific commit no issue to report. That specific commit however, using an updated dts subtree at 2639a0e2fd, fails to boot. There is no more garbage on the UART, but the boot stops after BL31 is started: U-Boot SPL

Re: [PATCH v6 5/5] imx93: convert to OF_UPSTREAM

2024-04-14 Thread Mathieu Othacehe
Hello, > Which dts upstream tag are u using? You will find it in my previous email. The command I use is: ./dts/update-dts-subtree.sh pull 2639a0e2fdbdb7f2dd351d06afe54c895adf9d9d > Do you have time to debug the issue? I not have the board, so not sure what > happens here. Not at the moment

Re: [PATCH v6 0/5] imx93: Conver to OF_UPSTREAM

2024-04-15 Thread Mathieu Othacehe
Hey, > Do I need to switch back to only convert i.MX93 11x11 EVK to > OF_UPSTREM? That could be an idea. I can take over the switch for the other devices when I have some time to perform the debugging. Mathieu

Re: [PATCH] imx93: Move SoC and lifeclycle information to debug level

2024-04-16 Thread Mathieu Othacehe
Hello, > The following information printed on every boot is not very > helpful for the users: > > SOC: 0xa0009300 > LC: 0x40040 > > Move them to debug() level. > > Signed-off-by: Fabio Estevam Reviewed-by: Mathieu Othacehe Thanks, Mathieu

imx93-var-som: ahab: U-boot is hanging

2024-02-06 Thread Mathieu Othacehe
Hello, I am using the imx93-var-som_defconfig configuration on commit v2024.04-rc1. When producing signed or unsigned images on an unclosed board everything works fine. However, once the board is closed (ahab_close command is issued), u-boot hangs this way: --8<---cut here-

Re: imx93-var-som: ahab: U-boot is hanging

2024-02-07 Thread Mathieu Othacehe
Hello, I performed a bisection and was able to fix that issue by reverting three commits on v2024.04-rc1: 0585c28fda1007e4a90dea5f70723cff0b63dd98 eed8294b75a5908a486945ff6655d4dc9aae5fed ee23d7466c77d01ee63efb76db2c5fd3b7cdd6f7 It is still unclear to me how those FEAT_HAFDBS related commits c

[PATCH 0/2] imx93_var_som: Enable AHAB support

2024-02-08 Thread Mathieu Othacehe
applied in the meantime I guess. Thanks, Mathieu Mathieu Othacehe (2): board: imx93_var_som: Probe ELE MU configs: imx93_var_som: Enable AHAB support board/variscite/imx93_var_som/spl.c | 5 +++-- configs/imx93_var_som_defconfig | 1 + 2 files changed, 4 insertions(+), 2 deletions

[PATCH 1/2] board: imx93_var_som: Probe ELE MU

2024-02-08 Thread Mathieu Othacehe
-by: Mathieu Othacehe --- board/variscite/imx93_var_som/spl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/variscite/imx93_var_som/spl.c b/board/variscite/imx93_var_som/spl.c index 502e599b91a..0965a2de996 100644 --- a/board/variscite/imx93_var_som/spl.c +++ b

[PATCH 2/2] configs: imx93_var_som: Enable AHAB support

2024-02-08 Thread Mathieu Othacehe
Enable AHAB support in the imx93_var_som configuration. Signed-off-by: Mathieu Othacehe --- configs/imx93_var_som_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx93_var_som_defconfig b/configs/imx93_var_som_defconfig index cc0c5a79bc1..14922f2a3e2 100644 --- a/configs

Re: [PATCH 0/2] imx93_var_som: Enable AHAB support

2024-02-09 Thread Mathieu Othacehe
Hello Fabio, > Just wanted to make sure I understand: if someone programs the fuse to > close the board, > it will fail to boot U-Boot proper and this means that the board is > bricked. Is this correct? No. I fused the board and with this series applied and the three HAFDBS commits reverted, I

[PATCH v2 0/3] imx93_var_som: Enable AHAB support

2024-02-09 Thread Mathieu Othacehe
Hello, In this v2, I moved imx93_probe_mu to a dedicated header. Thanks, Mathieu Changelog: v2: Move imx93_probe_mu declaration to a header file Link to the previous revision: v1: https://lists.denx.de/pipermail/u-boot/2024-February/545528.html Mathieu Othacehe (3): imx93: Use a header for

[PATCH v2 1/3] imx93: Use a header for imx9_probe_mu declaration

2024-02-09 Thread Mathieu Othacehe
Put imx9_probe_mu declaration in a new mu.h header file. Signed-off-by: Mathieu Othacehe --- arch/arm/include/asm/arch-imx9/mu.h | 13 + board/freescale/imx93_evk/spl.c | 2 +- board/phytec/phycore_imx93/spl.c| 2 +- 3 files changed, 15 insertions(+), 2 deletions

[PATCH v2 2/3] board: imx93_var_som: Probe ELE MU

2024-02-09 Thread Mathieu Othacehe
-by: Mathieu Othacehe --- board/variscite/imx93_var_som/spl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/variscite/imx93_var_som/spl.c b/board/variscite/imx93_var_som/spl.c index 502e599b91a..e6db4eb562b 100644 --- a/board/variscite/imx93_var_som/spl.c +++ b

[PATCH v2 3/3] configs: imx93_var_som: Enable AHAB support

2024-02-09 Thread Mathieu Othacehe
Enable AHAB support in the imx93_var_som configuration. Signed-off-by: Mathieu Othacehe --- configs/imx93_var_som_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/imx93_var_som_defconfig b/configs/imx93_var_som_defconfig index cc0c5a79bc1..14922f2a3e2 100644 --- a/configs

Re: [PATCH 1/2] board: imx93_var_som: Probe ELE MU

2024-02-09 Thread Mathieu Othacehe
Hello, > Please put this prototype into a header file. > > Currently, it appears in 3 imx93 spl.c files. Fixed in the v2 :) Thanks, Mathieu

Re: [PATCH 0/2] imx93_var_som: Enable AHAB support

2024-02-09 Thread Mathieu Othacehe
> This is what I am concerned about: this hang causes the board to brick > and can no > longer be recovered since it has the fuse programmed to close the device, > right? Once the board is closed you can only boot from signed images. If the signed image is not working (hanging during relocation

[PATCH] usb: ehci-mx6: Add i.MX93 support

2024-02-19 Thread Mathieu Othacehe
i.MX93 uses the same USB IP as i.MX8MM. It can then reuse the ehci-mx6 driver. Signed-off-by: Mathieu Othacehe --- drivers/usb/host/Kconfig| 6 +++--- drivers/usb/host/ehci-mx6.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/Kconfig b/drivers/usb

[PATCH v2] usb: ehci-mx6: Add i.MX93 support

2024-02-19 Thread Mathieu Othacehe
i.MX93 uses the same USB IP as i.MX8MM. It can then reuse the ehci-mx6 driver. Reviewed-by: Marek Vasut Signed-off-by: Mathieu Othacehe --- drivers/usb/host/Kconfig| 6 +++--- drivers/usb/host/ehci-mx6.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb

Re: [PATCH v2] usb: ehci-mx6: Add i.MX93 support

2024-02-19 Thread Mathieu Othacehe
Hello Fabio, Thanks for having a look. > I assume you will add USB support to some i.MX93 boards later. Yes that's the plan for the boards that I own: imx93_var_som and imx93-phyboard-segin :) Mathieu

[PATCH 5/5] configs: imx93_var_som: Add EFI support.

2024-02-20 Thread Mathieu Othacehe
Enable the `gpt` command and EFI partitions support. Signed-off-by: Mathieu Othacehe --- configs/imx93_var_som_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configs/imx93_var_som_defconfig b/configs/imx93_var_som_defconfig index 60751a77037..a3f98abc161 100644

[PATCH 2/5] arm: dts: imx93-var-som-symphony: Add USB support.

2024-02-20 Thread Mathieu Othacehe
Enable both usbotg1 and usbotg2 ports. Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93-var-som-symphony.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/dts/imx93-var-som-symphony.dts b/arch/arm/dts/imx93-var-som-symphony.dts index a67bd005e54

[PATCH 3/5] configs: imx93_var_som: Add USB support.

2024-02-20 Thread Mathieu Othacehe
Enable the `usb` command and some USB drivers. Signed-off-by: Mathieu Othacehe --- configs/imx93_var_som_defconfig | 9 + 1 file changed, 9 insertions(+) diff --git a/configs/imx93_var_som_defconfig b/configs/imx93_var_som_defconfig index 71cd016d332..0aab222c7c1 100644 --- a/configs

[PATCH 1/5] arm: dts: imx93: Add USB support.

2024-02-20 Thread Mathieu Othacehe
Copied from: https://lore.kernel.org/linux-devicetree/20240131114324.3722428-6-xu.yan...@nxp.com/ Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93.dtsi | 58 + 1 file changed, 58 insertions(+) diff --git a/arch/arm/dts/imx93.dtsi b/arch/arm/dts

[PATCH 4/5] configs: imx93_var_som: Add fastboot support.

2024-02-20 Thread Mathieu Othacehe
Enable the `fastboot` command. Signed-off-by: Mathieu Othacehe --- configs/imx93_var_som_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/imx93_var_som_defconfig b/configs/imx93_var_som_defconfig index 0aab222c7c1..60751a77037 100644 --- a/configs

[PATCH 0/5] imx93_var_som: Add USB support.

2024-02-20 Thread Mathieu Othacehe
Hello, This series adds USB support for the imx93_var_som board. It depends on: https://lists.denx.de/pipermail/u-boot/2024-February/546203.html It also adds support for fastboot and EFI partitions. Thanks, Mathieu Mathieu Othacehe (5): arm: dts: imx93: Add USB support. arm: dts: imx93

[PATCH 0/2] Fix OP-TEE support

2024-02-26 Thread Mathieu Othacehe
Hello, This series fixes OP-TEE support on all imx9 boards by starting the ELE RNG and adding the optional tee.bin binary to the ATF container. Thanks, Mathieu Mathieu Othacehe (2): imx9: Fix OP-TEE support tools: imx9_image: Reword warning message. arch/arm/mach-imx/imx9/container.cfg

[PATCH 1/2] imx9: Fix OP-TEE support

2024-02-26 Thread Mathieu Othacehe
This fixes OP-TEE support by: - Adding tee.bin to container.cfg - Starting ELE RNG in SPL Signed-off-by: Mathieu Othacehe --- arch/arm/mach-imx/imx9/container.cfg | 3 ++- board/freescale/imx93_evk/spl.c | 7 +++ board/phytec/phycore_imx93/spl.c | 7 +++ board/variscite

[PATCH 2/2] tools: imx9_image: Reword warning message.

2024-02-26 Thread Mathieu Othacehe
If the optional `tee.bin` OP-TEE binary is missing, the image will still be functional. Adapt the warning message accordingly. Signed-off-by: Mathieu Othacehe --- tools/imx9_image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/imx9_image.sh b/tools/imx9_image.sh

[PATCH] imx9: Update to mx93 A1 chip revision.

2024-02-26 Thread Mathieu Othacehe
Use the latest, mx93a1-ahab-container.img that is compatible with the i.MX93 A1 revision. Using mx93a1-ahab-container.img on an A0 chip and conversely causes a boot failure without any traces on the UART. Signed-off-by: Mathieu Othacehe --- arch/arm/mach-imx/imx9/imximage.cfg | 2 +- doc

[PATCH 3/3] configs: imx93-phyboard-segin: Add fastboot support.

2024-03-18 Thread Mathieu Othacehe
Enable the `fastboot` command. Signed-off-by: Mathieu Othacehe --- configs/imx93-phyboard-segin_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/imx93-phyboard-segin_defconfig b/configs/imx93-phyboard-segin_defconfig index 5acb987b817..44ab6f7073b 100644 --- a

[PATCH 1/3] arm: dts: imx93-phyboard-segin: Add USB support.

2024-03-18 Thread Mathieu Othacehe
Enable both usbotg1 and usbotg2 ports. Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93-phyboard-segin.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/imx93-phyboard-segin.dts b/arch/arm/dts/imx93-phyboard-segin.dts index 85fb188b057..acf307a3192

[PATCH 0/3] imx93-phyboard-segin: Add USB support.

2024-03-18 Thread Mathieu Othacehe
Hello, This series adds USB support to imx93-phyboard-segin, in the same way as it has been done for imx93_var_som here: https://lists.denx.de/pipermail/u-boot/2024-February/546301.html Thanks, Mathieu Mathieu Othacehe (3): arm: dts: imx93-phyboard-segin: Add USB support. configs: imx93

[PATCH 2/3] configs: imx93-phyboard-segin: Add USB support.

2024-03-18 Thread Mathieu Othacehe
Enable the `usb` command and some USB drivers. Signed-off-by: Mathieu Othacehe --- configs/imx93-phyboard-segin_defconfig | 8 1 file changed, 8 insertions(+) diff --git a/configs/imx93-phyboard-segin_defconfig b/configs/imx93-phyboard-segin_defconfig index 24f9bd553aa..5acb987b817

[PATCH v2 0/3] imx93-phyboard-segin: Add USB support.

2024-03-21 Thread Mathieu Othacehe
Hello, This series adds USB support to imx93-phyboard-segin, in the same way as it has been done for imx93_var_som here: https://lists.denx.de/pipermail/u-boot/2024-February/546301.html Thanks, Mathieu Changelog: v1: https://lists.denx.de/pipermail/u-boot/2024-March/548613.html Mathieu

[PATCH v2 1/3] arm: dts: imx93-phyboard-segin: Add USB support

2024-03-21 Thread Mathieu Othacehe
Enable both usbotg1 and usbotg2 ports. Disable over-current as OC pins are not connected to the SoC. Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93-phyboard-segin.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/dts/imx93-phyboard-segin.dts b/arch/arm/dts

[PATCH v2 2/3] configs: imx93-phyboard-segin: Add USB support

2024-03-21 Thread Mathieu Othacehe
Add USB support by enabling `usb` command and required USB drivers. Signed-off-by: Mathieu Othacehe --- configs/imx93-phyboard-segin_defconfig | 8 1 file changed, 8 insertions(+) diff --git a/configs/imx93-phyboard-segin_defconfig b/configs/imx93-phyboard-segin_defconfig index

[PATCH v2 3/3] configs: imx93-phyboard-segin: Add fastboot support

2024-03-21 Thread Mathieu Othacehe
Enable the `fastboot` command. Reviewed-by: Marek Vasut Signed-off-by: Mathieu Othacehe --- configs/imx93-phyboard-segin_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/imx93-phyboard-segin_defconfig b/configs/imx93-phyboard-segin_defconfig index 0345e7deeab

[PATCH] imx: ele_ahab: Add ahab_commit command support

2024-03-21 Thread Mathieu Othacehe
This message is used to commit into the fuses any new SRK revocation and FW version information that have been found into the NXP (ELE FW) and OEM containers. Signed-off-by: Mathieu Othacehe --- arch/arm/include/asm/mach-imx/ele_api.h | 2 ++ arch/arm/mach-imx/ele_ahab.c| 29

[PATCH v3 0/3] imx93-phyboard-segin: Add USB support.

2024-03-21 Thread Mathieu Othacehe
Hello, This series adds USB support to imx93-phyboard-segin, in the same way as it has been done for imx93_var_som here: https://lists.denx.de/pipermail/u-boot/2024-February/546301.html Thanks, Mathieu Changelog: v1: https://lists.denx.de/pipermail/u-boot/2024-March/548613.html Mathieu

[PATCH v3 3/3] configs: imx93-phyboard-segin: Add fastboot support

2024-03-21 Thread Mathieu Othacehe
Enable the `fastboot` command. Reviewed-by: Marek Vasut Signed-off-by: Mathieu Othacehe --- configs/imx93-phyboard-segin_defconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/configs/imx93-phyboard-segin_defconfig b/configs/imx93-phyboard-segin_defconfig index 0345e7deeab

[PATCH v3 1/3] arm: dts: imx93-phyboard-segin: Add USB support

2024-03-21 Thread Mathieu Othacehe
Enable both usbotg1 and usbotg2 ports. Disable over-current as OC pins are not connected to the SoC. This is temporary, until USB support is added to imx93-phyboard-segin.dts in Linux. Signed-off-by: Mathieu Othacehe --- arch/arm/dts/imx93-phyboard-segin-u-boot.dtsi | 15 +++ 1

[PATCH v3 2/3] configs: imx93-phyboard-segin: Add USB support

2024-03-21 Thread Mathieu Othacehe
Add USB support by enabling `usb` command and required USB drivers. Signed-off-by: Mathieu Othacehe --- configs/imx93-phyboard-segin_defconfig | 8 1 file changed, 8 insertions(+) diff --git a/configs/imx93-phyboard-segin_defconfig b/configs/imx93-phyboard-segin_defconfig index

[PATCH] imx: ele_ahab: Add HUK derivation support

2024-08-12 Thread Mathieu Othacehe
Add a new ahab_derive command that derives the hardware unique key (HUK) into a 16 or 32 bytes key and stores it at the given address. Signed-off-by: Mathieu Othacehe --- arch/arm/include/asm/mach-imx/ele_api.h | 2 + arch/arm/mach-imx/ele_ahab.c| 31 +++ drivers/misc

[PATCH v2] imx: ele_ahab: Add HUK derivation support

2024-08-19 Thread Mathieu Othacehe
Add a new ahab_derive command that derives the hardware unique key (HUK) into a 16 or 32 bytes key and stores it at the given address. Signed-off-by: Mathieu Othacehe --- arch/arm/include/asm/mach-imx/ele_api.h | 2 + arch/arm/mach-imx/ele_ahab.c| 31 ++ drivers/misc

Re: [PATCH] imx: ele_ahab: Add HUK derivation support

2024-08-20 Thread Mathieu Othacehe
Hello, Thanks for having a look. > Please try to pass seed size as a parameter, not hard code it. So users can > set different seed. Right, this is now fixed in v2: https://lore.kernel.org/u-boot/20240820044802.12401-1-othac...@gnu.org/T/#u Mathieu

[PATCH v3] imx: ele_ahab: Add HUK derivation support

2024-08-26 Thread Mathieu Othacehe
Add a new ahab_derive command that derives the hardware unique key (HUK) into a 16 or 32 bytes key and stores it at the given address. Signed-off-by: Mathieu Othacehe --- Changelog: v2: Make the seed size configurable v3: Fix a typo char* seed -> char seed[] Rebase on top of u-boot next a

Re: [PATCH v2] imx: ele_ahab: Add HUK derivation support

2024-08-26 Thread Mathieu Othacehe
Hello Fabio, > Please rebase against uboot/next and resubmit it. Done, v3 sent rebased on top of u-boot-imx-next-20240823. Thanks, Mathieu

[PATCH 1/2] mmc: Add a new callback function to perform the 74 clocks cycle sequence

2025-04-10 Thread Mathieu Othacehe
From: Jean-Jacques Hiblot Add a new callback function *send_init_stream* which start a sequence of at least 74 clock cycles. The mmc core uses *mmc_send_init_stream* in order to invoke the callback function. This will be used during power cycle where the specification requires such a sequence aft

[PATCH 2/2] mmc: omap_hsmmc: implement send_init_stream callback

2025-04-10 Thread Mathieu Othacehe
This callback is used to send the 74 clock cycles after power up. Signed-off-by: Mathieu Othacehe --- drivers/mmc/omap_hsmmc.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/omap_hsmmc.c b/drivers/mmc/omap_hsmmc.c index e66ab25d02a..92bc72b267c

[PATCH 0/2] mmc: omap_hsmmc: Restore the init_stream sequence

2025-04-10 Thread Mathieu Othacehe
perform the 74 clocks cycle sequence Mathieu Othacehe (1): mmc: omap_hsmmc: implement send_init_stream callback drivers/mmc/mmc-uclass.c | 13 + drivers/mmc/mmc.c| 6 ++ drivers/mmc/omap_hsmmc.c | 13 +++-- include/mmc.h| 9 + 4 files