按照常规的内核配置,usb的初始化musb,phy都能初始化完也没有明显错误,但是还是没有啥反应,把id脚配置上拉下拉都无效
配上启动信息:问题可能会出在哪里呢,求助大侠们
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.15.0-rc8-licheepi-nano (mengh@ubuntu) (gcc version 5.4.1 20170404 (Linaro GCC 5.4-2017.05)) #4 Wed Jul 18 23:08
[ 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] random: fast init done
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 16256
[ 0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 55176K/65536K available (6144K kernel code, 235K rwdata, 1380K rodata, 1024K init, 244K bss, 10360K reserved, 0K cma-r)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (7136 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 236 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 245 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.000041] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000094] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000499] Console: colour dummy device 80x30
[ 0.001044] console [tty0] enabled
[ 0.001131] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[ 0.050259] pid_max: default: 32768 minimum: 301
[ 0.050535] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.050612] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.051828] CPU: Testing write buffer coherency: ok
[ 0.053455] Setting up static identity map for 0x80100000 - 0x80100058
[ 0.055455] devtmpfs: initialized
[ 0.059926] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.060062] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.060446] pinctrl core: initialized pinctrl subsystem
[ 0.062182] NET: Registered protocol family 16
[ 0.063420] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.064887] cpuidle: using governor menu
[ 0.083309] SCSI subsystem initialized
[ 0.083695] usbcore: registered new interface driver usbfs
[ 0.083880] usbcore: registered new interface driver hub
[ 0.084112] usbcore: registered new device driver usb
[ 0.084479] pps_core: LinuxPPS API ver. 1 registered
[ 0.084550] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.084658] PTP clock support registered
[ 0.085091] Advanced Linux Sound Architecture Driver Initialized.
[ 0.086354] clocksource: Switched to clocksource timer
[ 0.109709] NET: Registered protocol family 2
[ 0.110868] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.110996] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.111067] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.111368] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.111456] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.111908] NET: Registered protocol family 1
[ 0.113083] RPC: Registered named UNIX socket transport module.
[ 0.113181] RPC: Registered udp transport module.
[ 0.113224] RPC: Registered tcp transport module.
[ 0.113256] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.115025] NetWinder Floating Point Emulator V0.97 (double precision)
[ 0.116811] Initialise system trusted keyrings
[ 0.117389] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.130096] NFS: Registering the id_resolver key type
[ 0.130256] Key type id_resolver registered
[ 0.130304] Key type id_legacy registered
[ 0.141150] Key type asymmetric registered
[ 0.141250] Asymmetric key parser 'x509' registered
[ 0.141472] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.141552] io scheduler noop registered
[ 0.141591] io scheduler deadline registered
[ 0.142235] io scheduler cfq registered (default)
[ 0.142325] io scheduler mq-deadline registered
[ 0.142368] io scheduler kyber registered
[ 0.143995] ******************usb phy probe finish!
[ 0.151086] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.301238] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.307021] console [ttyS0] disabled
[ 0.327320] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[ 0.796682] console [ttyS0] enabled
[ 0.805125] panel-simple panel: panel supply power not found, using dummy regulator
[ 0.814320] SCSI Media Changer driver v0.25
[ 0.820156] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.826858] ehci-platform: EHCI generic platform driver
[ 0.832349] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.838689] ohci-platform: OHCI generic platform driver
[ 0.844279] usbcore: registered new interface driver usb-storage
[ 0.850788] ***************sunxi musb probe!
[ 0.855561] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 0.867345] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 0.873195] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 0.883102] hub 1-0:1.0: USB hub found
[ 0.887165] hub 1-0:1.0: 1 port detected
[ 0.892262] ********************musb probe finish!
[ 0.897641] i2c /dev entries driver
[ 0.956479] sunxi-mmc 1c0f000.mmc: base:0xb4f298a9 irq:19
[ 0.963618] usbcore: registered new interface driver usbhid
[ 0.969375] usbhid: USB HID core driver
[ 0.987967] NET: Registered protocol family 17
[ 0.992702] Key type dns_resolver registered
[ 1.001033] Loading compiled-in X.509 certificates
[ 1.014742] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0739718)
[ 1.023542] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc07389fc)
[ 1.031387] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.038078] [drm] No driver support for vblank timestamp query.
[ 1.138981] Console: switching to colour frame buffer device 100x30
[ 1.139402] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.170700] mmc0: new high speed SDHC card at address 0001
[ 1.188817] mmcblk0: mmc0:0001 SD8GB 7.32 GiB
[ 1.204934] mmcblk0: p1 p2
[ 1.231128] sun4i-drm display-engine: fb0: frame buffer device
[ 1.246733] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[ 1.263695] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 1.287542] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 1.303215] ALSA device list:
[ 1.314502] #0: Loopback 1
[ 1.326184] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 1.343460] cfg80211: failed to load regulatory.db
[ 1.358964] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[ 1.414432] EXT4-fs (mmcblk0p2): recovery complete
[ 1.431441] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.448809] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.466961] devtmpfs: mounted
[ 1.485548] Freeing unused kernel memory: 1024K
[ 1.683714] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
离线
这些都没问题,可以正常跑系统,我单独给板子供电然后把usb空出来的,主从都不行,但内核看着又初始化到差不多了
离线
我也试了n种方法,就是不行,一度怀疑是usb接口问题,但用用三块nano验证之后,终于死心了,现在在测试厂家的bsp内核,看能不能搞好
离线
nano这边目前估计是通不了的,原厂bsp可以试试,不过貌似也不是官方的吧!
我也试了n种方法,就是不行,一度怀疑是usb接口问题,但用用三块nano验证之后,终于死心了,现在在测试厂家的bsp内核,看能不能搞好
离线
我也是这个情况,调试usb gadget,打印看着挺正常的,但是枚举一点反应也没有,D+D-都是低电平
离线
主线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.
离线
帮顶
离线
连接usb设备后,确认usb接口电压低于3.3,基本连不上;
另外,看我手上的nano板上的usb接口的usbvcc貌似(之所以说貌似是因为,我不确定我手上的原理图是否是最新版)没连,请自行确认电压
离线
等楼主更新
离线
PIN67 UVCC是3V3,但是D+D-是低电平
离线
主线linux吧, 就是按这个网站一步一步做的 http://nano.lichee.pro/build_sys/kernel.html
离线
晕哥, bsp linux能给个下载链接吗?
离线
都是一样的问题
离线
还要发7个,疯了
离线
17年的,不会吧
离线