Hello All,
I am using Verdin-imx8mp SoM with custom carrier board and below software currently using:
Torizon OS : Reference Minimal Image (Yocto build)
Toradex BSP : Toradex BSP version 7.4.0
Linux Kernel : Linux Kernel version 6.6.94 LTS
Machine : verdin-imx8mp
Yocto Release : Yocto 5.0 (Scarthgap)
Distro (Distribution) : tdx-xwayland
Architecture : ARM64
To upgrade the SoM we tested by using SD card with tezi installer and our build package. Now I am trying to do same thing using USB Type-C Pen drive but it not detecting in U-Boot. check the below log of u-boot command:
U-Boot 2024.07-7.4.0-devel+git.3f772959501c (Jul 01 2024 - 18:07:18 +0000)
CPU: Freescale i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 51C
Reset cause: POR
DRAM: 4 GiB
Core: 177 devices, 31 uclasses, devicetree: separate
WDT: Started watchdog@30280000 with servicing every 1000ms (60s timeout)
MMC: FSL_SDHC: 1, FSL_SDHC: 2
Loading Environment from MMC... Reading from MMC(2)... OK
get_tdx_eeprom: cannot find EEPROM by node
MISSING TORADEX CARRIER CONFIG BLOCKS
get_tdx_eeprom: cannot find EEPROM by node
In: serial@30880000
Out: serial@30880000
Err: serial@30880000
Model: Toradex 0063 Verdin iMX8M Plus Quad 4GB IT V1.1B
Serial#: 15677546
SEC0: RNG instantiated
Setting variant to nonwifi
U-Boot FW Ver: 00.00.02
Boot Selection GPIOs: 0000 (config=0)
eMMC Default Primary Boot Selected.
Net: pca953x gpio-expander@21: Error reading output register
Could not get PHY for mdio: addr 7
Could not get PHY for FEC1: addr 7
pca953x gpio-expander@21: Error reading output register
Could not get PHY for mdio: addr 7
Could not get PHY for FEC1: addr 7
eth0: ethernet@30bf0000 [PRIME]
Hit any key to stop autoboot: 0
Verdin iMX8MP # usb start
starting USB...
Bus usb@38200000: Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.10
scanning bus usb@38200000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Verdin iMX8MP # usb tree
USB device tree:
1 Hub (5 Gb/s, 0mA)
U-Boot XHCI Host Controller
Verdin iMX8MP # usb storage
No storage devices, perhaps not 'usb start'ed..?
Verdin iMX8MP #
We created our own custom carrier device tree and for USB here is below:
/* Verdin USB_1 Type-C Port used on 2460 MB */
&usb3_0 {
status = "okay";
};
/* Verdin USB_1 Type-C Port used on 2460 MB */
&usb3_phy0 {
status = "okay";
};
/* Verdin USB_1 Type-C Port used on 2460 MB */
&usb_dwc3_0 {
status = "okay";
dr_mode = "host";
maximum-speed = "high-speed";
vbus-supply = <®_usb1_vbus>;
/delete-property/ usb-role-switch;
/delete-property/ role-switch-default-mode;
/delete-node/ connector;
};
Could you please check the above information and provide the suggestions how to resolve this issue?
Thanks in advance..!!
Thanks,
Vishal