[PATCH v1] board: toradex: colibri-imx8x: Remove board_gpio_init

2024-03-27 Thread Hiago De Franco
From: Hiago De Franco On Colibri iMX8X, the gpio initialization and usage should be handled by the device tree, not by the colibri-imx8x.c code. Therefore, remove it. Signed-off-by: Hiago De Franco --- board/toradex/colibri-imx8x/colibri-imx8x.c | 11 --- 1 file changed, 11 deletions

Re: [PATCH] imx8: Add a default reset_cpu() implementation

2024-03-26 Thread Hiago De Franco
> Signed-off-by: Fabio Estevam Thanks Fabio! Tested-by: Hiago De Franco # Toradex Colibri iMX8X > --- > arch/arm/mach-imx/imx8/cpu.c | 4 > board/advantech/imx8qm_dmsse20_a1/imx8qm_dmsse20_a1.c | 11 --- > board/advantech/imx8qm_rom7720_a1/imx

Re: [PATCH] arm64: Fix map_range() not splitting mapped blocks

2024-03-25 Thread Hiago De Franco
rm64: Reduce add_map() complexity") > > Signed-off-by: Pierre-Clément Tosi > > This fixes the boot regression on colibri-imx8x. > > Thanks a lot for your fix! > > Tested-by: Fabio Estevam Tested-by: Hiago De Franco # Toradex Verdin AM62 On Sat, Mar 23, 2024

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

2024-03-20 Thread Hiago De Franco
From: Hiago De Franco Increase the SPL_STACK_R_MALLOC_SIMPLE_LEN to 0x20 to accommodate the size of tispl.bin fit image. With the recent upgrade of ti-linux-firmware from version v9.1.0 to v9.2.5, the size of tispl.bin fit image has increased to 1.4MB, causing allocation errors in the R5 SPL

Re: [PATCH] colibri-imx8x: Fix sc_misc_otp_fuse_read() error check

2024-03-13 Thread Hiago De Franco
; > The other changes in this commit are correct. > > > > sc_misc_otp_fuse_read() returns 0 on a successful fuse read. > > > > This inversion causes board_mem_get_layout() to report incorrect RAM size. > > > > Go back the original error check logic to fix the problem.

RE: [PATCH 1/2] clk: clk-imx8qxp: Add LPUART IPG entries

2024-03-09 Thread Hiago De Franco
> Reported-by: Marcel Ziswiler > > Signed-off-by: Fabio Estevam > > Reviewed-by: Peng Fan Tested-by: Hiago De Franco # Toradex Colibri iMX8X > > --- > > drivers/clk/imx/clk-imx8qxp.c | 13 - > > 1 file changed, 12 insertions(+), 1 deletion(-) >

[PATCH v1] board: colibri_imx7: fix emmc detection

2023-12-12 Thread Hiago De Franco
n board code. Fixes: 0c39564d ("toradex: colibri_imx7: Enable nand/emmc detection and set boot variant") Signed-off-by: Marcel Ziswiler Signed-off-by: Hiago De Franco --- board/toradex/colibri_imx7/colibri_imx7.c | 6 +++--- include/configs/colibri_imx7.h| 1 - 2 files changed

[PATCH 2/2] board: apalis/colibri imx6/imx6ull/imx7: Add fastboot bootcmd support

2023-11-09 Thread Hiago De Franco
, but if CONFIG_CMD_FASTBOOT is set, it changes to 'fastboot usb 0' as the boot command. Signed-off-by: Hiago De Franco --- board/toradex/apalis_imx6/apalis_imx6.c | 13 - board/toradex/colibri-imx6ull/colibri-imx6ull.c | 13 - board/toradex/colibri_imx6/colibri_imx6.c

[PATCH 1/2] apalis/colibri imx6/imx6ull/imx7: defconfig: Enable fastboot support

2023-11-09 Thread Hiago De Franco
Add fastboot support for Apalis iMX6, Colibri iMX6, Colibri iMX6ULL and Colibri iMX7 boards. Remove CONFIG_FASTBOOT_BUF_SIZE from colibri_imx7_emmc_defconfig to get the default value of 0x700 instead of 0x1000, to make it consistent with the other boards. Signed-off-by: Hiago De Franco

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

2023-11-09 Thread Hiago De Franco
. Hiago De Franco (2): apalis/colibri imx6/imx6ull/imx7: defconfig: Enable fastboot support board: apalis/colibri imx6/imx6ull/imx7: Add fastboot bootcmd support board/toradex/apalis_imx6/apalis_imx6.c | 13 - board/toradex/colibri-imx6ull/colibri-imx6ull.c | 13

[PATCH] arm: mach-imx: Makefile: Extend u-boot-nand.imx padding

2023-10-03 Thread Hiago De Franco
From: Hiago De Franco Extend the padding process of u-boot-nand.imx target by adding 10k bytes of zeros to the end of the binary using the 'dd' command. The existing padding method did not generate a functional binary, as discussed in more detail in this thread [1]. Instead, we adopt the end

[PATCH] toradex: colibri_imx7: Enable nand/emmc detection and set boot variant

2023-10-02 Thread Hiago De Franco
From: Hiago De Franco Add detection of eMMC vs NAND devices on the Colibri iMX7 board. A GPIO is configured to detect the presence of an on-board resistor that is configured differently based on the flash memory used. Depending on the detection result, the 'variant' environment variable is set

[PATCH] verdin-imx8mp: drop unused tdx easy installer ifdef

2023-09-04 Thread Hiago De Franco
From: Hiago De Franco Drop unused code related to CONFIG_TDX_EASY_INSTALLER, that existed only on toradex downstream branch. Signed-off-by: Hiago De Franco --- include/configs/verdin-imx8mp.h | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/include/configs/verdin