您尚未登录。

楼主 # 2023-06-29 16:05:30

Hinata
会员
注册时间: 2023-06-29
已发帖子: 5
积分: 5

licheepi(v3s)声卡启动失败怎么办

我用的4.13.y的kernel
启动信息:
U-Boot 2017.01-rc2-00073-gdd6e8740dc (Jun 28 2023 - 16:51:58 +0800) Allwinner Technology

CPU:   Allwinner V3s (SUN8I 1681)
Model: Lichee Pi Zero
DRAM:  64 MiB
MMC:   SUNXI SD/MMC: 0
SF: unrecognized JEDEC id bytes: 0b, 40, 18
*** Warning - spi_flash_probe() failed, using default environment

In:    serial@01c28000
Out:   serial@01c28000
Err:   serial@01c28000
Net:   No ethernet found.
starting USB...
No controllers found
Hit any key to stop autoboot:  0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
reading /boot.scr
280 bytes read in 14 ms (19.5 KiB/s)
## Executing script at 41900000
reading zImage
3733104 bytes read in 229 ms (15.5 MiB/s)
reading sun8i-v3s-licheepi-zero-dock.dtb
11856 bytes read in 25 ms (462.9 KiB/s)
## Flattened Device Tree blob at 41800000
   Booting using the fdt blob at 0x41800000
   Loading Device Tree to 42dfa000, end 42dffe4f ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.13.16-44688-g507bd15d33b5 (hinata@hinata-virtual-machine) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05)) #1 SMP Thu Jun 29 15:47:08 CST 2023
[    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] 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
[    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: 54964K/65536K available (6144K kernel code, 357K rwdata, 1392K rodata, 1024K init, 253K bss, 10572K 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 - 0xc0a59520   ( 358 kB)
[    0.000000]        .bss : 0xc0a601f0 - 0xc0a9f714   ( 254 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.000020] Switching to timer-based delay loop, resolution 41ns
[    0.000201] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000448] Console: colour dummy device 80x30
[    0.000484] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.000499] pid_max: default: 32768 minimum: 301
[    0.000622] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000638] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.001220] CPU: Testing write buffer coherency: ok
[    0.001579] /cpus/cpu@0 missing clock-frequency property
[    0.001604] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002011] Setting up static identity map for 0x40100000 - 0x40100060
[    0.002182] Hierarchical SRCU implementation.
[    0.002665] smp: Bringing up secondary CPUs ...
[    0.002679] smp: Brought up 1 node, 1 CPU
[    0.002687] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[    0.002694] CPU: All CPU(s) started in SVC mode.
[    0.003397] devtmpfs: initialized
[    0.006420] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.006711] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.006738] futex hash table entries: 256 (order: 2, 16384 bytes)
[    0.006892] pinctrl core: initialized pinctrl subsystem
[    0.007728] random: get_random_u32 called from bucket_table_alloc+0xf4/0x244 with crng_init=0
[    0.007862] NET: Registered protocol family 16
[    0.008303] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.009358] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.009374] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.022570] SCSI subsystem initialized
[    0.023219] usbcore: registered new interface driver usbfs
[    0.023292] usbcore: registered new interface driver hub
[    0.023364] usbcore: registered new device driver usb
[    0.023650] pps_core: LinuxPPS API ver. 1 registered
[    0.023659] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.023681] PTP clock support registered
[    0.023911] Advanced Linux Sound Architecture Driver Initialized.
[    0.025039] clocksource: Switched to clocksource arch_sys_counter
[    0.035505] NET: Registered protocol family 2
[    0.036072] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.036107] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[    0.036131] TCP: Hash tables configured (established 1024 bind 1024)
[    0.036256] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.036304] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.036513] NET: Registered protocol family 1
[    0.037170] RPC: Registered named UNIX socket transport module.
[    0.037189] RPC: Registered udp transport module.
[    0.037195] RPC: Registered tcp transport module.
[    0.037201] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.039231] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.048027] NFS: Registering the id_resolver key type
[    0.048076] Key type id_resolver registered
[    0.048083] Key type id_legacy registered
[    0.049013] random: fast init done
[    0.049346] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    0.049365] io scheduler noop registered
[    0.049373] io scheduler deadline registered
[    0.049596] io scheduler cfq registered (default)
[    0.049608] io scheduler mq-deadline registered
[    0.049615] io scheduler kyber registered
[    0.054165] sun8i-v3s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.122372] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.125863] console [ttyS0] disabled
[    0.146108] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 36, base_baud = 1500000) is a U6_16550A
[    0.720354] console [ttyS0] enabled
[    0.726456] libphy: Fixed MDIO Bus: probed
[    0.730571] CAN device driver interface
[    0.734978] dwmac-sun8i 1c30000.ethernet: PTP uses main clock
[    0.740862] dwmac-sun8i 1c30000.ethernet: No regulator found
[    0.746593] dwmac-sun8i 1c30000.ethernet: Will use internal PHY
[    0.752746] dwmac-sun8i 1c30000.ethernet: Chain mode enabled
[    0.758437] dwmac-sun8i 1c30000.ethernet: No HW DMA feature register supported
[    0.765665] dwmac-sun8i 1c30000.ethernet: Normal descriptors
[    0.771317] dwmac-sun8i 1c30000.ethernet: RX Checksum Offload Engine supported
[    0.778541] dwmac-sun8i 1c30000.ethernet: COE Type 2
[    0.783499] dwmac-sun8i 1c30000.ethernet: TX Checksum insertion supported
[    0.790492] libphy: stmmac: probed
[    0.795798] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.802336] ehci-platform: EHCI generic platform driver
[    0.807935] ehci-platform 1c1a000.usb: EHCI Host Controller
[    0.813555] ehci-platform 1c1a000.usb: new USB bus registered, assigned bus number 1
[    0.821559] ehci-platform 1c1a000.usb: irq 26, io mem 0x01c1a000
[    0.855061] ehci-platform 1c1a000.usb: USB 2.0 started, EHCI 1.00
[    0.862209] hub 1-0:1.0: USB hub found
[    0.866147] hub 1-0:1.0: 1 port detected
[    0.870619] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    0.876910] ohci-platform: OHCI generic platform driver
[    0.882447] ohci-platform 1c1a400.usb: Generic Platform OHCI controller
[    0.889172] ohci-platform 1c1a400.usb: new USB bus registered, assigned bus number 2
[    0.897097] ohci-platform 1c1a400.usb: irq 27, io mem 0x01c1a400
[    0.970139] hub 2-0:1.0: USB hub found
[    0.973965] hub 2-0:1.0: 1 port detected
[    0.982124] input: 1c22800.lradc as /devices/platform/soc/1c22800.lradc/input/input0
[    0.991217] sun6i-rtc 1c20400.rtc: rtc core: registered rtc-sun6i as rtc0
[    0.998116] sun6i-rtc 1c20400.rtc: RTC enabled
[    1.002769] i2c /dev entries driver
[    1.007667] IR NEC protocol handler initialized
[    1.012212] IR RC5(x/sz) protocol handler initialized
[    1.017359] IR RC6 protocol handler initialized
[    1.021885] IR JVC protocol handler initialized
[    1.026437] IR Sony protocol handler initialized
[    1.031047] IR SANYO protocol handler initialized
[    1.035759] IR Sharp protocol handler initialized
[    1.040456] IR MCE Keyboard/mouse protocol handler initialized
[    1.046289] IR XMP protocol handler initialized
[    1.051631] sunxi-wdt 1c20ca0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    1.115100] sunxi-mmc 1c0f000.mmc: base:0xc487f000 irq:23
[    1.161833] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.171800] mmc0: new high speed SDHC card at address 5048
[    1.177887] sunxi-mmc 1c10000.mmc: base:0xc4883000 irq:24
[    1.184352] usbcore: registered new interface driver usbhid
[    1.190011] usbhid: USB HID core driver
[    1.194548] mmcblk0: mmc0:5048 SD32G 28.9 GiB
[    1.201225] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.209270] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.216810]  mmcblk0: p1 p2
[    1.223298] NET: Registered protocol family 17
[    1.227917] can: controller area network core (rev 20170425 abi 9)
[    1.234196] NET: Registered protocol family 29
[    1.238691] can: raw protocol (rev 20170425)
[    1.242960] can: broadcast manager protocol (rev 20170425 t)
[    1.248639] can: netlink gateway (rev 20170425) max_hops=1
[    1.254407] Key type dns_resolver registered
[    1.258850] Registering SWP/SWPB emulation handler
[    1.269352] usb_phy_generic usb_phy_generic.0.auto: usb_phy_generic.0.auto supply vcc not found, using dummy regulator
[    1.280732] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[    1.286571] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 3
[    1.295734] hub 3-0:1.0: USB hub found
[    1.299602] hub 3-0:1.0: 1 port detected
[    1.305563] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    1.313494] sun4i-codec 1c22c00.codec: Failed to register our card
[    1.320599] sun6i-rtc 1c20400.rtc: setting system clock to 1970-01-01 00:00:04 UTC (4)
[    1.328848] vcc5v0: disabling
[    1.331825] ALSA device list:
[    1.334787]   No soundcards found.
[    1.340907] EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
[    1.350590] EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
[    1.768451] EXT4-fs (mmcblk0p2): recovery complete
[    1.774434] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.782659] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    1.790612] devtmpfs: mounted
[    1.794760] Freeing unused kernel memory: 1024K
[    1.923978] EXT4-fs (mmcblk0p2): re-mounted. Opts: data=ordered
Starting syslogd: OK
Starting klogd: OK
Running sysctl: OK
Initializing random number generator: OK
Saving random seed: OK
Starting network: [    2.222664] sun4i-codec 1c22c00.codec: ASoC: /soc/codec-analog@01c23000 not registered
[    2.230752] sun4i-codec 1c22c00.codec: Failed to register our card
[    2.238603] Generic PHY stmmac-0:01: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:01, irq=-1)
[    2.250566] dwmac-sun8i 1c30000.ethernet eth0: No MAC Management Counters available
[    2.258331] dwmac-sun8i 1c30000.ethernet eth0: PTP not supported by HW
OK
Starting sshd: OK

Welcome to hinata

然后amixer直接报错

# amixer --help
Usage: amixer <options> [command]

Available options:
  -h,--help       this help
  -c,--card N     select the card
  -D,--device N   select the device, default 'default'
  -d,--debug      debug mode
  -n,--nocheck    do not perform range checking
  -v,--version    print version of this program
  -q,--quiet      be quiet
  -i,--inactive   show also inactive controls
  -a,--abstract L select abstraction level (none or basic)
  -s,--stdin      Read and execute commands from stdin sequentially
  -R,--raw-volume Use the raw value (default)
  -M,--mapped-volume Use the mapped volume

Available commands:
  scontrols       show all mixer simple controls
  scontents       show contents of all mixer simple controls (default command)
  sset sID P      set contents for one mixer simple control
  sget sID        get contents for one mixer simple control
  controls        show all controls for given card
  contents        show contents of all controls for given card
  cset cID P      set control contents for one control
  cget cID        get control contents for one control
# amixer scontrols
ALSA lib confmisc.c:855:(parse_card) cannot find card '0'
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_card_inum returned error: No such file or directory
ALSA lib confmisc.c:422:(snd_func_concat) error evaluating strings
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1334:(snd_func_refer) error evaluating name
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5599:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib control.c:1481:(snd_ctl_open_noupdate) Invalid CTL default
amixer: Mixer attach default error: No such file or directory


有大佬知道这么办吗

离线

页脚

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

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