Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. RTQQQ
    R
    • Profile
    • Following 0
    • Followers 0
    • my integral 904
    • Topics 8
    • Posts 17
    • Best 0
    • Groups 0

    RTQQQLV 4

    @RTQQQ

    904
    integral
    0
    Reputation
    1
    Profile views
    17
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    RTQQQ Unfollow Follow

    Latest posts made by RTQQQ

    • Reply: 使用自带codec录音报错, arecord: pcm_read:2072: read error: I/O error

      @whycanservice d9f9dd22-9da5-4807-aee6-ae38a8cf934c-image.png

      posted in D1系列-RISC-V
      R
      RTQQQ
    • Reply: 使用自带codec录音报错, arecord: pcm_read:2072: read error: I/O error

      @whycanservice
      你好,这是amixer 的显示内容,请问如何操作呢?

      root@TinaLinux:/# amixer
      Simple mixer control 'Headphone',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [on]
      Simple mixer control 'Headphone volume',0
        Capabilities: volume volume-joined
        Playback channels: Mono
        Capture channels: Mono
        Limits: 0 - 7
        Mono: 4 [57%]
      Simple mixer control 'FMINL gain volume',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'FMINR gain volume',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'ADC1 ADC2 swap',0
        Capabilities: enum
        Items: 'Off' 'On'
        Item0: 'Off'
      Simple mixer control 'ADC1 Input FMINL',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'ADC1 Input LINEINL',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'ADC1 Input MIC1 Boost',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'ADC1 volume',0
        Capabilities: volume volume-joined
        Playback channels: Mono
        Capture channels: Mono
        Limits: 0 - 255
        Mono: 160 [63%]
      Simple mixer control 'ADC2 Input FMINR',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'ADC2 Input LINEINR',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'ADC2 Input MIC2 Boost',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'ADC2 volume',0
        Capabilities: volume volume-joined
        Playback channels: Mono
        Capture channels: Mono
        Limits: 0 - 255
        Mono: 160 [63%]
      Simple mixer control 'ADC3 ADC4 swap',0
        Capabilities: enum
        Items: 'Off' 'On'
        Item0: 'Off'
      Simple mixer control 'ADC3 Input MIC3 Boost',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'ADC3 volume',0
        Capabilities: volume volume-joined
        Playback channels: Mono
        Capture channels: Mono
        Limits: 0 - 255
        Mono: 160 [63%]
      Simple mixer control 'DAC volume',0
        Capabilities: volume
        Playback channels: Front Left - Front Right
        Capture channels: Front Left - Front Right
        Limits: 0 - 255
        Front Left: 160 [63%]
        Front Right: 160 [63%]
      Simple mixer control 'HpSpeaker',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'LINEINL gain volume',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'LINEINR gain volume',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'LINEOUT',0
        Capabilities: pswitch pswitch-joined
        Playback channels: Mono
        Mono: Playback [off]
      Simple mixer control 'LINEOUT volume',0
        Capabilities: volume volume-joined
        Playback channels: Mono
        Capture channels: Mono
        Limits: 0 - 31
        Mono: 26 [84%]
      Simple mixer control 'LINEOUTL Output Select',0
        Capabilities: enum
        Items: 'DAC_SINGLE' 'DAC_DIFFER'
        Item0: 'DAC_DIFFER'
      Simple mixer control 'LINEOUTR Output Select',0
        Capabilities: enum
        Items: 'DAC_SINGLE' 'DAC_DIFFER'
        Item0: 'DAC_DIFFER'
      Simple mixer control 'MIC1 Input Select',0
        Capabilities: enum
        Items: 'MIC_DIFFER' 'MIC_SINGLE'
        Item0: 'MIC_DIFFER'
      Simple mixer control 'MIC1 gain volume',0
        Capabilities: volume volume-joined
        Playback channels: Mono
        Capture channels: Mono
        Limits: 0 - 31
        Mono: 31 [100%]
      Simple mixer control 'MIC2 Input Select',0
        Capabilities: enum
        Items: 'MIC_DIFFER' 'MIC_SINGLE'
        Item0: 'MIC_DIFFER'
      Simple mixer control 'MIC2 gain volume',0
        Capabilities: volume volume-joined
        Playback channels: Mono
        Capture channels: Mono
        Limits: 0 - 31
        Mono: 31 [100%]
      Simple mixer control 'MIC3 Input Select',0
        Capabilities: enum
        Items: 'MIC_DIFFER' 'MIC_SINGLE'
        Item0: 'MIC_DIFFER'
      Simple mixer control 'MIC3 gain volume',0
        Capabilities: volume volume-joined
        Playback channels: Mono
        Capture channels: Mono
        Limits: 0 - 31
        Mono: 31 [100%]
      Simple mixer control 'codec hub mode',0
        Capabilities: enum
        Items: 'hub_disable' 'hub_enable'
        Item0: 'hub_disable'
      Simple mixer control 'digital volume',0
        Capabilities: volume volume-joined
        Playback channels: Mono
        Capture channels: Mono
        Limits: 0 - 63
        Mono: 63 [100%]
      
      
      posted in D1系列-RISC-V
      R
      RTQQQ
    • 使用自带codec录音报错, arecord: pcm_read:2072: read error: I/O error

      使用自带的codec进行录音,报错了,这是什么原因呢?alsamixer也设置了

      root@TinaLinux:/# arecord -D hw:0,0 -f S16_LE test.wav
      Recording WAVE 'test.wav' : [  162.476954] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 1
      Signed 16 bit Little Endian, Rate 8000 Hz, Mono
      arecord: pcm_read:2072: read error: I/O error
      
      
      posted in D1系列-RISC-V
      R
      RTQQQ
    • Reply: 如何配置Tina 的sd卡热拔插和自动挂载

      @whycanservice 在 如何配置Tina 的sd卡热拔插和自动挂载 中说:

      配置热拔插中断模式
      如何配置热拔插中断模式呢,有相关教程吗?

      posted in D1系列-RISC-V
      R
      RTQQQ
    • T113-S3 官方TINA SDK 2.1中 pinctrl 的问题

      今天在使用PG8 PG9 做为TWI1输出的时候,总是有问题,后面查询pinctrl-sun8iw20.c 文件发现,PG9的定义居然是,twi0的,datesheet里面显示function为twi1.不知道什么原因。是我拉的SDK有问题吗?
      1f65b904-5de2-479b-9151-d9a506e0977c-image.png
      df0010ba-7071-4077-bf86-2c13490e635d-image.png

      posted in 其它全志芯片讨论区
      R
      RTQQQ
    • 如何配置Tina 的sd卡热拔插和自动挂载

      目前使用的是t113 tina5.4.使用官方SDK打补丁 启动介质时nand flash启动,但是sd卡无法热拔插和自动挂载,开机之后一插sd卡就重启,需要修改哪些地方呢?

      posted in D1系列-RISC-V
      R
      RTQQQ
    • Reply: 编译T113的固件时,pack失败,显示u-boot.fex 无法打开

      将brandy中的spl-pub文件夹重命名为spl然后 使用mboot之后可以解决该错误,但是又会出现新的错误ERROR: boot0 files are all invalid files, now exit
      pack的log如下:

      rtqq@DESKTOP-JHGQ7D4:~/Tina-Linux$ pack
      --==========--
      PACK_CHIP         sun8iw20p1
      PACK_PLATFORM     tina
      PACK_BOARD        t113-mq_r
      PACK_KERN        
      PACK_DEBUG        uart0
      PACK_SIG          none
      PACK_SECURE       none
      PACK_MODE         normal
      PACK_FUNC         android
      PACK_PROGRAMMER   none
      PACK_TAR_IMAGE    none
      PACK_TOPDIR       /home/rtqq/Tina-Linux
      --==========--
      No kernel param, parse it from t113
      copying tools file
      copying configs file
      storage_type value is 1
      rm /home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition_nor.fex
      rm /home/rtqq/Tina-Linux/out/t113-mq_r/image/image_nor.cfg
      copying boot resource
      copying boot file
      make user resource for : /home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition.fex
      handle partition user-res
      no user resource partitions
      APP_PART_DOWNLOAD_FILE = /home/rtqq/Tina-Linux/out/t113-mq_r/image/app.fex
      Need size of filesystem
      no data resource partitions
      don't build dtbo ...
      update_chip
      
      sboot file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sboot.bin
      script file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_config.bin
      
      update:unable to open sboot file
      script update sboot ok
      pack boot package
      GetPrivateProfileSection read to end
      content_count=3
      LICHEE_REDUNDANT_ENV_SIZE config in BoardConfig.mk
      --mkenvimage create redundant env data!--
      ---redundant env data size 0x20000---
      packing for tina linux
      normal
      mbr count = 4
      
      partitation file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition.bin
      mbr_name file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sunxi_mbr.fex
      download_name file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/dlinfo.fex
      
      mbr size = 16384
      mbr magic softw411
      disk name=boot-resource
      disk name=env
      disk name=env-redund
      disk name=boot
      disk name=rootfs
      disk name=private
      disk name=rootfs_data
      disk name=UDISK
      this is not a partition key
      update_for_part_info 0
      crc 0 = 18a6eedc
      crc 1 = 8d1bbf81
      crc 2 = e8ad4a27
      crc 3 = 7d101b7a
      gpt_head->header_crc32 = 0x43fe0f4e
      GPT----part num 8---
      gpt_entry: 128
      gpt_header: 92
      GPT:boot-resource: 12000         121f7       
      GPT:env         : 121f8         123ef       
      GPT:env-redund  : 123f0         125e7       
      GPT:boot        : 125e8         157e7       
      GPT:rootfs      : 157e8         247e7       
      GPT:private     : 247e8         26fe7       
      GPT:rootfs_data : 26fe8         334c7       
      GPT:UDISK       : 334c8         ffffffde    
      update gpt file ok
      update mbr file ok
      temp = 20
      mbr count = 4 total_sectors = 15269888 logic_offset = 40960
      
      partitation file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition.bin
      mbr_name file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sunxi_mbr.fex
      download_name file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/dlinfo.fex
      
      mbr size = 16384
      mbr magic softw411
      disk name=boot-resource
      disk name=env
      disk name=env-redund
      disk name=boot
      disk name=rootfs
      disk name=private
      disk name=rootfs_data
      disk name=UDISK
      this is not a partition key
      update_for_part_info 0
      crc 0 = 18a6eedc
      crc 1 = 8d1bbf81
      crc 2 = e8ad4a27
      crc 3 = 7d101b7a
      gpt_head->header_crc32 = 0xd9faa6dc
      GPT----part num 8---
      gpt_entry: 128
      gpt_header: 92
      GPT:boot-resource: 12000         121f7       
      GPT:env         : 121f8         123ef       
      GPT:env-redund  : 123f0         125e7       
      GPT:boot        : 125e8         157e7       
      GPT:rootfs      : 157e8         247e7       
      GPT:private     : 247e8         26fe7       
      GPT:rootfs_data : 26fe8         334c7       
      GPT:UDISK       : 334c8         e8ffde      
      update gpt file ok
      update mbr file ok
      ====================================
      show "sys_partition_for_dragon.fex" message
      ------------------------------------
        [mbr]
        mbr_size  : 16384 Kbyte
      ------------------------------------
        partition_name  : boot-resource
        partition_size  : 504
        downloadfile  : boot-resource.fex
        boot-resource.fex size : 80K byte
      ------------------------------------
        partition_name  : env
        partition_size  : 504
        downloadfile  : env.fex
        env.fex size : 128K byte
      ------------------------------------
        partition_name  : env-redund
        partition_size  : 504
        downloadfile  : env.fex
        env.fex size : 128K byte
      ------------------------------------
        partition_name  : boot
        partition_size  : 12800
        downloadfile  : boot.fex
        boot.fex -> /home/rtqq/Tina-Linux/out/t113-mq_r/boot.img
        boot.img size : 4.0M byte
      ------------------------------------
        partition_name  : rootfs
        partition_size  : 61440
        downloadfile  : rootfs.fex
        rootfs.fex -> /home/rtqq/Tina-Linux/out/t113-mq_r/rootfs.img
        rootfs.img size : 14M byte
      ------------------------------------
        partition_name  : private
        partition_size  : 10240
      ------------------------------------
        partition_name  : rootfs_data
        partition_size  : 50400
      ------------------------------------
        partition_name  : UDISK
      ------------------------------------
      ERROR: boot0 files are all invalid files, now exit
      
      posted in D1系列-RISC-V
      R
      RTQQQ
    • 编译T113的固件时,pack失败,显示u-boot.fex 无法打开

      使用芒果的tina固件,环境是Ubuntu 18.04 WSL2。make无报错,pack时报错,pack的log如下:

      rtqq@DESKTOP-JHGQ7D4:~/Tina-Linux$ pack
      --==========--
      PACK_CHIP         sun8iw20p1
      PACK_PLATFORM     tina
      PACK_BOARD        t113-mq_r
      PACK_KERN
      PACK_DEBUG        uart0
      PACK_SIG          none
      PACK_SECURE       none
      PACK_MODE         normal
      PACK_FUNC         android
      PACK_PROGRAMMER   none
      PACK_TAR_IMAGE    none
      PACK_TOPDIR       /home/rtqq/Tina-Linux
      --==========--
      No kernel param, parse it from t113
      copying tools file
      copying configs file
      storage_type value is 1
      rm /home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition_nor.fex
      rm /home/rtqq/Tina-Linux/out/t113-mq_r/image/image_nor.cfg
      copying boot resource
      copying boot file
      make user resource for : /home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_partition.fex
      handle partition user-res
      no user resource partitions
      APP_PART_DOWNLOAD_FILE = /home/rtqq/Tina-Linux/out/t113-mq_r/image/app.fex
      Need size of filesystem
      no data resource partitions
      don't build dtbo ...
      update_chip
      
      sboot file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sboot.bin
      script file Path=/home/rtqq/Tina-Linux/out/t113-mq_r/image/sys_config.bin
      
      update:unable to open sboot file
      script update sboot ok
      pack boot package
      GetPrivateProfileSection read to end
      content_count=3
      file /home/rtqq/Tina-Linux/out/t113-mq_r/image/u-boot.fex cant be open
      /home/rtqq/Tina-Linux/scripts/pack_img.sh: line 1250: 25338 Segmentation fault      dragonsecboot -pack boot_package.cfg
      ERROR: dragon pack run error
      

      在git拉取时均没有报错,都是很顺利的拉下来了
      在out文件夹中没有找到 u-boot.fex 这个文件,求助大家。

      posted in D1系列-RISC-V
      R
      RTQQQ
    • 全志 V831芯片移植 声卡machine 层 simple-card 驱动,无法编译通过,求求各位大佬给个machine层驱动抄抄

      系统内核版本 4.9 ,想使用simple-card这个machine驱动,在编译中选中时,无法编译通过,尝试过移植tina 5.4 中的 sunxi-simple-card.c 编译提示无法通过,求求大佬给个驱动抄抄,或者给个4.9的开发手册参考一下😂 😂

      posted in 其它全志芯片讨论区
      R
      RTQQQ
    • Reply: 关于全志V831 在SDK中编译python3.8 报错

      @chengwei_peng 编译时,如果选择python3,python-ncurse会强制开启

      posted in 其它全志芯片讨论区
      R
      RTQQQ