您尚未登录。

#1 Re: 全志 SOC » 【填坑求精】荔枝派rndis-host驱动合宙4G模块,荔枝派插入WIN/Unbutu识别为Rndis网卡 » 2023-02-21 22:58:13

@大帅
我用移远的EC800G模块,f1c100s+linux 4.15, USB识别ttyUSBx,不断探测->断开->探测

buildroot login: [   17.048082] cdc_ether: probe of 1-1:1.0 failed with error -110
[   17.054447] option 1-1:1.0: GSM modem (1-port) converter detected
[   17.061880] option 1-1:1.1: GSM modem (1-port) converter detected
[   27.128618] option 1-1:1.2: GSM modem (1-port) converter detected
[   27.135500] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[   37.208628] option 1-1:1.3: GSM modem (1-port) converter detected
[   37.215540] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[   57.369062] option 1-1:1.5: GSM modem (1-port) converter detected
[   57.376225] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4
[   67.448628] option 1-1:1.7: GSM modem (1-port) converter detected
[   67.455539] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB5
[   77.528625] option 1-1:1.8: GSM modem (1-port) converter detected
[   77.535534] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB6
[   77.544762] usb 1-1: USB disconnect, device number 2
[   77.550397] option 1-1:1.0: device disconnected
[   77.555417] option 1-1:1.1: device disconnected
[   77.562964] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[   77.571313] option 1-1:1.2: device disconnected
[   77.577354] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[   77.585710] option 1-1:1.3: device disconnected
[   77.593727] option1 ttyUSB4: GSM modem (1-port) converter now disconnected from ttyUSB4
[   77.602077] option 1-1:1.5: device disconnected
[   77.609449] option1 ttyUSB5: GSM modem (1-port) converter now disconnected from ttyUSB5
[   77.617680] option 1-1:1.7: device disconnected
[   77.624978] option1 ttyUSB6: GSM modem (1-port) converter now disconnected from ttyUSB6
[   77.633341] option 1-1:1.8: device disconnected
[   77.987971] usb 1-1: new high-speed USB device number 3 using musb-hdrc
[   78.168361] usb 1-1: config 1 has an invalid interface number: 8 but max is 7
[   78.175571] usb 1-1: config 1 has no interface number 6
[   78.180949] usb 1-1: config 1 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 32, changing to 9
[   78.454795] musb-hdrc musb-hdrc.1.auto: Babble
[   93.288071] cdc_ether: probe of 1-1:1.0 failed with error -110
[   93.294433] option 1-1:1.0: GSM modem (1-port) converter detected
[   93.301853] option 1-1:1.1: GSM modem (1-port) converter detected
[  103.368551] option 1-1:1.2: GSM modem (1-port) converter detected
[  103.375416] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[  113.448561] option 1-1:1.3: GSM modem (1-port) converter detected
[  113.455427] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3

#2 全志 SOC » f1c100s采用DMA和CODEC ADC模式采集音频 » 2022-04-12 10:41:11

djslion
回复: 1

f1c100s跑rtos, 配置DMA为NDMA模式,0通道。

源DRQ为0x0C : Audio Codec, IO Mode,目的DRQ为0x11,Linear Mode : SDRAM Memory,Data Width:16-bit, Burst Length:4,音频采样8kHz, mono单通道。按采样20ms计算:8000*16*0.02=320字节,结果采样只有160字节。DMA方式20ms,codec只有160字节。DMA完成后,只采集到160字节

NDMA_BYTE_CNT_REG设置为160

NDMA采样 Full Transfer Interrupt模式触发

采集流程:开始DMA音频采集->DMA FULL中断触发->中断函数重设DMA音频采集->如此循环。  DMA的目的地址映射到一个循环缓冲区。

#3 Re: 全志 SOC » rt-thread的allwinner_tina包加入speex编译问题 » 2022-04-11 10:47:43

用的是f1c100s芯片,@ntmusic的《基于RTThread的F1C100s开发(带boot启动+硬件多图层+硬件游标+LVGL+SDIO)》的allwinner_tina_prj_v1.rar文件,增加了speex库,编译通过,链接就出问题了

#4 全志 SOC » rt-thread的allwinner_tina包加入speex编译问题 » 2022-04-10 23:01:55

djslion
回复: 2

大家好,我在rtt的allwinner_tina包中加入了speex编译,编译器为gcc,链接时候出现以下问题,不知道是不是链接脚本的问题。麻烦大家帮忙看一下。谢谢

CC build\speex-1.2.0\libspeex\modes_wb.o
CC build\speex-1.2.0\libspeex\nb_celp.o
CC build\speex-1.2.0\libspeex\quant_lsp.o
CC build\speex-1.2.0\libspeex\sb_celp.o
CC build\speex-1.2.0\libspeex\smallft.o
CC build\speex-1.2.0\libspeex\speex.o
CC build\speex-1.2.0\libspeex\speex_callbacks.o
CC build\speex-1.2.0\libspeex\speex_header.o
CC build\speex-1.2.0\libspeex\stereo.o
CC build\speex-1.2.0\libspeex\vbr.o
CC build\speex-1.2.0\libspeex\vorbis_psy.o
CC build\speex-1.2.0\libspeex\vq.o
CC build\speex-1.2.0\libspeex\window.o
LINK rtthread.elf
d:/env_released_1.2.0/tools/gnu_gcc/arm_gcc/mingw/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/liblibc.a(lib_a-fini.o): In function `__libc_fini_array':
fini.c:(.text.__libc_fini_array+0x30): undefined reference to `_fini'
collect2.exe: error: ld returned 1 exit status
scons: * [rtthread.elf] Error 1
scons: building terminated because of errors.

附图
1649602530(1).png

#6 Re: 全志 SOC » 请问有没有大神搞定了f1c100s的主线kernel4.19下的声卡驱动?[13楼@wammaw1314搞定声卡驱动,欢迎测试] » 2021-10-19 11:39:14

卓林 说:

真的是非常抱歉,问题解决了。我也不知道怎么回事,我把整个内核重新编译一遍之后就可以了。
非常感谢您的回复@司徒


卓林兄,能把内核分享出来吗?谢谢

页脚

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

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