DebugDump Forum

本站无需注册,无需积分,无需回复可下载所有资料,如果真的喜欢小站,请您注册之后请至少回复一个帖子激活Id,谢谢支持! 站长QQ: 516333132 (挖坑网/填坑网) admin@debugdump.com

您尚未登录。

#1 2018-09-23 13:10:36

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

本站下载地址: f1c100s_linux_4_19_patch_by_chong.7z

git clone https://github.com/torvalds/linux.git

cd linux

git checkout 5e335542de83558e46d28de1008a1c37d5d6679a

patch -p1 < lichee_nano_upstream_patch.patch

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make

离线

#2 2018-09-24 22:13:13

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

## Flattened Device Tree blob at 80c00000
   Booting using the fdt blob at 0x80c00000
   Loading Device Tree to 816fb000, end 816ffd8e ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.0-rc3-licheepi-nano+ (chong@chong-ThinkPad-X230) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #14 Wed Sep 12 22:21:00 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] random: get_random_bytes called from start_kernel+0x84/0x3f8 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p2 rootwait
[    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: 22676K/32768K available (6144K kernel code, 248K rwdata, 1516K rodata, 1024K init, 239K bss, 10092K 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)   (7136 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 249 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 240 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.000048] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000131] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000657] Console: colour dummy device 80x30
[    0.000757] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070256] pid_max: default: 32768 minimum: 301
[    0.070721] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070766] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.072268] CPU: Testing write buffer coherency: ok
[    0.074137] Setting up static identity map for 0x80100000 - 0x80100058
[    0.079617] devtmpfs: initialized
[    0.085938] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.086004] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.086316] pinctrl core: initialized pinctrl subsystem
[    0.088526] NET: Registered protocol family 16
[    0.089794] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.091904] cpuidle: using governor menu
[    0.117884] SCSI subsystem initialized
[    0.118233] usbcore: registered new interface driver usbfs
[    0.118391] usbcore: registered new interface driver hub
[    0.118580] usbcore: registered new device driver usb
[    0.119044] pps_core: LinuxPPS API ver. 1 registered
[    0.119072] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.119137] PTP clock support registered
[    0.119626] Advanced Linux Sound Architecture Driver Initialized.
[    0.121243] clocksource: Switched to clocksource timer
[    0.150756] NET: Registered protocol family 2
[    0.152382] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.152458] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.152517] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.152567] TCP: Hash tables configured (established 1024 bind 1024)
[    0.152840] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.152902] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.153426] NET: Registered protocol family 1
[    0.154826] RPC: Registered named UNIX socket transport module.
[    0.154870] RPC: Registered udp transport module.
[    0.154886] RPC: Registered tcp transport module.
[    0.154902] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.157132] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.159167] Initialise system trusted keyrings
[    0.159773] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.180920] NFS: Registering the id_resolver key type
[    0.181020] Key type id_resolver registered
[    0.181040] Key type id_legacy registered
[    0.195352] Key type asymmetric registered
[    0.195392] Asymmetric key parser 'x509' registered
[    0.195571] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.195602] io scheduler noop registered
[    0.195621] io scheduler deadline registered
[    0.196103] io scheduler cfq registered (default)
[    0.196138] io scheduler mq-deadline registered
[    0.196156] io scheduler kyber registered
[    0.197787] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.208366] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.391937] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.398786] console [ttyS0] disabled
[    0.419039] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    0.897963] console [ttyS0] enabled
[    0.908851] panel-simple panel: panel supply power not found, using dummy regulator
[    0.916836] panel-simple panel: Linked as a consumer to regulator.0
[    0.924868] SCSI Media Changer driver v0.25 
[    0.932269] spidev spi0.0: buggy DT: spidev listed directly in DT
[    0.938384] ------------[ cut here ]------------
[    0.943154] WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:730 spidev_probe+0x188/0x1fc
[    0.951138] Modules linked in:
[    0.954272] CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.0-rc3-licheepi-nano+ #14
[    0.961776] Hardware name: Allwinner suniv Family
[    0.966554] [<c010e918>] (unwind_backtrace) from [<c010bb80>] (show_stack+0x10/0x14)
[    0.974381] [<c010bb80>] (show_stack) from [<c0117230>] (__warn+0xcc/0xf4)
[    0.981320] [<c0117230>] (__warn) from [<c011736c>] (warn_slowpath_null+0x3c/0x48)
[    0.988894] [<c011736c>] (warn_slowpath_null) from [<c04601c0>] (spidev_probe+0x188/0x1fc)
[    0.997237] [<c04601c0>] (spidev_probe) from [<c045cbb4>] (spi_drv_probe+0x80/0xa4)
[    1.004989] [<c045cbb4>] (spi_drv_probe) from [<c04170ac>] (really_probe+0x228/0x3fc)
[    1.012897] [<c04170ac>] (really_probe) from [<c0417428>] (driver_probe_device+0x6c/0x1bc)
[    1.021166] [<c0417428>] (driver_probe_device) from [<c0415110>] (bus_for_each_drv+0x54/0xb8)
[    1.029743] [<c0415110>] (bus_for_each_drv) from [<c0416de0>] (__device_attach+0xc8/0x164)
[    1.038062] [<c0416de0>] (__device_attach) from [<c041606c>] (bus_probe_device+0x84/0x8c)
[    1.046287] [<c041606c>] (bus_probe_device) from [<c0412c98>] (device_add+0x3f8/0x630)
[    1.054252] [<c0412c98>] (device_add) from [<c045d52c>] (spi_add_device+0xb8/0x168)
[    1.061956] [<c045d52c>] (spi_add_device) from [<c045ded0>] (spi_register_controller+0x400/0x8e8)
[    1.070820] [<c045ded0>] (spi_register_controller) from [<c045e3e8>] (devm_spi_register_controller+0x30/0x70)
[    1.080770] [<c045e3e8>] (devm_spi_register_controller) from [<c04616bc>] (sun6i_spi_probe+0x1e8/0x2ac)
[    1.090215] [<c04616bc>] (sun6i_spi_probe) from [<c0418ff4>] (platform_drv_probe+0x48/0x98)
[    1.098629] [<c0418ff4>] (platform_drv_probe) from [<c04170ac>] (really_probe+0x228/0x3fc)
[    1.106948] [<c04170ac>] (really_probe) from [<c0417428>] (driver_probe_device+0x6c/0x1bc)
[    1.115265] [<c0417428>] (driver_probe_device) from [<c0417680>] (__driver_attach+0x108/0x130)
[    1.123925] [<c0417680>] (__driver_attach) from [<c0415064>] (bus_for_each_dev+0x70/0xb4)
[    1.132153] [<c0415064>] (bus_for_each_dev) from [<c041634c>] (bus_add_driver+0x1a0/0x260)
[    1.140418] [<c041634c>] (bus_add_driver) from [<c0418038>] (driver_register+0x74/0x108)
[    1.148568] [<c0418038>] (driver_register) from [<c0102ba0>] (do_one_initcall+0x48/0x1a0)
[    1.156807] [<c0102ba0>] (do_one_initcall) from [<c0900df8>] (kernel_init_freeable+0x104/0x1c4)
[    1.165562] [<c0900df8>] (kernel_init_freeable) from [<c0694734>] (kernel_init+0x8/0x110)
[    1.173796] [<c0694734>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34)
[    1.181395] Exception stack(0xc1831fb0 to 0xc1831ff8)
[    1.186447] 1fa0:                                     00000000 00000000 00000000 00000000
[    1.194657] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.202858] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.209476] ---[ end trace 88ef56b3121bb31e ]---
[    1.216315] i2c /dev entries driver
[    1.222067] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.1
[    1.255556] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.264906] usbcore: registered new interface driver usbhid
[    1.270483] usbhid: USB HID core driver
[    1.290060] NET: Registered protocol family 17
[    1.294854] Key type dns_resolver registered
[    1.301607] Loading compiled-in X.509 certificates
[    1.317842] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.328886] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[    1.337872] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.343802] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.354120] hub 1-0:1.0: USB hub found
[    1.358103] hub 1-0:1.0: 1 port detected
[    1.364852] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.383483] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.390257] ALSA device list:
[    1.393353]   #0: Loopback 1
[    1.397331] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.406045] cfg80211: failed to load regulatory.db
[    1.411830] Waiting for root device /dev/mmcblk0p2...
[    1.423629] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.434650] mmc0: new high speed SDHC card at address 1234
[    1.443164] mmcblk0: mmc0:1234 SA04G 3.64 GiB 
[    1.451518]  mmcblk0: p1 p2
[    1.477749] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[    1.485176] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[    2.169099] random: fast init done
[    2.853622] EXT4-fs (mmcblk0p2): recovery complete
[    3.458697] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.466987] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    3.484174] devtmpfs: mounted
[    3.491760] Freeing unused kernel memory: 1024K
[    3.496406] Run /sbin/init as init process
starting pid 59, tty '': '/bin/mount -t proc proc /proc'
starting pid 61, tty '': '/bin/mount -t sysfs sysfs /sys'
starting pid 62, tty '': '/bin/mount -t devtmpfs devtmpfs /dev'
mount: /dev: devtmpfs already mounted on /dev.
starting pid 63, tty '': '/bin/mount -o remount,rw /'
[    3.701434] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
starting pid 64, tty '': '/bin/mkdir -p /dev/pts'
starting pid 65, tty '': '/bin/mount -t devpts devpts /dev/pts'
starting pid 66, tty '': '/bin/mount -a'
starting pid 67, tty '': '/etc/init.d/rcS'
Starting Dropbear SSH server: [    3.940139] random: dropbear: uninitialized urandom read (32 bytes read)
dropbear.
[    4.106245] using random self ethernet address
[    4.110720] using random host ethernet address
[    4.116632] usb0: HOST MAC a6:59:86:da:d1:36
[    4.121021] usb0: MAC 2a:80:e1:49:a2:53
[    4.125057] using random self ethernet address
[    4.129511] using random host ethernet address
[    4.134385] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    4.140994] g_ether gadget: g_ether ready
ifconfig: SIOCSIFADDR: Invalid argument
starting pid 81, tty '/dev/ttyS0': '/sbin/getty 115200 ttyS0'

micro-iot 0.1 pinano /dev/ttyS0

pinano login: [    4.580654] g_ether gadget: high-speed config #1: CDC Ethernet (EEM)

这是网友 @chong 发给我的.

离线

#3 2018-09-25 23:09:33

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

有没可能@chong改过涉及usb的硬件电路?

离线

#4 2018-09-25 23:11:11

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

4.19是lts内核,不知道@chong会不会将patch提交主线内核?

离线

#5 2018-09-25 23:13:33

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

ippen 说:

4.19是lts内核,不知道@chong会不会将patch提交主线内核?

这个我到时候和他说说,要不你先试一试看USB能不能跑起来?

离线

#6 2018-09-26 22:36:31

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

这个我到时候和他说说,要不你先试一试看USB能不能跑起来?

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.0-rc5-licheepi-nano (root@LicheepiNano) (gcc version 6.4.1 20180425 [linaro-6.4-2018.05 revision 7b15d0869c096fe39603ad63dc19ab7cf035eb70] (Linaro GCC 6.4-2018.05)) #6 Wed Sep 26 22:29:47 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] random: get_random_bytes called from start_kernel+0x80/0x3f8 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw
[    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: 23736K/32768K available (5120K kernel code, 222K rwdata, 1152K rodata, 1024K init, 224K bss, 9032K 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)   (6112 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 223 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 225 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.000043] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000109] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000541] Console: colour dummy device 80x30
[    0.001104] console [tty0] enabled
[    0.001208] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.050289] pid_max: default: 32768 minimum: 301
[    0.050680] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050766] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.051893] CPU: Testing write buffer coherency: ok
[    0.053783] Setting up static identity map for 0x80100000 - 0x80100058
[    0.057462] devtmpfs: initialized
[    0.062457] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.062603] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.062891] pinctrl core: initialized pinctrl subsystem
[    0.064988] NET: Registered protocol family 16
[    0.066222] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.067907] cpuidle: using governor menu
[    0.086296] SCSI subsystem initialized
[    0.086784] pps_core: LinuxPPS API ver. 1 registered
[    0.086867] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.087008] PTP clock support registered
[    0.088572] clocksource: Switched to clocksource timer
[    0.114863] NET: Registered protocol family 2
[    0.116145] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.116293] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.116368] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.116424] TCP: Hash tables configured (established 1024 bind 1024)
[    0.116717] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.116816] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.117348] NET: Registered protocol family 1
[    0.118891] RPC: Registered named UNIX socket transport module.
[    0.118994] RPC: Registered udp transport module.
[    0.119028] RPC: Registered tcp transport module.
[    0.119054] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.120955] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.122818] Initialise system trusted keyrings
[    0.123455] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.139499] NFS: Registering the id_resolver key type
[    0.139657] Key type id_resolver registered
[    0.139709] Key type id_legacy registered
[    0.151055] Key type asymmetric registered
[    0.151156] Asymmetric key parser 'x509' registered
[    0.151357] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.151430] io scheduler noop registered
[    0.151465] io scheduler deadline registered
[    0.151961] io scheduler cfq registered (default)
[    0.152049] io scheduler mq-deadline registered
[    0.152087] io scheduler kyber registered
[    0.153417] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.161781] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.323956] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.330150] console [ttyS0] disabled
[    0.350453] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    0.817840] console [ttyS0] enabled
[    0.823281] SCSI Media Changer driver v0.25
[    0.830673] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.836564] 4 fixed-partitions partitions found on MTD device spi0.0
[    0.843115] Creating 4 MTD partitions on "spi0.0":
[    0.847964] 0x000000000000-0x000000100000 : "u-boot"
[    0.854184] 0x000000100000-0x000000110000 : "dtb"
[    0.860085] 0x000000110000-0x000000510000 : "kernel"
[    0.866071] 0x000000510000-0x000001000000 : "rootfs"
[    0.873368] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
[    0.882680] i2c /dev entries driver
[    0.887919] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.1
[    0.921428] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    0.930995] NET: Registered protocol family 17
[    0.935725] Key type dns_resolver registered
[    0.942644] Loading compiled-in X.509 certificates
[    0.957060] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    0.968137] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[    0.977681] using random self ethernet address
[    0.982346] using random host ethernet address
[    0.987909] usb0: HOST MAC 1a:27:d5:6e:43:f7
[    0.992514] usb0: MAC fa:31:fc:41:d9:f9
[    0.996492] using random self ethernet address
[    1.001082] using random host ethernet address
[    1.005911] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[    1.012692] g_ether gadget: g_ether ready
[    1.017781] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.032881] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.040510] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.049333] cfg80211: failed to load regulatory.db
[    1.054949] Waiting for root device /dev/mmcblk0p2...
[    1.090316] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.102038] mmc0: new high speed SDHC card at address aaaa
[    1.110388] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[    1.121538]  mmcblk0: p1 p2
[    1.163941] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.172321] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.183012] devtmpfs: mounted
[    1.190052] Freeing unused kernel memory: 1024K
[    1.194742] Run /sbin/init as init process
[    1.315256] random: fast init done
[    1.348840] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting logging: OK
Initializing random number generator... [    1.631353] random: dd: uninitialized urandom read (512 bytes read)
done.

Welcome to Lichee Pi
Lichee login:

主线内核usb没反应,启动日志有看到rndis加载

日志里面有 [    0.153417] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO,usbid io错误

最近编辑记录 ippen (2018-09-26 22:38:06)

离线

#7 2018-09-26 22:56:14

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

@chong 说是不是dtb配置引起.

过段时间他会提供能用的 img.

离线

#8 2018-09-27 08:55:32

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

我看了dtb配置,应该没错,也许错误是驱动的原因

离线

#9 2018-09-27 12:16:33

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

@chong 说是不是dtb配置引起.

过段时间他会提供能用的 img.

代码会发布吗?

离线

#10 2018-09-27 13:35:15

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

现在还不确定,他这几天回家。
应该基本上都在一楼了,如果有修改也会很小。


这是他前几天发给我的tf卡zImage和dtb, 你加个u-boot和ext4 根文件系统试一试.

本站下载: f1c100s_tf_boot_by_chong.7z

离线

#11 2018-09-27 19:29:04

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

现在还不确定,他这几天回家。
应该基本上都在一楼了,如果有修改也会很小。


这是他前几天发给我的tf卡zImage和dtb, 你加个u-boot和ext4 根文件系统试一试.

本站下载: f1c100s_tf_boot_by_chong.7z

试了一下,这个内核和dtb也是一样的,用otg插入U盘没反应,usb插入pc也没反应,我猜@chong大神的板子和我们的不同

离线

#12 2018-09-27 19:36:25

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

ippen 说:
晕哥 说:

现在还不确定,他这几天回家。
应该基本上都在一楼了,如果有修改也会很小。


这是他前几天发给我的tf卡zImage和dtb, 你加个u-boot和ext4 根文件系统试一试.

本站下载: f1c100s_tf_boot_by_chong.7z

试了一下,这个内核和dtb也是一样的,用otg插入U盘没反应,usb插入pc也没反应,我猜@chong大神的板子和我们的不同

这就奇怪了,我问下他用什么板子。

离线

#13 2018-09-27 20:45:46

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

他问是不是没有加载 g_ether.ko 引起?

离线

#14 2018-09-27 22:06:42

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

他问是不是没有加载 g_ether.ko 引起?

不是编译到内核中吗?

离线

#15 2018-09-27 23:23:04

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

他这个没有吧,我记得是模块的。

离线

#16 2018-09-28 08:59:42

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

他这个没有吧,我记得是模块的。

他的编译器版本也许和我的不同,这样应该不能用吧?

离线

#17 2018-09-28 09:59:45

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

再次用@chong提供的内核编译一次
启动日志

## Flattened Device Tree blob at 80c00000
   Booting using the fdt blob at 0x80c00000
   Loading Device Tree to 80e61000, end 80e65d8e ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.0-rc3-licheepi-nano (root@LicheepiNano) (gcc version 6.4.1 20180425 [linaro-6.4-2018.05 revision 7b15d0869c096fe39603ad63dc19ab7cf035eb70] (Linaro GCC 6.4-2018.05)) #1 Thu Sep 27 22:10:44 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] random: get_random_bytes called from start_kernel+0x84/0x400 with crng_init=0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line: console=tty0 console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 rw
[    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: 22676K/32768K available (6144K kernel code, 248K rwdata, 1516K rodata, 1024K init, 239K bss, 10092K 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)   (7136 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (1024 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 249 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 240 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.000045] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000111] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000545] Console: colour dummy device 80x30
[    0.001125] console [tty0] enabled
[    0.001226] Calibrating delay loop... 358.80 BogoMIPS (lpj=1794048)
[    0.050293] pid_max: default: 32768 minimum: 301
[    0.050665] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.050746] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.052063] CPU: Testing write buffer coherency: ok
[    0.053839] Setting up static identity map for 0x80100000 - 0x80100058
[    0.057873] devtmpfs: initialized
[    0.062835] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.062983] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.063318] pinctrl core: initialized pinctrl subsystem
[    0.065410] NET: Registered protocol family 16
[    0.066712] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.068365] cpuidle: using governor menu
[    0.088871] SCSI subsystem initialized
[    0.089272] usbcore: registered new interface driver usbfs
[    0.089476] usbcore: registered new interface driver hub
[    0.089728] usbcore: registered new device driver usb
[    0.090290] pps_core: LinuxPPS API ver. 1 registered
[    0.090376] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.090503] PTP clock support registered
[    0.090977] Advanced Linux Sound Architecture Driver Initialized.
[    0.092385] clocksource: Switched to clocksource timer
[    0.119370] NET: Registered protocol family 2
[    0.120654] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[    0.120802] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.120877] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.120933] TCP: Hash tables configured (established 1024 bind 1024)
[    0.121250] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.121348] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.121872] NET: Registered protocol family 1
[    0.123408] RPC: Registered named UNIX socket transport module.
[    0.123509] RPC: Registered udp transport module.
[    0.123548] RPC: Registered tcp transport module.
[    0.123576] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.125584] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.127482] Initialise system trusted keyrings
[    0.128141] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[    0.144485] NFS: Registering the id_resolver key type
[    0.144625] Key type id_resolver registered
[    0.144670] Key type id_legacy registered
[    0.156418] Key type asymmetric registered
[    0.156521] Asymmetric key parser 'x509' registered
[    0.156716] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.156791] io scheduler noop registered
[    0.156825] io scheduler deadline registered
[    0.157278] io scheduler cfq registered (default)
[    0.157357] io scheduler mq-deadline registered
[    0.157395] io scheduler kyber registered
[    0.158836] sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO
[    0.167381] suniv-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.331732] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.337924] console [ttyS0] disabled
[    0.358243] 1c25000.serial: ttyS0 at MMIO 0x1c25000 (irq = 23, base_baud = 6250000) is a 16550A
[    0.847381] console [ttyS0] enabled
[    0.856509] panel-simple panel: panel supply power not found, using dummy regulator
[    0.864575] panel-simple panel: Linked as a consumer to regulator.0
[    0.872316] SCSI Media Changer driver v0.25
[    0.879463] spidev spi0.0: buggy DT: spidev listed directly in DT
[    0.885775] ------------[ cut here ]------------
[    0.890466] WARNING: CPU: 0 PID: 1 at drivers/spi/spidev.c:730 spidev_probe+0x198/0x1e8
[    0.898556] Modules linked in:
[    0.901665] CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.0-rc3-licheepi-nano #1
[    0.909039] Hardware name: Allwinner suniv Family
[    0.913904] [<c010e9c0>] (unwind_backtrace) from [<c010bc68>] (show_stack+0x10/0x14)
[    0.921723] [<c010bc68>] (show_stack) from [<c0117230>] (__warn+0xec/0x114)
[    0.928807] [<c0117230>] (__warn) from [<c011736c>] (warn_slowpath_null+0x3c/0x48)
[    0.936500] [<c011736c>] (warn_slowpath_null) from [<c0460ff8>] (spidev_probe+0x198/0x1e8)
[    0.944904] [<c0460ff8>] (spidev_probe) from [<c045d990>] (spi_drv_probe+0x88/0xa0)
[    0.952715] [<c045d990>] (spi_drv_probe) from [<c0417bf0>] (really_probe+0x25c/0x3fc)
[    0.960617] [<c0417bf0>] (really_probe) from [<c0417f38>] (driver_probe_device+0x6c/0x1bc)
[    0.969002] [<c0417f38>] (driver_probe_device) from [<c0415c4c>] (bus_for_each_drv+0x70/0xb8)
[    0.977644] [<c0415c4c>] (bus_for_each_drv) from [<c04178f0>] (__device_attach+0xc8/0x164)
[    0.986018] [<c04178f0>] (__device_attach) from [<c0416b70>] (bus_probe_device+0x84/0x8c)
[    0.994307] [<c0416b70>] (bus_probe_device) from [<c0413808>] (device_add+0x380/0x618)
[    1.002298] [<c0413808>] (device_add) from [<c045e264>] (spi_add_device+0x8c/0x16c)
[    1.010093] [<c045e264>] (spi_add_device) from [<c045ed10>] (spi_register_controller+0x44c/0x8f4)
[    1.019069] [<c045ed10>] (spi_register_controller) from [<c045f1e8>] (devm_spi_register_controller+0x30/0x70)
[    1.029079] [<c045f1e8>] (devm_spi_register_controller) from [<c04624e8>] (sun6i_spi_probe+0x1e8/0x2b0)
[    1.038593] [<c04624e8>] (sun6i_spi_probe) from [<c0419bc8>] (platform_drv_probe+0x48/0x9c)
[    1.047062] [<c0419bc8>] (platform_drv_probe) from [<c0417bf0>] (really_probe+0x25c/0x3fc)
[    1.055446] [<c0417bf0>] (really_probe) from [<c0417f38>] (driver_probe_device+0x6c/0x1bc)
[    1.063823] [<c0417f38>] (driver_probe_device) from [<c041818c>] (__driver_attach+0x104/0x12c)
[    1.072542] [<c041818c>] (__driver_attach) from [<c0415b78>] (bus_for_each_dev+0x64/0xb4)
[    1.080768] [<c0415b78>] (bus_for_each_dev) from [<c0416e3c>] (bus_add_driver+0x18c/0x264)
[    1.089141] [<c0416e3c>] (bus_add_driver) from [<c0418b68>] (driver_register+0x78/0x10c)
[    1.097352] [<c0418b68>] (driver_register) from [<c0102b80>] (do_one_initcall+0x48/0x1a0)
[    1.105670] [<c0102b80>] (do_one_initcall) from [<c0900e10>] (kernel_init_freeable+0x108/0x1c4)
[    1.114497] [<c0900e10>] (kernel_init_freeable) from [<c06973ec>] (kernel_init+0x8/0x110)
[    1.122793] [<c06973ec>] (kernel_init) from [<c01010e0>] (ret_from_fork+0x14/0x34)
[    1.130390] Exception stack(0xc1831fb0 to 0xc1831ff8)
[    1.135519] 1fa0:                                     00000000 00000000 00000000 00000000
[    1.143774] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.151975] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.158656] ---[ end trace 99f3c12227daac5d ]---
[    1.165322] i2c /dev entries driver
[    1.170606] sunxi-mmc 1c0f000.mmc: Linked as a consumer to regulator.1
[    1.204142] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.213420] usbcore: registered new interface driver usbhid
[    1.219058] usbhid: USB HID core driver
[    1.235678] NET: Registered protocol family 17
[    1.240380] Key type dns_resolver registered
[    1.246956] Loading compiled-in X.509 certificates
[    1.261595] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.272739] usb_phy_generic usb_phy_generic.0.auto: Linked as a consumer to regulator.0
[    1.281643] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.287641] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[    1.297804] hub 1-0:1.0: USB hub found
[    1.301851] hub 1-0:1.0: 1 port detected
[    1.308172] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    1.324374] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    1.331206] ALSA device list:
[    1.334357]   #0: Loopback 1
[    1.338092] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    1.346920] cfg80211: failed to load regulatory.db
[    1.352711] Waiting for root device /dev/mmcblk0p2...
[    1.369275] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.384315] mmc0: new high speed SDHC card at address aaaa
[    1.392647] mmcblk0: mmc0:aaaa SS08G 7.40 GiB
[    1.404268]  mmcblk0: p1 p2
[    1.424319] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.432701] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.443250] devtmpfs: mounted
[    1.450164] Freeing unused kernel memory: 1024K
[    1.454954] Run /sbin/init as init process
[    1.571469] random: fast init done
[    1.606748] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting logging: OK
Initializing random number generator... [    1.870551] random: dd: uninitialized urandom read (512 bytes read)
done.

Welcome to Lichee Pi
Lichee login: root
Password:
# modprobe g_ether
[   15.127278] using random self ethernet address
[   15.131802] using random host ethernet address
[   15.137522] usb0: HOST MAC 86:ee:40:ce:3c:52
[   15.141973] usb0: MAC ae:98:d6:21:a2:9e
[   15.146039] using random self ethernet address
[   15.150523] using random host ethernet address
[   15.155353] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[   15.162004] g_ether gadget: g_ether ready

当中0.91秒那段日志和@chong大神的有90%的相似度

加载g_ether提示信息正常,但插入pc usb口没反应,接u盘没反应

离线

#18 2018-09-28 10:09:10

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

这个好像和我当时测试一样的了,插入U盘和电脑都没反应.

离线

#19 2018-10-08 09:28:32

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

现在还不确定,他这几天回家。
应该基本上都在一楼了,如果有修改也会很小。


这是他前几天发给我的tf卡zImage和dtb, 你加个u-boot和ext4 根文件系统试一试.

本站下载: f1c100s_tf_boot_by_chong.7z

晕哥,问一下@chong大神,帮忙看看C100s usb驱动的问题。

离线

#20 2018-10-08 09:53:34

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

20181008095026.png

离线

#21 2018-10-08 09:55:33

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

他直接烧到FLASH也不行, 他原来用 sunxi-fel 的 uboot 命令启动系统了,直接绕开了 BROM的 USB初始化.

@ippen 你也试一试这样启动,看USB是否正常.

离线

#22 2018-10-08 10:18:27

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

他直接烧到FLASH也不行, 他原来用 sunxi-fel 的 uboot 命令启动系统了,直接绕开了 BROM的 USB初始化.

@ippen 你也试一试这样启动,看USB是否正常.

晕倒了,这样没法做产品啊,难道要换芯片?

离线

#23 2018-10-08 10:46:35

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

ippen 说:
晕哥 说:

他直接烧到FLASH也不行, 他原来用 sunxi-fel 的 uboot 命令启动系统了,直接绕开了 BROM的 USB初始化.

@ippen 你也试一试这样启动,看USB是否正常.

晕倒了,这样没法做产品啊,难道要换芯片?

所以为什么叫有坑, 他也在解决中.

离线

#24 2018-10-08 14:10:55

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:
ippen 说:
晕哥 说:

他直接烧到FLASH也不行, 他原来用 sunxi-fel 的 uboot 命令启动系统了,直接绕开了 BROM的 USB初始化.

@ippen 你也试一试这样启动,看USB是否正常.

晕倒了,这样没法做产品啊,难道要换芯片?

所以为什么叫有坑, 他也在解决中.

这个坑有点大
主要是没有厂家手册

离线

#25 2018-10-08 14:45:11

apollo800
会员
注册时间: 2018-10-03
累计积分: 4

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

我早就因为这个原因放弃了F1C100s,USB驱动没有,有点说不过去呀,我当初还傻傻地等那个群主说下周就发,等了。。。。,果断放弃了

离线

#26 2018-10-08 14:48:18

路人甲
会员
注册时间: 2017-09-07
累计积分: 53

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

apollo800 说:

我早就因为这个原因放弃了F1C100s,USB驱动没有,有点说不过去呀,我当初还傻傻地等那个群主说下周就发,等了。。。。,果断放弃了

主线Linux下USB驱动确实有点问题,

但是bsp linux USB驱动基本正常了:
https://debugdump.com/t_1626.html

f1c100s 性价比很好,还是有可圈可点之处的。

离线

#27 2018-10-08 15:00:10

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

路人甲 说:
apollo800 说:

我早就因为这个原因放弃了F1C100s,USB驱动没有,有点说不过去呀,我当初还傻傻地等那个群主说下周就发,等了。。。。,果断放弃了

主线Linux下USB驱动确实有点问题,

但是bsp linux USB驱动基本正常了:
https://debugdump.com/t_1626.html

f1c100s 性价比很好,还是有可圈可点之处的。

rndis 驱动正常,但mass_storage驱动不行

离线

#28 2018-10-08 15:04:43

路人甲
会员
注册时间: 2017-09-07
累计积分: 53

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

ippen 说:
路人甲 说:
apollo800 说:

我早就因为这个原因放弃了F1C100s,USB驱动没有,有点说不过去呀,我当初还傻傻地等那个群主说下周就发,等了。。。。,果断放弃了

主线Linux下USB驱动确实有点问题,

但是bsp linux USB驱动基本正常了:
https://debugdump.com/t_1626.html

f1c100s 性价比很好,还是有可圈可点之处的。

rndis 驱动正常,但mass_storage驱动不行

这就尴尬了.

离线

#29 2018-10-08 18:28:10

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥,你当时买来玩的那个唱戏机,有试过当device设备接电脑的usb吗?能当u盘识别?

离线

#30 2018-10-08 20:17:17

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

貌似当时没有测试,后来尸体都送给本站网友了。

离线

#31 2018-10-08 20:25:46

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

貌似当时没有测试,后来尸体都送给本站网友了。

还能用么?能不能测试一下?

从网上的宣传资料看,应该是能够实现usb device的,所以我还是觉得全志的资料不齐全,sdk有缺陷引起的

离线

#32 2018-10-08 20:50:52

路人甲
会员
注册时间: 2017-09-07
累计积分: 53

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

ippen 说:
晕哥 说:

貌似当时没有测试,后来尸体都送给本站网友了。

还能用么?能不能测试一下?

从网上的宣传资料看,应该是能够实现usb device的,所以我还是觉得全志的资料不齐全,sdk有缺陷引起的

那个已经挂了,起不来了,而且唱戏机用的是 melis 系统,不是linux,有没有兴趣试一试?

离线

#33 2018-10-08 20:56:16

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

路人甲 说:
ippen 说:
晕哥 说:

貌似当时没有测试,后来尸体都送给本站网友了。

还能用么?能不能测试一下?

从网上的宣传资料看,应该是能够实现usb device的,所以我还是觉得全志的资料不齐全,sdk有缺陷引起的

那个已经挂了,起不来了,而且唱戏机用的是 melis 系统,不是linux,有没有兴趣试一试?

不是linux就意义不大了

离线

#34 2018-10-09 09:24:46

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

他直接烧到FLASH也不行, 他原来用 sunxi-fel 的 uboot 命令启动系统了,直接绕开了 BROM的 USB初始化.

@ippen 你也试一试这样启动,看USB是否正常.

我试了用 sunxi-fel uboot 方式启动,但到了starting kernel就停住了,不知道@chong是如何操作的

离线

#35 2018-10-15 11:46:11

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥,能问一下@chong大神,usb 驱动有没有进展?顺便问一下 sunxi-fel uboot的操作方法

离线

#36 2018-10-15 14:39:23

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

QQ20181015143413.jpg

离线

#37 2018-10-15 17:50:25

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

谢谢晕哥,我找时间试一下

离线

#38 2018-10-21 22:13:32

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

QQ20181021221115.png

一个重磅好消息砸来了。

如果 linux 4.19 在 f1c100s 搞定了, 那么 spi nand 也不是问题了,因为已经4.19集成了。

离线

#39 2018-10-21 23:07:11

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

https://debugdump.com/files/members/3/QQ20181021221115.png

一个重磅好消息砸来了。

如果 linux 4.19 在 f1c100s 搞定了, 那么 spi nand 也不是问题了,因为已经4.19集成了。

重大利好啊

离线

#40 2018-10-22 10:47:02

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

大神的补丁下载: lichee_pi_nano_usbok_patch_5e335542de83558e46d.7z

我还没有测试, 哪位先试一试.

操作方法和一楼一致。

离线

#41 2018-10-22 10:59:12

三哥
会员
注册时间: 2018-08-03
累计积分: 13

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

牛逼

离线

#42 2018-10-22 11:24:23

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

最快速的测试报告
打了新的补丁包,4.19的内核启动后,usb device模式直接可用

离线

#43 2018-10-22 11:37:38

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

ippen 说:

最快速的测试报告
打了新的补丁包,4.19的内核启动后,usb device模式直接可用

果然神速,再试一试 usb host .

离线

#44 2018-10-22 12:19:02

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

试了usb host,插进U盘,有提示,并且正确显示U盘型号,不过/dev下没找到设备,可能是我编译内核参数的有问题

离线

#45 2018-10-22 12:27:59

msr06rr
会员
所在地: 苏州
注册时间: 2018-01-11
累计积分: 114
个人网站

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

真*大神!下班回家也试一下

离线

#46 2018-10-22 13:27:59

arphone
会员
注册时间: 2017-11-03
累计积分: 60

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

wow,牛逼。。。

离线

#47 2018-10-23 15:27:53

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

git clone https://github.com/torvalds/linux.git
cd linux
git reset --hard 5e335542de83558e46d28de1008a1c37d5d6679a  ###恢复到指定版本
patch -p1 < lichee_pi_nano_usbok_patch_5e335542de83558e46d.patch ###打补丁

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make sunxi_defconfig  ###使用默认配置

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make -j4 ###四进程编译

离线

#48 2018-10-23 15:37:29

msr06rr
会员
所在地: 苏州
注册时间: 2018-01-11
累计积分: 114
个人网站

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

git clone https://github.com/torvalds/linux.git
cd linux
git reset --hard 5e335542de83558e46d28de1008a1c37d5d6679a  ###恢复到指定版本
patch -p1 < lichee_pi_nano_usbok_patch_5e335542de83558e46d.patch ###打补丁

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make sunxi_defconfig  ###使用默认配置

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make -j4 ###四进程编译

晕哥,这版4.19的内核,除了@chong 大神适配的USB驱动外,还有哪些驱动是可以用的哈?是不是要比荔枝派nano的全?

离线

#49 2018-10-23 16:32:32

v3s
会员
注册时间: 2017-09-08
累计积分: 95

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

msr06rr 说:
晕哥 说:

git clone https://github.com/torvalds/linux.git
cd linux
git reset --hard 5e335542de83558e46d28de1008a1c37d5d6679a  ###恢复到指定版本
patch -p1 < lichee_pi_nano_usbok_patch_5e335542de83558e46d.patch ###打补丁

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make sunxi_defconfig  ###使用默认配置

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make -j4 ###四进程编译

晕哥,这版4.19的内核,除了@chong 大神适配的USB驱动外,还有哪些驱动是可以用的哈?是不是要比荔枝派nano的全?

我瞄了一眼,看起来nano主线有的驱动这都有了,还多了spi nand驱动。


此人很懒,没有签名!

离线

#50 2018-10-24 16:57:16

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:

git clone https://github.com/torvalds/linux.git
cd linux
git reset --hard 5e335542de83558e46d28de1008a1c37d5d6679a  ###恢复到指定版本
patch -p1 < lichee_pi_nano_usbok_patch_5e335542de83558e46d.patch ###打补丁

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make sunxi_defconfig  ###使用默认配置

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make -j4 ###四进程编译

默认配置编译出来不是f系列cpu的内核

离线

#51 2018-10-24 17:07:43

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

ippen 说:
晕哥 说:

git clone https://github.com/torvalds/linux.git
cd linux
git reset --hard 5e335542de83558e46d28de1008a1c37d5d6679a  ###恢复到指定版本
patch -p1 < lichee_pi_nano_usbok_patch_5e335542de83558e46d.patch ###打补丁

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make sunxi_defconfig  ###使用默认配置

ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- make -j4 ###四进程编译

默认配置编译出来不是f系列cpu的内核

是的,suniv系列

离线

#52 2018-10-24 21:22:30

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

make sunxi_defconfig后,make menuconfig,显示是armv7的cpu
图片

离线

#53 2018-11-02 00:17:46

shengyougao
会员
注册时间: 2018-10-22
累计积分: 21

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

我按照指示重新编译了内核,已经生成了zImage文件,但是我使用 make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs -j4生成设备树的时候,发现没有生成对应的suniv-f1c100s-licheepi-nano.dtb文件,请指教是什么原因。谢谢!

离线

#54 2018-11-02 12:52:00

msr06rr
会员
所在地: 苏州
注册时间: 2018-01-11
累计积分: 114
个人网站

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

我也是遇到了这情况,不知道别人直接打patch就成功了是怎么做到的。
你查看一下Makefile,看看需要打开哪个宏,印象中是要在multi platform中选择支持arm9,然后就会有suniv的选项出来

离线

#55 2018-11-02 12:58:24

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

用1楼那个最开始的patch,里面有针对f1c100s的config文件,那个config文件编译出来是能用的

离线

#56 2018-11-02 17:13:38

shengyougao
会员
注册时间: 2018-10-22
累计积分: 21

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

谢谢msr06rr和ippen,我今天晚上试一下。

离线

#57 2018-11-02 21:03:50

shengyougao
会员
注册时间: 2018-10-22
累计积分: 21

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

我试了一楼的patch,和前面一样,没有生成suniv-f1c100s-licheepi-nano.dtb文件。我打开了menuconfig,但里面没有有关支持ARM9的选项,请大家指点一下。十分感谢!

离线

#58 2018-11-02 22:41:01

shengyougao
会员
注册时间: 2018-10-22
累计积分: 21

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

我刚才使用一楼patch里面的.config文件编译出来了设备树,结合编译完成的zImage,系统可以正常启动,但lsusb还是看不到设备。启动信息中有一条: sun4i-usb-phy 1c13400.phy: Couldn't request ID GPIO 不知是否有影响?使用的是随着Nano带的OTG转USB TYPE_A母口,U盘、无线网卡和鼠标我都试过。均没有识别出来。不知还有可能哪个地方存在问题?

离线

#59 2018-11-02 23:24:32

shengyougao
会员
注册时间: 2018-10-22
累计积分: 21

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

@ippen网友,能否把您编译成功的zImage和设备树文件发给我,试一下。我的邮箱是sygao@263.net。十分感谢!

离线

#60 2018-11-03 11:59:25

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

shengyougao 说:

@ippen网友,能否把您编译成功的zImage和设备树文件发给我,试一下。我的邮箱是sygao@263.net。十分感谢!

我想你理解错了
我的意思是用1楼补丁里面的config文件,但真正能用的补丁是40楼那个,要将两个组合起来用

我直接用的是正式板的4.19,不是chong大神的4.19-rc3版本

用4.19打40楼的补丁,用1楼补丁里面的config文件,然后再自己选内核参数编译

离线

#61 2018-11-03 13:22:51

shengyougao
会员
注册时间: 2018-10-22
累计积分: 21

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

谢谢ippen网友。

离线

#62 2018-11-07 20:52:18

shengyougao
会员
注册时间: 2018-10-22
累计积分: 21

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

ippen网友,我按照您的指导,git了正式版4.19,打上了补丁,使用1楼的.config,编译完成,生成在Image和dtb文件,结果还是看不到USB设备。能否把您的zImage文件和.dtb文件贴出来或者发给我,我试一下。如果可以找到USB设备,我再仔细查找原因。万分感谢!

离线

#63 2018-11-07 20:53:48

shengyougao
会员
注册时间: 2018-10-22
累计积分: 21

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

另外,我的uboot是 U-Boot 2018.01-05676-g00188782ee,是否会有影响呢?

离线

#64 2018-11-07 21:07:22

shengyougao
会员
注册时间: 2018-10-22
累计积分: 21

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

我的操作过程是这样的:(1)git clone 4.19正式版的内核;(2)打上40楼的补丁。(3)复制1楼的.config文件。(4)编译内核和设备树;(5)复制zImage和dtb文件到TF卡。
硬件上,使用的是荔枝派nano配的OTG转TYPE_A母口,插上USB接口无线网卡和USB鼠标、U盘均没反应。lsusb仅有Bus 001 Device 001: ID 1d6b:0002一条信息。

离线

#65 2018-11-12 00:42:09

ippen
会员
注册时间: 2018-07-22
累计积分: 158

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

https://debugdump.com/files/members/1028/suniv-f1c100s-licheepi-nano.rar
压缩包里面有dtb,zImage,config三个文件,能识别u盘,插入电脑,会识别为网卡

离线

#66 2018-11-12 20:55:15

shengyougao
会员
注册时间: 2018-10-22
累计积分: 21

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

十分感谢ippen网友,我刚试过了,可以识别USB设备。下面我将重点检查一下,我以前的工作差在什么地方。

离线

#67 2018-11-12 22:48:16

msr06rr
会员
所在地: 苏州
注册时间: 2018-01-11
累计积分: 114
个人网站

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

这个版本的LCD驱动好用吗?有老外报错说没有fb设备文件

离线

#68 2018-11-28 19:11:36

迪卡
会员
注册时间: 2018-11-02
累计积分: 56

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

https://github.com/torvalds/linux
现在内核变成4.20了...还适用吗,如果谁来试过,冒个泡。

离线

#69 2018-11-28 19:33:36

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

迪卡 说:

https://github.com/torvalds/linux
现在内核变成4.20了...还适用吗,如果谁来试过,冒个泡。

组织把这个重任交给你了。

离线

#70 2018-11-29 15:08:44

迪卡
会员
注册时间: 2018-11-02
累计积分: 56

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥,怎么编译出dtb呀,我参考nano.lichee.pro。
使用make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs
结果,在目录下arch/arm/boot/dts目录,找不到dtb文件

离线

#71 2018-11-29 15:22:27

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

迪卡 说:

晕哥,怎么编译出dtb呀,我参考nano.lichee.pro。
使用make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs
结果,在目录下arch/arm/boot/dts目录,找不到dtb文件

用这个命令找找: find . |grep \\.dtb$

离线

#72 2018-11-29 15:32:59

迪卡
会员
注册时间: 2018-11-02
累计积分: 56

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

晕哥 说:
迪卡 说:

晕哥,怎么编译出dtb呀,我参考nano.lichee.pro。
使用make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs
结果,在目录下arch/arm/boot/dts目录,找不到dtb文件

用这个命令找找: find . |grep \\.dtb$

确认,没有需要的dtb,都是sun45678i

难道是我用的linux源码不对??
我下载的4.19.5
我在下载个4.19.0试试

离线

#73 2018-11-29 15:41:27

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

迪卡 说:
晕哥 说:
迪卡 说:

晕哥,怎么编译出dtb呀,我参考nano.lichee.pro。
使用make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- dtbs
结果,在目录下arch/arm/boot/dts目录,找不到dtb文件

用这个命令找找: find . |grep \\.dtb$

确认,没有需要的dtb,都是sun45678i

难道是我用的linux源码不对??
我下载的4.19.5
我在下载个4.19.0试试

一楼的补丁包我试过的,肯定没有问题.
后面的补丁包没有来得及测试, 按上面网友应该也是没有问题,注意姿势。

离线

#74 2018-11-29 16:01:56

迪卡
会员
注册时间: 2018-11-02
累计积分: 56

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

FluxBB bbcode 测试
这是从https://www.kernel.org/下载的4.19.5稳定版。
在arch/arm/boot/dts目录搜到的
文件存在,就是说明提交到主线内核了??
这个.5版的源码是在本帖patch发布之后出的。
我一样打上了patch和config。
编译出来的无法生成dtb,已经确认。

翻了翻上面,看到53楼一样的效果。
不懂得小白都会照着命令输,
本来挺好的.config,搞个make sunxi_defconfig
会不会把配置好的配置给弄不对了....

最近编辑记录 迪卡 (2018-11-29 16:04:26)

离线

#75 2018-11-29 16:10:32

晕哥
Administrator
注册时间: 1970-01-01
累计积分: 5,759

Re: 网友 @chong 大神提供的f1c100s mainline linux usb 补丁包,支持usb otg(host & device)

你检查一下 .config 文件里面的设备树 dts文件是否存在

离线

页脚