您尚未登录。

楼主 #1 2021-04-07 11:10:54

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

在荔枝派nano环境下,全志tina移植ax88772c的问题求助

我看了全志的tina的linux内核上有关于ax的驱动,然后果断选中,但是编译烧录到荔枝派nano之后,还是无法识别到网口驱动。然后又去找了官方的驱动移植到内核中,发现还是驱动不起来,,,所以来着,请问一下有没有大佬弄过这方面的经验,特地来请指教,小弟在此先谢过了。
系统的启动日子如下:

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.10.65 (cotodo@cotodo) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #32 Wed Apr 7 02:56:07 UTC 2021
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: Allwinner A1X (Device Tree), model: sun3iw1p1
[    0.000000] bootconsole [earlycon0] enabled
[    0.000000] cma: CMA: failed to reserve 32 MiB
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] On node 0 totalpages: 8192
[    0.000000] free_area_init_node: node 0, pgdat c03c9d84, node_mem_map c03f4000
[    0.000000]   Normal zone: 64 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 8192 pages, LIFO batch:0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: enforcing=1 earlyprintk=sunxi-uart,0x01c25000 initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mtdblock4 init=/pseudo_init rdinit=/rdinit partitions=bootlogo@mtdblock1:env@mtdblock2:boot@mtdblock3:rootfs@mtdblock4:rootfs_data@mtdblock5:misc@mtdblock6:private@mtdblock7:UDISK@mtdblock8 cma=32M fb_base=0x81f00000 androidboot.serialno=<NULL> boot_type=3
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Memory: 32MB = 32MB total
[    0.000000] Memory: 28284k/28284k available, 4484k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xc2800000 - 0xff000000   ( 968 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc0382f44   (3564 kB)
[    0.000000]       .init : 0xc0383000 - 0xc039e9b0   ( 111 kB)
[    0.000000]       .data : 0xc03a0000 - 0xc03ca708   ( 170 kB)
[    0.000000]        .bss : 0xc03ca708 - 0xc03f33c0   ( 164 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] of_sunxi_clocks_init : sunxi_clk_base[0xf1c20000]
[    0.000000] pll_cpu-set_default_rate=552000000 success!
[    0.000000] pll_video-set_default_rate=297000000 success!
[    0.000000] pll_ddr-set_default_rate=312000000 success!
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] Console: colour dummy device 80x30
[    0.005325] Calibrating delay loop... 275.25 BogoMIPS (lpj=1376256)
[    0.075251] pid_max: default: 32768 minimum: 301
[    0.080441] Mount-cache hash table entries: 512
[    0.086441] CPU: Testing write buffer coherency: ok
[    0.092236] Setting up static identity map for 0xc02b0910 - 0xc02b0968
[    0.101515] devtmpfs: initialized
[    0.106934] pinctrl core: initialized pinctrl subsystem
[    0.112793] NET: Registered protocol family 16
[    0.117916] DMA: failed to allocate 256 KiB pool for atomic coherent allocation
[    0.125948] dump_class_init,844, success
[    0.134531] sun3iw1p1-pinctrl pio: initialized sunXi PIO driver
[    0.157355] bio: create slab <bio-0> at 0
[    0.163330] usbcore: registered new interface driver usbfs
[    0.169114] usbcore: registered new interface driver hub
[    0.174995] usbcore: registered new device driver usb
[    0.182144] Switching to clocksource sun3i high-res couter
[    0.206790] get det_vbus is fail, 84
[    0.212265] NET: Registered protocol family 2
[    0.219229] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[    0.226341] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[    0.233009] TCP: Hash tables configured (established 512 bind 512)
[    0.239566] TCP: reno registered
[    0.242965] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.249081] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.256141] NET: Registered protocol family 1
[    0.273951] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.280625] jffs2: version 2.2. © 2001-2006 Red Hat, Inc.
[    0.287036] msgmni has been set to 55
[    0.294354] io scheduler noop registered
[    0.298651] io scheduler cfq registered (default)
[    0.303525] [pm]aw_pm_init!
[    0.306802] [pm]valid
[    0.309292] [pm]valid
[    0.325993] uart0: ttyS0 at MMIO 0x1c25000 (irq = 104) is a SUNXI
[    0.332439] sw_console_setup()1324 - console setup baud 115200 parity n bits 8, flow n
[    0.340661] console [ttyS0] enabled, bootconsole disabled
[    0.340661] console [ttyS0] enabled, bootconsole disabled
[    0.353208] misc dump reg init
[    0.357596] lradc_battery_probe:lradc_battery_probe ++++++
[    0.363823] lradc_battery_dts_parse:lradc_battery_dts_parse ++++++
[    0.370780] key base: f1c23400
[    0.374351] irq num: 113 !
[    0.377357] battery_data_hw_init:battery_data_hw_init ++++++
[    0.383764] lradc_battery_probe:lradc_battery_probe ------
[    0.392073] spi spi0: master is unqueued, this is deprecated
[    0.399732] m25p80 spi0.0: mx25l12805d (16384 Kbytes) - fast mode
[    0.410363] 9 sunxipart partitions found on MTD device (null)
[    0.416755] Creating 9 MTD partitions on "(null)":
[    0.422166] 0x000000000000-0x000000080000 : "uboot"
[    0.429737] 0x000000080000-0x000000100000 : "bootlogo"
[    0.437368] 0x000000100000-0x000000120000 : "env"
[    0.444638] 0x000000120000-0x0000003e0000 : "boot"
[    0.452060] 0x0000003e0000-0x000000c20000 : "rootfs"
[    0.459722] 0x000000c20000-0x000000ca0000 : "rootfs_data"
[    0.467646] 0x000000ca0000-0x000000cb0000 : "misc"
[    0.474899] 0x000000cb0000-0x000000cc0000 : "private"
[    0.482487] 0x000000cc0000-0x000001000000 : "UDISK"
[    0.490377] usbcore: registered new interface driver asix
[    0.496493] usbcore: registered new interface driver ax88179_178a
[    0.503578] usbcore: registered new interface driver cdc_ether
[    0.510256] usbcore: registered new interface driver cdc_eem
[    0.516750] usbcore: registered new interface driver cdc_ncm
[    0.523250] usbcore: registered new interface driver my_asix
[    0.529593] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.537233] ehci-platform: EHCI generic platform driver
[    0.543365] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.550958] g_ether gadget: using random self ethernet address
[    0.557471] g_ether gadget: using random host ethernet address
[    0.565117] usb0: MAC 9e:97:ac:13:70:f3
[    0.569496] usb0: HOST MAC 0a:5d:06:2a:0b:d7
[    0.574374] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    0.581793] g_ether gadget: g_ether ready
[    0.587169] /soc/usbc0@0: could not find phandle
[    0.592426] get regulator_io is no nocare
[    0.597026] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    0.605042] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    0.616819] hub 1-0:1.0: USB hub found
[    0.621163] hub 1-0:1.0: 1 port detected
[    0.626013] wrn: hcd is not enable, need not stop hcd
[    0.633491] usbip_core: USB/IP Core v1.0.0
[    0.638415] usbcore: registered new interface driver usbip-host
[    0.645004] usbip_host: USB/IP Host Driver v1.0.0
[    0.652306] ipip: IPv4 over IPv4 tunneling driver
[    0.658874] gre: GRE over IPv4 demultiplexor driver
[    0.664307] ip_gre: GRE over IPv4 tunneling driver
[    0.672072] TCP: cubic registered
[    0.675769] Initializing XFRM netlink socket
[    0.680690] NET: Registered protocol family 17
[    0.685700] NET: Registered protocol family 15
[    0.691142] VFP support v0.3: not present
[    0.697088] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    0.717378] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.738434] devtmpfs: mounted
[    0.742413] Freeing unused kernel memory: 108K (c0383000 - c039e000)
mount: mounting none on /dev failed: Resource busy
mount: mounting pstore on /sys/fs/pstore failed: No such file or directory
-- run rc.preboot --
-- set volume --
Failed to open mixer
-- play music --
-- end --
failed to open for pcm 0,0
-- run rc.final --
insmod F1C200s-board
app start...
-- wifi connect --
insmod wifi kernel module --------------------
insmod: can't insert '/lib/modules/3.10.65/xradio_wlan.ko': No such file or directory
start wpa_supplicant ------------------------
Successfully initialized wpa_supplicant
Line 6: Invalid passphrase length 6 (expected: 8..63) '******"'.
Line 6: failed to parse psk '"******"'.
Line 7: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
start udhcpc ----------------
-- end --


BusyBox v1.27.2 () built-in shell (ash)

udhcpc: SIOCGIFINDEX: No such device
 _____  _              __     _
|_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
  | |  | || | || _ |  |_____||_||_|_||___||_,_|
  |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
 ----------------------------------------------
 Tina Linux (Neptune, 5C1C9C53)
 ----------------------------------------------
root@TinaLinux:/# ifconfig -a
gre0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-C4-6D-00-00-00-00-00-00-00-00
          NOARP  MTU:1476  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

gretap0   Link encap:Ethernet  HWaddr 00:00:00:00:00:00
          BROADCAST MULTICAST  MTU:1476  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tunl0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-4C-34-00-00-00-00-00-00-00-00
          NOARP  MTU:0  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

usb0      Link encap:Ethernet  HWaddr 9E:97:AC:13:70:F3
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@TinaLinux:/#

离线

楼主 #3 2021-04-07 11:35:50

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

raspberryman 说:

usb0网卡是啥呢?

不清楚,而且我还有个问题这usb0网卡每次启动mac都会改变的,enmm,还有如果成功识别到网卡的话不是以ethxx开头的吗,而且我给这usb0配了IP之后和本地的电脑也ping不通,在同一个局域网

最近编辑记录 MagicKind (2021-04-07 11:37:38)

离线

楼主 #5 2021-04-07 12:04:25

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

raspberryman 说:
MagicKind 说:
raspberryman 说:

usb0网卡是啥呢?

不清楚,而且我还有个问题这usb0网卡每次启动mac都会改变的,enmm,还有如果成功识别到网卡的话不是以ethxx开头的吗,而且我给这usb0配了IP之后和本地的电脑也ping不通,在同一个局域网

这个是不是 rndis网卡?

不是噢,大佬,我就是想用荔枝派Nano连外网

离线

楼主 #6 2021-04-07 14:13:09

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

raspberryman 说:
MagicKind 说:
raspberryman 说:

usb0网卡是啥呢?

不清楚,而且我还有个问题这usb0网卡每次启动mac都会改变的,enmm,还有如果成功识别到网卡的话不是以ethxx开头的吗,而且我给这usb0配了IP之后和本地的电脑也ping不通,在同一个局域网

这个是不是 rndis网卡?

大佬,求指导啊,我这弄了好久都没弄出来

离线

楼主 #8 2021-04-07 14:25:17

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

raspberryman 说:

先插到电脑Ubuntu看下是什么情况

在电脑上面可以识别到那usb转网口模块,就是enx00001000dac1这个网卡

cc@cc:~$ ifconfig
ens33     Link encap:Ethernet  HWaddr 00:0c:29:7b:5c:a1  
          inet addr:192.168.3.114  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: fe80::9ee5:415:cec8:5163/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:619023 errors:0 dropped:8 overruns:0 frame:0
          TX packets:26818 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:120983865 (120.9 MB)  TX bytes:2973641 (2.9 MB)

enx00001000dac1 Link encap:Ethernet  HWaddr 00:00:10:00:da:c1  
          inet addr:192.168.1.100  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::b2cd:a9d0:c7e2:3064/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:719 (719.0 B)  TX bytes:6307 (6.3 KB)

离线

楼主 #9 2021-04-07 14:29:43

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

raspberryman 说:

先插到电脑Ubuntu看下是什么情况

大佬,我这有个疑惑点,在nano这块板子的/etc,我找不到关于网络配置的文件夹的,

root@TinaLinux:/# ls
bin          lib          proc         rom          sys          var
dev          mnt          pseudo_init  root         tmp          www
etc          overlay      rdinit       sbin         usr
root@TinaLinux:/# ls /etc/
banner               mdev.conf            rc.common
banner.failsafe      modules-boot.d       rc.d
cedarx.conf          modules.d            recorder.cfg
crontabs             mtab                 shadow
device_info          openwrt_release      shells
fstab                openwrt_version      sunxi-keyboard.kl
group                opkg                 ts.conf
hotplug.d            passwd               tslib-env.sh
init.d               pointercal           uci-defaults
inittab              profile              wpa_supplicant.conf
kaiji.wav            rc.button            xr_wifi.conf
root@TinaLinux:/#

离线

楼主 #11 2021-04-09 15:40:47

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

哇酷小二 说:

lsmod看下加载了什么驱动?然后你在tina linux有没有勾选对应的驱动?

大佬,我试过了,在内核那部分有加载的信息,可是lsmod的时候查不到这个模块asix这个模块,这该怎么办,,,

[    0.508581] usbcore: registered new interface driver asix
[    0.514828] usbcore: registered new interface driver new_asix
[    0.521478] usbcore: registered new interface driver ax88179_178a
[    0.528308] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.536070] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.543580] usbcore: registered new interface driver usbtest
[    0.550631] /soc/usbc0@0: could not find phandle
root@TinaLinux:/# lsmod
cdc_eem                 2247  0
cdc_ether               3199  0
snd_mixer_oss          11988  1 snd_pcm_oss
snd_pcm_oss            30646  0
snd_seq_device          4506  0
vhci_hcd               11699  0
root@TinaLinux:/#

离线

楼主 #13 2021-04-09 15:51:59

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

哇酷小二 说:

lsusb 有网卡的 vid : pid 吗?

好尴尬,大佬,我这没有lsusb这个命令,是我没有编译进内核吗

root@TinaLinux:/# lsusb
-/bin/sh: lsusb: not found

最近编辑记录 MagicKind (2021-04-09 15:54:40)

离线

楼主 #15 2021-04-09 16:14:05

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

哇酷小二 说:

tina 的 .config

CONFIG_BUSYBOX_DEFAULT_LSUSB

把这个编译开关打开。

大佬,我发现一个奇怪的问题,lsmod没asix这个模块,然后我insmod的时候又报了失败

root@TinaLinux:~# insmod asix.ko 
[   75.103094] asix: module is already loaded
failed to insert asix.ko

离线

楼主 #17 2021-04-09 16:45:18

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

哇酷小二 说:

神奇 你还是先看下lsusb的结果吧

lsusb命令可以了,但是我无论是插上usb网口还是拔了,也同样有下面的数据,是不是usb这个网口识别不到

root@TinaLinux:/# lsusb 
Bus 001 Device 001: ID 1d6b:0001
Bus 002 Device 001: ID 1d6b:0002

最近编辑记录 MagicKind (2021-04-09 16:47:51)

离线

楼主 #19 2021-04-09 16:50:59

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

哇酷小二 说:

usb插电脑,是不是出现了adb设备?

没有,我把这个功能关了

  │ │                               eyesee-mpp  --->                                                                             │ │  
  │ │                               smartlinkd  --->                                                                             │ │  
  │ │                               tina_multimedia_demo  --->                                                                   │ │  
  │ │                           < > MtpDaemon................................................ Tina MTP Daemon                    │ │  
  │ │                           < > adb................................................... adb for Tina Linux                    │ │  
  │ │                           < > adbd_auth_service........................ adb auth service for Tina Linux                    │ │  
  │ │                           < > aec-xt-demo...................... Nuvoton Acoustic Echo Cancellation Demo                    │ │  

最近编辑记录 MagicKind (2021-04-09 16:58:00)

离线

楼主 #21 2021-04-09 16:58:42

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

哇酷小二 说:
MagicKind 说:
哇酷小二 说:

usb插电脑,是不是出现了adb设备?

没有,我把这个功能关了

你的usb模式是什么 otg?host?device?

host模式

;--------------------------------
;[usbc0]:控制器0的配置。
;usb_used:USB使能标志。置1,表示系统中USB模块可用,置0,则表示系统USB禁用。
;usb_port_type:USB端口的使用情况。 0:device only;1:host only;2:OTG
;usb_detect_type:USB端口的检查方式。0:不做检测;1:vbus/id检查;2:id/dpdm检查
;usb_id_gpio:USB ID pin脚配置。具体请参考gpio配置说明。
;usb_det_vbus_gpio:USB DET_VBUS pin脚配置。具体请参考gpio配置说明。
;usb_drv_vbus_gpio:USB DRY_VBUS pin脚配置。具体请参考gpio配置说明。
;usb_det_vbus_gpio: "axp_ctrl",表示axp 提供
;--------------------------------
;--------------------------------
;---       USB0控制标志
;--------------------------------
;[usbc0]
;usbc0_used          = 0
;usb_port_type       = 2
;usb_detect_type     = 1
;usb_id_gpio         = port:PH09<0><1><default><default>
;usb_det_vbus_gpio   = "axp_ctrl"
;usb_drv_vbus_gpio   = port:PB07<1><0><default><0>
;usb_host_init_state = 0
;usb_regulator_io    = "nocare"
;usb_regulator_vol   = 0
;usb_wakeup_suspend  = 0
;---       USB Device
;usb_luns            = 3
;usb_serial_unique   = 0
;usb_serial_number   = "20080411"

[usbc0]
usbc0_used          = 1
usb_port_type       = 1
usb_detect_type     = 1
usb_id_gpio         =
usb_det_vbus_gpio   =
usb_board_sel       = 1
usb_drv_vbus_gpio   = 2047
usb_host_init_state = 0
usb_regulator_io    = "nocare"
usb_regulator_vol   = 0
usb_wakeup_suspend  = 0
; USB Device
usb_luns            = 3
usb_serial_unique   = 0
usb_serial_number   = "20080411"

内核配置

<*>   Support for Host-side USB                                                                  │ │  
  │ │                           [ ]     USB verbose debug messages                                                               │ │  
  │ │                           [ ]     USB announce new devices                                                                 │ │  
  │ │                                   *** Miscellaneous USB options ***                                                        │ │  
  │ │                           【*】     Enable USB persist by default                                                            │ │  
  │ │                           [ ]     Dynamic USB minor allocation                                                             │ │  
  │ │                           [ ]     Rely on OTG Targeted Peripherals List                                                    │ │  
  │ │                           [ ]     Disable external hubs                                                                    │ │  
  │ │                           < >     USB Monitor                                                                              │ │  
  │ │                           < >     Support WUSB Cable Based Association (CBA)                                               │ │  
  │ │                                   *** USB Host Controller Drivers ***                                                      │ │  
  │ │                           < >     Cypress C67x00 HCD support                                                               │ │  
  │ │                           < >     xHCI HCD (USB 3.0) support                                                               │ │  
  │ │                           <*>     EHCI HCD (USB 2.0) support                                                               │ │  
  │ │                           [ ]       Root Hub Transaction Translators                                                       │ │  
  │ │                           【*】       Improved Transaction Translator scheduling                                             │ │  
  │ │                           < >     Support for Synopsys Host-AHB USB 2.0 controller                                         │ │  
  │ │                           < >     Generic EHCI driver for a platform device                                                │ │  
  │ │                           < >     OXU210HP HCD support                                                                     │ │  
  │ │                           < >     ISP116X HCD support                                                                      │ │  
  │ │                           < >     ISP 1760 HCD support

最近编辑记录 MagicKind (2021-04-09 17:02:07)

离线

楼主 #23 2021-04-09 17:03:57

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

哇酷小二 说:

插其他usb设备,比如键盘鼠标,lsusb有没有找到 VID PID?

这个些功能我去掉了,我现在加上试试

离线

楼主 #24 2021-04-09 17:22:09

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

MagicKind 说:
哇酷小二 说:

插其他usb设备,比如键盘鼠标,lsusb有没有找到 VID PID?

这个些功能我去掉了,我现在加上试试

大佬,还是一样的结果

离线

楼主 #25 2021-04-09 17:25:40

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

修改之后,系统启动有一部分提示,我感到很奇怪但是又不知道是什么问题

[    0.499927] 0x000000cc0000-0x000001000000 : "UDISK"
[    0.507841] usbcore: registered new interface driver asix
[    0.514085] usbcore: registered new interface driver new_asix
[    0.520731] usbcore: registered new interface driver ax88179_178a
[    0.527554] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.535312] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.542832] usbcore: registered new interface driver usbtest
[    0.549851] /soc/usbc0@0: could not find phandle
[    0.554993] get regulator_io is no nocare
[    0.559681] sunxi_hcd_host0 1c13000.otghci0-controller: sunxi_hcd host driver
[    0.567624] sunxi_hcd_host0 1c13000.otghci0-controller: new USB bus registered, assigned bus number 1
[    0.579477] hub 1-0:1.0: USB hub found
[    0.583702] hub 1-0:1.0: 1 port detected
[    0.588629] wrn: hcd is not enable, need not stop hcd
[    0.595246] mousedev: PS/2 mouse device common for all mice
[    0.601889] usbip_core: USB/IP Core v1.0.0
[    0.606692] usbcore: registered new interface driver usbip-host
[    0.613379] usbip_host: USB/IP Host Driver v1.0.0
[    0.620403] failed to get gpio-spk and gpio_num
[    0.627335] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    0.635401] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    0.643379] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    0.651139] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    0.658897] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    0.667326] sunxi-internal-cpudai 1c23c00.cpudai0-controller: ASoC: pcm constructor failed: -12
[    0.677060] sunxi-codec-machine sound.2: ASoC: can't create pcm SUNXI-CODEC :-12
[    0.685341] sunxi-codec-machine sound.2: ASoC: failed to instantiate card -12
[    0.693795] snd_soc_register_card failed -12
[    0.698681] sunxi-codec-machine: probe of sound.2 failed with error -12
[    0.706739] ipip: IPv4 over IPv4 tunneling driver
[    0.713233] gre: GRE over IPv4 demultiplexor driver
[    0.718767] ip_gre: GRE over IPv4 tunneling driver
[    0.726410] TCP: cubic registered
[    0.730217] Initializing XFRM netlink socket
[    0.735009] NET: Registered protocol family 17
[    0.740077] NET: Registered protocol family 15
[    0.745444] VFP support v0.3: not present
[    0.751563] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    0.758792] ALSA device list:
[    0.762097]   No soundcards found.
[    0.779764] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[    0.796324] devtmpfs: mounted
[    0.800432] Freeing unused kernel memory: 112K (c038b000 - c03a7000)
mount: mounting none on /dev failed: Resource busy
mount: mounting pstore on /sys/fs/pstore failed: No such file or directory


-- run rc.preboot --
-- set volume --

Failed to open mixer
-- play music --
-- end --
failed to open for pcm 0,0
[    2.790119] usbcore: registered new interface driver cdc_eem
[    2.821395] usbcore: registered new interface driver cdc_ether
[    2.837981] vhci_hcd: module is from the staging directory, the quality is unknown, you have been warned.
[    2.869587] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller
[    2.876009] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 2
[    2.909730] hub 2-0:1.0: USB hub found
[    2.913976] hub 2-0:1.0: 8 ports detected
[    2.930052] vhci_hcd: USB/IP 'Virtual' Host Controller (VHCI) Driver v1.0.0
-- run rc.final --
insmod F1C200s-board
-- wifi connect --
insmod wifi kernel module --------------------
insmod: can't insert '/lib/modules/3.10.65/xradio_wlan.ko': No such file or directory
start wpa_supplicant ------------------------
Successfully initialized wpa_supplicant
Line 6: Invalid passphrase length 6 (expected: 8..63) '******"'.
Line 6: failed to parse psk '"******"'.
Line 7: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
start udhcpc ----------------
-- end --

就是下面的提示

[    2.790119] usbcore: registered new interface driver cdc_eem
[    2.821395] usbcore: registered new interface driver cdc_ether
[    2.837981] vhci_hcd: module is from the staging directory, the quality is unknown, you have been warned.
[    2.869587] vhci_hcd vhci_hcd: USB/IP Virtual Host Controller
[    2.876009] vhci_hcd vhci_hcd: new USB bus registered, assigned bus number 2
[    2.909730] hub 2-0:1.0: USB hub found
[    2.913976] hub 2-0:1.0: 8 ports detected
[    2.930052] vhci_hcd: USB/IP 'Virtual' Host Controller (VHCI) Driver v1.0.0

离线

楼主 #27 2021-04-09 17:32:42

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

哇酷小二 说:
MagicKind 说:
MagicKind 说:

这个些功能我去掉了,我现在加上试试

大佬,还是一样的结果

没有VID PID?

没有

离线

楼主 #29 2021-04-09 17:44:33

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

哇酷小二 说:

那先把你的usb搞好吧,至少得有id

大佬,方便教一下怎么样配置usb吗,我这边搞了三四天,感觉该配置的都配置了

离线

楼主 #31 2021-04-11 22:17:56

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

哇酷小二 说:
MagicKind 说:
哇酷小二 说:

那先把你的usb搞好吧,至少得有id

大佬,公司项目急,求帮忙,有偿

你用的是荔枝派nano开发板?还是自己做的板子?

大佬,可以帮我把这个帖子删了吗

离线

楼主 #33 2021-04-12 11:56:04

MagicKind
会员
注册时间: 2021-03-25
已发帖子: 41
积分: 18.5

Re: 在荔枝派nano环境下,全志tina移植ax88772c的问题求助

哇酷小二 说:
MagicKind 说:
哇酷小二 说:

你用的是荔枝派nano开发板?还是自己做的板子?

大佬,可以帮我把这个帖子删了吗

请问是什么原因呢?整个帖子删掉吗?

对呀,整个帖子删掉

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn