Imx8mp evk with Type C port 1 use in gadget mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Imx8mp evk with Type C port 1 use in gadget mode

836 次查看
jignesh1
Contributor I

we are using yocto build with kernel 6.1 release. I have tested typeC port 1 at uboot level with ums and it is working fine.

When I boot at kernel level then notice that I do not able to see power when i plug pendrive. Also when plug cable to my PC to validate gadget mode it is also not working.

For gadget mode I got following issue.

root@imx8mp-lpddr4-evk:~# modprobe g_mass_storage file=/dev/sda1 removable=1
[ 6586.767878] UDC core: g_mass_storage: couldn't find an available UDC
root@imx8mp-lpddr4-evk:~#

It looks like at kernel level we are not able to use typeC port 1 in host mode or gadget mode. Anything we need to change in kernel to make this things working ?

标签 (1)
0 项奖励
回复
1 回复

796 次查看
clay_miller
NXP Employee
NXP Employee

Hi,

I have a default 6.6 build that is able to use the gadget mode mass storage on USB C port 1 successfully. I'm building a 6.1 image to currently and can check it once its complete.

Are you using a pre-built released image or did you do a fresh yocto build? 

If a custom yocto build was used, you might check that the kernel has all the relevant drivers enabled from the menuconfig. The default Linux and Uboot device trees in our BSP show the same USB mode configurations. 

Can you check your usb modes for me?

cat /sys/kernel/debug/usb/38100000.usb/mode

cat /sys/kernel/debug/usb/38200000.usb/mode

 

Regards,

Clay

0 项奖励
回复