页次: 1
https://www.amazon.cn/dp/B0787CKP2R/ref … =8-1-fkmr1
可以买Kindle电子版 看看 就82.83RMB
小草的技术与开源心态真的不是小草!赞!
謝謝版主 省去了好多建零件的時間
dts里面没有开声卡
谢谢
后来我用回 linux-zero-4.13.y 就可以看到声卡已经开启的信息
[ 1.380810] sun4i-codec 1c22c00.codec: Codec <-> 1c22c00.codec mapping ok
[ 1.389318] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-02 12:26:58 UTC (131218)
[ 1.397991] vcc5v0: disabling
[ 1.400969] ALSA device list:
[ 1.403932] #0: V3s Audio Codec
v3s声卡默认静音,打开就好了
可是 我的串口打印的信息是没有找到声卡 这样可以打开吗?
[ 1.288650] vcc5v0: disabling
[ 1.291627] ALSA device list:
[ 1.294655] No soundcards found.
本站搜 tinyplay tinymix 等关键字
谢谢
1)我在调试V3S的网卡后 目前已经可以使用eth0 ping到信息
2)但是 声卡一直无法设置成功
我在buildroot里边有选择alsa-utils ->alsactl+alsamixer+amixer+speaker-test
******************
环境信息:
u-boot:2017.01.rc2
kernel:zero-5.2.y
rootbuild:2017.08
gcc:6.5
******************
------------------------------------------------
以下是串口的打印信息
U-Boot 2017.01-rc2 (Jun 23 2020 - 14:22:38 +0000) Allwinner Technology
CPU: Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM: 64 MiB
MMC: SUNXI SD/MMC: 0
*** Warning - bad CRC, using default environment
In: serial@01c28000
Out: serial@01c28000
Err: serial@01c28000
Net: phy interface0
eth0: ethernet@1c30000
starting USB...
No controllers found
Hit any key to stop autoboot: 0
reading zImage
4160880 bytes read in 308 ms (12.9 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
12100 bytes read in 27 ms (437.5 KiB/s)
## Flattened Device Tree blob at 41800000
Booting using the fdt blob at 0x41800000
Loading Device Tree to 42dfa000, end 42dfff43 ... OK
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.2.0 (root@instance-1) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9)) #1 SMP Wed Jun 24 00:53:48 UTC 2020
[ 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 with Dock
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 16 MiB at 0x43000000
[ 0.000000] percpu: Embedded 16 pages/cpu s34508 r8192 d22836 u65536
[ 0.000000] Built 1 zonelists, 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] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 38512K/65536K available (6144K kernel code, 432K rwdata, 1640K rodata, 1024K init, 243K bss, 10640K reserved, 16384K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=1.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 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] random: get_random_bytes called from start_kernel+0x2fc/0x488 with crng_init=0
[ 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.000236] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000500] Console: colour dummy device 80x30
[ 0.000556] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000572] pid_max: default: 32768 minimum: 301
[ 0.000734] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.000749] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.001565] CPU: Testing write buffer coherency: ok
[ 0.002088] /cpus/cpu@0 missing clock-frequency property
[ 0.002118] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002852] Setting up static identity map for 0x40100000 - 0x40100060
[ 0.003056] rcu: Hierarchical SRCU implementation.
[ 0.003546] smp: Bringing up secondary CPUs ...
[ 0.003567] smp: Brought up 1 node, 1 CPU
[ 0.003576] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.003584] CPU: All CPU(s) started in SVC mode.
[ 0.004578] devtmpfs: initialized
[ 0.008052] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.008360] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.008389] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.009201] pinctrl core: initialized pinctrl subsystem
[ 0.010645] NET: Registered protocol family 16
[ 0.011793] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.013036] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.013055] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.029650] SCSI subsystem initialized
[ 0.030486] usbcore: registered new interface driver usbfs
[ 0.030547] usbcore: registered new interface driver hub
[ 0.030636] usbcore: registered new device driver usb
[ 0.030918] pps_core: LinuxPPS API ver. 1 registered
[ 0.030931] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.030955] PTP clock support registered
[ 0.031204] Advanced Linux Sound Architecture Driver Initialized.
[ 0.032477] clocksource: Switched to clocksource arch_sys_counter
[ 0.044104] NET: Registered protocol family 2
[ 0.044762] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.044799] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.044824] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[ 0.044848] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.044996] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.045049] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.045290] NET: Registered protocol family 1
[ 0.046271] RPC: Registered named UNIX socket transport module.
[ 0.046294] RPC: Registered udp transport module.
[ 0.046299] RPC: Registered tcp transport module.
[ 0.046305] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.048433] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[ 0.056355] NFS: Registering the id_resolver key type
[ 0.056412] Key type id_resolver registered
[ 0.056420] Key type id_legacy registered
[ 0.056543] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.056557] io scheduler mq-deadline registered
[ 0.056565] io scheduler kyber registered
[ 0.057508] sun4i-usb-phy 1c19400.phy: Couldn't request ID GPIO
[ 0.061437] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[ 0.132298] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[ 0.134847] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pb not found, using dummy regulator
[ 0.136019] printk: console [ttyS0] disabled
[ 0.156335] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[ 0.696383] printk: console [ttyS0] enabled
[ 0.724736] libphy: Fixed MDIO Bus: probed
[ 0.728850] CAN device driver interface
[ 0.733457] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[ 0.739268] dwmac-sun8i 1c30000.ethernet: No regulator found
[ 0.745540] dwmac-sun8i 1c30000.ethernet: Current syscon value is not the default 148000 (expect 58000)
[ 0.755022] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[ 0.762239] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[ 0.769476] dwmac-sun8i 1c30000.ethernet: COE Type 2
[ 0.774451] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[ 0.781230] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[ 0.786895] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[ 0.792796] libphy: stmmac: probed
[ 0.796915] dwmac-sun8i 1c30000.ethernet: Found internal PHY node
[ 0.803268] libphy: mdio_mux: probed
[ 0.806872] dwmac-sun8i 1c30000.ethernet: Switch mux to internal PHY
[ 0.813272] dwmac-sun8i 1c30000.ethernet: Powering internal PHY
[ 0.820416] libphy: mdio_mux: probed
[ 0.824464] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.830993] ehci-platform: EHCI generic platform driver
[ 0.836565] ehci-platform 1c1a000.usb: EHCI Host Controller
[ 0.842177] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[ 0.850362] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[ 0.882462] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[ 0.889667] hub 1-0:1.0: USB hub found
[ 0.893656] hub 1-0:1.0: 1 port detected
[ 0.898246] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.904570] ohci-platform: OHCI generic platform driver
[ 0.910122] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[ 0.916846] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[ 0.924964] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[ 0.997539] hub 2-0:1.0: USB hub found
[ 1.001370] hub 2-0:1.0: 1 port detected
[ 1.009735] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[ 1.018996] sun6i-rtc 1c20400.rtc: registered as rtc0
[ 1.024168] sun6i-rtc 1c20400.rtc: RTC enabled
[ 1.028942] i2c /dev entries driver
[ 1.034956] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 1.043707] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pf not found, using dummy regulator
[ 1.080261] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[ 1.087546] sun8i-v3s-pinctrl 1c20800.pinctrl: 1c20800.pinctrl supply vcc-pg not found, using dummy regulator
[ 1.122408] sunxi-mmc 1c10000.mmc: initialized, max. request size: 16384 KB
[ 1.130532] usbcore: registered new interface driver usbhid
[ 1.136191] usbhid: USB HID core driver
[ 1.142291] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[ 1.149928] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.156823] NET: Registered protocol family 17
[ 1.161333] can: controller area network core (rev 20170425 abi 9)
[ 1.167710] NET: Registered protocol family 29
[ 1.172158] can: raw protocol (rev 20170425)
[ 1.176470] can: broadcast manager protocol (rev 20170425 t)
[ 1.182134] can: netlink gateway (rev 20170425) max_hops=1
[ 1.187955] Key type dns_resolver registered
[ 1.192364] Registering SWP/SWPB emulation handler
[ 1.205116] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[ 1.216711] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 1.222569] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[ 1.232075] hub 3-0:1.0: USB hub found
[ 1.236200] hub 3-0:1.0: 1 port detected
[ 1.242566] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[ 1.250075] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.257610] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[ 1.265277] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.271587] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.279915] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-02T22:21:44 UTC (166904)
[ 1.288650] vcc5v0: disabling
[ 1.291627] ALSA device list:
[ 1.294655] No soundcards found.
[ 1.298977] mmc0: new high speed SDHC card at address b368
[ 1.306746] mmcblk0: mmc0:b368 SMI 3.75 GiB
[ 1.313717] mmcblk0: p1 p2
[ 1.319887] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[ 1.327517] sun4i-codec 1c22c00.codec: Failed to register our card
[ 1.359281] random: fast init done
[ 1.388241] EXT4-fs (mmcblk0p2): recovery complete
[ 1.396436] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.404704] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.412105] devtmpfs: mounted
[ 1.416385] Freeing unused kernel memory: 1024K
[ 1.421066] Run /sbin/init as init process
[ 1.528093] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
Starting logging: OK
Initializing random number generator... [ 1.647110] random: dd: uninitialized urandom read (512 bytes read)
done.
Starting network: [ 1.712659] usb 1-1: new high-speed USB device number 2 using ehci-platform
OK
Welcome to Buildroot
buildroot login: [ 1.928136] sun4i-codec 1c22c00.codec: ASoC: codec-analog@01c23000 not registered
[ 1.935757] sun4i-codec 1c22c00.codec: Failed to register our card
[ 65.362609] random: crng init done
Welcome to Buildroot
buildroot login:
----------------------------------------------------
请各位大神帮忙看一下 有没有哪里没有设定好 谢谢
(也试过 linux-zero-4.13.y与linux-zero-4.13.y4.14 情况一样)
V3s用vlc跑音视频流媒体服务器吗?得把摄像头和h.264编码器和录音搞定吧,其他都是软件处理的问题了。
谢谢 哇酷小二 我只是想用V3S装载 VLC(或是其他的应用也可以)拿来做流媒体播放器使用,可不可以请您详细一点指导要准备的相关功能.谢谢您.
請問版主 V3S要跑VLC的話 基本上 要哪些條件的設定 .謝謝!
11楼的百度链接已经失效了 呜呜呜!
我的是卡在 toolchain Installing to target 就一直不动了
现在获取到的licheePi/u-boot里面怎么没有
LicheePi_Zero_800x480LCD_defconfig
LicheePi_Zero_480x272LCD_defconfig
这2个文件
v3s-current.zip 这个文件就有上面那两个.defconfig
坐在这里敲碗等着晕哥
页次: 1