Hello
We are evaluating the performance of K2L in one of our projects. We are using K2L EVM made by eInfoChips. We are running a Linux built with Yocto with the processor-sdk-dunfell-07.01.00.txt config.
We are able to boot to the Arago login prompt when booting via NFS share. We now want to boot from USB drive.
I follow the instruction here: https://software-dl.ti.com/jacinto7/esd/processor-sdk-linux-j7200/07_03_00_04/exports/docs/dra821a/linux/Foundational_Components/U-Boot/UG-Memory.html
I have set all the necessary KConfig values according to the post above, but the kernel does not seem to see the XHCI driver before it tries to load the root file system from the USB drive, and thus the boot hangs forever.
CONFIG_USB=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_PCI=y CONFIG_USB_XHCI_PLATFORM=y CONFIG_USB_STORAGE=y CONFIG_USB_DWC3=y CONFIG_USB_DWC3_HOST=y CONFIG_USB_DWC3_KEYSTONE=y CONFIG_EXTCON=y CONFIG_EXTCON_USB_GPIO=y CONFIG_SCSI_MOD=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y
I attach both boot log and the .config file generated by Yocto in the attachment.
I suspect that the CONFIG_KEYSTONE_USB_PHY needs to set as "y" as well, but the build process keeps converting it to: CONFIG_KEYSTONE_USB_PHY=m. Not sure what causes it.
Here is the Yocto command I use to build the kernel:
~/tisdk_dunfell/build$ MACHINE=k2l-evm bitbake linux-ti-staging
Any suggestion or ideas on how to get the kernel seeing the USB drive so that it can load the root file system?
Thanks very much
-Thanh
