Hi Karan Gajjar,U301
we modified one of our boards in the way you mentioned. We removed U303 and U302. Additionally we removed U301 and F301. We took USB1_ID, USB1_DP, USB1_DN, USB1_VBUS and GND from their corresponding TPs and "routed" them to a multi-pin connector. This way we're able to connect USB without the USB type C connector J301.
The board enumerates in serial download mode as "Blank M845S" like it should but during flash using the uuu tool, the bootloader imx-boot-imx8mmevk-sd.bin-flash_evk crashes and we can't access FB mode. Please see error message at the bottom.
In U-Boot we noticed the setup_typec function as well as i2c access to, probably, U303 and/or U302. I tried to disable using Type C via CONFIG_USB_TCPC in imx8mm_evk_defconfig, but that only causes U-Boot to fall back into command line mode because of g_dnl_register: failed!, error: -19.
What (else) do we need to do/change (i.e. in U-Boot), to get our setup running?
Best regards,
Thorben
Card did not respond to voltage select!
Detect USB boot. Will enter fastboot mode!
Net:
Warning: ethernet@30be0000 using MAC address from ROM
eth0: ethernet@30be0000
Fastboot: Normal
Boot from USB for mfgtools
Use default environment for mfgtools
Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi;
Hit any key to stop autoboot: 0
## Checking Image at 43800000 ...
Unknown image format!
Run fastboot ...
dev_get_parent_platdata: null device
"Synchronous Abort" handler, esr 0x96000004
elr: 0000000040230b34 lr : 0000000040230b28 (reloc)
elr: 00000000bdf40b34 lr : 00000000bdf40b28
x0 : 0000000014000280 x1 : 00000000308900b4
x2 : 00000000bdf31640 x3 : 0000000000000001
x4 : 00000000ffffffff x5 : 0000000000000000
x6 : 00000000bc908000 x7 : 00000000ffffffd0
x8 : 0000000000000000 x9 : 0000000000000008
x10: 0004000180018008 x11: 00000000bd108d60
x12: 0000000000000002 x13: 0000000000000004
x14: 00000000bc9083ec x15: 0000000000000008
x16: 0000000000001080 x17: 0000000000000000
x18: 00000000bc90fda0 x19: 0000000000000000
x20: 0000000000000001 x21: 00000000bc9080df
x22: 0000000000000000 x23: 000000000000001d
x24: 0000000000000002 x25: 0000000000000001
x26: 0000000000000000 x27: 0000000000000000
x28: 00000000bd11ab10 x29: 00000000bc908010
Resetting CPU ...
resetting ...