[PATCH v3 02/13] smegw01: Select CONFIG_CMD_SQUASHFS

2023-04-24 Thread Fabio Estevam
From: Eduard Strehlau Select CONFIG_CMD_SQUASHFS so that the SquashFS U-Boot commands are available. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v2: - None configs/smegw01_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs

[PATCH v3 01/13] smegw01: Enable setting additional boot params

2023-04-24 Thread Fabio Estevam
From: Eduard Strehlau Introduce EXTRA_BOOTPARAMS to allow passing additional parameters to kernel command line. This is useful for debugging purposes. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v2: - None include/configs/smegw01.h | 8 +++- 1 file

Re: [PATCH v2 7/7] smegw01: Enable EMMC boot from multiple partitions

2023-04-24 Thread Fabio Estevam
Hi Pali, On Fri, Apr 21, 2023 at 3:11 PM Pali Rohár wrote: > This does not look to be correct. Return type of the function is uint > but here you are trying to return negative number. > > I think that there is some layering or API issue. Caller of this > function probably does not expect any

[PATCH 13/13] smegw01: Fix fallback to altbootcmd

2023-04-21 Thread Fabio Estevam
From: Eduard Strehlau The bootcmd/altbootcmd mechanism is not invoked for bootmenus. Manually compare bootcount and bootlimit to implement fallback on all codepaths. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v1: - None configs/smegw01_defconfig | 2 +- 1

[PATCH v2 12/13] smegw01: Disable additional boot menu options

2023-04-21 Thread Fabio Estevam
From: Eduard Strehlau Defaults have changed, we do not want the bootmenu to contain EFI options. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v1: - None configs/smegw01_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/smegw01_defconfig

[PATCH v2 11/13] smegw01: Read the second MAC address

2023-04-21 Thread Fabio Estevam
From: Fabio Estevam Currently, only the first MAC address is read from the fuses. The second MAC address is not read and Linux assigns a random one. To prevent this behavior, read the second MAC address from the fuses and store it into the eth1addr environment variable so that it can be passed

[PATCH v2 10/13] smegw01: Add lockdown U-Boot env support

2023-04-21 Thread Fabio Estevam
From: Eduard Strehlau Add lockdown U-Boot env support so that only certain U-Boot environment variables are allowed to be modified. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v1: - None board/storopack/smegw01/Kconfig | 7 + board/storopack/smegw01

[PATCH v2 09/13] smegw01: Switch to fitImage

2023-04-21 Thread Fabio Estevam
From: Eduard Strehlau Instead of loading the zImage kernel and the devicetree separately, switch to the fitImage format, which is more convenient when working with secure boot, for example. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v1: - None include

[PATCH v2 08/13] smegw01: Change default boot device to eMMC

2023-04-21 Thread Fabio Estevam
From: Eduard Strehlau Let eMMC be the default boot medium. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v1: - None include/configs/smegw01.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/smegw01.h b/include/configs

[PATCH v2 7/7] smegw01: Enable EMMC boot from multiple partitions

2023-04-21 Thread Fabio Estevam
can overwrite the inactive hardware partition with new bootloader and environment and afterwards switch the eMMC boot partition for an atomic bootloader switch. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v1: - Remove custom mmc macro (Pali) - Handle all

[PATCH v2 06/13] smegw01: Only commit to new partition if update was successful

2023-04-21 Thread Fabio Estevam
From: Eduard Strehlau When performing rootfs update via swupdate, it is convenient to check the 'ustate' variable to decide whether the update succeeded or not. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v1: - None include/configs/smegw01.h | 16

[PATCH v2 05/13] smegw01: Run altbootcmd in the case of failure

2023-04-21 Thread Fabio Estevam
From: Eduard Strehlau Run the altbootcmd script if any step of bootcmd fails. This ensures that always a valid image can be run. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v1: - None configs/smegw01_defconfig | 2 +- include/configs/smegw01.h | 8

[PATCH v2 04/13] smegw01: Add altbootcmd

2023-04-21 Thread Fabio Estevam
From: Eduard Strehlau Add an altbootcmd script, which is convenient way to integrate with swupdate and perform a roll back of the previous working version in the case of update failure. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v1: - None configs

[PATCH v2 03/13] smegw01: Select bootcount support

2023-04-21 Thread Fabio Estevam
From: Eduard Strehlau Add automatic boot counter that increases after every reset. After a power-on reset, it will be initialized with 1, and each reboot will increment the value by 1. By default it is disabled if bootlimit isn't set. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam

[PATCH v2 02/13] smegw01: Select CONFIG_CMD_SQUASHFS

2023-04-21 Thread Fabio Estevam
From: Eduard Strehlau Select CONFIG_CMD_SQUASHFS so that the SquashFS U-Boot commands are available. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v1: - None configs/smegw01_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs

[PATCH v2 01/13] smegw01: Enable setting additional boot params

2023-04-21 Thread Fabio Estevam
From: Eduard Strehlau Introduce EXTRA_BOOTPARAMS to allow passing additional parameters to kernel command line. This is useful for debugging purposes. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- Changes since v1: - None include/configs/smegw01.h | 8 +++- 1 file

[PATCH 13/13] smegw01: Fix fallback to altbootcmd

2023-04-18 Thread Fabio Estevam
From: Eduard Strehlau The bootcmd/altbootcmd mechanism is not invoked for bootmenus. Manually compare bootcount and bootlimit to implement fallback on all codepaths. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- configs/smegw01_defconfig | 2 +- 1 file changed, 1 insertion

[PATCH 12/13] smegw01: Disable additional boot menu options

2023-04-18 Thread Fabio Estevam
From: Eduard Strehlau Defaults have changed, we do not want the bootmenu to contain EFI options. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- configs/smegw01_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/smegw01_defconfig b/configs

[PATCH 11/13] smegmac: Read the second MAC address

2023-04-18 Thread Fabio Estevam
From: Fabio Estevam Currently, only the first MAC address is read from the fuses. The second MAC address is not read and Linux assigns a random one. To prevent this behavior, read the second MAC address from the fuses and store it into the eth1addr environment variable so that it can be passed

[PATCH 10/13] smegw01: Add lockdown U-Boot env support

2023-04-18 Thread Fabio Estevam
From: Eduard Strehlau Add lockdown U-Boot env support so that only certain U-Boot environment variables are allowed to be modified. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- board/storopack/smegw01/Kconfig | 7 + board/storopack/smegw01/smegw01.c | 17

[PATCH 09/13] smegw01: Switch to fitImage

2023-04-18 Thread Fabio Estevam
From: Eduard Strehlau Instead of loading the zImage kernel and the devicetree separately, switch to the fitImage format, which is more convenient when working with secure boot, for example. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- include/configs/smegw01.h | 14

[PATCH 08/13] smegw01: Change default boot device to eMMC

2023-04-18 Thread Fabio Estevam
From: Eduard Strehlau Let eMMC be the default boot medium. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- include/configs/smegw01.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/smegw01.h b/include/configs/smegw01.h index 71f2d9c8e8

[PATCH 06/13] smegw01: Only commit to new partition if update was successful

2023-04-18 Thread Fabio Estevam
From: Eduard Strehlau When performing rootfs update via swupdate, it is convenient to check the 'ustate' variable to decide whether the update succeeded or not. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- include/configs/smegw01.h | 16 1 file changed, 12

[PATCH 07/13] smegw01: Enable EMMC boot from multiple partitions

2023-04-18 Thread Fabio Estevam
can overwrite the inactive hardware partition with new bootloader and environment and afterwards switch the eMMC boot partition for an atomic bootloader switch. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- board/storopack/smegw01/smegw01.c | 20 configs

[PATCH 05/13] smegw01: Run altbootcmd in the case of failure

2023-04-18 Thread Fabio Estevam
From: Eduard Strehlau Run the altbootcmd script if any step of bootcmd fails. This ensures that always a valid image can be run. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- configs/smegw01_defconfig | 2 +- include/configs/smegw01.h | 8 +++- 2 files changed, 8

[PATCH 04/13] smegw01: Add altbootcmd

2023-04-18 Thread Fabio Estevam
From: Eduard Strehlau Add an altbootcmd script, which is convenient way to integrate with swupdate and perform a roll back of the previous working version in the case of update failure. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- configs/smegw01_defconfig | 2 +- include

[PATCH 03/13] smegw01: Select bootcount support

2023-04-18 Thread Fabio Estevam
From: Eduard Strehlau Add automatic boot counter that increases after every reset. After a power-on reset, it will be initialized with 1, and each reboot will increment the value by 1. By default it is disabled if bootlimit isn't set. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam

[PATCH 02/13] smegw01: Select CONFIG_CMD_SQUASHFS

2023-04-18 Thread Fabio Estevam
From: Eduard Strehlau Select CONFIG_CMD_SQUASHFS so that the SquashFS U-Boot commands are available. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- configs/smegw01_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/smegw01_defconfig b/configs

[PATCH 01/13] smegw01: Enable setting additional boot params

2023-04-18 Thread Fabio Estevam
From: Eduard Strehlau Introduce EXTRA_BOOTPARAMS to allow passing additional parameters to kernel command line. This is useful for debugging purposes. Signed-off-by: Eduard Strehlau Signed-off-by: Fabio Estevam --- include/configs/smegw01.h | 8 +++- 1 file changed, 7 insertions(+), 1

Re: [PATCH] usb: onboard-hub: Don't disable regulator in remove() callback

2023-04-18 Thread Fabio Estevam
Hi Patrice and Marek, On Tue, Apr 18, 2023 at 4:22 AM Patrice CHOTARD wrote: > > Isn't the regulator enable/disable refcounted ? > > There is no refcount on regulator that's why we let regulator enable. There is a recent patch from Eugen that adds regulator refcount support:

[PATCH] pico-imx6ul: Convert to CONFIG_DM_SERIAL

2023-04-16 Thread Fabio Estevam
From: Fabio Estevam The conversion to CONFIG_DM_SERIAL is mandatory, so select this option. Signed-off-by: Fabio Estevam --- configs/pico-imx6ul_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/pico-imx6ul_defconfig b/configs/pico-imx6ul_defconfig index dcee179fcffb

[PATCH v4] ARM: dts: imx7d-sdb-u-boot: Fix usdhc1 UHS operation

2023-04-12 Thread Fabio Estevam
From: Fabio Estevam Commit 1a7904fdfa7d ("mmc: fsl_esdhc_imx: Use esdhc_soc_data flags to set host caps") exposed the following SD card error: U-Boot 2023.04-00652-g487e42f7bc5e (Apr 05 2023 - 22:14:21 -0300) CPU: Freescale i.MX7D rev1.0 1000 MHz (running at 792 MHz) CPU:

[PATCH v3] ARM: dts: imx7d-sdb-u-boot: Fix usdhc1 UHS operation

2023-04-12 Thread Fabio Estevam
From: Fabio Estevam Commit 1a7904fdfa7d ("mmc: fsl_esdhc_imx: Use esdhc_soc_data flags to set host caps") exposed the following SD card error: U-Boot 2023.04-00652-g487e42f7bc5e (Apr 05 2023 - 22:14:21 -0300) CPU: Freescale i.MX7D rev1.0 1000 MHz (running at 792 MHz) CPU:

Re: [EXT] Re: [PATCH v2] mmc: fsl_esdhc: Do not set UHS_CAPS based on CONFIG_MMC_UHS_SUPPORT

2023-04-12 Thread Fabio Estevam
Hi Ye Li, On Wed, Apr 12, 2023 at 6:51 AM Ye Li wrote: > Remove the UHS_CAPS is wrong, it will cause UHS-I mode not work. > I just check the 7d sdb on upstream, it is due to imx7d-sdb.dts change. > When UHS is enabled in defconfig, the usdhc1 node in imx7d-sdb.dts does not > configure pad for

[PATCH v2] mmc: fsl_esdhc: Do not set UHS_CAPS based on CONFIG_MMC_UHS_SUPPORT

2023-04-11 Thread Fabio Estevam
From: Fabio Estevam Since commit 1a7904fdfa7d ("mmc: fsl_esdhc_imx: Use esdhc_soc_data flags to set host caps") the following SD card error is observed on an imx7d-sdb board: U-Boot 2023.04-00652-g487e42f7bc5e (Apr 05 2023 - 22:14:21 -0300) CPU: Freescale i.MX7D rev1.0 1000 MH

Re: [PATCH] mmc: fsl_esdhc: Fix enablement of UHS mode

2023-04-07 Thread Fabio Estevam
Hi Peng, On Fri, Apr 7, 2023 at 12:21 AM Peng Fan wrote: > The supports_uhs is as below, so this condition check will never have > UHS_CAPS set even MMC_UHS_SUPPORT selected. This seems not correct fix. Thanks for your review. Should we fix it like this instead? ---

[PATCH] mmc: fsl_esdhc: Fix enablement of UHS mode

2023-04-06 Thread Fabio Estevam
From: Fabio Estevam Since commit 1a7904fdfa7d ("mmc: fsl_esdhc_imx: Use esdhc_soc_data flags to set host caps") the following SD card error is observed on an imx7d-sdb board: U-Boot 2023.04-00652-g487e42f7bc5e (Apr 05 2023 - 22:14:21 -0300) CPU: Freescale i.MX7D rev1.0 1000 MH

Re: imx7d-sabresd: Cannot access the SD card

2023-04-05 Thread Fabio Estevam
On Wed, Apr 5, 2023 at 10:21 PM Fabio Estevam wrote: > > Hi Peng and Ye Li, > > The following SDHC error is seen when running top of tree U-Boot on an > imx7d-sabresd board: > > U-Boot 2023.04-00652-g487e42f7bc5e (Apr 05 2023 - 22:14:21 -0300) > > CPU: Freescale i.MX

imx7d-sabresd: Cannot access the SD card

2023-04-05 Thread Fabio Estevam
Hi Peng and Ye Li, The following SDHC error is seen when running top of tree U-Boot on an imx7d-sabresd board: U-Boot 2023.04-00652-g487e42f7bc5e (Apr 05 2023 - 22:14:21 -0300) CPU: Freescale i.MX7D rev1.0 1000 MHz (running at 792 MHz) CPU: Commercial temperature grade (0C to 95C) at 35C

Re: [PATCH 2/2] thermal: imx_tmu: Move architecture code into driver

2023-04-04 Thread Fabio Estevam
and programming are in their separate functions, and called in case > of matching SoC. > > Signed-off-by: Marek Vasut Reviewed-by: Fabio Estevam

Re: [PATCH 1/2] thermal: imx_tmu: Clean up all prints

2023-04-04 Thread Fabio Estevam
On Tue, Apr 4, 2023 at 4:25 PM Marek Vasut wrote: > > Use dev_(dev, ...) for all printing and debug logging, since this > already includes the device name. Drop device name where duplicate. > > Signed-off-by: Marek Vasut Reviewed-by: Fabio Estevam

Re: [PATCH v2 0/5] board: verdin-imx8mp: ddr updates

2023-04-03 Thread Fabio Estevam
training > - compact slight different lpddr4 configuration > - change prints in spl_dram_init function > > Changes in v2: > - Use puts rather than printf in the SPL as suggested by Fabio. Thanks! For the whole series: Reviewed-by: Fabio Estevam

Re: [PATCH 2/2] pico-imx6: Pass the mmc alias to fix boot regression

2023-04-03 Thread Fabio Estevam
our where the eMMC (esdhc3) was > > mapped to mmc0. > > > > Fixes: d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux") > > Signed-off-by: Fabio Estevam > Applied to u-boot-imx, next, thanks ! Since this one fixes a boot regression, could it be applied to 2023.04? Thanks

Re: [PATCH v1 5/5] board: verdin-imx8mp: change prints in spl_dram_init function

2023-03-29 Thread Fabio Estevam
Hi Marcel, The whole series looks good. On Wed, Mar 29, 2023 at 8:24 AM Marcel Ziswiler wrote: > > From: Emanuele Ghidoli > > change prints to show which DDR configuration (single/dual rank) is used > > Signed-off-by: Emanuele Ghidoli > Signed-off-by: Marcel Ziswiler > > --- > >

Re: [PATCH] imx6sx-udoo-neo-basic: Introduce the u-boot.dtsi

2023-03-22 Thread Fabio Estevam
Hi Tom, On Wed, Mar 22, 2023 at 5:12 PM Tom Rini wrote: > Is this for master? If so, OK, we'll pick it up. If not, NAK, these are > all bootph- properties now, and need to go upstream too. Yes, this is for master as it is a regression. Thanks.

[PATCH] imx6sx-udoo-neo-basic: Introduce the u-boot.dtsi

2023-03-22 Thread Fabio Estevam
From: Fabio Estevam After the conversion to DM_SERIAL in commit 01f372d8d62b ("udoo_neo: Select DM_SERIAL and drop iomux board level init") the SPL log is gone and the U-Boot proper log becomes incomplete: Core: 80 devices, 18 uclasses, devicetree: separate MMC: FSL_SDHC: 1, F

[PATCH 2/2] mx51evk: Remove unused mx51evk_video.c file

2023-03-14 Thread Fabio Estevam
From: Fabio Estevam Since commit 1fa43cad8625 ("video: Drop references to CONFIG_VIDEO et al") the mx51evk_video.c is no longer used. Remove the unused file. Signed-off-by: Fabio Estevam --- board/freescale/mx51evk/mx51evk_video.c | 98 - 1 file changed, 98

[PATCH 1/2] mx53loco: Remove unused mx53loco_video.c file

2023-03-14 Thread Fabio Estevam
From: Fabio Estevam Since commit 1fa43cad8625 ("video: Drop references to CONFIG_VIDEO et al") the mx53loco_video.c is no longer used. Remove the unused file. Signed-off-by: Fabio Estevam --- board/freescale/mx53loco/mx53loco_video.c | 114 -- 1 file ch

Re: [PATCH 1/1] compulab: imx8mm-cl-iot-gate: Fix some function declarations in ddr.h

2023-03-13 Thread Fabio Estevam
On Mon, Mar 13, 2023 at 3:26 PM Ying-Chun Liu (PaulLiu) wrote: > > We have a few places here that the function declarations do not > match their prototypes, correct them. > > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: Tom Rini > Cc: Stefano Babic > Cc: Fabio Esteva

Re: [PATCH] README.mpc85xx-sd-spi-boot: Suggest the NXP boot format github repo

2023-03-09 Thread Fabio Estevam
Hi Leo, On Wed, Mar 8, 2023 at 6:01 PM Leo Li wrote: > It mimics the branches on CodeAurora. I will ask them to update the default > branch to master. The default branch is master now, thanks. Pali, Is the patch good now?

Re: [PATCH] ARM: imx: Include on-SoM microSD in list of i.MX6 DHCOM boot devices

2023-03-06 Thread Fabio Estevam
On 05/03/2023 20:21, Marek Vasut wrote: Add mmc1, which is mapped to optional on-SoM microSD socket, to the list of distro boot command boot devices. Signed-off-by: Marek Vasut Reviewed-by: Fabio Estevam

Re: [PATCH] ARM: dts: imx: Add WDT bindings on DH i.MX6 DHSOM

2023-03-06 Thread Fabio Estevam
On 05/03/2023 17:49, Marek Vasut wrote: Add WDT reboot bindings on DH i.MX6 DHSOM to permit the platform to reboot via WDT in U-Boot. These are custom U-Boot bindings, hence they are placed in -u-boot.dtsi . Signed-off-by: Marek Vasut Reviewed-by: Fabio Estevam

Re: [PATCH] ARM: imx: Convert DH i.MX6 DHSOM to DM_SERIAL

2023-03-06 Thread Fabio Estevam
On 05/03/2023 17:48, Marek Vasut wrote: Enable CONFIG_DM_SERIAL on DH i.MX6 DHSOM to convert it to DM serial . Signed-off-by: Marek Vasut Reviewed-by: Fabio Estevam

Re: [PATCH v2 1/1] editorconfig: introduce .editorconfig

2023-03-02 Thread Fabio Estevam
Hi Dzmitry, On Wed, Mar 1, 2023 at 7:44 AM Dzmitry Sankouski wrote: > > Current process of sending patches includes running checkpatch.pl > script for each patch, and fixing found style problems. > EditorConfig may help to prevent some style related problems > (like spaces vs tab indentation) on

Re: [PATCH 5/7] imx8image: Remove unused cont_img_count variable

2023-02-28 Thread Fabio Estevam
On Mon, Feb 27, 2023 at 7:08 PM Tom Rini wrote: > > With clang-15, it is now reported that cont_img_count is unused. This is > true as the code will increment / reset this counter, but never > functionally use it. Remove it. > > Signed-off-by: Tom Rini Reviewed-by: Fabio Estevam

Re: [PATCH 2/2] imx93_evk: enable ADC

2023-02-24 Thread Fabio Estevam
Hi Luca, On Fri, Feb 24, 2023 at 4:59 AM Luca Ellero wrote: > Hi Fabio, > thank you for your reply. > Ok, I will add a comment to the patch and fix DT node. > Should I resend only this patch or both? Please resend the whole series. My suggestion: 1/3 - ADC driver 2/3 - Sync U-Boot imx93 evk

Re: [PATCH 2/2] imx93_evk: enable ADC

2023-02-23 Thread Fabio Estevam
Hi Luca, On Thu, Feb 23, 2023 at 9:52 AM Luca Ellero wrote: Please write a commit log. > Signed-off-by: Luca Ellero > --- > arch/arm/dts/imx93-11x11-evk.dts | 4 > configs/imx93_11x11_evk_defconfig | 1 + > 2 files changed, 5 insertions(+) > > diff --git

Re: [PATCH 1/2] dm: adc: add iMX93 ADC support

2023-02-23 Thread Fabio Estevam
- adc_stop() > > ADC features: > - channels: 4 > - resolution: 12-bit > > Signed-off-by: Luca Ellero Reviewed-by: Fabio Estevam

Re: [PATCH] dm: adc: add iMX93 ADC support

2023-02-21 Thread Fabio Estevam
Hi Luca, On Tue, Feb 21, 2023 at 9:55 AM Luca Ellero wrote: > +int imx93_adc_channel_data(struct udevice *dev, int channel, static int > +int imx93_adc_start_channel(struct udevice *dev, int channel) static int > +int imx93_adc_stop(struct udevice *dev) static int > +int

[PATCH 1/2] mx6sabreauto: Convert to DM_PMIC

2023-02-16 Thread Fabio Estevam
The usage of DM_PMIC is preferred, so convert to it. This also brings the benefit of causing a significant amount of code removal. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan --- board/freescale/mx6sabreauto/mx6sabreauto.c | 109 +++- configs/mx6sabreauto_defconfig

[PATCH 2/2] mx6sabresd: Convert to DM_PMIC

2023-02-16 Thread Fabio Estevam
The usage of DM_PMIC is preferred, so convert to it. This also brings the benefit of causing a significant amount of code removal. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan --- board/freescale/mx6sabresd/mx6sabresd.c | 63 + configs/mx6sabresd_defconfig

[PATCH] mx6sxsabreauto: Remove myself from MAINTAINERS

2023-02-15 Thread Fabio Estevam
I don't have access to the mx6sxsabreauto board, so remove myself from the MAINTAINERS entry and add Peng instead. Signed-off-by: Fabio Estevam --- board/freescale/mx6sxsabreauto/MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/mx6sxsabreauto

[PATCH 2/2] pico-imx6: Pass the mmc alias to fix boot regression

2023-02-15 Thread Fabio Estevam
h the eMMC card cannot be found anymore. Fix it by passing the alias node in the u-boot.dtsi file to restore the original behaviour where the eMMC (esdhc3) was mapped to mmc0. Fixes: d0399a46e7cd ("imx6dl/imx6qdl: synchronise device trees with linux") Signed-off-by: Fabio Esteva

[PATCH 1/2] pico-imx6: Add DM_SERIAL support

2023-02-15 Thread Fabio Estevam
The conversion to DM_SERIAL is mandatory, so add support for it. Signed-off-by: Fabio Estevam --- configs/pico-imx6_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/pico-imx6_defconfig b/configs/pico-imx6_defconfig index a6ed013f8b..f79b7ec520 100644 --- a/configs/pico

[PATCH] udoo: Add DM_SERIAL support

2023-02-15 Thread Fabio Estevam
The conversion to DM_SERIAL is mandatory, so add support for it. Signed-off-by: Fabio Estevam --- configs/udoo_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/udoo_defconfig b/configs/udoo_defconfig index 0a3baec12e..20686298bd 100644 --- a/configs/udoo_defconfig +++ b

[PATCH] mx6sxsabresd: Add DM_SERIAL support

2023-02-15 Thread Fabio Estevam
The conversion to DM_SERIAL is mandatory, so add support for it. Signed-off-by: Fabio Estevam --- configs/mx6sxsabresd_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mx6sxsabresd_defconfig b/configs/mx6sxsabresd_defconfig index c469084737..2e52e301ae 100644 --- a/configs

[PATCH] mx51evk: Add DM_SERIAL support

2023-02-15 Thread Fabio Estevam
The conversion to DM_SERIAL is mandatory, so add support for it. Signed-off-by: Fabio Estevam --- configs/mx51evk_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mx51evk_defconfig b/configs/mx51evk_defconfig index b173648c8e..832f718410 100644 --- a/configs

[PATCH 2/2] mx53loco: Add DM_I2C support

2023-02-15 Thread Fabio Estevam
The conversion to DM_I2C is mandatory, so add support for it. Signed-off-by: Fabio Estevam --- board/freescale/mx53loco/mx53loco.c | 36 ++--- configs/mx53loco_defconfig | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/board/freescale

[PATCH 1/2] mx53loco: Add DM_SERIAL support

2023-02-15 Thread Fabio Estevam
The conversion to DM_SERIAL is mandatory, so add support for it. Signed-off-by: Fabio Estevam --- configs/mx53loco_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mx53loco_defconfig b/configs/mx53loco_defconfig index d5f2b7092d..e332c930b9 100644 --- a/configs

Re: imx8mp EQOS regression in dwc_eth_qos,c

2023-02-15 Thread Fabio Estevam
Hi Elmar, On Wed, Feb 15, 2023 at 3:02 AM Elmar Psilog wrote: > Marek, great! Can confirm that this patch (just to be sure attached > complete below) does it's job. Care to submit a formal patch to the list? It would be great to have this problem fixed in 2023.04.

Re: imx8mp EQOS regression in dwc_eth_qos,c

2023-02-13 Thread Fabio Estevam
Adding Marek, who has sent some EQOS patches recently. On Mon, Feb 13, 2023 at 6:02 PM Elmar Psilog wrote: > > Hello, > Think I found a regression in EQOS driver with fixed-phy. Maybe someone > with a imx8mp board might check that use case to confirm? That would be > great. > While ethernet was

Re: imx8mp spi fail

2023-02-13 Thread Fabio Estevam
Hi Elmar, On Mon, Feb 13, 2023 at 4:46 PM Elmar Psilog wrote: > > Thank you so much, you made my day! Sorry, I didn't see the alias was > used different. Glad to know it is working. > Although my credibility gambled away I think I found a real bug in EQOS > driver with fixed-phy: > > In file

Re: [PATCH v3 79/95] power: wanderboard: Correct conditions for split config

2023-02-12 Thread Fabio Estevam
On Sun, Feb 12, 2023 at 8:47 PM Simon Glass wrote: > > This currently causes a build error with wanderboard. Fix it by adding a A typo here and in the Subject, it is "wandboard".

Re: imx8mp spi fail

2023-02-12 Thread Fabio Estevam
Hi Elmar, On Sun, Feb 12, 2023 at 3:04 PM Elmar Psilog wrote: > > Hello, kindly ask for help about SPI at an IMX8MP. I tried latest > 2023.01. If you can please have a look and check it works on your side? > > sspi command returns: Invalid bus 0 Could you try passing an aliases entry in your

Re: imx8mm USB Mass Storage fails through a HUB

2023-02-10 Thread Fabio Estevam
Hi Tim, On Fri, Feb 10, 2023 at 10:26 AM Marcel Ziswiler wrote: > The second USB port has a on-carrier USB hub both on Dahlia as well as the > Verdin Development board. > > Sorry, that I do not have any good suggestion other than maybe comparing with > our configuration/design. The verdin

Re: [PATCH] doc: sl-mx8mm: Fix mistake in merge conflict resolution

2023-02-08 Thread Fabio Estevam
ATF github repo") Signed-off-by: Frieder Schrempf Cc: Heinrich Schuchardt Cc: Fabio Estevam Cc: Stefano Babic Reviewed-by: Fabio Estevam

Re: [PATCH] board: gateworks: venice: enable XWAY PHY support

2023-02-07 Thread Fabio Estevam
On Tue, Feb 7, 2023 at 8:44 PM Tim Harvey wrote: > > Enable XWAY PHY driver and remove board specific config from > board_phy_config weak override. > > Signed-off-by: Tim Harvey Reviewed-by: Fabio Estevam

[PATCH v2] imx8m: Select BINMAN via SoC level

2023-02-03 Thread Fabio Estevam
Since all imx8m boards have been converted to use binman, select binman via SoC level rather than making the selection for each board. Signed-off-by: Fabio Estevam Reviewed-by: Peng Fan --- Changes since v1: - Rebased against u-boot-imx tree. - Collected Peng Fan's Reviewed-by tag. arch/arm

Re: [PATCH 01/11] imx: implement get_effective_memsize

2023-01-31 Thread Fabio Estevam
Hi Peng, On Mon, Nov 7, 2022 at 4:13 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > To i.MX6/7 which has 2GB memory, the upper 4KB cut off, will cause the > top 1MB not mapped as normal memory, because ARMV7-A use section > mapping. So implement i.MX6/7 specific get_effective_memsize to fix

Re: [RESEND PATCH] configs: imx8mn_bsh_smm_s2: remove console from bootargs

2023-01-29 Thread Fabio Estevam
On Sun, Jan 29, 2023 at 1:47 PM Dario Binacchi wrote: > The patch re-added 'console=${console}': > diff --cc include/configs/imx8mn_bsh_smm_s2.h > index d09c2ab01610,84c19824bdca..c6b296281424 > --- a/include/configs/imx8mn_bsh_smm_s2.h > +++ b/include/configs/imx8mn_bsh_smm_s2.h > @@@ -14,11

Re: [RESEND PATCH v2] arm: dts: imx8mn-u-boot: fix DDR3 only support

2023-01-28 Thread Fabio Estevam
eate common > imx8mn-u-boot.dtsi") > Signed-off-by: Dario Binacchi > Reviewed-by: Michael Trimarchi Reviewed-by: Fabio Estevam

Re: [RESEND PATCH] configs: imx8mn_bsh_smm_s2: remove console from bootargs

2023-01-28 Thread Fabio Estevam
h looks good, but I don't understand why this needs a Fixes tag. Reviewed-by: Fabio Estevam

Re: [PATCH] Revert "config: tools only: add VIDEO to build bmp_logo"

2023-01-25 Thread Fabio Estevam
Hi Rasmus, On Wed, Jan 25, 2023 at 11:59 AM Rasmus Villemoes wrote: > So I also got curious about that part, because when I build > tools-only_defconfig with older U-Boot releases I don't get a bmp_logo > tool built. > > I think I figured that out (but only after it's been revealed that this >

Re: [PATCH 41/41] imx9: support i.MX93 9x9 QSB board

2023-01-23 Thread Fabio Estevam
Hi On Mon, Jan 23, 2023 at 5:30 AM Peng Fan (OSS) wrote: > > From: Peng Fan > > Support i.MX93 9x9 Quick Start Board, UART/SD/MMC/I2C supported. > > Boot Log as below: > U-Boot SPL 2023.01-rc3-00069-g7c3dea52355-dirty (Dec 14 2022 - 11:46:43 +0800) > SOC: 0xa0009300 > LC: 0x40010 > M33 prepare

Re: [PATCH] Revert "config: tools only: add VIDEO to build bmp_logo"

2023-01-19 Thread Fabio Estevam
On Thu, Jan 19, 2023 at 8:18 AM Peter Robinson wrote: > Did you read the original thread? I only read your commit log and it is not clear if it is a regression and which commit caused the problem. It lacks a Fixes tag too. > > - What is the exact problem you are trying to solve? How can we

Re: [PATCH] Revert "config: tools only: add VIDEO to build bmp_logo"

2023-01-19 Thread Fabio Estevam
Hi Peter, On Thu, Jan 19, 2023 at 8:04 AM Peter Robinson wrote: > So how do you propose to fix the issue I have which this fixes? Ok, we need some more information here: - What is the exact problem you are trying to solve? How can we reproduce it? - Is it a regression? What is the commit

Re: [PATCH 3/6] doc: sl-mx8mm: Update the NXP TF-A source reference

2023-01-19 Thread Fabio Estevam
Hi Frieder, On 19/01/2023 07:52, Frieder Schrempf wrote: -1. Get TF-A from: https://source.codeaurora.org/external/imx/imx-atf, branch: imx_5.4.70_2.3.0 -2. Apply the patch to select the correct UART for the console, otherwise the TF-A will lock up during boot. -3. Build +1. Get TF-A from:

[PATCH] Revert "config: tools only: add VIDEO to build bmp_logo"

2023-01-18 Thread Fabio Estevam
Debian [1]. Revert it for now. [1] https://lists.denx.de/pipermail/u-boot/2023-January/504758.html Signed-off-by: Fabio Estevam --- configs/tools-only_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/configs/tools-only_defconfig b/configs/tools-only_defconfig index 2197063112..

Re: [PATCH v4 1/2] dts: imx8mp: assign binman_configuration label to config-SEQ

2023-01-17 Thread Fabio Estevam
On Tue, Jan 17, 2023 at 4:15 PM Ying-Chun Liu (PaulLiu) wrote: > > assign a label for config-SEQ so that the board dts can modify > the configuration more easily. > > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: NXP i.MX U-Boot T

Re: [PATCH v4 2/2] dts: imx8mp-rsb3720: modify configrations to load fip into memory

2023-01-17 Thread Fabio Estevam
gt; > Signed-off-by: Ying-Chun Liu (PaulLiu) > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: NXP i.MX U-Boot Team Reviewed-by: Fabio Estevam

Re: [PATCH v3 1/2] dts: imx8mp: assign binman_configuration node name to config-SEQ

2023-01-17 Thread Fabio Estevam
Hi Paul, On Tue, Jan 17, 2023 at 3:26 PM Ying-Chun Liu (PaulLiu) wrote: > > assign a node name for config-SEQ so that the board dts can modify > the configuration more easily. Actually, what you are adding is a label, not a node name. Please change the Subject and commit log accordingly.

Re: [PATCH] arm: dts: imx8mn-u-boot: use versioned ddr4 firmware

2023-01-16 Thread Fabio Estevam
t.dtsi") > > Signed-off-by: Oleksandr Suvorov Thanks for your patch: Reviewed-by: Fabio Estevam

[PATCH] mx53loco: Select CONFIG_CMD_EXT4

2023-01-16 Thread Fabio Estevam
Select the CONFIG_CMD_EXT4 option so that files can be loaded from an ext4 partition. Signed-off-by: Fabio Estevam --- configs/mx53loco_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/mx53loco_defconfig b/configs/mx53loco_defconfig index 193120f71a..7be5636eb7 100644

Re: v2023.01: u-boot-tools build failure

2023-01-15 Thread Fabio Estevam
Hi Vagrant, On Fri, Jan 13, 2023 at 8:37 PM Vagrant Cascadian wrote: > FWIW, we have not shipped bmp_logo in Debian's u-boot-tools package, so > we have managed without it, though curious what the use-case might be. > > It is disabled in Debian for now: > > >

Re: [PATCH 2/2] event: Correct dependencies on the EVENT framework

2023-01-15 Thread Fabio Estevam
42f0 ("event: Convert arch_cpu_init_dm() to use events") > Fixes: 42fdcebf859f ("event: Convert misc_init_f() to use events") > Signed-off-by: Tom Rini Thanks for investigating and providing a proper fix: Reviewed-by: Fabio Estevam

Re: [PATCH v2 00/22] apalis-imx8: boot issue fix and support refresh

2023-01-14 Thread Fabio Estevam
t is that this one should be fixed in a global way, as it does not affect apalis-imx8 only. With this fixed, for all the series: Reviewed-by: Fabio Estevam

Re: [PATCH v2 01/22] apalis-imx8: fix booting caused by missing dm_event

2023-01-14 Thread Fabio Estevam
Hi Francesco, On Fri, Jan 13, 2023 at 2:18 PM Francesco Dolcini wrote: > > From: Marcel Ziswiler > > Without the DM_EVENT absolutely no output whatsoever and the system does > not boot at all. Why do we need to select CONFIG_EVENT=y in the first place? Oliver on CC reported the same issue for

v2023.01: u-boot-tools build failure

2023-01-13 Thread Fabio Estevam
that by explicitly defining it. Signed-off-by: Peter Robinson Reviewed-by: Simon Glass u-boot-tools-native builds fine though. What would be the correct way to fix this? Thanks, Fabio Estevam

Re: [PATCH] README.mpc85xx-sd-spi-boot: Suggest the NXP boot format github repo

2023-01-13 Thread Fabio Estevam
On Fri, Jan 13, 2023 at 4:53 AM Pali Rohár wrote: > > you can browse it online at: > > -https://source.codeaurora.org/external/qoriq/qoriq-yocto-sdk/boot-format > > +https://github.com/nxp-qoriq-yocto-sdk/boot-format > > This "new" repo contains old broken version of boot-format which is >

[PATCH] README.mpc85xx-sd-spi-boot: Suggest the NXP boot format github repo

2023-01-12 Thread Fabio Estevam
ithub repo instead. Signed-off-by: Fabio Estevam --- doc/README.mpc85xx-sd-spi-boot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.mpc85xx-sd-spi-boot b/doc/README.mpc85xx-sd-spi-boot index 329de4e6c4..7608fc3aac 100644 --- a/doc/README.mpc85xx-sd-spi-boot +++ b/doc/READ

<    3   4   5   6   7   8   9   10   11   12   >