I already switch DIP to device mode, and use a normal USB3 type A to A connect the PC and rock3a, There is no any action.
I don’t have others A to A devices, so I change another one USB3 type A to C cable, A to rock3 and C to PC, still can’t work. I’ve verified this C to A cable, which can work on my cellphone to PC.
But seem kernel already work:
[ 418.186228] Mass Storage Function, version: 2009/09/11
[ 418.186240] LUN: removable file: (no medium)
[ 418.186380] LUN: file: /dev/md0
[ 418.186382] Number of LUNs=1
[ 418.187063] g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11
[ 418.187067] g_mass_storage gadget: userspace failed to provide iSerialNumber
[ 418.187069] g_mass_storage gadget: g_mass_storage ready
rock@rock-3a:/sys/class/udc$ uname -a
Linux rock-3a 4.19.193-67-rockchip-g450948183988 #rockchip SMP Thu Jan 12 03:23:25 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
Is there anything I missing?