RE: [EXT] Re: [RFC] usb: xhci: Some USB devices fail to initialize

2024-07-14 Thread Elena Popa
> > Hi Marek, > > Hi, > > sorry for the really late reply. > > >> Does it also work if you 'setenv usb_pgood_delay 2000' ? > >> > > No, the USB stick is still not initialized. > > > >> Can you include the 5ms patch ? > > > > I've attached the patch which makes it work. Of course, I'm not sure if

RE: [EXT] Re: [RFC] usb: xhci: Some USB devices fail to initialize

2024-06-01 Thread Elena Popa
Hi Marek, > Does it also work if you 'setenv usb_pgood_delay 2000' ? > No, the USB stick is still not initialized. > Can you include the 5ms patch ? I've attached the patch which makes it work. Of course, I'm not sure if this is the correct way to fix the problem. You can apply the patch on th

RE: [EXT] Re: [RFC] usb: xhci: Some USB devices fail to initialize

2024-05-28 Thread Elena Popa
> > We've noticed that, at least, on the i.MX8M* platforms > > Which exact platforms, which SoC, which board ? Currently I'm testing on the i.MX8M Plus EVK. > > > , some USB devices (especially USB2.0 sticks) fail > > Which exact sticks ? USB IDs and model would be helpful. The stick is from

[RFC] usb: xhci: Some USB devices fail to initialize

2024-05-27 Thread Elena Popa
Hello, We've noticed that, at least, on the i.MX8M* platforms, some USB devices (especially USB2.0 sticks) fail to initialize with one of the following errors: - scanning bus usb@3820 for devices... Device not responding to set address. USB device not accepting new address (e

RE: [EXT] Re: [RFC] spl_fit.c: SPL Falcon Mode return to U-Boot

2023-08-18 Thread Elena Popa
> > When Falcon Mode is enabled, spl_start_uboot() function must be defined. > If this function returns 0 then SPL should start the kernel, if it returns 1 > then > U-Boot must be started. > > > > When spl_start_uboot() returns 1, then U-Boot must be loaded, and as far > as I can tell spl_image

[RFC] spl_fit.c: SPL Falcon Mode return to U-Boot

2023-08-08 Thread Elena Popa
When Falcon Mode is enabled, spl_start_uboot() function must be defined. If this function returns 0 then SPL should start the kernel, if it returns 1 then U-Boot must be started. When spl_start_uboot() returns 1, then U-Boot must be loaded, and as far as I can tell spl_image->os should be set

[PATCH] spl: mmc: Fix check of CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR

2023-08-08 Thread Elena Popa
. CONFIG_SPL_SYS_MMCSD_RAW_MODE_ARGS_SECTOR does not exist in common/spl/Kconfig. Replaced with defined(CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTOR). Signed-off-by: Elena Popa --- common/spl/spl_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index a665091b00

[PATCH v2] arm: imx: imx8m: imx9: Fix DRAM size calculation due to rom_pointer

2023-08-08 Thread Elena Popa
. Signed-off-by: Elena Popa --- V2: Added the extra condition also in dram_init() and get_effective_memsize() for consistency. --- arch/arm/mach-imx/imx8m/soc.c | 7 --- arch/arm/mach-imx/imx9/soc.c | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-imx/imx8m

RE: [EXT] Re: [PATCH] imx8m,imx9: Fix DRAM size calculation in SPL/dram_init_banksize()

2023-08-07 Thread Elena Popa
> DRAM start and size in dram_init_banksize(). The issue became apparent > > only in Falcon Mode. Added an extra condition to prevent using > > rom_pointer in SPL. > > +CC Stefano, Fabio, Peng. > > > Signed-off-by: Elena Popa > > --- > > arch/arm/m

[PATCH] imx8m, imx9: Fix DRAM size calculation in SPL/dram_init_banksize()

2023-08-07 Thread Elena Popa
. Signed-off-by: Elena Popa --- arch/arm/mach-imx/imx8m/soc.c | 2 +- arch/arm/mach-imx/imx9/soc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-imx/imx8m/soc.c b/arch/arm/mach-imx/imx8m/soc.c index d5254886be..dbb2154b08 100644 --- a/arch/arm/mach-imx/imx8m/soc.c