Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. fengshulin
    F
    • Profile
    • Following 0
    • Followers 0
    • my integral 329
    • Topics 2
    • Posts 7
    • Best 0
    • Groups 0

    fengshulinLV 3

    @fengshulin

    329
    integral
    0
    Reputation
    3
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    fengshulin Unfollow Follow

    Latest posts made by fengshulin

    • Reply: (芒果派D1s)外部32.768K晶振不能用问题

      自己先顶一下,大家能帮忙看一下吗?

      posted in D1系列-RISC-V
      F
      fengshulin
    • (芒果派D1s)外部32.768K晶振不能用问题

      调式RTC时,发现系统的默认时钟源是16M RC。修改寄存器LOSC_CTRL_REG(0x07090000)的BIT0位,将其设置成1,切换时钟源到外部32.768K晶振。重新读取该寄存器的值,修改未生效。怀疑外部32.768K晶振失效。于是读寄存器LOSC_AUTO_SWT_STA_REG(0x07090004),其值为:0x00000004。该寄存器的定义如下:屏幕截图 2022-06-24 100913.png

      可以看到,外部32.768K晶振工作异常。
      大家帮忙看下,你们板子上的RTC是否工作正常。可以通用这条指令看下:

      root@TinaLinux:/# echo 0x07090000,0x07090004 > /sys/class/sunxi_dump/dump
      root@TinaLinux:/# cat /sys/class/sunxi_dump/dump
      
      0x0000000007090000: 0x00004010 0x00000004
      
      
      posted in D1系列-RISC-V
      F
      fengshulin
    • Reply: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)

      @yuzukitsuru
      可以了。我在kernel menuconfig 中关闭了蓝牙子系统。

      posted in D1系列-RISC-V
      F
      fengshulin
    • Reply: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)

      @yuzukitsuru
      关闭了,重新编译,还是报错!
      部分logo如下:

      # update .config
      export MAKEFLAGS= ; [ -f /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.config ] || cp /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.config.set /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.config
      export MAKEFLAGS= ; make -C /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61 HOSTCFLAGS="-O2 -I/home/embedfire/tina-d1-h/out/host/include -I/home/embedfire/tina-d1-h/out/host/usr/include  -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="riscv64-unknown-linux-gnu-" ARCH="riscv" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" CONFIG_SHELL="bash" V=''  EXTRA_LDSFLAGS="-I/home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha -include symtab.h" CC="riscv64-unknown-linux-gnu-gcc" INSTALL_HDR_PATH=/home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/user_headers headers_install
      make[5]: Entering directory '/home/embedfire/tina-d1-h/lichee/linux-5.4'
        INSTALL /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/user_headers/include
      make[5]: Leaving directory '/home/embedfire/tina-d1-h/lichee/linux-5.4'
      . /home/embedfire/tina-d1-h/build/shell.sh; grep '=[ym]' /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.config.set | LC_ALL=C sort | md5s > /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.vermagic
      touch /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61/.configured
      rm -f /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/symtab.h
      touch /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/symtab.h
      make -C /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/linux-5.4.61 HOSTCFLAGS="-O2 -I/home/embedfire/tina-d1-h/out/host/include -I/home/embedfire/tina-d1-h/out/host/usr/include  -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="riscv64-unknown-linux-gnu-" ARCH="riscv" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" CONFIG_SHELL="bash" V=''  EXTRA_LDSFLAGS="-I/home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha -include symtab.h" CC="riscv64-unknown-linux-gnu-gcc" vmlinux
      make[5]: Entering directory '/home/embedfire/tina-d1-h/lichee/linux-5.4'
      scripts/Makefile.asm-generic:25: redundant generic-y found in arch/riscv/include/asm/Kbuild: device.h
        CALL    scripts/checksyscalls.sh
        CALL    scripts/atomic/check-atomics.sh
        CHK     include/generated/compile.h
        GEN     .version
        CHK     include/generated/compile.h
        UPD     include/generated/compile.h
        CC      init/version.o
        AR      init/built-in.a
        LD      vmlinux.o
      /home/embedfire/tina-d1-h/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-ld: drivers/bluetooth/xradio_btlpm.o: in function `bluesleep_sleep_wakeup':
      xradio_btlpm.c:(.text.unlikely+0x204): multiple definition of `bluesleep_sleep_wakeup'; drivers/bluetooth/rtl_btlpm.o:rtl_btlpm.c:(.text+0x4b4): first defined here
      /home/embedfire/tina-d1-h/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-ld: drivers/bluetooth/xradio_btlpm.o: in function `.LANCHOR0':
      xradio_btlpm.c:(.bss+0x10): multiple definition of `sleep_dir'; drivers/bluetooth/rtl_btlpm.o:rtl_btlpm.c:(.bss+0x0): first defined here
      /home/embedfire/tina-d1-h/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-ld: drivers/bluetooth/xradio_btlpm.o: in function `.LANCHOR0':
      xradio_btlpm.c:(.bss+0x18): multiple definition of `bluetooth_dir'; drivers/bluetooth/rtl_btlpm.o:rtl_btlpm.c:(.bss+0x8): first defined here
      /home/embedfire/tina-d1-h/prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-ld: drivers/bluetooth/xradio_btlpm.o: in function `.LANCHOR2':
      xradio_btlpm.c:(.data+0xe8): multiple definition of `sleep_workqueue'; drivers/bluetooth/rtl_btlpm.o:rtl_btlpm.c:(.data+0xe8): first defined here
      Makefile:1178: recipe for target 'vmlinux' failed
      make[5]: *** [vmlinux] Error 1
      make[5]: Leaving directory '/home/embedfire/tina-d1-h/lichee/linux-5.4'
      Makefile:29: recipe for target '/home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/symtab.h' failed
      make[4]: *** [/home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/linux-d1s-nezha/symtab.h] Error 2
      make[4]: Leaving directory '/home/embedfire/tina-d1-h/target/allwinner/d1s-nezha'
      Makefile:13: recipe for target 'install' failed
      make[3]: *** [install] Error 2
      make[3]: Leaving directory '/home/embedfire/tina-d1-h/target/allwinner'
      target/Makefile:21: recipe for target 'target/allwinner/install' failed
      make[2]: *** [target/allwinner/install] Error 2
      make[2]: Leaving directory '/home/embedfire/tina-d1-h'
      target/Makefile:17: recipe for target '/home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/stamp/.target_install' failed
      make[1]: *** [/home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/stamp/.target_install] Error 2
      make[1]: Leaving directory '/home/embedfire/tina-d1-h'
      /home/embedfire/tina-d1-h/build/toplevel.mk:304: recipe for target 'world' failed
      make: *** [world] Error 2
      [2]+  已完成               $T/tools/build/buildserver --path $T 2> /dev/null 1>&2
      
      #### make failed to build some targets (40 seconds) ####
      
      embedfire@embedfire:~/tina-d1-h$ 
      
      
      posted in D1系列-RISC-V
      F
      fengshulin
    • Reply: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)

      @yuzukitsuru 在 【Yuzuki手作】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料) 中说:

      bash

      好多选项,关闭哪个?

      Symbol: BUSYBOX_CONFIG_BASH_IS_ASH [=n]                                                                                                                                                             │  
        │ Type  : boolean                                                                                                                                                                                     │  
        │ Prompt: ash                                                                                                                                                                                         │  
        │   Location:                                                                                                                                                                                         │  
        │     -> Base system                                                                                                                                                                                  │  
        │       -> busybox................................ Core utilities for embedded Linux (PACKAGE_busybox [=y])                                                                                           │  
        │         -> Shells                                                                                                                                                                                   │  
        │ (2)       -> Choose which shell is aliased to 'bash' name (<choice> [=y])                                                                                                                           │  
        │   Defined at package/utils/busybox/config/shell/Config.in:58                                                                                                                                        │  
        │   Depends on: <choice> && !BUSYBOX_CONFIG_NOMMU [=n]                                                                                                                                                │  
        │                                                                                                                                                                                                     │  
        │                                                                                                                                                                                                     │  
        │ Symbol: BUSYBOX_CONFIG_BASH_IS_HUSH [=n]                                                                                                                                                            │  
        │ Type  : boolean                                                                                                                                                                                     │  
        │ Prompt: hush                                                                                                                                                                                        │  
        │   Location:                                                                                                                                                                                         │  
        │     -> Base system                                                                                                                                                                                  │  
        │       -> busybox................................ Core utilities for embedded Linux (PACKAGE_busybox [=y])                                                                                           │  
        │         -> Shells                                                                                                                                                                                   │  
        │ (3)       -> Choose which shell is aliased to 'bash' name (<choice> [=y])                                                                                                                           │  
        │   Defined at package/utils/busybox/config/shell/Config.in:67                                                                                                                                        │  
        │   Depends on: <choice>                                                                                                                                                                              │  
        │                                                                                                                                                                                                     │  
        │                                                                                                                                                                                                     │  
        │ Symbol: BUSYBOX_CONFIG_BASH_IS_NONE [=y]                                                                                                                                                            │  
        │ Type  : boolean                                                                                                                                                                                     │  
        │ Prompt: none                                                                                                                                                                                        │  
        │   Location:                                                                                                                                                                                         │  
        │     -> Base system                                                                                                                                                                                  │  
        │       -> busybox................................ Core utilities for embedded Linux (PACKAGE_busybox [=y])                                                                                           │  
        │         -> Shells                                                                                                                                                                                   │  
        │ (4)       -> Choose which shell is aliased to 'bash' name (<choice> [=y])                                                                                                                           │  
        │   Defined at package/utils/busybox/config/shell/Config.in:75                                                                                                                                        │  
        │   Depends on: <choice>                                                                                                                                                                              │  
        │                                                                                                                                                                                                     │  
        │                                                                                                                                                                                                     │  
        │ Symbol: BUSYBOX_CONFIG_HUSH_BASH_COMPAT [=n]                                                                                                                                                        │  
        │ Type  : boolean                                                                                                                                                                                     │  
        │ Prompt: bash-compatible extensions
      Location:                                                                                                                                                                                         │  
        │     -> Base system                                                                                                                                                                                  │  
        │       -> busybox................................ Core utilities for embedded Linux (PACKAGE_busybox [=y])                                                                                           │  
        │         -> Shells                                                                                                                                                                                   │  
        │ (5)       -> hush (BUSYBOX_CONFIG_HUSH [=n])                                                                                                                                                        │  
        │   Defined at package/utils/busybox/config/shell/Config.in:257                                                                                                                                       │  
        │   Depends on: PACKAGE_busybox [=y] && BUSYBOX_CUSTOM [=y] && (BUSYBOX_CONFIG_HUSH [=n] || BUSYBOX_CONFIG_SH_IS_HUSH [=n] || BUSYBOX_CONFIG_BASH_IS_HUSH [=n])                                       │  
        │                                                                                                                                                                                                     │  
        │                                                                                                                                                                                                     │  
        │ Symbol: BUSYBOX_DEFAULT_ASH_BASH_COMPAT [=y]                                                                                                                                                        │  
        │ Type  : boolean                                                                                                                                                                                     │  
        │   Defined at package/utils/busybox/Config-defaults.in:2788                                                                                                                                          │  
        │   Depends on: PACKAGE_busybox [=y] && SYSTEM_INIT_PROCD [=n]                                                                                                                                        │  
        │                                                                                                                                                                                                     │  
        │                                                                                                                                                                                                     │  
        │ Symbol: BUSYBOX_DEFAULT_BASH_IS_ASH [=n]                                                                                                                                                            │  
        │ Type  : boolean                                                                                                                                                                                     │  
        │   Defined at package/utils/busybox/Config-defaults.in:2770                                                                                                                                          │  
        │   Depends on: PACKAGE_busybox [=y] && SYSTEM_INIT_PROCD [=n]                                                                                                                                        │  
        │                                                                                                                                                                                                     │  
        │                                                                                                                                                                                                     │  
        │ Symbol: BUSYBOX_DEFAULT_BASH_IS_HUSH [=n]                                                                                                                                                           │  
        │ Type  : boolean                                                                                                                                                                                     │  
        │   Defined at package/utils/busybox/Config-defaults.in:2773                                                                                                                                          │  
        │   Depends on: PACKAGE_busybox [=y] && SYSTEM_INIT_PROCD [=n]                                                                                                                                        │  
        │                                                                                                                                                                                                     │  
        │                                                                                                                                                                                                     │  
        │ Symbol: BUSYBOX_DEFAULT_BASH_IS_NONE [=y]                                                                                                                                                           │  
        │ Type  : boolean                                                                                                                                                                                     │  
        │   Defined at package/utils/busybox/Config-defaults.in:2776                                                                                                                                          │  
        │   Depends on: PACKAGE_busybox [=y] && SYSTEM_INIT_PROCD [=n]  
      
      Symbol: BUSYBOX_DEFAULT_HUSH_BASH_COMPAT [=n]                                                                                                                                                       │  
        │ Type  : boolean                                                                                                                                                                                     │  
        │   Defined at package/utils/busybox/Config-defaults.in:2833                                                                                                                                          │  
        │   Depends on: PACKAGE_busybox [=y] && SYSTEM_INIT_PROCD [=n]                                                                                                                                        │  
        │                                                                                                                                                                                                     │  
        │                                                                                                                                                                                                     │  
        │ Symbol: DEFAULT_bash [=DEFAULT_bash]                                                                                                                                                                │  
        │ Type  : unknown                                                                                                                                                                                     │  
        │                                                                                                                                                                                                     │  
        │                                                                                                                                                                                                     │  
        │ Symbol: PACKAGE_bash [=y]                                                                                                                                                                           │  
        │ Type  : tristate                                                                                                                                                                                    │  
        │ Prompt: bash.......................................... The GNU Bourne Again SHell                                                                                                                   │  
        │   Location:                                                                                                                                                                                         │  
        │     -> Utilities                                                                                                                                                                                    │  
        │ (6)   -> Shells                                                                                                                                                                                     │  
        │   Defined at tmp/.config-package.in:49421                                                                                                                                                           │  
        │   Selects: PACKAGE_libpthread [=y] && PACKAGE_libc [=y] && PACKAGE_libncurses [=y] && PACKAGE_librt [=y] && PACKAGE_libssp [=y]                                                                     │  
        │   Selected by: PACKAGE_xzdiff [=n] && PACKAGE_xz-utils [=n] || PACKAGE_xzgrep [=n] && PACKAGE_xz-utils [=n] || PACKAGE_xzless [=n] && PACKAGE_xz-utils [=n] || PACKAGE_xzmore [=n] && PACKAGE_xz-ut │  
        │                                                                                               
      
      posted in D1系列-RISC-V
      F
      fengshulin
    • Reply: 【开源开发板】D1s-Nezha开发板全全开源上架(内含购买链接和全部软硬件资料)

      1.使用的是Ubuntu18.04编译环境,已安装了如下包:
      build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lib32z1 lib32z1-dev lib32stdc++6 libstdc++6
      2.使用的是官网下载的SDK:tina D1H v2.0
      3.安装了楼主提供的板级配置文件:https://github.com/Tina-Linux/tina-d1s-nezha
      4.选择d1s-nezha编译,失败。请问怎么解决?@YuzukiTsuru

      部分logo如下所示:

      install -d -m0755 /home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/rootfs/tmp-alsa-utils/usr/share/alsa/init
      install -m0644 /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/alsa-utils-1.1.0/ipkg-install/usr/share/alsa/init/* /home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/rootfs/tmp-alsa-utils/usr/share/alsa/init/
      SHELL= flock /home/embedfire/tina-d1-h/tmp/.root-copy.flock -c 'cp -fpR /home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/rootfs/tmp-alsa-utils/. /home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/rootfs/'
      rm -rf /home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/rootfs/tmp-alsa-utils
      touch /home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/rootfs/stamp/.alsa-utils_installed
      if [ -f /home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/pkginfo/alsa-utils.default.install.clean ]; then rm -f /home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/pkginfo/alsa-utils.default.install /home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/pkginfo/alsa-utils.default.install.clean; fi; echo "alsa-utils" >> /home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/pkginfo/alsa-utils.default.install
      make[3]: Leaving directory '/home/embedfire/tina-d1-h/package/utils/alsa-utils'
      make[3]: Entering directory '/home/embedfire/tina-d1-h/package/utils/bash'
      mkdir -p /home/embedfire/tina-d1-h/out/d1s-nezha/packages /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/bash-4.3/ipkg-sunxi/bash/CONTROL /home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/pkginfo
      install -d -m0755 /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/bash-4.3/ipkg-sunxi/bash/bin
      install -m0755 /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/bash-4.3/ipkg-install/bin/bash /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/bash-4.3/ipkg-sunxi/bash/bin/
      ln -sf bash /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/bash-4.3/ipkg-sunxi/bash/bin/rbash
      find /home/embedfire/tina-d1-h/out/d1s-nezha/compile_dir/target/bash-4.3/ipkg-sunxi/bash -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
      Package bash is missing dependencies for the following libraries:
      libhistory.so.6
      Makefile:74: recipe for target '/home/embedfire/tina-d1-h/out/d1s-nezha/packages/base/bash_4.3.42-1_sunxi.ipk' failed
      make[3]: *** [/home/embedfire/tina-d1-h/out/d1s-nezha/packages/base/bash_4.3.42-1_sunxi.ipk] Error 1
      make[3]: Leaving directory '/home/embedfire/tina-d1-h/package/utils/bash'
      package/Makefile:192: recipe for target 'package/utils/bash/compile' failed
      make[2]: *** [package/utils/bash/compile] Error 2
      make[2]: Leaving directory '/home/embedfire/tina-d1-h'
      package/Makefile:189: recipe for target '/home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/stamp/.package_compile' failed
      make[1]: *** [/home/embedfire/tina-d1-h/out/d1s-nezha/staging_dir/target/stamp/.package_compile] Error 2
      make[1]: Leaving directory '/home/embedfire/tina-d1-h'
      /home/embedfire/tina-d1-h/build/toplevel.mk:304: recipe for target 'world' failed
      make: *** [world] Error 2
      [2]+  已完成               $T/tools/build/buildserver --path $T 2> /dev/null 1>&2
      
      #### make failed to build some targets (06:25 (mm:ss)) ####
      
      embedfire@embedfire:~/tina-d1-h$ 
      

      我看了一下,其中有提醒缺少libhistory.so.6

      posted in D1系列-RISC-V
      F
      fengshulin
    • D1s Tina SDK 2.0中tplayer问题

      1.使用的板子是芒果派MQ-R
      2.刷入的镜像是基于Tina SDK 2.0构建,并打了Tina_d1x_append补丁。
      3.使用tplayerdemo /root/test.mp4指令,可以播放视频,播放完成后,直接卡死。输入指令quit,也无效。

      部分打印logo如下:

      root@TinaLinux:/usr/bin# tplayerdemo /root/test.mp4
      WARNING: awplayer <cdx_log_set_level:30>: cdx Set log level to 6
      INFO   : cedarc <CedarPluginVDInit:79>: register h264 decoder success!
      INFO   : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success!
      INFO   : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success!
      INFO   : cedarc <CedarPluginVDInit:92>: register mpeg4dx decoder success!
      INFO   : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success!
      INFO   : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success!
      INFO   : cedarc <CedarPluginVDInit:74>: register vc1 decoder success!
      INFO   : cedarc <CedarPluginVDInit:85>: register h265 decoder success!
      INFO   : cedarc <CedarPluginVDInit:70>: register vp6Soft decoder success!
      INFO   : cedarc <CedarPluginVDInit:88>: register Wmv12Soft decoder success!
      
      ******************************************************************************************
      * This program implements a simple player, you can type commands to control the player.
      * To show what commands supported, type 'help'.
      ******************************************************************************************
      dd: writing '/dev/fb0': No space left on device
      6001+0 records in
      6000+0 records out
      argc = 2
      argv[0] = tplayerdemo
      argv[1] = /root/test.mp4
      may be is one file:cut down suffix is:.mp4
      find the matched type:.mp4
      create player:0
      
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : tina3.5
      branch: tina-dev[SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0
      
      date  : Mon Jul 15 19:04:59 2019 +0800
      Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
      -------------------------------------------------------------------------------
      xplayer:process message XPLAYER_COMMAND_SET_AUDVE: enable hw clock
      IOSINK.
      xplayer:process messageenable_cedar_hw_clk,552
       XPLAYER_COMMAND_SET_SURFACE.
      xplayer:process message XPLAYER_CVE: VE real_freq=576000000
      
      OMMAND_SET_SUBCTRL.
      xplayer:process message XPLAYER_COMMAND_SET_DI.
      create player[0]:0xfec29d0
      screen width:800,screen height:480
      1:playVideo:0
      before TPlayerSetDataSource,94712:/root/test.mp4
      xplayer:process message XPLAYER_COMMAND_SET_SOURCE.
      xplayer:process message XPLAYER_COMMAND_PREPARE.
      INFO   : cedarc <log_set_level:43>: Set log level to 5 from /vendor/etc/cedarc.conf
      ERROR  : cedarc <DebugCheckConfig:301>: now cedarc log level:5
      setDataSource end
      xplayer:process message XPLAYER_COMMAND_PREPARE.
      *****tplayer:video width = 640,height = 480
      warning: unknown callback from Tinaplayer.
      TPLAYER_NOTIFY_PREPARED,has prepared.
      TPlayerPrepare end
      TPlayerSetHoldLastPicture()
      xplayer:process message XPLAYER_COMMAND_START.
      (Allwinner Audio Middle Layer),line(971) : Create Decoder!!=====
      (Allwinner Audio Middle Layer),line(603) : AudioDec_Installaudiolib ok
      (Allwinner Audio Middle Layer),line(606) : audio decoder init start ...
      (AllwinnerAlibs),line(50) :
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : audiocodec-v1.2
      branch: new
      commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85
      date  : Tue Jan 8 16:25:27 2019 +0800
      ----------------------------------------------------------------------
      
      (AllwinnerAlibs),line(700) : ----Loading so success!
      (AllwinnerAlibs),line(902) : *************pAudioStreamInfo start******************
      (AllwinnerAlibs),line(903) : eCodecFormat         :id(4), name(aac low-complexy)
      (AllwinnerAlibs),line(904) : eSubCodecFormat      :0
      (AllwinnerAlibs),line(905) : nChannelNum          :2
      (AllwinnerAlibs),line(906) : nBitsPerSample       :16
      (AllwinnerAlibs),line(907) : nSampleRate          :44100
      (AllwinnerAlibs),line(908) : nAvgBitrate          :128135
      (AllwinnerAlibs),line(909) : nMaxBitRate          :128135
      (AllwinnerAlibs),line(910) : nFileSize            :0
      (AllwinnerAlibs),line(911) : eAudioBitstreamSource:0
      (AllwinnerAlibs),line(912) : eDataEncodeType      :0
      (AllwinnerAlibs),line(913) : nCodecSpecificDataLen:2
      (AllwinnerAlibs),line(914) : pCodecSpecificData   :0x3fe8064dc0
      (AllwinnerAlibs),line(915) : nFlags               :0
      (AllwinnerAlibs),line(916) : nBlockAlign          :0
      (AllwinnerAlibs),line(917) : *************pAudioStreamInfo end  ******************
      (AAC Decoder),line(36) : init successs...
      (Allwinner Audio Middle Layer),line(614) : AUDIO DECODE INIT OK...0
      started.
      ERROR  : awplayer <__LayerQueueBuffer:969>: *** picNode is full when queue buffer
      ERROR  : awplayer <__LayerQueueBuffer:969>: *** picNode is full when queue buffer
      *****tplayer:video decoded width = 640,height = 480
      *****tplayerdemo:video decoded width = 640,height = 480real set to display rect:w = 640,h = 480
      warning: unknown callback from Tinaplayer.
      *****tplayer:video width = 640,height = 480
      warning: unknown callback from Tinaplayer.
      ****player(0xfec4db0): first video pts = 66733*****
      ERROR  : awplayer <__LayerQueueBuffer:969>: *** picNode is full when queue buffer
      ERROR  : fbm.c <FbmReturnPicture:1043>: invalid frame status, a picture being returned,                 but bUsedByRender=0, bInValidPictureQueue=1, bAlreadyDisplayed=0.
      ERROR  : fbm.c <FbmReturnPicture:1044>: **picture[0x3fe4001f08],id[8]
      WARNING: cedarc <ReturnPicture:1698>: FbmReturnPicture return fail,            it means the picture being returned it not one of this FBM.
      
      
      tplayerdemo#
      
      tplayerdemo#
      
      tplayerdemo#
      
      tplayerdemo#
      
      tplayerdemo# quit
      
      tplayerdemo# COMMAND_QUIT
      xplayer:process message XPLAYER_COMMAND_RESET.
      
      
      
      ^CGot signal 2, exiting ...
      
      
      posted in D1系列-RISC-V
      F
      fengshulin