导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. RTQQQ
    3. 最佳
    R
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 1398
    • 主题 13
    • 帖子 24
    • 最佳 4
    • 群组 0

    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 这个文件,求助大家。

      发布在 MR Series
      R
      RTQQQ
    • Tina 编译系统时,如何把某个动态链接库编译进去

      在编译镜像的时候,如何把package里的库编译进去,我想编译libsndfile这个库,在menuconfig里面默认选中了,在编译过程中也看到install 的相关信息了,但是在系统里面没有发现相关的动态链接库。
      8d5d2529-0546-425b-896d-664075317fc4-image.png
      6b942611-a4b7-4f62-a29e-c860b813d333-image.png

      发布在 MR Series
      R
      RTQQQ
    • 回复: 编译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
      
      发布在 MR Series
      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
      
      
      发布在 MR Series
      R
      RTQQQ
    • 1 / 1