您尚未登录。

楼主 #1 2018-01-22 10:26:36

zhuacai
会员
注册时间: 2017-12-16
已发帖子: 234
积分: 233.5

全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

离线

#2 2018-01-22 10:44:43

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

有, 本站搜索,tinyplay





离线

楼主 #3 2018-01-22 11:13:25

zhuacai
会员
注册时间: 2017-12-16
已发帖子: 234
积分: 233.5

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

晕哥 说:

有, 本站搜索,tinyplay


晕哥,dev目录下那个是声卡的驱动呢(声卡的驱动叫什么名)呢?

离线

#4 2018-01-22 11:38:50

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

alsa驱动情况比较复杂。



# ls /dev/snd/ -l
total 0
crw-rw----    1 root     root      116,   0 Jan  1 02:26 controlC0
crw-rw----    1 root     root      116,  24 Jan  1 02:26 pcmC0D0c
crw-rw----    1 root     root      116,  16 Jan  1 02:26 pcmC0D0p
crw-rw----    1 root     root      116,  33 Jan  1 02:26 timer





离线

#5 2019-02-20 21:55:28

checkout
会员
注册时间: 2018-11-09
已发帖子: 173
积分: 168

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

=> boot
reading zImage
3971936 bytes read in 212 ms (17.9 MiB/s)
reading sun8i-v3s-licheepi-zero.dtb
10864 bytes read in 26 ms (407.2 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffa6f ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.0-rc7-licheepi-zero (xiaoxiongmao@xiaoxiongmao-vm) (gcc version 6.3.0 20170321 (Debian 6.3.0-10)) #4 SMP Thu Aug 31 00:05:26 CST 2017
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Zero
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3f60000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw  vt.global_cursor_default=0
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    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: 55076K/65536K available (6144K kernel code, 230K rwdata, 1452K rodata, 1024K init, 263K bss, 10460K 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 : 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 : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a39b80   ( 231 kB)
[    0.000000]        .bss : 0xc0a40874 - 0xc0a825ec   ( 264 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000182] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000397] Console: colour dummy device 80x30
[    0.000432] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000448] pid_max: default: 32768 minimum: 301
[    0.000572] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000584] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001182] CPU: Testing write buffer coherency: ok
[    0.001543] /cpus/cpu@0 missing clock-frequency property
[    0.001567] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001991] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002166] Hierarchical SRCU implementation.
[    0.002656] smp: Bringing up secondary CPUs ...
[    0.002669] smp: Brought up 1 node, 1 CPU
[    0.002679] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002686] CPU: All CPU(s) started in SVC mode.
[    0.003423] devtmpfs: initialized
[    0.006256] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006528] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006558] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.006719] pinctrl core: initialized pinctrl subsystem
[    0.007574] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.007711] NET: Registered protocol family 16
[    0.008145] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009192] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009209] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.021692] SCSI subsystem initialized
[    0.021968] usbcore: registered new interface driver usbfs
[    0.022033] usbcore: registered new interface driver hub
[    0.022125] usbcore: registered new device driver usb
[    0.022373] pps_core: LinuxPPS API ver. 1 registered
[    0.022383] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.022410] PTP clock support registered
[    0.022623] Advanced Linux Sound Architecture Driver Initialized.
[    0.024406] clocksource: Switched to clocksource arch_sys_counter
[    0.034597] NET: Registered protocol family 2
[    0.035215] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.035249] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.035271] TCP: Hash tables configured (established 1024 bind 1024)
[    0.035396] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.035443] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.035659] NET: Registered protocol family 1
[    0.036215] RPC: Registered named UNIX socket transport module.
[    0.036236] RPC: Registered udp transport module.
[    0.036242] RPC: Registered tcp transport module.
[    0.036248] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.038206] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.047051] NFS: Registering the id_resolver key type
[    0.047098] Key type id_resolver registered
[    0.047105] Key type id_legacy registered
[    0.048042] random: fast init done
[    0.050852] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.050873] io scheduler noop registered
[    0.050880] io scheduler deadline registered
[    0.051123] io scheduler cfq registered (default)
[    0.051134] io scheduler mq-deadline registered
[    0.051141] io scheduler kyber registered
[    0.055520] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.121739] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.125277] console [ttyS0] disabled
[    0.145533] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 1500000) is a U6_16550A
[    0.724567] console [ttyS0] enabled
[    0.731198] libphy: Fixed MDIO Bus: probed
[    0.735711] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.742236] ehci-platform: EHCI generic platform driver
[    0.747775] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.753389] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.761356] ehci-platform 1c1a000.usb: irq 25, io mem 0x01c1a000
[    0.794448] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.801553] hub 1-0:1.0: USB hub found
[    0.805502] hub 1-0:1.0: 1 port detected
[    0.809929] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.816223] ohci-platform: OHCI generic platform driver
[    0.821770] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.828494] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.836444] ohci-platform 1c1a400.usb: irq 26, io mem 0x01c1a400
[    0.909442] hub 2-0:1.0: USB hub found
[    0.913262] hub 2-0:1.0: 1 port detected
[    0.920336] usbcore: registered new interface driver usb-storage
[    0.926975] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.936591] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.943386] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.948016] i2c /dev entries driver
[    0.953201] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.014461] sunxi-mmc 1c0f000.mmc: base:0xc4869000 irq:23
[    1.021402] usbcore: registered new interface driver usbhid
[    1.027080] usbhid: USB HID core driver
[    1.033138] NET: Registered protocol family 17
[    1.037816] Key type dns_resolver registered
[    1.042223] Registering SWP/SWPB emulation handler
[    1.053658] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.065059] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.070826] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.082097] hub 3-0:1.0: USB hub found
[    1.086096] hub 3-0:1.0: 1 port detected
[    1.091218] using random self ethernet address
[    1.095804] using random host ethernet address
[    1.101215] usb0: HOST MAC 7a:2b:29:cc:b7:48
[    1.105647] usb0: MAC 7a:84:fe:19:14:4b
[    1.109529] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.117048] g_cdc gadget: g_cdc ready
[    1.121035] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:23 UTC (23)
[    1.129336] vcc3v0: disabling
[    1.132313] vcc5v0: disabling
[    1.135334] ALSA device list:
[    1.138301]   No soundcards found.
[    1.145703] Waiting for root device /dev/mmcblk0p2...
[    1.181557] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.191568] mmc0: new high speed SDHC card at address 0001
[    1.197872] mmcblk0: mmc0:0001 SD8GB 7.28 GiB 
[    1.203879]  mmcblk0: p1 p2
[    1.236059] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.245368] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.317054] EXT4-fs (mmcblk0p2): recovery complete
[    1.323905] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.332132] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.341609] devtmpfs: mounted
[    1.345964] Freeing unused kernel memory: 1024K
[    1.476349] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Starting mdev...
modprobe: can't change directory to '4.13.0-rc7-licheepi-zero': No such file or directory
Initializing random number generator... done.
Starting network: OK
Starting sshd: OK

Welcome to Buildroot
buildroot login: 

zero默认配置不是配置了声卡?确实是用默认配置编译的哇。。
怎么没有的:(
哪位大佬能提供一些测试好的固件试试

# tinymix contents
Failed to open mixer
# ls /dev/snd/ -l
total 0
crw-rw----    1 root     audio     116,  33 Jan  1 00:00 timer
# ls /sys/firmware/devicetree/base/
#address-cells    compatible        model             usb1-vbus
#size-cells       cpus              name              usb2-vbus
ahci-5v           display-engine    serial-number     vcc3v0
aliases           interrupt-parent  soc               vcc3v3
chosen            leds              timer             vcc5v0
clocks            memory            usb0-vbus
# 

离线

#6 2019-02-20 22:00:38

checkout
会员
注册时间: 2018-11-09
已发帖子: 173
积分: 168

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

上面是群里小熊猫的固件启动log
下面是我自己使用zero默认配置编译出来的固件的启动log
怎么肥事,哪位大佬指点一下

=> boot
reading zImage
3937944 bytes read in 214 ms (17.5 MiB/s)
reading sun8i-v3s-licheepi-zero.dtb
11187 bytes read in 26 ms (419.9 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffbb2 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-licheepi-zero (root@ubuntu) (gcc version 7.3.0 (Buildroot 2018.08.2)) #1 SMP Mon Jan 28 21:48:04 CST 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Zero
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 16 pages/cpu @c3f5f000 s33868 r8192 d23476 u65536
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw  vt.global_cursor_default=0
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    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: 55096K/65536K available (6144K kernel code, 217K rwdata, 1436K rodata, 1024K init, 261K bss, 10440K 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 : 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 : 0xc0008000 - 0xc0700000   (7136 kB)
[    0.000000]       .init : 0xc0900000 - 0xc0a00000   (1024 kB)
[    0.000000]       .data : 0xc0a00000 - 0xc0a366c0   ( 218 kB)
[    0.000000]        .bss : 0xc0a3d7f0 - 0xc0a7efec   ( 262 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU event tracing is enabled.
[    0.000000]  RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000019] Switching to timer-based delay loop, resolution 41ns
[    0.000171] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000400] Console: colour dummy device 80x30
[    0.000435] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000450] pid_max: default: 32768 minimum: 301
[    0.000575] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000592] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001198] CPU: Testing write buffer coherency: ok
[    0.001573] /cpus/cpu@0 missing clock-frequency property
[    0.001595] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002062] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002251] Hierarchical SRCU implementation.
[    0.002753] smp: Bringing up secondary CPUs ...
[    0.002769] smp: Brought up 1 node, 1 CPU
[    0.002777] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002784] CPU: All CPU(s) started in SVC mode.
[    0.003541] devtmpfs: initialized
[    0.006487] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006761] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006788] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.006956] pinctrl core: initialized pinctrl subsystem
[    0.007828] random: get_random_u32 called from bucket_table_alloc+0x110/0x238 with crng_init=0
[    0.007964] NET: Registered protocol family 16
[    0.008406] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009508] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009524] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.022066] SCSI subsystem initialized
[    0.022349] usbcore: registered new interface driver usbfs
[    0.022416] usbcore: registered new interface driver hub
[    0.022502] usbcore: registered new device driver usb
[    0.022756] pps_core: LinuxPPS API ver. 1 registered
[    0.022767] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.022797] PTP clock support registered
[    0.023028] Advanced Linux Sound Architecture Driver Initialized.
[    0.024821] clocksource: Switched to clocksource arch_sys_counter
[    0.035787] NET: Registered protocol family 2
[    0.036382] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.036412] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.036435] TCP: Hash tables configured (established 1024 bind 1024)
[    0.036562] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.036610] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.036804] NET: Registered protocol family 1
[    0.037400] RPC: Registered named UNIX socket transport module.
[    0.037420] RPC: Registered udp transport module.
[    0.037425] RPC: Registered tcp transport module.
[    0.037431] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.039480] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.048487] NFS: Registering the id_resolver key type
[    0.048548] Key type id_resolver registered
[    0.048555] Key type id_legacy registered
[    0.049574] random: fast init done
[    0.052574] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.052597] io scheduler noop registered
[    0.052604] io scheduler deadline registered
[    0.052846] io scheduler cfq registered (default)
[    0.052857] io scheduler mq-deadline registered
[    0.052864] io scheduler kyber registered
[    0.057308] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.130116] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.133652] console [ttyS0] disabled
[    0.153926] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 33, base_baud = 1500000) is a U6_16550A
[    0.730821] console [ttyS0] enabled
[    0.737536] libphy: Fixed MDIO Bus: probed
[    0.741988] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.748602] ehci-platform: EHCI generic platform driver
[    0.754093] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.759763] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.767689] ehci-platform 1c1a000.usb: irq 25, io mem 0x01c1a000
[    0.794860] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.802011] hub 1-0:1.0: USB hub found
[    0.805984] hub 1-0:1.0: 1 port detected
[    0.810448] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.816746] ohci-platform: OHCI generic platform driver
[    0.822294] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.829019] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.836966] ohci-platform 1c1a400.usb: irq 26, io mem 0x01c1a400
[    0.909898] hub 2-0:1.0: USB hub found
[    0.913726] hub 2-0:1.0: 1 port detected
[    0.921289] udc-core: couldn't find an available UDC - added [g_cdc] to list of pending drivers
[    0.931054] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.937947] sun6i-rtc 1c20400.rtc: RTC enabled
[    0.942483] i2c /dev entries driver
[    0.947372] input: ns2009_ts as /devices/platform/soc/1c2ac00.i2c/i2c-0/0-0048/input/input0
[    0.956915] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.025063] sunxi-mmc 1c0f000.mmc: base:0xc4869000 irq:23
[    1.032105] usbcore: registered new interface driver usbhid
[    1.037774] usbhid: USB HID core driver
[    1.043458] NET: Registered protocol family 17
[    1.048140] Key type dns_resolver registered
[    1.052540] Registering SWP/SWPB emulation handler
[    1.064185] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.075637] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.081402] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.092787] hub 3-0:1.0: USB hub found
[    1.096944] hub 3-0:1.0: 1 port detected
[    1.101952] using random self ethernet address
[    1.106506] using random host ethernet address
[    1.111960] usb0: HOST MAC ee:64:a2:4a:7f:da
[    1.116383] usb0: MAC 1a:47:51:ff:74:41
[    1.120267] g_cdc gadget: CDC Composite Gadget, version: King Kamehameha Day 2008
[    1.127786] g_cdc gadget: g_cdc ready
[    1.131781] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:12 UTC (12)
[    1.140061] vcc3v0: disabling
[    1.143036] vcc5v0: disabling
[    1.146054] ALSA device list:
[    1.149020]   No soundcards found.
[    1.154378] Waiting for root device /dev/mmcblk0p2...
[    1.191963] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.201969] mmc0: new high speed SDHC card at address 0001
[    1.208292] mmcblk0: mmc0:0001 SD8GB 7.28 GiB 
[    1.214266]  mmcblk0: p1 p2
[    1.246070] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.255201] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.445446] EXT4-fs (mmcblk0p2): recovery complete
[    1.452324] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.460562] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.472419] devtmpfs: mounted
[    1.476644] Freeing unused kernel memory: 1024K
[    1.611147] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting logging: OK
Starting mdev...
Initializing random number generator... done.
Starting network: OK
Starting sshd: OK

Welcome to Buildroot
buildroot login: root
# ls /dev/snd [   14.724888] random: crng init done

timer
# ls /sys/firmware/devicetree/base/
#address-cells    compatible        model             usb1-vbus
#size-cells       cpus              name              usb2-vbus
ahci-5v           display-engine    serial-number     vcc3v0
aliases           interrupt-parent  soc               vcc3v3
chosen            leds              timer             vcc5v0
clocks            memory            usb0-vbus
# 

离线

#7 2019-02-20 22:06:31

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

一会我去试一试我这个固件能否操作声卡,

https://whycan.cn/t_2169.html





离线

#8 2019-02-20 22:21:54

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

https://whycan.cn/t_489.html

你的log缺这信息:

[    1.221775] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.229824] sun4i-codec 1c22c00.codec: Failed to register our card

看下是设备树,和驱动配置有没有问题.





离线

#9 2019-02-20 22:55:45

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

晕哥 说:

一会我去试一试我这个固件能否操作声卡,

https://whycan.cn/t_2169.html

试了一下, OK

buildroot 的 BR2_PACKAGE_TINYALSA 开关打开:

# tinypcminfo
Info for card 0, device 0:

PCM out:
      Access:   0x000009
   Format[0]:   0x000404
   Format[1]:   00000000
 Format Name:   S16_LE, S32_LE
   Subformat:   0x000001
        Rate:   min=8000Hz      max=192000Hz
    Channels:   min=1           max=2
 Sample bits:   min=16          max=32
 Period size:   min=32          max=32768
Period count:   min=2           max=8192

PCM in:
      Access:   0x000009
   Format[0]:   0x000404
   Format[1]:   00000000
 Format Name:   S16_LE, S32_LE
   Subformat:   0x000001
        Rate:   min=8000Hz      max=192000Hz
    Channels:   min=1           max=2
 Sample bits:   min=16          max=32
 Period size:   min=32          max=32768
Period count:   min=2           max=8192
#
#
# tinymix contents
Number of controls: 13
ctl     type    num     name                                    value
0       INT     1       DAC Playback Volume                     63 (range 0->63)
1       INT     1       Headphone Playback Volume               0 (range 0->63)
2       BOOL    2       Headphone Playback Switch               Off, Off
3       INT     1       Mic1 Playback Volume                    3 (range 0->7)
4       INT     1       Mic1 Boost Volume                       4 (range 0->7)
5       INT     1       ADC Gain Capture Volume                 3 (range 0->7)
6       BOOL    2       DAC Playback Switch                     Off, Off
7       BOOL    2       DAC Reversed Playback Switch            Off, Off
8       BOOL    2       Mic1 Playback Switch                    Off, Off
9       BOOL    2       Mixer Capture Switch                    Off, Off
10      BOOL    2       Mixer Reversed Capture Switch           Off, Off
11      BOOL    2       Mic1 Capture Switch                     Off, Off
12      ENUM    2       Headphone Source Playback Route         , DACMixer, , DACMixer




离线

#10 2019-02-20 23:24:07

checkout
会员
注册时间: 2018-11-09
已发帖子: 173
积分: 168

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

解决了,是设备树没配置好~
官方的sun8i-v3s-licheepi-zero-dock.dts是有配置的,但sun8i-v3s-licheepi-zero.dts没有配置声卡,buildroot配置的时候使用了这个了

离线

#11 2019-02-21 08:55:55

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

checkout 说:

解决了,是设备树没配置好~
官方的sun8i-v3s-licheepi-zero-dock.dts是有配置的,但sun8i-v3s-licheepi-zero.dts没有配置声卡,buildroot配置的时候使用了这个了

对,他们是包含关系。

sun8i-v3s-licheepi-zero-dock.dts 包含了 sun8i-v3s-licheepi-zero.dts

sun8i-v3s-licheepi-zero.dts 缺声卡/网卡等设备。





离线

#12 2019-02-21 12:17:15

www220
会员
注册时间: 2018-02-09
已发帖子: 46
积分: 46

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

晕哥 说:

有, 本站搜索,tinyplay

大神v3s的usb驱动是开源的吗?

离线

#13 2020-07-04 22:24:30

tianyuci
会员
所在地: 佛山
注册时间: 2020-02-14
已发帖子: 5
积分: 0

Re: 全志V3s使用荔枝派最新的 linux 4.13-y 分支,在dev目录下没看到声卡的驱动,如何支持声卡?

不熟悉,这个声卡好难搞啊

离线

页脚

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

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