您尚未登录。

楼主 # 2021-07-15 12:57:55

linux小白
会员
注册时间: 2021-04-30
已发帖子: 18
积分: 4.5

问题求助 tina下播放音频

求助大佬,有没有大佬知道f1c100s的音频配置,下面是我配置好之后产生的问题,我不太清楚还要什么地方没有配置,我都是按照官方的文档来配置的,进入系统后输入下面的命令,然后又报出打不开驱动的提示

root@TinaLinux:~#
root@TinaLinux:~# aplay -D plughw:0,0 FormatFactoryPart1.wav 
Playing WAVE 'FormatFactoryPart1.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono
aplay: pcm_write:1940: write error: I/O error
root@TinaLinux:~#
root@TinaLinux:~# aplay FormatFactoryPart1.wav 
ALSA lib pcm_direct.c:1824:(_snd_pcm_direct_get_slave_ipc_offset) Invalid value for card
aplay: main:722: audio open error: No such device

启动日志的信息

[    0.626023] failed to get gpio-spk and gpio_num
[    0.631203] headphonevol:59,spkervol:27,maingain:4,pa_sleep_time:350
[    0.639105] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node daudio0
[    0.647848] sun3iw1p1-pinctrl pio: missing allwinner,pins property in node daudio0
[    0.656341] [daudio]request pinctrl handle 
[    0.660838] for audio failed
[    0.664272] sunxi-daudio: probe of daudio0 failed with error -22
[    0.672451] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    0.680505] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    0.688433] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    0.696210] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    0.704001] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    0.712572] sunxi-internal-cpudai 1c23c00.cpudai0-controller: ASoC: pcm constructor failed: -12
[    0.722325] sunxi-codec-machine sound.2: ASoC: can't create pcm SUNXI-CODEC :-12
[    0.730587] sunxi-codec-machine sound.2: ASoC: failed to instantiate card -12
[    0.738888] snd_soc_register_card failed -12
[    0.743764] sunxi-codec-machine: probe of sound.2 failed with error -12

最近编辑记录 linux小白 (2021-07-15 13:05:19)

离线

#1 2021-07-15 13:55:28

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,452
积分: 1902

Re: 问题求助 tina下播放音频

你是不是改了啥?按默认配置,tina跑音频播放没有问题。

在线

楼主 #2 2021-07-15 14:18:10

linux小白
会员
注册时间: 2021-04-30
已发帖子: 18
积分: 4.5

Re: 问题求助 tina下播放音频

哇酷小二 说:

你是不是改了啥?按默认配置,tina跑音频播放没有问题。

我就按照文档配置了内核还有sys_config.fex
1.png
2.png

离线

#3 2021-07-15 14:36:13

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,452
积分: 1902

Re: 问题求助 tina下播放音频

你的 tina版本是多少?


烧一个这个试一试:
F1C100s tina3 程序, 请教屏闪是怎么回事?
https://whycan.com/t_3156.html

在线

楼主 #4 2021-07-15 14:57:01

linux小白
会员
注册时间: 2021-04-30
已发帖子: 18
积分: 4.5

Re: 问题求助 tina下播放音频

哇酷小二 说:

你的 tina版本是多少?


烧一个这个试一试:
F1C100s tina3 程序, 请教屏闪是怎么回事?
https://whycan.com/t_3156.html

tina3的,好的,谢谢大佬,我试试看

离线

楼主 #5 2021-07-15 15:01:54

linux小白
会员
注册时间: 2021-04-30
已发帖子: 18
积分: 4.5

Re: 问题求助 tina下播放音频

linux小白 说:
哇酷小二 说:

你的 tina版本是多少?


烧一个这个试一试:
F1C100s tina3 程序, 请教屏闪是怎么回事?
https://whycan.com/t_3156.html

tina3的,好的,谢谢大佬,我试试看

不行啊,大佬我这烧不进去,用的是荔枝派nano

离线

#6 2021-07-15 15:12:07

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,452
积分: 1902

Re: 问题求助 tina下播放音频

@linux小白
烧录过程一样的,声卡内置的,一般没啥问题。

在线

楼主 #7 2021-07-15 15:19:28

linux小白
会员
注册时间: 2021-04-30
已发帖子: 18
积分: 4.5

Re: 问题求助 tina下播放音频

哇酷小二 说:

@linux小白
烧录过程一样的,声卡内置的,一般没啥问题。

我是用全志提供烧录工具的的,然后烧录到flash的
3.png

离线

#8 2021-07-15 15:22:13

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,452
积分: 1902

Re: 问题求助 tina下播放音频

用 PhoenixCard.exe 烧到 TF卡, 从TF卡启动试一试。

在线

楼主 #9 2021-07-15 15:29:25

linux小白
会员
注册时间: 2021-04-30
已发帖子: 18
积分: 4.5

Re: 问题求助 tina下播放音频

sd卡起不来

U-Boot 2014.07 (Jul 31 2018 - 14:59:19) Allwinner Technology 

uboot commit : 6604446f7bddb8fe53f2b993100929f92a5f4d6e
 
i2c_init: by cpux
[I2C-DEBUG]:i2c_set_clock() 354 
[I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed. 
i2c_init ok
[0.240]pmbus:   ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.247]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz 
DRAM:  32 MiB
[0.256]fdt addr: 0x809e7ca0
[0.258]gd->fdt_size: 0xc0e0
Relocation Offset is: 01524000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
[0.328]flash init start
workmode = 17,storage type = 1
try card 1
[0.334][mmc]: mmc driver ver 2018-6-1 17:39:00
SUNXI SD/MMC: 1
[0.351][mmc]: ************Try SD card 1************
[mmc]: mmc 1 cmd 8 timeout, err 100
[mmc]: smc 1 err, cmd 8,  RTO
[mmc]: mmc 1 close bus gating and reset
[mmc]: mmc 1 mmc cmd 8 err 0x00000100
[0.370][mmc]: mmc send if cond failed
[mmc]: mmc 1 cmd 55 timeout, err 100
[mmc]: smc 1 err, cmd 55,  RTO
[mmc]: mmc 1 close bus gating and reset
[mmc]: mmc 1 mmc cmd 55 err 0x00000100
[0.387][mmc]: send app cmd failed
[0.390][mmc]: ************Try MMC card 1************
[mmc]: mmc 1 cmd 1 timeout, err 100
[mmc]: smc 1 err, cmd 1,  RTO
[mmc]: mmc 1 close bus gating and reset
[mmc]: mmc 1 mmc cmd 1 err 0x00000100
[0.412][mmc]: read op condition failed
[0.415][mmc]: mmc send op cond failed
Card did not respond to voltage select!
[0.422][mmc]: ************SD/MMC 1 init error!!!************
[0.428][mmc]: mmc_init_boot: mmc int fail
[0.432][mmc]: mmc_init: mmc init fail, err -17
MMC init failed
try emmc fail
[0.439]NAND_UbootProbe start...
[0.442]NB1 : enter phy init
[0.444]nand_physic_init
[0.448]nand0: get node offset error
[0.451]init nctri NAND PIORequest error!
[0.455]nand_physic_init, init nctri error
[0.459]nand_physic_init init_parameter error
[0.463]nand_physic_init error -1
[0.466]SpiNandHwInit: Start Nand Hardware initializing Jun  9 2018 19:05:34.....
[0.473]uboot: nand version: 3 6008 20180610 1300
[0.490]request spi gpio  ok!
int sunxi_dma_init---
irq enable
[0.495]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c7c
[0.503]request general tx dma channel ok!
[0.506]uboot nand_request_tx_dma: reqest genernal dma for nand success, 0x81db8c9c
[0.514]request general rx dma channel ok!
[0.518]SPI nand ID: 400b1840 18400b18
[0.521]_SearchNandArchi fail
[0.524][ERR]SpiNandHwInit: SCN_AnalyzeNandSystem() failed!
[0.529]SpiNandHwInit: End Nand Hardware initializing ..... FAIL!
[0.535]NB1 : nand phy init fail
[0.538]NB1 : enter phy Exit
nand release dma:81db8c7c
nand release dma:0
sunxi dma exit
[0.546]NAND_UbootProbe end: 0xffffffff
try nand fail
flash size =0x8000 sectors
sunxi spinor is initing...int sunxi_dma_init---
irq enable
sunxi_dma_install_int ok
sunxi_dma_install_int ok
OK
spinor id:0x18400b
spi_freq = 40000000
spinor id is 18400b 
try nor successed 
[0.571][mmc]: mmc driver ver 2018-6-1 17:39:00
SUNXI SD/MMC: 1, SUNXI SD/MMC: 0
[0.592][mmc]: ************Try SD card 0************
[0.612][mmc]: host caps: 0x27
[0.615][mmc]: MID 03 PSN da4dc9d3
[0.618][mmc]: PNM SC16G -- 0x53-43-31-36-47
[0.622][mmc]: PRV 8.0
[0.624][mmc]: MDT m-10 y-2020
[0.626][mmc]: user capacity  : 15193 MB
[0.630][mmc]: SD/MMC 0 init OK!!!
[0.636][mmc]: End mmc_init_boot
mmc init ok
used mbr [0], count = 8
[0.644]flash init end
[0.646]try to burn key
out of usb burn from boot: not boot mode
logo addr = 0x81f00000
sunxi_read_bootlogo: read bootlogo partition successful
[0.708]inter uboot shell
Hit any key to stop autoboot:  0 
work mode=0x11
run card sprite
try sprite_led_gpio config
[0.719]sunxi sprite begin
[0.726]firmware probe ok
[0.728]fetch download map
*************DOWNLOAD MAP DUMP************
total download part 4

download part[0] name          :bootlogo
download part[0] download file :BOOTLOGO_FEX0000
download part[0] verify file   :VBOOTLOGO_FEX000
download part[0] lenlo         :0x400
download part[0] addrlo        :0x2000
download part[0] encrypt       :0x0
download part[0] verify        :0x1

download part[1] name          :env
download part[1] download file :ENV_FEX000000000
download part[1] verify file   :VENV_FEX00000000
download part[1] lenlo         :0x200
download part[1] addrlo        :0x2400
download part[1] encrypt       :0x0
download part[1] verify        :0x1

download part[2] name          :boot
download part[2] download file :BOOT_FEX00000000
download part[2] verify file   :VBOOT_FEX0000000
download part[2] lenlo         :0x3000
download part[2] addrlo        :0x2600
download part[2] encrypt       :0x0
download part[2] verify        :0x1

download part[3] name          :rootfs
download part[3] download file :ROOTFS_FEX000000
download part[3] verify file   :VROOTFS_FEX00000
download part[3] lenlo         :0xc800
download part[3] addrlo        :0x5600
download part[3] encrypt       :0x0
download part[3] verify        :0x1

[0.842]fetch mbr
sunxi sprite error : buffer is smaller than data size
sunxi sprite error : read mbr failed
sunxi sprite error : fetch mbr error
sprite_test - do a sprite test

sunxi#

离线

#10 2021-07-15 15:31:41

哇酷小二
管理员
注册时间: 2020-04-22
已发帖子: 2,452
积分: 1902

Re: 问题求助 tina下播放音频

这就尴尬了.gif

在线

楼主 #11 2021-07-15 16:24:56

linux小白
会员
注册时间: 2021-04-30
已发帖子: 18
积分: 4.5

Re: 问题求助 tina下播放音频

哇酷小二 说:

这就尴尬了.gif

那大佬你知不知道硬解码,注册不了的原因有那些吗

[    0.656036] [daudio]request pinctrl handle 
[    0.660529] for audio failed
[    0.663960] sunxi-daudio: probe of daudio0 failed with error -22
[    0.672137] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTR
[    0.680083] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin HPOUTL
[    0.688114] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKL
[    0.695900] sunxi-internal-codec 1c23c00.codec: ASoC: DAPM unknown pin SPKR
[    0.703690] sunxi-codec-machine sound.2: ASoC: DAPM unknown pin External Speaker
[    0.712254] sunxi-internal-cpudai 1c23c00.cpudai0-controller: ASoC: pcm constructor failed: -12
[    0.722008] sunxi-codec-machine sound.2: ASoC: can't create pcm SUNXI-CODEC :-12
[    0.730221] sunxi-codec-machine sound.2: ASoC: failed to instantiate card -12

离线

页脚

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

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