您尚未登录。

#4 Re: 全志 SOC » 荔枝派nano有大虾把usb模块调通,能用u盘鼠标的没 » 2018-07-31 18:51:03

主线Linux version 4.15.0-rc8-licheepi-nano,还打印了[    1.946160] musb-hdrc: gadget D+ pullup on,就是枚举没有任何消息

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.15.0-rc8-licheepi-nano+ (duanyu@duanyu-System-Product-Name) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #36 Fri Jul 27 18:02:31 CST 2018
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Nano
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 8192
[    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] random: fast init done
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=31:3 rw rootfstype=jffs2
[    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: 24796K/32768K available (4096K kernel code, 191K rwdata, 1116K rodata, 1024K init, 216K bss, 7972K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc2800000 - 0xff800000   ( 976 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0x(ptrval) - 0x(ptrval)   (5088 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 192 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 217 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000047] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000112] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000635] Console: colour dummy device 80x30
[    0.000722] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070230] pid_max: default: 32768 minimum: 301
[    0.070535] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070578] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.071971] CPU: Testing write buffer coherency: ok
[    0.073595] Setting up static identity map for 0x80100000 - 0x80100058
[    0.076073] devtmpfs: initialized
[    0.081729] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.081792] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.082048] pinctrl core: initialized pinctrl subsystem
[    0.084350] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.086080] cpuidle: using governor menu
[    0.103115] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/vcc3v3[0]'
[    0.104580] SCSI subsystem initialized
[    0.104992] pps_core: LinuxPPS API ver. 1 registered
[    0.105020] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.105513] Advanced Linux Sound Architecture Driver Initialized.
[    0.105814] clocksource: Switched to clocksource timer
[    0.131952] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.133654] Initialise system trusted keyrings
[    0.134164] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.147395] jffs2: version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
[    0.161712] Key type asymmetric registered
[    0.161754] Asymmetric key parser 'x509' registered
[    0.161974] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.162009] io scheduler noop registered
[    0.162027] io scheduler deadline registered
[    0.162741] io scheduler cfq registered (default)
[    0.162779] io scheduler mq-deadline registered
[    0.162799] io scheduler kyber registered
[    0.163807] sun4i-usb-phy 1c13400.phy: GPIO lookup for consumer usb0_id_det
[    0.163860] sun4i-usb-phy 1c13400.phy: using device tree for GPIO lookup
[    0.163919] of_get_named_gpiod_flags: can't parse 'usb0_id_det-gpios' property of node '/soc/phy@1c13400[0]'
[    0.163985] sun4i-usb-phy 1c13400.phy: lookup for GPIO usb0_id_det failed
[    0.164016] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.166455] gpio gpiochip0: (1c20800.pinctrl): added GPIO chardev (254:0)
[    0.166749] gpiochip_setup_dev: registered GPIOs 0 to 191 on device: gpiochip0 (1c20800.pinctrl)
[    0.166808] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 0->0 ==> 1c20800.pinctrl PIN 0->0
[    0.166846] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 1->1 ==> 1c20800.pinctrl PIN 1->1
[    0.166880] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 2->2 ==> 1c20800.pinctrl PIN 2->2
[    0.166914] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 3->3 ==> 1c20800.pinctrl PIN 3->3
[    0.166948] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 32->32 ==> 1c20800.pinctrl PIN 32->32
[    0.166983] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 33->33 ==> 1c20800.pinctrl PIN 33->33
[    0.167018] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 34->34 ==> 1c20800.pinctrl PIN 34->34
[    0.167053] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 35->35 ==> 1c20800.pinctrl PIN 35->35
[    0.167087] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 64->64 ==> 1c20800.pinctrl PIN 64->64
[    0.167122] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 65->65 ==> 1c20800.pinctrl PIN 65->65
[    0.167156] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 66->66 ==> 1c20800.pinctrl PIN 66->66
[    0.167191] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 67->67 ==> 1c20800.pinctrl PIN 67->67
[    0.167225] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 96->96 ==> 1c20800.pinctrl PIN 96->96
[    0.167259] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 97->97 ==> 1c20800.pinctrl PIN 97->97
[    0.167293] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 98->98 ==> 1c20800.pinctrl PIN 98->98
[    0.167328] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 99->99 ==> 1c20800.pinctrl PIN 99->99
[    0.167363] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 100->100 ==> 1c20800.pinctrl PIN 100->100
[    0.167398] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 101->101 ==> 1c20800.pinctrl PIN 101->101
[    0.167433] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 102->102 ==> 1c20800.pinctrl PIN 102->102
[    0.167467] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 103->103 ==> 1c20800.pinctrl PIN 103->103
[    0.167503] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 104->104 ==> 1c20800.pinctrl PIN 104->104
[    0.167537] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 105->105 ==> 1c20800.pinctrl PIN 105->105
[    0.167571] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 106->106 ==> 1c20800.pinctrl PIN 106->106
[    0.167606] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 107->107 ==> 1c20800.pinctrl PIN 107->107
[    0.167641] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 108->108 ==> 1c20800.pinctrl PIN 108->108
[    0.167676] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 109->109 ==> 1c20800.pinctrl PIN 109->109
[    0.167712] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 110->110 ==> 1c20800.pinctrl PIN 110->110
[    0.167747] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 111->111 ==> 1c20800.pinctrl PIN 111->111
[    0.167782] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 112->112 ==> 1c20800.pinctrl PIN 112->112
[    0.167818] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 113->113 ==> 1c20800.pinctrl PIN 113->113
[    0.167852] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 114->114 ==> 1c20800.pinctrl PIN 114->114
[    0.167887] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 115->115 ==> 1c20800.pinctrl PIN 115->115
[    0.167922] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 116->116 ==> 1c20800.pinctrl PIN 116->116
[    0.167956] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 117->117 ==> 1c20800.pinctrl PIN 117->117
[    0.167991] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 128->128 ==> 1c20800.pinctrl PIN 128->128
[    0.168026] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 129->129 ==> 1c20800.pinctrl PIN 129->129
[    0.168061] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 130->130 ==> 1c20800.pinctrl PIN 130->130
[    0.168095] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 131->131 ==> 1c20800.pinctrl PIN 131->131
[    0.168131] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 132->132 ==> 1c20800.pinctrl PIN 132->132
[    0.168166] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 133->133 ==> 1c20800.pinctrl PIN 133->133
[    0.168201] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 134->134 ==> 1c20800.pinctrl PIN 134->134
[    0.168235] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 135->135 ==> 1c20800.pinctrl PIN 135->135
[    0.168270] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 136->136 ==> 1c20800.pinctrl PIN 136->136
[    0.168306] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 137->137 ==> 1c20800.pinctrl PIN 137->137
[    0.168341] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 138->138 ==> 1c20800.pinctrl PIN 138->138
[    0.168375] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 139->139 ==> 1c20800.pinctrl PIN 139->139
[    0.168410] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 140->140 ==> 1c20800.pinctrl PIN 140->140
[    0.168446] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 160->160 ==> 1c20800.pinctrl PIN 160->160
[    0.168481] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 161->161 ==> 1c20800.pinctrl PIN 161->161
[    0.168515] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 162->162 ==> 1c20800.pinctrl PIN 162->162
[    0.168550] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 163->163 ==> 1c20800.pinctrl PIN 163->163
[    0.168584] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 164->164 ==> 1c20800.pinctrl PIN 164->164
[    0.168619] gpio gpiochip0: (1c20800.pinctrl): created GPIO range 165->165 ==> 1c20800.pinctrl PIN 165->165
[    0.175740] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.340926] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.347448] console [ttyS0] disabled
[    0.367697] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    1.330814] console [ttyS0] enabled
[    1.341166] panel-simple panel: panel supply power not found, using dummy regulator
[    1.349147] panel-simple panel: GPIO lookup for consumer enable
[    1.355076] panel-simple panel: using device tree for GPIO lookup
[    1.361305] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/panel[0]' - status (0)
[    1.371927] SCSI Media Changer driver v0.25
[    1.379534] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    1.385342] 4 ofpart partitions found on MTD device spi0.0
[    1.390953] Creating 4 MTD partitions on "spi0.0":
[    1.395766] 0x000000000000-0x000000100000 : "u-boot"
[    1.401826] 0x000000100000-0x000000110000 : "dtb"
[    1.407655] 0x000000110000-0x000000510000 : "kernel"
[    1.413582] 0x000000510000-0x000001000000 : "rootfs"
[    1.421358] NO driver->udc_name
[    1.424524] udc-core: couldn't find an available UDC - added [g_hid] to list of pending drivers
[    1.433524] i2c /dev entries driver
[    1.439965] sunxi-mmc 1c0f000.mmc: GPIO lookup for consumer cd
[    1.445945] sunxi-mmc 1c0f000.mmc: using device tree for GPIO lookup
[    1.452326] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/soc/mmc@1c0f000[0]'
[    1.461426] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/soc/mmc@1c0f000[0]'
[    1.470412] sunxi-mmc 1c0f000.mmc: using lookup tables for GPIO lookup
[    1.476972] sunxi-mmc 1c0f000.mmc: lookup for GPIO cd failed
[    1.482644] sunxi-mmc 1c0f000.mmc: GPIO lookup for consumer wp
[    1.488511] sunxi-mmc 1c0f000.mmc: using device tree for GPIO lookup
[    1.494872] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc/mmc@1c0f000[0]'
[    1.503944] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/soc/mmc@1c0f000[0]'
[    1.512924] sunxi-mmc 1c0f000.mmc: using lookup tables for GPIO lookup
[    1.519480] sunxi-mmc 1c0f000.mmc: lookup for GPIO wp failed
[    1.575934] sunxi-mmc 1c0f000.mmc: base:0x9e205f00 irq:19
[    1.601835] Loading compiled-in X.509 certificates
[    1.613146] sun4i-usb-phy 1c13400.phy: GPIO lookup for consumer usb0_id_det
[    1.620295] sun4i-usb-phy 1c13400.phy: using device tree for GPIO lookup
[    1.627086] of_get_named_gpiod_flags: can't parse 'usb0_id_det-gpios' property of node '/soc/phy@1c13400[0]'
[    1.636994] of_get_named_gpiod_flags: parsed 'usb0_id_det-gpio' property of node '/soc/phy@1c13400[0]' - status (0)
[    1.647532] sun4i-usb-phy 1c13400.phy: GPIO lookup for consumer usb0_vbus_det
[    1.654660] sun4i-usb-phy 1c13400.phy: using device tree for GPIO lookup
[    1.661423] of_get_named_gpiod_flags: can't parse 'usb0_vbus_det-gpios' property of node '/soc/phy@1c13400[0]'
[    1.671458] of_get_named_gpiod_flags: can't parse 'usb0_vbus_det-gpio' property of node '/soc/phy@1c13400[0]'
[    1.681390] sun4i-usb-phy 1c13400.phy: using lookup tables for GPIO lookup
[    1.688297] sun4i-usb-phy 1c13400.phy: lookup for GPIO usb0_vbus_det failed
[    1.696369] sun4i-usb-phy 1c13400.phy: successfully loaded
[    1.704497] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc05364b8)
[    1.713373] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc053579c)
[    1.721159] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.727822] [drm] No driver support for vblank timestamp query.
[    1.781884] Console: switching to colour frame buffer device 60x34
[    1.805109] sun4i-drm display-engine: fb0:  frame buffer device
[    1.812325] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.821458] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.833263] (null): musb-hdrc: hw_ep 0shared, max 64
[    1.833294] (null): musb-hdrc: hw_ep 1tx, max 512
[    1.838403] (null): musb-hdrc: hw_ep 1rx, max 512
[    1.843161] (null): musb-hdrc: hw_ep 2tx, max 512
[    1.847927] (null): musb-hdrc: hw_ep 2rx, max 512
[    1.852634] (null): musb-hdrc: hw_ep 3tx, max 512
[    1.857376] (null): musb-hdrc: hw_ep 3rx, max 512
[    1.862110] (null): musb-hdrc: hw_ep 4tx, max 512
[    1.866857] (null): musb-hdrc: hw_ep 4rx, max 512
[    1.871562] (null): musb-hdrc: hw_ep 5tx, max 512
[    1.876299] (null): musb-hdrc: hw_ep 5rx, max 512
[    1.881583] udc musb-hdrc.1.auto: registering UDC driver [g_hid]
[    1.892535] g_hid gadget: adding config #1 'HID Gadget'/b85e1463
[    1.898704] g_hid gadget: adding 'hid'/87a90b4f to config 'HID Gadget'/b85e1463
[    1.906584] g_hid gadget: cfg 1/b85e1463 speeds: high full
[    1.912146] g_hid gadget:   interface 0 = hid/87a90b4f
[    1.917392] g_hid gadget: HID Gadget, version: 2010/03/16
[    1.922792] g_hid gadget: g_hid ready
[    1.926515] musb-hdrc: <== devctl 80
[    1.926558] usb_gadget_connect:651 gadget-connected=1
[    1.936344] vcc3v3: disabling
[    1.939338] ALSA device list:
[    1.942308]   #0: Loopback 1
[    1.946160] musb-hdrc: gadget D+ pullup on
[    2.042304] random: crng init done
[    3.167933] VFS: Mounted root (jffs2 filesystem) on device 31:3.
[    3.175957] devtmpfs: mounted
[    3.183582] Freeing unused kernel memory: 1024K
Starting logging: OK
Initializing random number generator... done.

#5 Re: 全志 SOC » 荔枝派nano有大虾把usb模块调通,能用u盘鼠标的没 » 2018-07-31 17:53:33

我也是这个情况,调试usb gadget,打印看着挺正常的,但是枚举一点反应也没有,D+D-都是低电平

页脚

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

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