Re: [PATCH] mtd: spi-nor-ids: Add support for W25Q512JV

2022-04-20 Thread Jaap Crezee

Hi Dhananjay,

On 1/9/22 00:47, Dhananjay Phadke wrote:

Will send v2 to use "w25q512jvm" name to be consistent with other DTR parts.


Any follow-up on this?

regards,

Jaap Crezee


Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm

2022-03-28 Thread Jaap Crezee

Hello Tommaso,

On 3/28/22 12:26, Tommaso Merciai wrote:

Hi Jaap,
Actually I'm able to use SDP on imx8mm_evk over SPL. You need to apply
the following patchset:

https://patchwork.ozlabs.org/project/uboot/list/?series=251796=*

plus you need the following configs:

CONFIG_SPL_USB_HOST=y
CONFIG_SDP_LOADADDR=0x4040

All described here:

https://www.mail-archive.com/u-boot@lists.denx.de/msg433984.html

I share with you also all config that I use on U-Boot 2022-04-rc4:

CONFIG_SPL_USB_HOST=y
CONFIG_SPL_USB_HOST_SUPPORT=y
CONFIG_SPL_USB_GADGET=y
CONFIG_SPL_USB_SDP_SUPPORT=y
CONFIG_CMD_USB=y
CONFIG_CMD_USB_SDP=y
CONFIG_CMD_USB_MASS_STORAGE=y
CONFIG_POWER_DOMAIN=y
CONFIG_IMX8M_POWER_DOMAIN=y
CONFIG_USB=y
CONFIG_DM_USB=y
# CONFIG_SPL_DM_USB is not set
CONFIG_USB_EHCI_HCD=y
CONFIG_MXC_USB_OTG_HACTIVE=y
CONFIG_USB_GADGET=y
CONFIG_USB_GADGET_MANUFACTURER="FSL"
CONFIG_USB_GADGET_VENDOR_NUM=0x0525
CONFIG_USB_GADGET_PRODUCT_NUM=0xa4a5
CONFIG_CI_UDC=y
CONFIG_USB_GADGET_DOWNLOAD=y
CONFIG_SDP_LOADADDR=0x4040


Thank you. I will give this another try, but I still assume imx8mq_evk != imx8mm_evk and it seems imx8mm is having code which imx8mq does not have 
(board/spl).

Once I have done more research I will report back.

greetings,

Jaap


Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm

2022-03-28 Thread Jaap Crezee

Hello Fabio,

On 3/27/22 23:43, Fabio Estevam wrote:

Have you tried applying this patch?
https://lists.denx.de/pipermail/u-boot/2021-July/453633.html


I have not tried this (yet) as there is no board/freescale/imx8mm_evk/spl.o so 
I guess this is not used in my tree.
The imx8mq_evk/spl.[co] is not present.


I need to resend the imx8mm_evk SDP support.


Maybe this needs more attention? I have seen the u-boot-imx boot this way, so 
there migt be the missing link.
I can investigate further if my efforts could ultimately result into mainline 
support?

Jaap


Re: [PATCH 5/8] usb: ehci-mx6: Allow building SDP for imx8mm

2022-03-27 Thread Jaap Crezee

Hi all,

On 7/3/21 21:58, Fabio Estevam wrote:

After selecting USB SDP support for i.MX8MM, there are some build errors
and warnings.

Make the necessary adjustments for fixing the build.

It seems this is also breaking imx8mq_evk on mainline 
(cbc05bba8cb7da62eae65f41e1b0ddbcadc06bba) as of now.
What should be done to get it working on imx8mq_evk?
It seems I can work around it a bit by configuring

...
CONFIG_SPL_USB_SDP_SUPPORT=y
CONFIG_SPL_SDP_USB_DEV=0
# CONFIG_CMD_USB_SDP is not set
# CONFIG_USB_GADGET_BCM_UDC_OTG_PHY is not set
CONFIG_USB_GADGET_DWC2_OTG=y
# CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 is not set
CONFIG_SDP_LOADADDR=0
CONFIG_USB_FUNCTION_SDP=y
...

But then SDP boot still fails with:

( make flash.bin && uuu ./flash.bin )
U-Boot SPL 2022.04-rc4-00079-gcbc05bba8c (Mar 27 2022 - 22:52:29 +0200)
PMIC:  PFUZE100 ID=0x10
Normal Boot
SPL: Unsupported Boot Device 9
SPL: failed to boot from all boot devices (err=-6)
### ERROR ### Please RESET the board ###

I have attached my complete .config is that helps anyone.


regards,

Jaap Crezee#
# Automatically generated file; DO NOT EDIT.
# U-Boot 2022.04-rc4 Configuration
#

#
# Compiler: aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile 
Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621
#
CONFIG_CREATE_ARCH_SYMLINK=y
CONFIG_SYS_CACHE_SHIFT_6=y
CONFIG_SYS_CACHELINE_SIZE=64
CONFIG_LINKER_LIST_ALIGN=8
# CONFIG_ARC is not set
CONFIG_ARM=y
# CONFIG_M68K is not set
# CONFIG_MICROBLAZE is not set
# CONFIG_MIPS is not set
# CONFIG_NDS32 is not set
# CONFIG_NIOS2 is not set
# CONFIG_PPC is not set
# CONFIG_RISCV is not set
# CONFIG_SANDBOX is not set
# CONFIG_SH is not set
# CONFIG_X86 is not set
# CONFIG_XTENSA is not set
CONFIG_SYS_ARCH="arm"
CONFIG_SYS_CPU="armv8"
CONFIG_SYS_SOC="imx8m"
CONFIG_SYS_VENDOR="freescale"
CONFIG_SYS_BOARD="imx8mq_evk"
CONFIG_SYS_CONFIG_NAME="imx8mq_evk"
# CONFIG_SKIP_LOWLEVEL_INIT is not set
# CONFIG_SPL_SKIP_LOWLEVEL_INIT is not set
# CONFIG_TPL_SKIP_LOWLEVEL_INIT is not set
# CONFIG_SKIP_LOWLEVEL_INIT_ONLY is not set
# CONFIG_SPL_SKIP_LOWLEVEL_INIT_ONLY is not set
# CONFIG_SYS_ICACHE_OFF is not set
# CONFIG_SPL_SYS_ICACHE_OFF is not set
# CONFIG_SYS_DCACHE_OFF is not set
# CONFIG_SPL_SYS_DCACHE_OFF is not set

#
# ARM architecture
#
CONFIG_ARM64=y
CONFIG_ARM64_CRC32=y
# CONFIG_POSITION_INDEPENDENT is not set
# CONFIG_INIT_SP_RELATIVE is not set
# CONFIG_GIC_V3_ITS is not set
CONFIG_STATIC_RELA=y
CONFIG_DMA_ADDR_T_64BIT=y
CONFIG_GPIO_EXTRA_HEADER=y
CONFIG_ARM_ASM_UNIFIED=y
# CONFIG_SYS_ARM_CACHE_CP15 is not set
# CONFIG_SYS_ARM_MMU is not set
# CONFIG_SYS_ARM_MPU is not set
CONFIG_SYS_ARM_ARCH=8
CONFIG_SYS_ARM_CACHE_WRITEBACK=y
# CONFIG_SYS_ARM_CACHE_WRITETHROUGH is not set
# CONFIG_SYS_ARM_CACHE_WRITEALLOC is not set
# CONFIG_ARCH_CPU_INIT is not set
CONFIG_SYS_ARCH_TIMER=y
CONFIG_ARM_SMCCC=y
# CONFIG_SEMIHOSTING is not set
# CONFIG_SYS_L2CACHE_OFF is not set
# CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK is not set
# CONFIG_USE_ARCH_MEMCPY is not set
# CONFIG_SPL_USE_ARCH_MEMCPY is not set
# CONFIG_USE_ARCH_MEMSET is not set
# CONFIG_SPL_USE_ARCH_MEMSET is not set
CONFIG_ARM64_SUPPORT_AARCH32=y
# CONFIG_ARCH_AT91 is not set
# CONFIG_ARCH_DAVINCI is not set
# CONFIG_ARCH_KIRKWOOD is not set
# CONFIG_ARCH_MVEBU is not set
# CONFIG_ARCH_ORION5X is not set
# CONFIG_TARGET_STV0991 is not set
# CONFIG_ARCH_BCM283X is not set
# CONFIG_ARCH_BCM63158 is not set
# CONFIG_ARCH_BCM68360 is not set
# CONFIG_ARCH_BCM6858 is not set
# CONFIG_ARCH_BCMSTB is not set
# CONFIG_TARGET_VEXPRESS_CA9X4 is not set
# CONFIG_TARGET_BCMCYGNUS is not set
# CONFIG_TARGET_BCMNS2 is not set
# CONFIG_TARGET_BCMNS3 is not set
# CONFIG_ARCH_EXYNOS is not set
# CONFIG_ARCH_S5PC1XX is not set
# CONFIG_ARCH_HIGHBANK is not set
# CONFIG_ARCH_INTEGRATOR is not set
# CONFIG_ARCH_IPQ40XX is not set
# CONFIG_ARCH_KEYSTONE is not set
# CONFIG_ARCH_K3 is not set
# CONFIG_ARCH_OMAP2PLUS is not set
# CONFIG_ARCH_MESON is not set
# CONFIG_ARCH_MEDIATEK is not set
# CONFIG_ARCH_LPC32XX is not set
# CONFIG_ARCH_IMX8 is not set
CONFIG_ARCH_IMX8M=y
# CONFIG_ARCH_IMX8ULP is not set
# CONFIG_ARCH_IMXRT is not set
# CONFIG_ARCH_MX23 is not set
# CONFIG_ARCH_MX28 is not set
# CONFIG_ARCH_MX31 is not set
# CONFIG_ARCH_MX7ULP is not set
# CONFIG_ARCH_MX7 is not set
# CONFIG_ARCH_MX6 is not set
CONFIG_SPL_LDSCRIPT="arch/arm/cpu/armv8/u-boot-spl.lds"
# CONFIG_ARCH_MX5 is not set
# CONFIG_ARCH_NEXELL is not set
# CONFIG_ARCH_APPLE is not set
# CONFIG_ARCH_OWL is not set
# CONFIG_ARCH_QEMU is not set
# CONFIG_ARCH_RMOBILE is not set
# CONFIG_ARCH_SNAPDRAGON is not set
# CONFIG_ARCH_SOCFPGA is not set
# CONFIG_ARCH_SUNXI is not set
# CONFIG_ARCH_U8500 is not set
# CONFIG_ARCH_VERSAL is not set
# CONFIG_ARCH_VF610 is not set
# CONFIG_ARCH_ZYNQ is not set
# CONFIG_ARCH_ZYNQMP_R5 is not set
# CONFIG_ARCH_ZYNQMP is not set
# CONFIG_ARCH_TEGRA is not set
# CONFIG_TARGET_VEXPRESS64_AEMV8A is not set

[U-Boot] i6300esb watchdog

2018-10-25 Thread Jaap Crezee
Hi all,


Anybody has experience here with the i6300esb watchdog and u-boot (running 
under qemu-system-arm -M virt)? U-boot has no driver support for it (yet)
and I couldn't get it armed yet using simple pci write commands from the u-boot 
command line.

If someone has more information I am interested in hearing from you,


regards,

Jaap Crezee

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot