V3s BSP 3.4的 ADB问题有解决了么?
# depmod
# modprobe g_ffs idVendor=0x18d1 idProduct=0x4e42 iSerialNumber="buildroot"
[ 78.678502] g_ffs: file system registered
# mkdir -p /dev/usb-ffs/adb
# mount -t functionfs adb /dev/usb-ffs/adb -o uid=2000,gid=2000
# adbd &
# install_listener('tcp:5037','*sm[ 99.388973] g_ffs: read descriptors
artsocket*')
[ 99.395368] g_ffs: read strings
[ 99.399856] udc sunxi_usb_udc: registering UDC driver [g_ffs]
[ 99.406909] g_ffs gadget: using random self ethernet address
[ 99.413519] g_ffs gadget: using random host ethernet address
[ 99.428949] usb0: MAC 36:44:e2:9f:2f:a4
[ 99.433523] usb0: HOST MAC 12:f8:3d:91:69:45
[ 99.452645] g_ffs gadget: adding config #1 'FunctionFS + RNDIS'/bf00b460
[ 99.460754] g_ffs gadget: adding 'rndis'/c1fc1cc0 to config 'FunctionFS + RNDIS'/bf00b460
[ 99.470054] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.479764] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.489470] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.499274] gadget_is_softwinner_otg is not -int
[ 99.504524] gadget_is_softwinner_otg is not -int
[ 99.509993] g_ffs: rndis_register: configNr = 0
[ 99.515303] g_ffs: rndis_set_param_medium: 0 0
[ 99.520372] g_ffs gadget: RNDIS: dual speed IN/ep1in-bulk OUT/ep1out-bulk NOTIFY/ep4-int
[ 99.529663] g_ffs gadget: adding 'Function FS Gadget'/c0e684e4 to config 'FunctionFS + RNDIS'/bf00b460
[ 99.540260] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.549855] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.560637] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.570407] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.580377] g_ffs gadget: cfg 1/bf00b460 speeds: high full
[ 99.586595] g_ffs gadget: interface 0 = rndis/c1fc1cc0
[ 99.592747] g_ffs gadget: interface 1 = rndis/c1fc1cc0
[ 99.598779] g_ffs gadget: adding config #2 'FunctionFS + ECM'/bf00b4d4
[ 99.606703] g_ffs gadget: adding 'cdc_ethernet'/c1fc1c00 to config 'FunctionFS + ECM'/bf00b4d4
[ 99.616563] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.626163] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.635874] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.645672] gadget_is_softwinner_otg is not -int
[ 99.650926] gadget_is_softwinner_otg is not -int
[ 99.656443] g_ffs gadget: CDC Ethernet: dual speed IN/ep1in-bulk OUT/ep1out-bulk NOTIFY/ep4-int
[ 99.666270] g_ffs gadget: adding 'Function FS Gadget'/c0e68864 to config 'FunctionFS + ECM'/bf00b4d4
[ 99.676675] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.686389] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.696923] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.706668] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.716535] g_ffs gadget: cfg 2/bf00b4d4 speeds: high full
[ 99.722887] g_ffs gadget: interface 0 = cdc_ethernet/c1fc1c00
[ 99.729581] g_ffs gadget: interface 1 = cdc_ethernet/c1fc1c00
[ 99.736408] g_ffs gadget: adding config #3 'FunctionFS'/bf00b548
[ 99.743632] g_ffs gadget: adding 'Function FS Gadget'/c1fc8de4 to config 'FunctionFS'/bf00b548
[ 99.753619] g_ffs gadget: cfg 3/bf00b548 speeds: high full
[ 99.759978] g_ffs gadget: g_ffs ready
离线
V3s BSP 3.4的 ADB问题有解决了么?
# depmod
# modprobe g_ffs idVendor=0x18d1 idProduct=0x4e42 iSerialNumber="buildroot"
[ 78.678502] g_ffs: file system registered
# mkdir -p /dev/usb-ffs/adb
# mount -t functionfs adb /dev/usb-ffs/adb -o uid=2000,gid=2000
# adbd &
# install_listener('tcp:5037','*sm[ 99.388973] g_ffs: read descriptors
artsocket*')
[ 99.395368] g_ffs: read strings
[ 99.399856] udc sunxi_usb_udc: registering UDC driver [g_ffs]
[ 99.406909] g_ffs gadget: using random self ethernet address
[ 99.413519] g_ffs gadget: using random host ethernet address
[ 99.428949] usb0: MAC 36:44:e2:9f:2f:a4
[ 99.433523] usb0: HOST MAC 12:f8:3d:91:69:45
[ 99.452645] g_ffs gadget: adding config #1 'FunctionFS + RNDIS'/bf00b460
[ 99.460754] g_ffs gadget: adding 'rndis'/c1fc1cc0 to config 'FunctionFS + RNDIS'/bf00b460
[ 99.470054] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.479764] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.489470] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.499274] gadget_is_softwinner_otg is not -int
[ 99.504524] gadget_is_softwinner_otg is not -int
[ 99.509993] g_ffs: rndis_register: configNr = 0
[ 99.515303] g_ffs: rndis_set_param_medium: 0 0
[ 99.520372] g_ffs gadget: RNDIS: dual speed IN/ep1in-bulk OUT/ep1out-bulk NOTIFY/ep4-int
[ 99.529663] g_ffs gadget: adding 'Function FS Gadget'/c0e684e4 to config 'FunctionFS + RNDIS'/bf00b460
[ 99.540260] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.549855] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.560637] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.570407] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.580377] g_ffs gadget: cfg 1/bf00b460 speeds: high full
[ 99.586595] g_ffs gadget: interface 0 = rndis/c1fc1cc0
[ 99.592747] g_ffs gadget: interface 1 = rndis/c1fc1cc0
[ 99.598779] g_ffs gadget: adding config #2 'FunctionFS + ECM'/bf00b4d4
[ 99.606703] g_ffs gadget: adding 'cdc_ethernet'/c1fc1c00 to config 'FunctionFS + ECM'/bf00b4d4
[ 99.616563] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.626163] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.635874] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.645672] gadget_is_softwinner_otg is not -int
[ 99.650926] gadget_is_softwinner_otg is not -int
[ 99.656443] g_ffs gadget: CDC Ethernet: dual speed IN/ep1in-bulk OUT/ep1out-bulk NOTIFY/ep4-int
[ 99.666270] g_ffs gadget: adding 'Function FS Gadget'/c0e68864 to config 'FunctionFS + ECM'/bf00b4d4
[ 99.676675] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.686389] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.696923] ep_matches, wrn: endpoint already claimed, ep(0xc04be754, 0xc1e5b7c0, ep1in-bulk)
[ 99.706668] ep_matches, wrn: endpoint already claimed, ep(0xc04be7a0, 0xc1e5b7c0, ep1out-bulk)
[ 99.716535] g_ffs gadget: cfg 2/bf00b4d4 speeds: high full
[ 99.722887] g_ffs gadget: interface 0 = cdc_ethernet/c1fc1c00
[ 99.729581] g_ffs gadget: interface 1 = cdc_ethernet/c1fc1c00
[ 99.736408] g_ffs gadget: adding config #3 'FunctionFS'/bf00b548
[ 99.743632] g_ffs gadget: adding 'Function FS Gadget'/c1fc8de4 to config 'FunctionFS'/bf00b548
[ 99.753619] g_ffs gadget: cfg 3/bf00b548 speeds: high full
[ 99.759978] g_ffs gadget: g_ffs ready
全志的 tina3.5支持 ADB 调试。
离线
你说的全志的 tina3.5支持 ADB 调试。tina3.5是f1cxxx的sdk内核是3.10,我这里弄的是V3S的bsp内核是3.4,不知道是不是配置那里出了问题,还是V3S的内核又问题?
离线
你说的全志的 tina3.5支持 ADB 调试。tina3.5是f1cxxx的sdk内核是3.10,我这里弄的是V3S的bsp内核是3.4,不知道是不是配置那里出了问题,还是V3S的内核又问题?
不,内核就是3.4的支持ADB。
离线
大帅 说:你说的全志的 tina3.5支持 ADB 调试。tina3.5是f1cxxx的sdk内核是3.10,我这里弄的是V3S的bsp内核是3.4,不知道是不是配置那里出了问题,还是V3S的内核又问题?
不,内核就是3.4的支持ADB。
方便给个配置文件么?
离线