导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. ubuntu
    3. 帖子
    U
    • 资料
    • 关注 0
    • 粉丝 2
    • 我的积分 5526
    • 主题 45
    • 帖子 159
    • 最佳 6
    • 群组 0

    ubuntu 发布的帖子

    • 回复: 超级萌新学晕哥也整了一台“台电” P85 TLA016 平板电脑

      道理我都懂,可是为什么要拆 eMMC呢?

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 萌新在淘宝整了一台“台电” P85 TLA016 平板电脑

      @whycan
      这么看来

      代码是 axp2202, 丝印是 ax717,看来又多一个马甲了。

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 请问V833芯片支持jtag烧录吗?

      楼主,有后续操作吗?

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 请教T113-S3调试IP101GRI,不能发送的问题。

      Sipeed Lichee RV 86 Panel 智能家居 中控开发板 支持Linux WAFT
      https://bbs.aw-ol.com/topic/829

      参考SIPEED的原理图,这个是100Mbps PHY

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 如果我想把某个linux系统移植到哪吒板上需要做些啥?

      @jiouo
      任何版本都可以移植到哪吒上面,就看成本能不能接受了。

      发布在 MR Series
      U
      ubuntu
    • 回复: D1-H开发板无法下载固件

      如果 ①换过线 ②换过电脑 ③换过USB口 都不行的话,那简易你换个。。。。人试一试,哟,隔壁的小姐姐过来帮个忙嘛。这样还不行,就返厂看看到底什么情况了。

      发布在 MR Series
      U
      ubuntu
    • 回复: 请问vmware虚拟机网卡配置是NAT模式共享主机共享IP,局域网其他电脑怎么连接这个虚拟机呢?

      虚拟机里面跑一个frp 和 sshd,这样外面就可以ssh进去为所欲为了。

      发布在 Linux
      U
      ubuntu
    • 回复: 【资料汇总】D1-H / D1s / T113 / R528 SDK 、资料下载大汇总
      ubuntu@ubuntu:/opt/t113/tina$ ./build.sh config
      sed: -e expression #1, char 0: no previous regular expression
      
      Welcome to mkscript setup progress
      All available platform:
         0. linux
      Choice [linux]: 0
      All available linux_dev:
         0. bsp
         1. dragonboard
         2. longan
         3. tinyos
      Choice [longan]: 2
      All available kern_ver:
         0. linux-5.4
      Choice [linux-5.4]: 0
      All available ic:
         0. t113
      Choice [t113]: 0
      All available board:
         0. evb1
         1. evb1_auto
         2. evb1_auto_nand
         3. evb1_auto_nor
      Choice [evb1]: 1
      All available flash:
         0. default
         1. nor
      Choice [default]: 0
      All available gnueabi:
         0. gnueabi
         1. gnueabihf
      Choice [gnueabihf]: 0
      INFO: Prepare toolchain ...
      toolchain_archivedir=/opt/t113/tina/build/toolchain/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi.tar.xz
      INFO: kernel defconfig: generate /opt/t113/tina/out/kernel/build/.config by /opt/t113/tina/kernel/linux-5.4/arch/arm/configs/sun8iw20p1smp_t113_auto_defconfig
      INFO: Prepare toolchain ...
      

      T113 开始编译。。。

      sunxi_mbr.fex Len: 0x10000
      dlinfo.fex Len: 0x4000
      arisc.fex Len: 0x6
      vmlinux.fex Len: 0x36de1c7
      boot-resource.fex Len: 0xdad400
      Vboot-resource.fex Len: 0x4
      env.fex Len: 0x20000
      Venv.fex Len: 0x4
      env.fex Len: 0x20000
      Venv.fex Len: 0x4
      boot.fex Len: 0x10dc000
      Vboot.fex Len: 0x4
      rootfs.fex Len: 0xc634270
      Vrootfs.fex Len: 0x4
      dsp0.fex Len: 0x3fc78
      Vdsp0.fex Len: 0x4
      BuildImg 0
      Dragon execute image.cfg SUCCESS !
      ----------image is at----------
      
      size:288M  /opt/t113/tina/out/t113_linux_evb1_auto_uart0.img
      
      pack finish
      ubuntu@ubuntu:/opt/t113/tina$
      

      编译成功,就缺板子了。

      发布在 MR Series
      U
      ubuntu
    • 请问如何用命令行调整背光亮度?

      请问如何用命令行调整背光亮度?

      《D1_Linux_LCD_开发指南.pdf》 没有找到相关说明

      发布在 MR Series
      U
      ubuntu
    • 回复: 请问D1怎么才能通过命令行动态给SPI调速?

      是呀,我也发现了。

      https://community.toradex.com/t/imx8x-max-frequency-of-spidev/10970

      小飞的也可以重设SPI速率

      发布在 MR Series
      U
      ubuntu
    • 请问D1怎么才能通过命令行动态给SPI调速?

      https://stackoverflow.com/questions/57262938/is-there-a-shell-command-can-change-spi-clock-for-raspberry-pi-zero

      echo -ne "\x06\x04" > /sys/class/spi_master/spi0/of_node/spi-max-frequency

      请问D1怎么才能通过命令行动态给SPI调速?

      这里 /sys/class/spi_master/ 下面啥文件也没有:

      root@TinaLinux:/# ls /sys/class/spi_master/
      root@TinaLinux:/#
      
      发布在 MR Series
      U
      ubuntu
    • 回复: 小白,想在哪吒板子上实现串口通信,该怎么实现。

      参考:

      https://zhou-yuxin.github.io/articles/2017/Linux串口网卡(二)——用户态转发程序的实现/index.html

      发布在 MR Series
      U
      ubuntu
    • Buildroot 预定义变量

      $(TOPDIR),
      buildroot/

      $(TARGET_DIR),
      buildroot/output/target/

      $(HOST_DIR),
      buildroot/output/host/

      $(STAGING_DIR),
      buildroot/output/staging/

      $(BUILD_DIR),
      buildroot/output/build/

      $(BINARIES_DIR),
      buildroot/output/images/

      $(BASE_DIR),
      buildroot/output/

      $(DL_DIR),
      buildroot/dl/

      $(O),
      buildroot/output/

      转载地址: https://hugh712.gitbooks.io/buildroot/content/default-path.html

      发布在 Linux
      U
      ubuntu
    • 回复: 分享嵌入式系统修改时区的方法

      编译的时候把 buildroot 的配置:

      BR2_TARGET_LOCALTIME="Etc/UTC"
      

      修改为:

      BR2_TARGET_LOCALTIME="Asia/Shanghai"
      

      这样开机就是北京时间,不用执行任何命令。

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 分享嵌入式系统修改时区的方法

      运行中的系统,执行:

      export TZ='Asia/Shanghai'
      

      然后

      # date
      Mon Dec  6 10:11:28 CST 2021
      

      时区就变更为北京时间了。

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 终端执行一会ping输出那么多日志,怎么清除,让终端看起来清爽一点?

      搞定,谢谢楼上的朋友

      #
      # echo 7 > /proc/sys/kernel/printk
      #
      #
      # ping www.163.com
      PING www.163.com (183.232.112.93): 56 data bytes
      64 bytes from 183.232.112.93: seq=0 ttl=55 time=6292.019 ms
      64 bytes from 183.232.112.93: seq=1 ttl=55 time=5430.110 ms
      64 bytes from 183.232.112.93: seq=2 ttl=55 time=4429.753 ms
      64 bytes from 183.232.112.93: seq=3 ttl=55 time=3429.514 ms
      64 bytes from 183.232.112.93: seq=4 ttl=55 time=2435.205 ms
      64 bytes from 183.232.112.93: seq=5 ttl=55 time=1436.105 ms
      64 bytes from 183.232.112.93: seq=6 ttl=55 time=491.305 ms
      64 bytes from 183.232.112.93: seq=7 ttl=55 time=32.648 ms
      64 bytes from 183.232.112.93: seq=8 ttl=55 time=23.292 ms
      64 bytes from 183.232.112.93: seq=9 ttl=55 time=24.620 ms
      64 bytes from 183.232.112.93: seq=10 ttl=55 time=26.544 ms
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 终端执行一会ping输出那么多日志,怎么清除,让终端看起来清爽一点?
      # ping www.163.com
      [50027.590790] RTW: rtw_cpwm_polling: polling cpwm OK! rpwm_retry=0, cpwm_orig=00, cpwm_now=80 , 0x100=0x3f
      [50027.721631] RTW: rtw_cpwm_polling: polling cpwm OK! rpwm_retry=0, cpwm_orig=80, cpwm_now=00 , 0x100=0xff
      PING www.163.com (183.232.112.86): 56 data bytes
      [50028.004902] RTW: rtw_cpwm_polling: polling cpwm OK! rpwm_retry=0, cpwm_orig=00, cpwm_now=80 , 0x100=0xff
      [50028.017862] RTW: rtw_set_ps_mode(wlan0) Leave 802.11 power save - WIFI-LPS_CTRL_LEAVE
      [50028.026738] RTW: rtl8723d_set_FwPwrMode_cmd(): FW LPS mode = 0, SmartPS=2
      [50028.080129] RTW: rtw_set_ps_mode(wlan0) Enter 802.11 power save - WIFI-TRAFFIC_IDLE
      [50028.089088] RTW: rtl8723d_set_FwPwrMode_cmd(): FW LPS mode = 2, SmartPS=2
      [50028.098047] RTW: Turbo EDCA =0x5ea42b
      64 bytes from 183.232.112.86: seq=0 ttl=55 time=684.100 ms
      [50028.705825] RTW: rtw_cpwm_polling: polling cpwm OK! rpwm_retry=0, cpwm_orig=80, cpwm_now=00 , 0x100=0x3f
      [50028.717281] RTW: rtw_set_ps_mode(wlan0) Leave 802.11 power save - WIFI-LPS_CTRL_LEAVE
      [50028.731229] RTW: rtl8723d_set_FwPwrMode_cmd(): FW LPS mode = 0, SmartPS=2
      64 bytes from 183.232.112.86: seq=0 ttl=55 time=1289.383 ms (DUP!)
      64 bytes from 183.232.112.86: seq=1 ttl=55 time=379.495 ms
      64 bytes from 183.232.112.86: seq=2 ttl=55 time=88.362 ms
      64 bytes from 183.232.112.86: seq=3 ttl=55 time=70.652 ms
      [50032.080123] RTW: rtw_set_ps_mode(wlan0) Enter 802.11 power save - WIFI-TRAFFIC_IDLE
      [50032.089156] RTW: rtl8723d_set_FwPwrMode_cmd(): FW LPS mode = 2, SmartPS=2
      64 bytes from 183.232.112.86: seq=4 ttl=55 time=96.217 ms
      
      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: V3s 驱动 RTL8723DS 蓝牙,出了这个问题,请问怎么解决呢?
      # rtk_hciattach -n -s 115200 /dev/ttyS1 rtk_h5
      Realtek Bluetooth :Realtek Bluetooth init uart with init speed:115200, type:HCI UART H5
      Realtek Bluetooth :Realtek hciattach version 3.1
      
      Realtek Bluetooth :Use epoll
      Realtek Bluetooth :[SYNC] Get SYNC Resp Pkt
      Realtek Bluetooth :[CONFIG] Get SYNC pkt
      Realtek Bluetooth :[CONFIG] Get CONFG pkt
      Realtek Bluetooth :[CONFIG] Get CONFG resp pkt
      Realtek Bluetooth :dic is 1, cfg field 0x14
      Realtek Bluetooth :H5 init finished
      
      Realtek Bluetooth :Realtek H5 IC
      Realtek Bluetooth :Receive cmd complete event of command: 1001
      Realtek Bluetooth :HCI Version 0x08
      Realtek Bluetooth :HCI Revision 0x000d
      Realtek Bluetooth :LMP Subversion 0x8723
      Realtek Bluetooth :Receive cmd complete event of command: fc6d
      Realtek Bluetooth :Read ROM version 02
      Realtek Bluetooth :LMP Subversion 0x8723
      Realtek Bluetooth :EVersion 2
      Realtek Bluetooth :IC: RTL8723DS
      Realtek Bluetooth :Firmware/config: rtl8723d_fw, rtl8723d_config
      Realtek Bluetooth :Couldnt open extra config /opt/rtk_btconfig.txt, No such file or directory
      Realtek Bluetooth :Couldnt access customer BT MAC file /opt/bdaddr
      Realtek Bluetooth :Origin cfg len 48
      Realtek Bluetooth :55 ab 23 87 2a 00 0c 00 10 02 80 92 04 50 c5 ea
      Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b d9 00 01 0f e4 00 01
      Realtek Bluetooth :08 f3 00 01 0c f4 00 08 01 00 01 90 00 00 09 04
      Realtek Bluetooth :Config baudrate: 04928002
      Realtek Bluetooth :uart flow ctrl: 1
      Realtek Bluetooth :Vendor baud from Config file: 04928002
      Realtek Bluetooth :New cfg len 48
      Realtek Bluetooth :55 ab 23 87 2a 00 0c 00 10 02 80 92 04 50 c5 ea
      Realtek Bluetooth :19 e1 1b fd af 5f 01 a4 0b d9 00 01 0f e4 00 01
      Realtek Bluetooth :08 f3 00 01 0c f4 00 08 01 00 01 90 00 00 09 04
      Realtek Bluetooth :Load FW /lib/firmware/rtlbt/rtl8723d_fw OK, size 52096
      Realtek Bluetooth :rtb_get_fw_project_id: opcode 0, len 1, data 9
      Realtek Bluetooth :FW version 0xaa7add92, Patch num 3
      Realtek Bluetooth :Chip id 0x0001
      Realtek Bluetooth :Chip id 0x0002
      Realtek Bluetooth :Chip id 0x0003
      Realtek Bluetooth :Patch length 0x81b8
      Realtek Bluetooth :Start offset 0x00004980
      Realtek Bluetooth :Svn version:    20318
      Realtek Bluetooth :Coexistence: BTCOEX_20180125-2323
      
      Realtek Bluetooth :FW  exists, Config file  exists
      Realtek Bluetooth :Total len 33256 for fwc
      Realtek Bluetooth :baudrate in change speed command: 0x02 0x80 0x92 0x04
      Realtek Bluetooth :Receive cmd complete event of command: fc17
      Realtek Bluetooth :Received cc of vendor change baud
      Realtek Bluetooth :Final speed 1500000
      Realtek Bluetooth :end_idx: 131, lp_len: 244, additional pkts: 0
      
      Realtek Bluetooth :Start downloading...
      Realtek Bluetooth :Send last pkt
      Realtek Bluetooth :Enable host hw flow control
      Realtek Bluetooth :h5_hci_reset: Issue hci reset cmd
      Realtek Bluetooth :Receive cmd complete event of command: 0c03
      Realtek Bluetooth :Received cc of hci reset cmd
      Realtek Bluetooth :Init Process finished
      Realtek Bluetooth ERROR: Can't set line discipline 22, Invalid argument
      Realtek Bluetooth ERROR: Can't initialize device 22, Invalid argument
      #
      #
      

      Realtek Bluetooth ERROR: Can't set line discipline 22, Invalid argument
      Realtek Bluetooth ERROR: Can't initialize device 22, Invalid argument

      为什么我的V3s Linux3.4 初始化8723DS蓝牙会出这个错误?

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 奇怪了,V3s linux3.4 printk 日志只能输出第一行

      可能是loglevel不对?

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: V3s(荔枝派核心板) + 以太网 + AP6398(2.4/5G)双模路由器,本站满100分免费赠送一台

      收到了,谢谢楼主,那条 5V转 12V线好评!!!

      发布在 其它全志芯片讨论区
      U
      ubuntu
    • 回复: 创意小闹钟/天气时钟

      a56c4e70-916c-4f4c-9e68-89512fab7ab1-EUQXLBL3`ES}AE1QHGYXOUH.jpg

      19bd1e38-44ZU.jpg

      发布在 灌水区
      U
      ubuntu
    • 回复: 创意小闹钟/天气时钟

      c350cc71-f72d-4007-ab18-e06ed7fb1e11-{{@{1R`GWVGOA$)~AP34A3H.png

      发布在 灌水区
      U
      ubuntu
    • 回复: 创意小闹钟/天气时钟

      a863b8ea-b36f-4620-89eb-2ffdbd204829-)8[B_28518EEDAHFJD]UI@C.jpg

      c8aaa2f3-c0e3-45ccNMXQBK.png

      发布在 灌水区
      U
      ubuntu
    • 回复: 创意小闹钟/天气时钟

      9da(P.png

      0ed17e13-77ae-4855-be1K.png

      9255eaff-a48a-430f-b7e2-P8.png

      发布在 灌水区
      U
      ubuntu
    • 创意小闹钟/天气时钟

      创意小闹钟/天气时钟

      转自 Q群 887171863

      源码下载:
      V1.3.3 WEB配网+WiFi保存+WiFi串口重置(已优化)+天气更新时间设置.zip

      V1.3.4.zip

      V1.4源码(web网页设置+web配网)-无wifi休眠.zip

      发布在 灌水区
      U
      ubuntu
    • 回复: 18.8元的 4G 转 WIFI dongle,即插即用,无需USB通讯,通电即可使用。

      D5S1.jpg

      %9(ZD3361UKI@WOGCK}0LGD.jpg

      ZQL9NFPU.jpg

      G@1LYY1.jpg

      9R3D.jpg

      发布在 灌水区
      U
      ubuntu
    • 回复: 给D1 SDK 添加一个简单的helloworld package
      ubuntu:/opt/D1/tina_d1_open$ mv package/test1/test2/test3/test4/test5/test6/helloworld/ package/test1/test2/test3 
      ubuntu:/opt/D1/tina_d1_open$ 
      ubuntu:/opt/D1/tina_d1_open$ lunch 
      
      You're building on Linux
      
      Lunch menu... pick a combo:
           1. d1_f133evb1_rgb800x480-tina
           2. d1_nezha_min2-tina
           3. d1_nezha_min3-tina
           4. d1_nezha_min-tina
           5. d1_nezha-tina
      
      Which would you like? [Default d1_nezha]: 5
      ============================================
      TINA_BUILD_TOP=/opt/D1/tina_d1_open
      TINA_TARGET_ARCH=riscv
      TARGET_PRODUCT=d1_nezha
      TARGET_PLATFORM=d1
      TARGET_BOARD=d1-nezha
      TARGET_PLAN=nezha
      TARGET_BUILD_VARIANT=tina
      TARGET_BUILD_TYPE=release
      TARGET_KERNEL_VERSION=5.4
      TARGET_UBOOT=u-boot-2018
      TARGET_CHIP=sun20iw1p1
      ============================================
      ubuntu:/opt/D1/tina_d1_open$ make package/test1/test2/test3/helloworld/compile
      ===This's tina environment.===
      special target, skip mboot,marisc
      Collecting package info: done
      Collecting target info: done
      make[1]: Entering directory '/opt/D1/tina_d1_open'
      make[2]: Entering directory '/opt/D1/tina_d1_open/package/libs/toolchain'
      if [ -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean ]; then rm -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean; fi; echo "libc" >> /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install
      if [ -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean ]; then rm -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean; fi; echo "libgcc" >> /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install
      if [ -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean ]; then rm -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean; fi; echo "libssp" >> /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install
      if [ -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean ]; then rm -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean; fi; echo "libstdcpp" >> /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install
      if [ -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean ]; then rm -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean; fi; echo "libpthread" >> /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install
      if [ -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean ]; then rm -f /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install.clean; fi; echo "librt" >> /opt/D1/tina_d1_open/out/d1-nezha/staging_dir/target/pkginfo/toolchain.default.install
      make[2]: Leaving directory '/opt/D1/tina_d1_open/package/libs/toolchain'
      make[2]: Entering directory '/opt/D1/tina_d1_open/package/test1/test2/test3/helloworld'
      make[2]: Leaving directory '/opt/D1/tina_d1_open/package/test1/test2/test3/helloworld'
      make[1]: Leaving directory '/opt/D1/tina_d1_open'
      
      #### make completed successfully (29 seconds) ####
      
      ubuntu:/opt/D1/tina_d1_open$
      

      为了证实,我再次操作了一遍。

      发布在 MR Series
      U
      ubuntu
    • 回复: 请问怎么查看tina的openwrt版本?

      tina is a e-linux based on openwrt 14.07

      https://github.com/pd2-linux/tina

      发布在 MR Series
      U
      ubuntu
    • 请问怎么查看tina的openwrt版本?

      请问怎么查看tina的openwrt版本?

      发布在 MR Series
      U
      ubuntu
    • 回复: D1哪吒开发板wifi连接出错,这是什么情况?

      @bedrock
      这次真破案了, 把同一个 img 文件烧录到 spi flash,wifi连接正常,说明还是 /etc 目录无写入权限引起。

      发布在 MR Series
      U
      ubuntu
    • 回复: D1哪吒开发板wifi连接出错,这是什么情况?

      以下是SPI NAND FLASH版本启动后执行 mount目录的信息,由于加载overlayfs 文件系统,这样就可以写 /etc/ 目录了

      root@TinaLinux:/# mount
      /dev/root on /rom type squashfs (ro,noatime)
      devtmpfs on /dev type devtmpfs (rw,relatime,size=504012k,nr_inodes=126003,mode=755)
      proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
      sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
      tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
      /dev/by-name/UDISK on /overlay type ubifs (rw,relatime,assert=read-only,ubi=0,vol=8)
      overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
      devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
      debugfs on /sys/kernel/debug type debugfs (rw,noatime)
      none on /sys/kernel/config type configfs (rw,relatime)
      adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
      root@TinaLinux:/#
      
      root@TinaLinux:/# find / -name wpa_supplicant.conf
      /etc/wifi/wpa_supplicant.conf
      /overlay/upper/etc/wifi/wpa_supplicant.conf
      /rom/etc/wifi/wpa_supplicant.conf
      

      读写 /etc/wifi/wpa_supplicant.conf
      文件时, 如果发现 /overlay/upper/etc/wifi/wpa_supplicant.conf 存在,则不会访问 /rom/etc/wifi/wpa_supplicant.conf 文件。

      发布在 MR Series
      U
      ubuntu
    • 回复: D1哪吒开发板wifi连接出错,这是什么情况?

      如果是烧卡启动,系统是把 只读的squashfs挂到根文件系统 /

      并没有可读写的 overlayfs ,所以出现了 /etc/ 目录不可写的问题

      root@TinaLinux:/# df
      Filesystem           1K-blocks      Used Available Use% Mounted on
      /dev/root                17152     17152         0 100% /
      devtmpfs                503924         0    503924   0% /dev
      tmpfs                   508116        52    508064   0% /tmp
      /dev/mmcblk0p1            8151       305      7846   4% /mnt/SDCARD
      root@TinaLinux:/#
      root@TinaLinux:/#
      root@TinaLinux:/# mount
      /dev/root on / type squashfs (ro,noatime)
      devtmpfs on /dev type devtmpfs (rw,relatime,size=503924k,nr_inodes=125981,mode=755)
      proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
      sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
      tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
      devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
      debugfs on /sys/kernel/debug type debugfs (rw,noatime)
      none on /sys/kernel/config type configfs (rw,relatime)
      adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
      /dev/mmcblk0p1 on /mnt/SDCARD type vfat (rw,relatime,fmask=0000,dmask=0000,allow_utime=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
      root@TinaLinux:/#
      
      发布在 MR Series
      U
      ubuntu
    • 回复: D1哪吒开发板wifi连接出错,这是什么情况?

      看了一下源码,还真是要写 /etc/ 目录下面的文件:

      ubuntu:/opt/D1/tina_d1_open$ grep /etc -r  package/allwinner/wifimanager/ --include *.c
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:	wmg_printf(MSG_INFO,"DESCRIPTION:\n\tTest the stability of wifi module(see the test result in file:/etc/test_result).\n");
      package/allwinner/wifimanager/demo/wifi_longtime_test.c: *see the test result in file:/etc/test_result
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:	wmg_debug_open_file("/etc/wifi_long_time_test.log");
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:    sprintf(prt_buf,"echo \"Test Times:%d, Success Times:%d(including get IP timeout times:%d), Failed Times:%d\" > /etc/test_results",i,success_times,timeout_times,fail_times);
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:    sprintf(prt_buf,"echo \"Connecting mean time: %llu.%-llu seconds\" >> /etc/test_results",(total_con_microsec/1000000)/i,(total_con_microsec/i)%1000000);
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:    wmg_printf(MSG_INFO,prt_buf,"echo \"Disconnecting mean time: %llu.%-llu seconds\" >> /etc/test_results",(total_disc_microsec/1000000)/i,(total_disc_microsec/i)%1000000);
      package/allwinner/wifimanager/demo/wifi_longtime_test.c:        sprintf(prt_buf,"echo Congratulations! >> /etc/test_results");
      package/allwinner/wifimanager/src/core/wifi_udhcpc.c:    system("/etc/wifi/udhcpc_wlan0 start >/dev/null");
      package/allwinner/wifimanager/src/core/wifimanager.c:    system("/etc/wifi/udhcpc_wlan0 stop >/dev/null");
      package/allwinner/wifimanager/src/core/wifi.c:static const char IFACE_DIR[]           = "/etc/wifi/sockets";
      package/allwinner/wifimanager/src/core/wifi.c:static const char SUPP_CONFIG_TEMPLATE[]= "/etc/wifi/wpa_supplicant_src.conf";
      package/allwinner/wifimanager/src/core/wifi.c:static const char SUPP_CONFIG_FILE[]    = "/etc/wifi/wpa_supplicant.conf";
      package/allwinner/wifimanager/src/core/wifi.c:static const char CONTROL_IFACE_PATH[]  = "/etc/wifi/sockets";
      package/allwinner/wifimanager/src/core/wifi.c:    strncpy(cmd, "/etc/wifi/wifi start", 511);
      package/allwinner/wifimanager/src/core/wifi.c:	  system("/etc/wifi/wifi stop");
      package/allwinner/wifimanager/src/daemon/wifid_cmd_handle.c:		system("/etc/init.d/wifi_daemon start");
      package/allwinner/wifimanager/src/daemon/wifid_cmd_handle.c:	system("/etc/init.d/wifi_daemon stop");
      ubuntu:/opt/D1/tina_d1_open$
      ubuntu:/opt/D1/tina_d1_open$
      
      发布在 MR Series
      U
      ubuntu
    • 回复: D1哪吒开发板wifi连接出错,这是什么情况?

      @bedrock

      1350719b-19c5-4789-b734-89de361e7b9d-image.png

      大概知道原因了,把 img 烧到 TF卡启动,然后执行 wifi_connect_ap_test 是连不上的。

      然后我手动建立 /etc/wpa_supplicant.conf 提示只读,创建文件失败,

      然后我再建立 /tmp/wpa_supplicant.conf

      ctrl_interface=/var/run/wpa_supplicant
      ctrl_interface_group=0
      ap_scan=1
      network={
          ssid="ubuntu"
          scan_ssid=1
          key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
          pairwise=TKIP CCMP
          group=CCMP TKIP WEP104 WEP40
          psk="13800138000"
          priority=5
      }
      
      root@TinaLinux:/# wpa_supplicant -B -d -i wlan0 -c /tmp/wpa_supplicant.conf
      Successfully initialized wpa_supplicant
      [  565.756909] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=70:f4:4d:76:31:86
      [  565.765681] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=70:f4:4d:76:31:86
      [  565.779627] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
      
      root@TinaLinux:/# udhcpc -i wlan0
      udhcpc: started, v1.27.2
      udhcpc: sending discover
      udhcpc: sending select for 192.168.151.222
      udhcpc: lease of 192.168.151.222 obtained, lease time 3599
      udhcpc: ifconfig wlan0 192.168.151.222 netmask 255.255.255.0 broadcast 192.168.151.255
      udhcpc: setting default routers: 192.168.151.42
      root@TinaLinux:/#
      root@TinaLinux:/#
      root@TinaLinux:/# ping www.163.com
      PING www.163.com (36.158.202.26): 56 data bytes
      64 bytes from 36.158.202.26: seq=0 ttl=53 time=54.414 ms
      64 bytes from 36.158.202.26: seq=1 ttl=53 time=60.232 ms
      64 bytes from 36.158.202.26: seq=2 ttl=53 time=58.636 ms
      

      也就是说wifi本身没什么问题,估计是那些 wifi tools 需要可读写文件系统的原因,我再观察观察。

      发布在 MR Series
      U
      ubuntu
    • 回复: D1哪吒开发板wifi连接出错,这是什么情况?

      @bedrock
      硬件没有问题,SPI FLASH 里面就是出厂固件,我还没重刷过。

      我自己的固件在 TF卡, 对比了一下LOG没啥问题:
      14793e0d-0855-4741-807b-945381db0f07-image.png

      /lib/firmware 里面固件都在的。

      发布在 MR Series
      U
      ubuntu
    • 回复: D1哪吒开发板wifi连接出错,这是什么情况?
      root@TinaLinux:/# wifi_connect_ap_test ssid_ubuntu 123456785
      ==================================
      Connecting to the network(ssid_ubuntu)......
      [   49.066175] [STA_WRN] Freq 2412 (wsm ch: 1) prev: 3.
      [   49.072027] wlan0: authenticate with e4:26:8b:89:a9:f8 (try 1)
      [   49.083424] [STA_WRN] [HT40][xradio_join_work][bss_ht_info]:
      [   49.083424] [primary_chan  :0x00000001]
      [   49.083424] [ht_param      :0x00000000]
      [   49.083424] [operation_mode:0x00000017]
      [   49.083424] [stbc_param    :0x00000000]
      [   49.083424] [basic_set[0]  :0x00000000]
      [   49.111324] [STA_WRN] [HT40][xradio_join_work][PhyModeCfg:0x0007]
      [   49.111324] [ModemFlags    :0x00000007]
      [   49.111324] [ChWidthCfg    :0x00000000]
      [   49.111324] [PriChCfg      :0x00000000]
      [   49.111324] [BandCfg       :0x00000000]
      [   49.111324] [STBC_Enable   :0x00000000]
      [   49.111324] [PreambleCfg   :0x00000000]
      [   49.111324] [SGI_Enable    :0x00000000]
      [   49.111324] GF_Enable      :0x00000000]
      [   49.173244] wlan0: authenticated
      [   49.177518] wlan0: associate with e4:26:8b:89:a9:f8 (try 1)
      [   49.192728] wlan0: RX AssocResp from e4:26:8b:89:a9:f8 (capab=0x1431 status=0 aid=78)
      [   49.202004] wlan0: associated
      [   49.212504] [AP_WRN] [STA] ASSOC HTCAP 11N 58
      [   49.217367] [AP_WRN] [HT40][xradio_bss_info_changed][ht_prot:0x0000000e][HtProtMode:0x0003][Green:0x0004]
      [   49.217843] [AP_WRN] [HT40][xradio_bss_info_changed][PhyModeCfg:0x5007]
      [   49.217843] [ModemFlags    :0x00000007]
      [   49.217843] [ChWidthCfg    :0x00000000]
      [   49.217843] [PriChCfg      :0x00000000]
      [   49.217843] [BandCfg       :0x00000000]
      [   49.217843] [STBC_Enable   :0x00000000]
      [   49.217843] [PreambleCfg   :0x00000001]
      [   49.217843] [SGI_Enable    :0x00000001]
      [   49.217843] [GF_Enable     :0x00000000]
      [   49.347203] [TXRX_WRN] [RX] IF=0, No key found.
      [   49.652668] [TXRX_WRN] [RX] IF=0, No key found.
      [   49.859090] [TXRX_WRN] [RX] IF=0, No key found.
      [   51.700693] [TXRX_WRN] [RX] IF=0, No key found.
      [   51.906338] [TXRX_WRN] [RX] IF=0, No key found.
      [   53.646240] [TXRX_WRN] [RX] IF=0, No key found.
      [   53.851963] [TXRX_WRN] [RX] IF=0, No key found.
      [   55.694229] [TXRX_WRN] [RX] IF=0, No key found.
      [   57.641342] [TXRX_WRN] [RX] IF=0, No key found.
      [   59.288146] wlan0: deauthenticating from e4:26:8b:89:a9:f8 by local choice (reason=3)
      [   59.297210] [WSM_WRN] Issue unjoin command(TX).
      [   59.303604] [WSM_WRN] STA mode, send_deauth_to_self
      [   59.309107] [TXRX_WRN] Issue unjoin command(TX) by self.
      

      spi nand 自带的固件是这样的

      发布在 MR Series
      U
      ubuntu
    • D1哪吒开发板wifi连接出错,这是什么情况?
      root@TinaLinux:/# wifi_connect_ap_test test test
      ==================================
      connect wpa_supplicant failed,please check wifi driver!
      wifi on failed
      
      发布在 MR Series
      U
      ubuntu
    • 回复: 64M DDR2 的 D1s tina linux 运行 tplayerdemo 内存不足直接奔溃,求解决方案。
      root@TinaLinux:/#
      root@TinaLinux:/# tplayerdemo /mnt/exUDISK/
      System Volume Information/       qt_fps
      X-TRACK.7z                       sun8iw5p1_dragonboard_vstar.img
      aaa397114463-1-208.kkmp5         target.tar
      benchncnn                        test.wav
      bingheshiji3.mp4                 test2.wav
      libuapi.so                       xiaozhumei3.mp4
      lv_examples                      xiaozhumei5.mp4
      ncnntest.tar                     zhouyi_test.tar
      ncnntest.tgz
      root@TinaLinux:/# tplayerdemo /mnt/exUDISK/xiaozhumei3.mp4
      WARNING: cedarc <log_set_level:43>: Set log level to 3 from /vendor/etc/cedarc.conf
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-0 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-1 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-2 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-3 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-4 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-5 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-6 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-7 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-8 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-9 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-10 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-11 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-12 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-13 ok.
      DEBUG  : awplayer <ReadPluginEntry:194>: read plugin entry adecoder-14 fail!
      DEBUG  : awplayer <CdxPluginLoadList:221>: have config 14 entry
      DEBUG  : awplayer <CdxPluginLoadList:222>: start to open adecoder lib
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.aac comment is "aac_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_aacdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.alac comment is "alac_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_alacdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.amr comment is "amr_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_amrdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.ape comment is "ape_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_apedec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.flac comment is "flac_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_flacdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.mp3 comment is "mp3_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_mp3dec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.ogg comment is "ogg_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_oggdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.wav comment is "wav_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_wavdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.atrc comment is "atrc_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_atrcdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.ra comment is "ra_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_radec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.sipr comment is "sipr_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_siprdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.dsd comment is "dsd_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_dsddec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.g729 comment is "g729_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_g729dec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.opus comment is "opus_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_opusdec.so
      DEBUG  : awplayer <CdxPluginLoadList:202>: Load Plugin list vdecoder
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-0 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-1 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-2 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-3 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-4 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-5 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-6 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-7 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-8 ok.
      DEBUG  : awplayer <ReadPluginEntry:194>: read plugin entry vdecoder-9 fail!
      DEBUG  : awplayer <CdxPluginLoadList:221>: have config 9 entry
      DEBUG  : awplayer <CdxPluginLoadList:222>: start to open vdecoder lib
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.h264 comment is "h264_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawh264.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mjpeg comment is "mjpeg_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmjpeg.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg2 comment is "mpeg2_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg2.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4base comment is "mpeg4base_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4base.so
      WARNING: awplayer <DlOpenPlugin:112>: Invalid plugin,function CedarPluginVDInit not found.
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4dx comment is "mpeg4dx_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4dx.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4h263 comment is "mpeg4h263_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4h263.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4normal comment is "mpeg4normal_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4normal.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.wmv3 comment is "wmv3_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawwmv3.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.h265 comment is "h265_vdecoder"
      DEBUG  : awplayer [   43.357980] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0
      <DlOpenPlugin:97>: plugin open lib: libawh265.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <CdxPluginLoadList:202>: Load Plugin list plugin
      DEBUG  : awplayer <ReadPluginEntry:194>: read plugin entry plugin-0 fail!
      DEBUG  : awplayer <CdxPluginLoadList:221>: have config 0 entry
      DEBUG  : awplayer <CdxPluginLoadList:222>: start to open plugin lib
      DEBUG  : awplayer <AwStreamInit:107>: aw stream init...
      DEBUG  : awplayer <AwStreamInit:150>: stream list size:8
      INFO   : awplayer <AwParserInit:441>: aw parser init...
      DEBUG  : awplayer <AwParserInit:560>: aw parser size:17
      
      ******************************************************************************************
      * This program implements a simple player, you can type commands to control the player.
      * To show what commands supported, type 'help'.
      ******************************************************************************************
      argc = 2,argv[0] = tplayerdemo,argv[1] = /mnt/exUDISK/xiaozhumei3.mp4
      may be is one file:cut down suffix is:.mp4
      find the matched type:.mp4
      
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : tina3.5
      branch: tina-dev
      date  : Mon Jul 15 19:04:59 2019 +0800
      Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
      -------------------------------------------------------------------------------
      DEBUG : tplayer <TPlayerCreate:201>: TPlayerCreate
      DEBUG  : awplayer <XPlayerCreate:237>: XPlayerCreate.
      DEBUG  : awplayer <LogVersionInfo:34>:
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : CedarX-2.8.0
      branch: master
      commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8
      date  : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800)
      author:
      ----------------------------------------------------------------------
      
      DEBUG : tsoundcontrol <TSoundDeviceCreate:147>: TinaSoundDeviceInit()
      DEBUG : tsoundcontrol <openSoundDevice:17>: openSoundDevice() in default style
      DEBUG  : awplayer <LayerCreate:1065>: LayerCreate.
      DEBUG  : awplayer <LayerCreate:1085>: ==== callback: 0x3fde3d6d80, pUser: 0x1f899240
      DEBUG  : awplayer <LayerCreate:1096>: screen:w 800, screen:h 480
      DEBUG : tsubtitlectrl <SubtitleCreate:84>: ==== pCallback: 0x3fde3d6bb0, pUser: 0x1f899240
      DEBUG  : awplayer <XPlayerSetVideoSurfaceTexture:636>: setVideoSurfaceTexture, surface = 0x1f8b9fe0
      DEBUG  : awplayer <XPlayerThread:1990>: process message XPLAYER_COMMAND_SET_SURFACE.
      DEBUG  : awplayer <XPlayerThread:2053>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
      DEBUG  : awplayer <PlayerSetSubCtrl:750>: === PlayerSetSubCtrl
      DEBUG  : awplayer <XPlayerSetDeinterlace:739>: set deinterlace
      DEBUG  : awplayer <XPlayerThread:2068>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
      dd: writing '/dev/fb0': No space left on device
      6001+0 records in
      6000+0 records out
      TPlayerReset begin
      WARNING: awplayer <XPlayerReset:993>: reset...
      DEBUG  : awplayer <PlayerStop:951>: ****** PlayerStop
      ERROR  : awplayer <PlayerStop:956>: invalid stop operation, player already in stopped status.
      reset the player ok.
      demoPlayer.mUrl = /mnt/exUDISK/xiaozhumei3.mp4
      dd: writing '/dev/fb0': No space left on device
      6001+0 records in
      6000+0 records out
      DEBUG  : awplayer <XPlayerSetDataSourceUrl:497>: setDataSource(url), url='/mnt/exUDISK/xiaozhumei3.mp4'
      INFO   : awplayer <XPlayerThread:1826>: process message XPLAYER_COMMAND_SET_SOURCE.
      DEBUG  : awplayer <XPlayerPrepare:789>: prepare
      DEBUG  : awplayer <XPlayerThread:2083>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1
      DEBUG  : demuxComponent <DemuxThread:1826>: process message DEMUX_COMMAND_PREPARE.
      DEBUG  : demuxComponent <DemuxThread:1893>: === prepare msg
      DEBUG  : awplayer <CdxParserPrepare:818>: source uri 'file:///mnt/exUDISK/xiaozhumei3.mp4'
      DEBUG  : awplayer <__FileStreamCreate:534>: local file 'file:///mnt/exUDISK/xiaozhumei3.mp4'
      DEBUG  : awplayer <__FileStreamConnect:392>:     *************impl->size=41892582
      DEBUG  : awplayer <__FileStreamConnect:404>: impl->filePath=fd://9?offset=0&length=41892582
      DEBUG  : awplayer <__FileStreamConnect:486>: :16:[00 00 00 1c 66 74 79 70 6d 70 34 32 00 00 00 00]
      DEBUG  : awplayer <__FileStreamGetMetaData:363>: redriect url 'file:///mnt/exUDISK/xiaozhumei3.mp4'
      INFO   : awplayer <ParserTypeGuess:672>: I think it's something about 'mov', type id(0)
      DEBUG  : CdxMovParser <__CdxMovParserProbe:1327>:  --- probe: it is mov parser
      DEBUG  : awplayer <CdxParserCreate:767>: Good, it's 'mov'
      INFO   : CdxMovParser <__CdxMovParserOpen:1232>: mov parser is not support multi-stream yet!!!
      DEBUG  : CdxMovParser <__CdxMovParserOpen:1261>: --- c->bSeekAble = 1
      DEBUG  : awplayer <CdxParserCreate:773>: parser type(0)
      DEBUG  : Mov Id3 Test <_MovParseFtyp:3732>: ---- compatible = mp42isomavc1
      DEBUG  : Mov Id3 Test <_MovParseTkhd:2189>: tkhd width = 0, height = 0
      DEBUG  : Mov Id3 Test <_MovParseMdhd:1995>: -- language = und
      DEBUG  : Mov Id3 Test <_MovParseStsz:878>: -- sample_size = 0
      DEBUG  : Mov Id3 Test <_MovParseTkhd:2189>: tkhd width = 1024, height = 576
      DEBUG  : Mov Id3 Test <_MovParseMdhd:1995>: -- language = und
      DEBUG  : Mov Id3 Test <_MovParseStsd:1386>: stsd width = 1024, height = 576
      INFO   : Mov Id3 Test <_MovParseStbl:1742>:  !!!! careful ctts atom is tested yet
      DEBUG  : Mov Id3 Test <_MovParseCtts:733>: track[1].ctts.entries = 5004
      DEBUG  : Mov Id3 Test <_MovParseStsz:878>: -- sample_size = 0
      DEBUG  : CdxMovParser <__CdxMovParserInit:1204>: ***** mov open success!!
      DEBUG  : demuxComponent <DemuxThread:1930>: --- demux->shiftedTimeUrl =
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:809>: Get mediainfo
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:897>: ********* audio 0************
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:898>: ****eCodecFormat:    4
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:899>: ****eSubCodecFormat: 0
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:900>: ****nChannelNum:     2
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:901>: ****nBitsPerSample:  16
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:902>: ****nSampleRate:     44100
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:903>: ****nAvgBitrate:     125588
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:904>: ****nMaxBitRate:     529200
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:905>: ****extradataSize    2
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:906>: ***************************
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:840>: --- codecformat = 115
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:855>: ---- frame rate = 23976, st->time_scale: 48000, st->sample_duration: 2002
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:864>: width = 1024, height = 576
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:867>: extradataSize = 52
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:951>: streamNum = 2, videoNum = 1, audioNum = 1, subtitleNum = 0
      DEBUG  : awplayer <CdxMovSetStream:408>: == stss_size: 25
      DEBUG  : awplayer <CdxMovSetStream:430>: mvhd = 311542,
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:968>: -- mov duration = 311542
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:975>: ****video_avg_bitrate:  1075000
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:1000>: --i = 0, stsd_type = 2, stream_index = 0, nb_streams = 2
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:1000>: --i = 1, stsd_type = 1, stream_index = 0, nb_streams = 2
      DEBUG  : demuxComponent <PrintMediaInfo:487>: *********PrintMediaInfo begin*********
      DEBUG  : demuxComponent <PrintMediaInfo:508>: fileSize = 41892582, bSeekable = 1, duration = 311542, audioNum = 1, videoNum = 1, subtitleNum = 0
      DEBUG  : demuxComponent <PrintMediaInfo:528>: ***Video[0]*** eCodecFormat = 0x115, nWidth = 1024, nHeight = 576, nFrameRate = 23976, nFrameDuration = 0, bIs3DStream = 0
      DEBUG  : demuxComponent <PrintMediaInfo:547>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 16, nSampleRate = 44100
      DEBUG  : demuxComponent <PrintMediaInfo:563>: *********PrintMediaInfo end*********
      DEBUG  : awplayer <initializePlayer:1522>: mVideoRotateDegree = 0
      DEBUG  : awplayer <initializePlayer:1531>: rotate degree level = 0
      DEBUG  : cedarc <CdcIniParserInit:24>: CdcIniParserInit
      DEBUG  : cedarc <CdcIniParserInit:35>: load conf file /etc/cedarc.conf ok!
      
      WARNING: cedarc <log_set_level:43>: Set log level to 3 from /vendor/etc/cedarc.conf
      DEBUG  : cedarc <checkDebugConfig:274>: bSaveStreamFlag = 0, nSaveStreamConfig = 0, fpstream = (nil), path = /data/camera/bs.dat
      DEBUG  : awplayer <VideoDecCompSetVideoStreamInfo:255>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32
      DEBUG  : ionAlloc <__GetIonMemOpsS:870>: *** get __GetIonMemOpsS ***
      DEBUG  : cedarc <LogVersionInfo:40>:
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : CedarC-v1.3.0
      branch: v13
      commit: 7cc73a1efe79610ce8e8de0a1cfa[   44.222458] VE: enable hw clock
      9adf0bcc91c4
      date  : Fri Nov 13[   44.227336] enable_cedar_hw_clk,550
       10:19:03 2020 +0800
      author: houxiaoni
      patch :
      -------------[   44.238435] VE: VE real_freq=576000000
      [   44.238435]
      ---------------------------------------------------------
      
      DEBUG  : cedarc <InitializeVideoDecoder:475>: *** pVconfig->nVeFreq = 0
      DEBUG  : ionAlloc <__GetIonMemOpsS:870>: *** get __GetIonMemOpsS ***
      DEBUG  : ionAlloc <ion_alloc_open:175>: pid: 609, g_context = 0x3fd004d900
      
      DEBUG  : cedarc <VeInitialize:1323>: *** nPhyOffset = 0x0
      DEBUG  : ionAlloc <ion_alloc_open:201>: ** ion get phy offset = 0
      DEBUG  : ionAlloc <ion_alloc_open:222>: ion alloc open ok
      DEBUG  : cedarc <DecideStreamBufferSize:2295>: nBufferSize=4194304, p->vconfig.nVbvBufferSize=0
      
      DEBUG  : cedarc <VeInitialize:1323>: *** nPhyOffset = 0x0
      DEBUG  : cedarc <VeSetSpeed:1781>: *** set ve freq to 576 Mhz ***
      DEBUG  : cedarc <VideoEngineCreate:351>: *** pEngine->nIcVeVersion = 1301000010210, decIpVersion = 13010
      DEBUG  : cedarc <VideoEngineCreate:429>: **************eCtlAfcbMode = 0
      DEBUG  : cedarc <SetAfbcParam:160>: *************SetAfbcParam  pEngine->ndecIpVersion=13010
      
      DEBUG  : cedarc <H264DecoderInit:239>:  get the nIcversion = 1301000010210, nDecIpVersion = 13010
      DEBUG  : cedarc <GetSbmInterface:1755>: *********GetSbmInterface, nType=4
      
      DEBUG  : cedarc <GetSbmInterfaceFrame:1712>: ******* sbm-type: Frame*******
      DEBUG  : cedarc <SbmFrameInit:196>: ************pSbm->sbmInterface.bUseNewVeMemoryProgram=0
      
      DEBUG  : cedarc <CdcMessageQueueCreate:51>: nMessageSize = 40
      DEBUG  : ionAlloc <__GetIonMemOpsS:870>: *** get __GetIonMemOpsS ***
      DEBUG  : ionAlloc <ion_alloc_open:162>: ion context already create, ref_count:2
      
      DEBUG  : awplayer <VideoRenderCompSetWindow:454>: video render component setting window: 0x1f8b9fe0
      DEBUG  : awplayer <handleSetWindow:375>: process MESSAGE_ID_SET_WINDOW message, p->pPicture((nil))
      DEBUG  : awplayer <__LayerResetNativeWindow:917>: LayerResetNativeWindow : (nil)
      DEBUG  : awplayer <__LayerControl:1001>: layer control cmd = 259
      DEBUG  : awplayer <VideoRenderCompSetDeinterlace:310>: video render component setting deinterlace: 0x1f8b1a60
      DEBUG  : awplayer <PlayerConfigDropDelayFrame:2013>: PlayerConfigDropDelayFrame
      
      DEBUG  : awplayer <PlayerConfigDropDelayFrame:2016>: VideoDecCompSetDropDelayFrames
      
      DEBUG  : audioDecItf <AudioDecCompCreate:206>: libadecoder.so dlopen success, to load internal symbols...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(ParserRequestBsBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(ParserUpdateBsBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(BsQueryQuality) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamDataSize) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamBufferSize) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamBufferMaxFrameNum) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(AudioPCMDataSize) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(DecRequestPcmBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(DecUpdatePcmBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(PlybkRequestPcmBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(PlybkUpdatePcmBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(PlybkRequestPcmPts) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(PcmQueryQuality) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(AudioDecoderSeek) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(InitializeAudioDecoder) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(ResetAudioDecoder) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(DecodeAudioStream) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(DestroyAudioDecoder) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(CreateAudioDecoder) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(SetRawPlayParam) link success...
      DEBUG  : audioRender <AudioRenderCompSetAudioSink:195>: audio render component setting AudioSink
      TPlayerSetDataSource() end
      DEBUG  : awplayer <XPlayerPrepareAsync:769>: prepareAsync
      DEBUG  : awplayer <XPlayerThread:2083>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 4
      INFO   : awplayer <XPlayerThread:2119>: xxxxxxxxxx video size: width = 1024, height = 576
      DEBUG : tplayer <CallbackFromXPlayer:85>: video width = 1024,height = 576
      *****tplayer:video width = 1024,height = 576
      warning: unknown callback from Tinaplayer.
      TPLAYER_NOTIFY_PREPARED,has prepared.
      preparing...
      prepare ok
      TPlayerSetHoldLastPicture()
      DEBUG  : awplayer <VideoRenderSetHoldLastPicture:580>: video render component setting hold last picture(bHold=0).
      start play
      DEBUG  : awplayer <XPlayerStart:819>: start
      DEBUG  : awplayer <__LayerCtrlHoldLastPicture:682>: LayerCtrlHoldLastPicture, bHold = 0
      DEBUG  : awplayer <__LayerCtrlHideVideo:664>: __LayerCtrlHideVideo
      DEBUG  : awplayer <XPlayerThread:2270>: process message XPLAYER_COMMAND_START.
      DEBUG  : awplayer <PlayerStart:802>: player start
      DEBUG  : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: start
      DEBUG  : cedarc <SbmFrameReset:594>: ** wait for reset sem
      DEBUG  : cedarc <ProcessThread:1637>: *** post[   44.706131] random: crng init done
       reset sem
      DEBUG  : cedarc <Sbm[   44.712101] random: 6 urandom warning(s) missed due to ratelimiting
      FrameReset:596>: ** wait for reset sem ok
      DEBUG  : cedarc <SbmFrameReset:601>: SbmFrameReset finish
      DEBUG  : cedarc <H264ProcessExtraData2:543>: H264ProcessNaluUnit, bNeedFindSPS = 0, bNeedFindPPS = 0
      DEBUG  : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: start
      (Allwinner Audio Middle Layer),line(971) : Create Decoder!!=====
      DEBUG  : audioDecItf <handleStart:1065>: Create libadecoder success...
      (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          :125588
      (AllwinnerAlibs),line(909) : nMaxBitRate          :529200
      (AllwinnerAlibs),line(910) : nFileSize            :0
      (AllwinnerAlibs),line(911) : eAudioBitstreamSource:0
      (AllwinnerAlibs),line(912) : eDataEncodeType      :0
      (AllwinnerAlibs),line(913) : nCodecSpecificDataLen:2
      (AllwinnerAlibs),line(914) : pCodecSpecificData   :0x3fd0077370
      (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
      DEBUG  : awplayer <BaseCompPostAndWait:61>: video render receive cmd: start
      DEBUG  : awplayer <handleStart:640>: video render handleStart:p->eStatus = 0
      DEBUG  : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: start
      INFO   : audioRender <handleStart:295>: audio render process start message.
      DEBUG  : audioRender <initSoundDevice:478>: init sound device.
      DEBUG  : audioRender <initSoundDevice:486>: set sound devide param, sample rate = 44100, channel num = 2.
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:193>: TinaSoundDeviceSetFormat(),sc->sound_status == 2
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:195>: TinaSoundDeviceSetFormat()
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:201>: TinaSoundDeviceSetFormat()>>>sample_rate:44100,channel_num:2,sc->bytes_per_sample:4
      WARNING: awplayer <callbackProcess:3674>: message 0x40a not handled.
      DEBUG  : demuxComponent <DemuxThread:2115>: process message DEMUX_COMMAND_START.
      started.
      DEBUG  : cedarc <AvcSbmFrameCheckBitStreamType:286>: result: bStreamWithStartCode[0], with[0], whitout[1]
      DEBUG  : cedarc <H264DecodePictureScanType:2780>: here3:hCtx->bProgressice=1
      
      DEBUG  : cedarc <VeSetEnableAfbcFlag:1787>: **** VeSetEnableAfbcFlag: 0
      DEBUG  : fbm.c <FbmCreateBuffer:149>: FbmCreate, total fbm number: 10, decoder needed: 4,  nWidth=1024, nHeight=576, nAlignStride = 32
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:409>: *** finish fbmCreateBuffer
      DEBUG  : awplayer <CallbackProcess:3171>: first audio pts = 0
      DEBUG  : awplayer <RenderGetVideoFbmBufInfo:1468>: video buffer info: nWidth[1024],nHeight[576],nBufferCount[10],ePixelFormat[5]
      DEBUG  : awplayer <RenderGetVideoFbmBufInfo:1471>: video buffer info: nAlignValue[32],bProgressiveFlag[1],bIsSoftDecoderFlag[0]
      DEBUG  : awplayer <__LayerControl:1001>: layer control cmd = 257
      DEBUG  : awplayer <__LayerControl:1003>: get the fbm buf info
      DEBUG  : awplayer <__LayerControl:1005>: fbmBufInfo->bProgressiveFlag = 1
      DEBUG  : awplayer <__LayerControl:1011>: lc->mNumHoldByLayer = 3
      DEBUG  : awplayer <__LayerSetDisplayPixelFormat:597>: Layer set expected pixel format, format = 5
      DEBUG  : awplayer <__LayerSetDisplayBufferSize:549>: __LayerSetDisplayBufferSize:width = 1024,height = 576
      DEBUG  : awplayer <__LayerSetDisplayBufferCount:890>: LayerSetBufferCount: count = 10
      DEBUG  : awplayer <__LayerControl:1001>: layer control cmd = 260
      DEBUG  : awplayer <__LayerControl:1014>: get the fbm buf info
      DEBUG  : awplayer <__LayerControl:1020>: b10BitPicFlag = 0, nLbcLossyComMod = 0, bIsLossy = 0, bRcEn = 0
      DEBUG  : awplayer <__LayerGetBufferNumHoldByGpu:905>: num hold by gpu is 3
      DEBUG  : awplayer <SetGpuBufferToDecoder:1510>: SetGpuBufferToDecoder:nNumHoldByLayer = 3,p->nGpuBufferNum = 10
      DEBUG  : awplayer <setLayerBuffer:135>: setLayerBuffer:Fmt(5),(1024 576, 0 x 0)
      DEBUG  : awplayer <setLayerBuffer:138>: Disp(1024x576)buf_cnt(10),ProFlag(0),SoftDecFlag(0)
      DEBUG  : awplayer <setLayerBuffer:323>: SunxiMemPalloc buf[0]:0x3fd5723000
      DEBUG  : awplayer <setLayerBuffer:323>: SunxiMemPalloc buf[1]:0x3fd564b000
      DEBUG  : awplayer <setLayerBuffer:323>: SunxiMemPalloc buf[2]:0x3fd5573000
      DEBUG  : awplayer <setLayerBuffer:323>: SunxiMemPalloc buf[3]:0x3fd549b000
      DEBUG  : awplayer <setLayerBuffer:323>: SunxiMemPalloc buf[4]:0x3fd53c3000
      DEBUG  : awplayer <setLayerBuffer:323>: SunxiMemPalloc buf[5]:0x3fd52eb000
      DEBUG  : awplayer <setLayerBuffer:323>: SunxiMemPalloc buf[6]:0x3fd5213000
      DEBUG  : awplayer <setLayerBuffer:323>: SunxiMemPalloc buf[7]:0x3fd513b000
      [   52.686191] ntpd invoked oom-killer: gfp_mask=0x40cc0(GFP_KERNEL|__GFP_COMP), order=0, oom_score_adj=0
      [   52.696715] CPU: 0 PID: 556 Comm: ntpd Tainted: G      D           5.4.61 #69
      [   52.705920] Call Trace:
      [   52.708680] [<ffffffe0000323ce>] walk_stackframe+0x0/0xa0
      [   52.714828] [<ffffffe0000325b0>] show_stack+0x2a/0x34
      [   52.720482] [<ffffffe00060231c>] dump_stack+0x20/0x28
      [   52.726435] [<ffffffe00008e3c8>] dump_header+0x48/0x1a4
      [   52.732274] [<ffffffe00008dc86>] oom_kill_process+0x2d8/0x2da
      [   52.739300] [<ffffffe00008e0f4>] out_of_memory+0x92/0x2c4
      [   52.745536] [<ffffffe0000b9af0>] __alloc_pages_slowpath+0x6c6/0x79a
      [   52.752726] [<ffffffe0000b9d06>] __alloc_pages_nodemask+0x142/0x174
      [   52.761020] [<ffffffe0000c3054>] new_slab+0x290/0x2e2
      [   52.766889] [<ffffffe0000c3fa4>] ___slab_alloc.isra.99.constprop.104+0x14a/0x33a
      [   52.838880] [<ffffffe0000c41aa>] __slab_alloc.isra.100.constprop.103+0x16/0x24
      [   52.847161] [<ffffffe0000c4af4>] __kmalloc+0x112/0x1ee
      [   52.852939] [<ffffffe00016be3e>] squashfs_read_data+0x66/0x3ce
      [   52.859655] [<ffffffe00016ee50>] squashfs_readpage_block+0x230/0x432
      [   52.866969] [<ffffffe00016d592>] squashfs_readpage+0x38c/0x578
      [   52.873552] [<ffffffe0000912be>] read_pages+0xc4/0xf6
      [   52.879253] [<ffffffe000091402>] __do_page_cache_readahead+0x112/0x11e
      [   52.886855] [<ffffffe00008b1ac>] filemap_fault+0x462/0x61c
      [   52.892991] [<ffffffe0000a71de>] __do_fault+0x26/0xba
      [   52.898739] [<ffffffe0000aa340>] __handle_mm_fault+0x52c/0x91a
      [   52.905441] [<ffffffe0000aa756>] handle_mm_fault+0x28/0x32
      [   52.911754] [<ffffffe00003383e>] do_page_fault+0xb8/0x2de
      [   52.917846] [<ffffffe000031018>] ret_from_exception+0x0/0xc
      [   52.924171] Mem-Info:
      [   52.926805] active_anon:1426 inactive_anon:7 isolated_anon:0
      [   52.926805]  active_file:101 inactive_file:267 isolated_file:0
      [   52.926805]  unevictable:9 dirty:0 writeback:0 unstable:0
      [   52.926805]  slab_reclaimable:794 slab_unreclaimable:2563
      [   52.926805]  mapped:62 shmem:20 pagetables:104 bounce:0
      [   52.926805]  free:1662 free_pcp:3 free_cma:812
      [   52.962726] Node 0 active_anon:5704kB inactive_anon:28kB active_file:404kB inactive_file:1068kB unevictable:36kB isolated(anon):0kB isolated(file):0kB mapped:248kB dirty:0kB writeback:0kB shmem:80kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
      [   52.987933] DMA32 free:6648kB min:896kB low:1120kB high:1344kB active_anon:5704kB inactive_anon:28kB active_file:404kB inactive_file:1068kB unevictable:36kB writepending:0kB present:63488kB managed:50604kB mlocked:36kB kernel_stack:1136kB pagetables:416kB bounce:0kB free_pcp:12kB local_pcp:12kB free_cma:3248kB
      [   53.018895] lowmem_reserve[]: 0 0 0
      [   53.022803] DMA32: 88*4kB (UME) 123*8kB (UME) 56*16kB (UMEC) 34*32kB (UEC) 2*64kB (E) 1*128kB (C) 0*256kB 0*512kB 1*1024kB (C) 1*2048kB (C) 0*4096kB = 6648kB
      [   53.038751] Free pages count per migrate typeat order:     0      1      2      3      4      5      6      7      8      9     10
      [   53.052270] zone    DMA32, type    Unmovable     50     66     45     21      0      0      0      0      0      0      0
      [   53.064859] zone    DMA32, type      Movable     30     47      2      0      0      0      0      0      0      0      0
      [   53.077425] zone    DMA32, type  Reclaimable      8     10      8     12      2      0      0      0      0      0      0
      [   53.089992] zone    DMA32, type          CMA      0      0      1      1      0      1      0      0      1      1      0
      [   53.102538] zone    DMA32, type   HighAtomic      0      0      0      0      0      0      0      0      0      0      0
      [   53.115127] zone    DMA32, type      Isolate      0      0      0      0      0      0      0      0      0      0      0
      [   53.128054] 390 total pagecache pages
      [   53.132143] 0 pages in swap cache
      [   53.135938] Swap cache stats: add 0, delete 0, find 0/0
      [   53.141798] Free swap  = 0kB
      [   53.145172] Total swap = 0kB
      [   53.148526] 15872 pages RAM
      [   53.151678] 0 pages HighMem/MovableOnly
      [   53.156032] 3221 pages reserved
      [   53.159535] 2048 pages cma reserved
      [   53.163444] Tasks state (memory values in pages):
      [   53.168959] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
      [   53.178728] [    113]     0   113      415       39    24576        0         -1000 ubusd
      [   53.188045] [    122]     0   122      675       41    28672        0             0 ash
      [   53.197202] [    123]     0   123      406       31    28672        0             0 askfirst
      [   53.206798] [    140]     0   140      659       51    28672        0             0 S99lvgldemo
      [   53.216621] [    142]     0   142     1315       95    36864        0             0 lvgl_demo
      [   53.226447] [    230]     0   230      524       48    28672        0             0 dbus-daemon
      [   53.236290] [    231]     0   231    55716       37    53248        0             0 adbd
      [   53.245534] [    478]     0   478      440       59    28672        0         -1000 netifd
      [   53.254985] [    508]     0   508     2455       32    24576        0             0 MtpDaemon
      [   53.264681] [    529]     0   529      374       23    24576        0             0 swupdate-progre
      [   53.274891] [    556]     0   556      681       67    28672        0             0 ntpd
      [   53.284168] [    568]     0   568    21387      132    45056        0             0 tt
      [   53.293121] [    609]     0   609   103460      740   126976        0             0 tplayerdemo
      [   53.302933] [    621]     0   621      425       12    20480        0             0 dropbear
      [   53.312642] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=tplayerdemo,pid=609,uid=0
      [   53.322393] Out of memory: Killed process 609 (tplayerdemo) total-vm:413840kB, anon-rss:2840kB, file-rss:84kB, shmem-rss:36kB, UID:0 pgtables:124kB oom_score_adj:0
      [   53.342482] oom_reaper: reaped process 609 (tplayerdemo), now anon-rss:0kB, file-rss:0kB, shmem-rss:36kB
      [   56.345215] VE: release lost-lock...
      [   56.413030] [DISP] disp_mgr_set_layer_config,line:1597:
      [   56.413035] NULL hdl!
      [   56.456358] [DISP] disp_lcd_pwm_disable,line:1236:
      [   56.456364] pwm device hdl is NULL
      [   56.717933] sun8iw20-pinctrl 2000000.pinctrl: pin PD17 already requested by 2031000.dmic; cannot claim for 1c0c000.lcd0
      [   56.809825] sun8iw20-pinctrl 2000000.pinctrl: pin-113 (1c0c000.lcd0) status -22
      [   56.818082] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 113 (PD17) from group PD17  on device 2000000.pinctrl
      [   56.835505] platform 1c0c000.lcd0: Error applying setting, reverse things back
      [   56.889655] [DISP] disp_sys_pin_set_state,line:395:
      [   56.889662] pinctrl_select_state(sleep) for allwinner,sunxi-lcd0 fail
      Killed
      root@TinaLinux:/#
      root@TinaLinux:/#
      root@TinaLinux:/#
      
      发布在 MR Series
      U
      ubuntu
    • 64M DDR2 的 D1s tina linux 运行 tplayerdemo 内存不足直接奔溃,求解决方案。
      root@TinaLinux:/# tplayerdemo /mnt/exUDISK/397114463-1-208.mp4
      WARNING: cedarc <log_set_level:43>: Set log level to 3 from /vendor/etc/cedarc.conf
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-0 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-1 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-2 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-3 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-4 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-5 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-6 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-7 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-8 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-9 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-10 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-11 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-12 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-13 ok.
      DEBUG  : awplayer <ReadPluginEntry:194>: read plugin entry adecoder-14 fail!
      DEBUG  : awplayer <CdxPluginLoadList:221>: have config 14 entry
      DEBUG  : awplayer <CdxPluginLoadList:222>: start to open adecoder lib
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.aac comment is "aac_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_aacdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.alac comment is "alac_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_alacdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.amr comment is "amr_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_amrdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.ape comment is "ape_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_apedec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.flac comment is "flac_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_flacdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.mp3 comment is "mp3_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_mp3dec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.ogg comment is "ogg_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_oggdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.wav comment is "wav_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_wavdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.atrc comment is "atrc_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_atrcdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.ra comment is "ra_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_radec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.sipr comment is "sipr_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_siprdec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.dsd comment is "dsd_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_dsddec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.g729 comment is "g729_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_g729dec.so
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin adecoder.opus comment is "opus_adecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_opusdec.so
      DEBUG  : awplayer <CdxPluginLoadList:202>: Load Plugin list vdecoder
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-0 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-1 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-2 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-3 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-4 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-5 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-6 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-7 ok.
      DEBUG  : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-8 ok.
      DEBUG  : awplayer <ReadPluginEntry:194>: read plugin entry vdecoder-9 fail!
      DEBUG  : awplayer <CdxPluginLoadList:221>: have config 9 entry
      DEBUG  : awplayer <CdxPluginLoadList:222>: start to open vdecoder lib
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.h264 comment is "h264_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawh264.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mjpeg comment is "mjpeg_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmjpeg.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg2 comment is "mpeg2_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg2.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4base comment is "mpeg4base_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4base.so
      WARNING: awplayer <DlOpenPlugin:112>: Invalid plugin,function CedarPluginVDInit not found.
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4dx comment is "mpeg4dx_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4dx.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4h263 comment is "mpeg4h263_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4h263.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4normal comment is "mpeg4normal_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4normal.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.wmv3 comment is "wmv3_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawwmv3.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <DlOpenPlugin:96>: plugin vdecoder.h265 comment is "h265_vdecoder"
      DEBUG  : awplayer <DlOpenPlugin:97>: plugin open lib: libawh265.so
      DEBUG  : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit
      DEBUG  : awplayer <CdxPluginLoadList:202>: Load Plugin list plugin
      DEBUG  : awplayer <ReadPluginEntry:194>: read plugin entry plugin-0 fail!
      DEBUG  : awplayer <CdxPluginLoadList:221>: have config 0 entry
      DEBUG  : awplayer <CdxPluginLoadList:222>: start to open plugin lib
      DEBUG  : awplayer <AwStreamInit:107>: aw stream init...
      DEBUG  : awplayer <AwStreamInit:150>: stream list size:8
      INFO   : awplayer <AwParserInit:441>: aw parser init...
      DEBUG  : awplayer <AwParserInit:560>: aw parser size:17
      
      ******************************************************************************************
      * This program implements a simple player, you can type commands to control the player.
      * To show what commands supported, type 'help'.
      ******************************************************************************************
      argc = 2,argv[0] = tplayerdemo,argv[1] = /mnt/exUDISK/397114463-1-208.mp4
      may be is one file:cut down suffix is:.mp4
      find the matched type:.mp4
      
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : tina3.5
      branch: tina-dev
      date  : Mon Jul 15 19:04:59 2019 +0800
      Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
      -------------------------------------------------------------------------------
      DEBUG : tplayer <TPlayerCreate:201>: TPlayerCreate[ 3040.850960] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0
      
      DEBUG  : awplayer <XPlayerCreate:237>: XPlayerCreate.
      DEBUG  : awplayer <LogVersionInfo:34>:
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : CedarX-2.8.0
      branch: master
      commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8
      date  : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800)
      author:
      ----------------------------------------------------------------------
      
      DEBUG : tsoundcontrol <TSoundDeviceCreate:147>: TinaSoundDeviceInit()
      DEBUG : tsoundcontrol <openSoundDevice:17>: openSoundDevice() in default style
      DEBUG  : awplayer <LayerCreate:1065>: LayerCreate.
      DEBUG  : awplayer <LayerCreate:1085>: ==== callback: 0x3fdcae4d80, pUser: 0xe463240
      DEBUG  : awplayer <LayerCreate:1096>: screen:w 800, screen:h 480
      DEBUG : tsubtitlectrl <SubtitleCreate:84>: ==== pCallback: 0x3fdcae4bb0, pUser: 0xe463240
      DEBUG  : awplayer <XPlayerSetVideoSurfaceTexture:636>: setVideoSurfaceTexture, surface = 0xe484000
      DEBUG  : awplayer <XPlayerThread:1990>: process message XPLAYER_COMMAND_SET_SURFACE.
      DEBUG  : awplayer <XPlayerThread:2053>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
      DEBUG  : awplayer <PlayerSetSubCtrl:750>: === PlayerSetSubCtrl
      DEBUG  : awplayer <XPlayerSetDeinterlace:739>: set deinterlace
      DEBUG  : awplayer <XPlayerThread:2068>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
      [ 3041.172676] disp_al_manager_apply ouput_type:0
      [ 3041.178040] [DISP] lcd_clk_config,line:731:
      [ 3041.178054] disp 0, clk: pll(198000000),clk(198000000),dclk(33000000) dsi_rate(198000000)
      [ 3041.178054]      clk real:pll(288000000),clk(288000000),dclk(48000000) dsi_rate(0)
      [ 3041.200518] [DISP] disp_sys_pwm_request,line:442:
      [ 3041.200525] disp_sys_pwm_request pwm 8 fail! -517
      [ 3041.211092] [DISP] disp_sys_pwm_config,line:509:
      [ 3041.211097] disp_sys_pwm_Config, handle is NULL!
      [ 3041.221555] [DISP] disp_sys_pwm_set_polarity,line:528:
      [ 3041.221560] disp_sys_pwm_Set_Polarity, handle is NULL!
      [ 3041.233433] sun8iw20-pinctrl 2000000.pinctrl: pin PD17 already requested by 2031000.dmic; cannot claim for 1c0c000.lcd0
      [ 3041.245671] sun8iw20-pinctrl 2000000.pinctrl: pin-113 (1c0c000.lcd0) status -22
      [ 3041.253903] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 113 (PD17) from group PD17  on device 2000000.pinctrl
      [ 3041.266199] platform 1c0c000.lcd0: Error applying setting, reverse things back
      [ 3041.274424] [DISP] disp_sys_pin_set_state,line:395:
      [ 3041.274430] pinctrl_select_state(active) for allwinner,sunxi-lcd0 fail
      [ 3041.494335] [DISP] disp_sys_pwm_request,line:442:
      [ 3041.494342] disp_sys_pwm_request pwm 8 fail! -517
      [ 3041.504990] [DISP] disp_lcd_pwm_enable,line:1205:
      [ 3041.504996] pwm device hdl is NULL
      [ 3041.514165] [DISP] disp_sys_gpio_request,line:276:
      [ 3041.514174] disp_sys_gpio_request failed, gpio_name=lcd_bl_en, gpio=123, value=0, ret=-517
      dd: writing '/dev/fb0': No space left on device
      6001+0 records in
      6000+0 records out
      TPlayerReset begin
      WARNING: awplayer <XPlayerReset:993>: reset...
      DEBUG  : awplayer <PlayerStop:951>: ****** PlayerStop
      ERROR  : awplayer <PlayerStop:956>: invalid stop operation, player already in stopped status.
      reset the player ok.
      demoPlayer.mUrl = /mnt/exUDISK/397114463-1-208.mp4
      dd: writing '/dev/fb0': No space left on device
      6001+0 records in
      6000+0 records out
      DEBUG  : awplayer <XPlayerSetDataSourceUrl:497>: setDataSource(url), url='/mnt/exUDISK/397114463-1-208.mp4'
      INFO   : awplayer <XPlayerThread:1826>: process message XPLAYER_COMMAND_SET_SOURCE.
      DEBUG  : awplayer <XPlayerPrepare:789>: prepare
      DEBUG  : awplayer <XPlayerThread:2083>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1
      DEBUG  : demuxComponent <DemuxThread:1826>: process message DEMUX_COMMAND_PREPARE.
      DEBUG  : demuxComponent <DemuxThread:1893>: === prepare msg
      DEBUG  : awplayer <CdxParserPrepare:818>: source uri 'file:///mnt/exUDISK/397114463-1-208.mp4'
      DEBUG  : awplayer <__FileStreamCreate:534>: local file 'file:///mnt/exUDISK/397114463-1-208.mp4'
      DEBUG  : awplayer <__FileStreamConnect:392>:     *************impl->size=212332712
      DEBUG  : awplayer <__FileStreamConnect:404>: impl->filePath=fd://9?offset=0&length=212332712
      DEBUG  : awplayer <__FileStreamConnect:486>: :16:[00 00 00 20 66 74 79 70 69 73 6f 6d 00 00 02 00]
      DEBUG  : awplayer <__FileStreamGetMetaData:363>: redriect url 'file:///mnt/exUDISK/397114463-1-208.mp4'
      INFO   : awplayer <ParserTypeGuess:672>: I think it's something about 'mov', type id(0)
      DEBUG  : CdxMovParser <__CdxMovParserProbe:1327>:  --- probe: it is mov parser
      DEBUG  : awplayer <CdxParserCreate:767>: Good, it's 'mov'
      INFO   : CdxMovParser <__CdxMovParserOpen:1232>: mov parser is not support multi-stream yet!!!
      DEBUG  : CdxMovParser <__CdxMovParserOpen:1261>: --- c->bSeekAble = 1
      DEBUG  : awplayer <CdxParserCreate:773>: parser type(0)
      DEBUG  : Mov Id3 Test <_MovParseFtyp:3732>: ---- compatible = isomiso2avc1mp41
      DEBUG  : Mov Id3 Test <_MovParseTkhd:2189>: tkhd width = 1920, height = 1080
      DEBUG  : Mov Id3 Test <_MovParseMdhd:1995>: -- language = und
      DEBUG  : Mov Id3 Test <_MovParseStsd:1386>: stsd width = 1920, height = 1080
      INFO   : Mov Id3 Test <_MovParseStbl:1742>:  !!!! careful ctts atom is tested yet
      DEBUG  : Mov Id3 Test <_MovParseCtts:733>: track[0].ctts.entries = 30326
      DEBUG  : Mov Id3 Test <_MovParseStsz:878>: -- sample_size = 0
      DEBUG  : Mov Id3 Test <_MovParseTkhd:2189>: tkhd width = 0, height = 0
      DEBUG  : Mov Id3 Test <_MovParseMdhd:1995>: -- language = und
      DEBUG  : Mov Id3 Test <_MovParseStsz:878>: -- sample_size = 0
      DEBUG  : CdxMovParser <__CdxMovParserInit:1204>: ***** mov open success!!
      DEBUG  : demuxComponent <DemuxThread:1930>: --- demux->shiftedTimeUrl =
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:809>: Get mediainfo
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:840>: --- codecformat = 115
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:855>: ---- frame rate = 30303, st->time_scale: 16000, st->sample_duration: 528
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:864>: width = 1920, height = 1080
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:867>: extradataSize = 46
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:897>: ********* audio 0************
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:898>: ****eCodecFormat:    4
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:899>: ****eSubCodecFormat: 0
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:900>: ****nChannelNum:     2
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:901>: ****nBitsPerSample:  16
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:902>: ****nSampleRate:     44100
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:903>: ****nAvgBitrate:     140596
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:904>: ****nMaxBitRate:     141277
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:905>: ****extradataSize    2
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:906>: ***************************
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:951>: streamNum = 2, videoNum = 1, audioNum = 1, subtitleNum = 0
      DEBUG  : awplayer <CdxMovSetStream:408>: == stss_size: 209
      DEBUG  : awplayer <CdxMovSetStream:430>: mvhd = 1035378,
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:968>: -- mov duration = 1035378
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:975>: ****video_avg_bitrate:  1640000
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:1000>: --i = 0, stsd_type = 1, stream_index = 0, nb_streams = 2
      DEBUG  : CdxMovParser <__CdxMovParserGetMediaInfo:1000>: --i = 1, stsd_type = 2, stream_index = 0, nb_streams = 2
      DEBUG  : demuxComponent <PrintMediaInfo:487>: *********PrintMediaInfo begin*********
      DEBUG  : demuxComponent <PrintMediaInfo:508>: fileSize = 212332712, bSeekable = 1, duration = 1035378, audioNum = 1, videoNum = 1, subtitleNum = 0
      DEBUG  : demuxComponent <PrintMediaInfo:528>: ***Video[0]*** eCodecFormat = 0x115, nWidth = 1920, nHeight = 1080, nFrameRate = 30303, nFrameDuration = 0, bIs3DStream = 0
      DEBUG  : demuxComponent <PrintMediaInfo:547>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 16, nSampleRate = 44100
      DEBUG  : demuxComponent <PrintMediaInfo:563>: *********PrintMediaInfo end*********
      DEBUG  : awplayer <initializePlayer:1522>: mVideoRotateDegree = 0
      DEBUG  : awplayer <initializePlayer:1531>: rotate degree level = 0
      DEBUG  : cedarc <CdcIniParserInit:24>: CdcIniParserInit
      DEBUG  : cedarc <CdcIniParserInit:35>: load conf file /etc/cedarc.conf ok!
      
      WARNING: cedarc <log_set_level:43>: Set log level to 3 from /vendor/etc/cedarc.conf
      DEBUG  : cedarc <checkDebugConfig:274>: bSaveStreamFlag = 0, nSaveStreamConfig = 0, fpstream = (nil), path = /data/camera/bs.dat
      DEBUG  : awplayer <VideoDecCompSetVideoStreamInfo:255>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32
      DEBUG  : ionAlloc <__GetIonMem[ 3042.143378] VE: VE real_freq=576000000
      [ 3042.143378]
      OpsS:870>: *** get __GetIonMemOpsS ***
      DEBUG  : cedarc <LogVersionInfo:40>:
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
      tag   : CedarC-v1.3.0
      branch: v13
      commit: 7cc73a1efe79610ce8e8de0a1cfa9adf0bcc91c4
      date  : Fri Nov 13 10:19:03 2020 +0800
      author: houxiaoni
      patch :
      ----------------------------------------------------------------------
      
      DEBUG  : cedarc <InitializeVideoDecoder:475>: *** pVconfig->nVeFreq = 0
      DEBUG  : ionAlloc <__GetIonMemOpsS:870>: *** get __GetIonMemOpsS ***
      DEBUG  : ionAlloc <ion_alloc_open:175>: pid: 794, g_context = 0x3fcc023dc0
      
      DEBUG  : cedarc <VeInitialize:1323>: *** nPhyOffset = 0x0
      DEBUG  : ionAlloc <ion_alloc_open:201>: ** ion get phy offset = 0
      DEBUG  : ionAlloc <ion_alloc_open:222>: ion alloc open ok
      DEBUG  : cedarc <DecideStreamBufferSize:2295>: nBufferSize=8388608, p->vconfig.nVbvBufferSize=0
      
      DEBUG  : cedarc <VeInitialize:1323>: *** nPhyOffset = 0x0
      DEBUG  : cedarc <VeSetSpeed:1781>: *** set ve freq to 576 Mhz ***
      DEBUG  : cedarc <VideoEngineCreate:351>: *** pEngine->nIcVeVersion = 1301000010210, decIpVersion = 13010
      DEBUG  : cedarc <VideoEngineCreate:429>: **************eCtlAfcbMode = 0
      DEBUG  : cedarc <SetAfbcParam:160>: *************SetAfbcParam  pEngine->ndecIpVersion=13010
      
      DEBUG  : cedarc <H264DecoderInit:239>:  get the nIcversion = 1301000010210, nDecIpVersion = 13010
      DEBUG  : cedarc <GetSbmInterface:1755>: *********GetSbmInterface, nType=4
      
      DEBUG  : cedarc <GetSbmInterfaceFrame:1712>: ******* sbm-type: Frame*******
      DEBUG  : cedarc <SbmFrameInit:196>: ************pSbm->sbmInterface.bUseNewVeMemoryProgram=0
      
      DEBUG  : cedarc <CdcMessageQueueCreate:51>: nMessageSize = 40
      DEBUG  : ionAlloc <__GetIonMemOpsS:870>: *** get __GetIonMemOpsS ***
      DEBUG  : ionAlloc <ion_alloc_open:162>: ion context already create, ref_count:2
      
      DEBUG  : awplayer <VideoRenderCompSetWindow:454>: video render component setting window: 0xe484000
      DEBUG  : awplayer <handleSetWindow:375>: process MESSAGE_ID_SET_WINDOW message, p->pPicture((nil))
      DEBUG  : awplayer <__LayerResetNativeWindow:917>: LayerResetNativeWindow : (nil)
      DEBUG  : awplayer <__LayerControl:1001>: layer control cmd = 259
      DEBUG  : awplayer <VideoRenderCompSetDeinterlace:310>: video render component setting deinterlace: 0xe47ba60
      DEBUG  : awplayer <PlayerConfigDropDelayFrame:2013>: PlayerConfigDropDelayFrame
      
      DEBUG  : awplayer <PlayerConfigDropDelayFrame:2016>: VideoDecCompSetDropDelayFrames
      
      DEBUG  : audioDecItf <AudioDecCompCreate:206>: libadecoder.so dlopen success, to load internal symbols...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(ParserRequestBsBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(ParserUpdateBsBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(BsQueryQuality) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamDataSize) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamBufferSize) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamBufferMaxFrameNum) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(AudioPCMDataSize) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(DecRequestPcmBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(DecUpdatePcmBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(PlybkRequestPcmBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(PlybkUpdatePcmBuffer) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(PlybkRequestPcmPts) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(PcmQueryQuality) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(AudioDecoderSeek) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(InitializeAudioDecoder) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(ResetAudioDecoder) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(DecodeAudioStream) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(DestroyAudioDecoder) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(CreateAudioDecoder) link success...
      DEBUG  : audioDecItf <AudioDecCompCreate:221>: func(SetRawPlayParam) link success...
      DEBUG  : audioRender <AudioRenderCompSetAudioSink:195>: audio render component setting AudioSink
      TPlayerSetDataSource() end
      DEBUG  : awplayer <XPlayerPrepareAsync:769>: prepareAsync
      DEBUG  : awplayer <XPlayerThread:2083>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 4
      INFO   : awplayer <XPlayerThread:2119>: xxxxxxxxxx video size: width = 1920, height = 1080
      DEBUG : tplayer <CallbackFromXPlayer:85>: video width = 1920,height = 1080
      *****tplayer:video width = 1920,height = 1080
      warning: unknown callback from Tinaplayer.
      TPLAYER_NOTIFY_PREPARED,has prepared.
      preparing...
      prepare ok
      TPlayerSetHoldLastPicture()
      DEBUG  : awplayer <VideoRenderSetHoldLastPicture:580>: video render component setting hold last picture(bHold=0).
      start play
      DEBUG  : awplayer <XPlayerStart:819>: start
      DEBUG  : awplayer <__LayerCtrlHoldLastPicture:682>: LayerCtrlHoldLastPicture, bHold = 0
      DEBUG  : awplayer <__LayerCtrlHideVideo:664>: __LayerCtrlHideVideo
      DEBUG  : awplayer <XPlayerThread:2270>: process message XPLAYER_COMMAND_START.
      DEBUG  : awplayer <PlayerStart:802>: player start
      DEBUG  : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: start
      DEBUG  : cedarc <SbmFrameReset:594>: ** wait for reset sem
      DEBUG  : cedarc <ProcessThread:1637>: *** post reset sem
      DEBUG  : cedarc <SbmFrameReset:596>: ** wait for reset sem ok
      DEBUG  : cedarc <SbmFrameReset:601>: SbmFrameReset finish
      DEBUG  : cedarc <H264ProcessExtraData2:543>: H264ProcessNaluUnit, bNeedFindSPS = 0, bNeedFindPPS = 0
      DEBUG  : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: start
      (Allwinner Audio Middle Layer),line(971) : Create Decoder!!=====
      DEBUG  : audioDecItf <handleStart:1065>: Create libadecoder success...
      (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          :140596
      (AllwinnerAlibs),line(909) : nMaxBitRate          :141277
      (AllwinnerAlibs),line(910) : nFileSize            :0
      (AllwinnerAlibs),line(911) : eAudioBitstreamSource:0
      (AllwinnerAlibs),line(912) : eDataEncodeType      :0
      (AllwinnerAlibs),line(913) : nCodecSpecificDataLen:2
      (AllwinnerAlibs),line(914) : pCodecSpecificData   :0x3fcc04d830
      (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
      DEBUG  : awplayer <BaseCompPostAndWait:61>: video render receive cmd: start
      DEBUG  : awplayer <handleStart:640>: video render handleStart:p->eStatus = 0
      DEBUG  : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: start
      INFO   : audioRender <handleStart:295>: audio render process start message.
      DEBUG  : audioRender <initSoundDevice:478>: init sound device.
      DEBUG  : audioRender <initSoundDevice:486>: set sound devide param, sample rate = 44100, channel num = 2.
      DEBUG  : demuxComponent <DemuxThread:2115>: process message DEMUX_COMMAND_START.
      started.
      DEBUG  : cedarc <AvcSbmFrameCheckBitStreamType:286>: result: bStreamWithStartCode[0], with[0], whitout[1]
      DEBUG  : cedarc <H264DecodePictureScanType:2780>: here3:hCtx->bProgressice=1
      
      DEBUG  : cedarc <VeSetEnableAfbcFlag:1787>: **** VeSetEnableAfbcFlag: 0
      DEBUG  : fbm.c <FbmCreateBuffer:149>: FbmCreate, total fbm number: 13, decoder needed: 7,  nWidth=1920, nHeight=1088, nAlignStride = 32
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:193>: TinaSoundDeviceSetFormat(),sc->sound_status == 2
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:195>: TinaSoundDeviceSetFormat()
      DEBUG : tsoundcontrol <TSoundDeviceSetFormat:201>: TinaSoundDeviceSetFormat()>>>sample_rate:44100,channel_num:2,sc->bytes_per_sample:4
      WARNING: awplayer <callbackProcess:3674>: message 0x40a not handled.
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuf[ 3043.135739] tplayerdemo invoked oom-killer: gfp_mask=0x142dc2(GFP_HIGHUSER|__GFP_NOWARN|__GFP_COMP|__GFP_ZERO), order=0, oom_score_adj=0
      fer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:310>: *** calcute nLower2BitBufOffset = 0(0.00), stride = 0
      DEBUG  : fbm.c <FbmCreateBuffer:409>: *** finish fbmCreateBuffer
      DEBUG  : awplayer <RenderGetVideoFbmBufInfo:1468>: video buffer info: nWidth[1920],nHeight[1088],nBufferCount[13],ePixelFormat[5]
      DEBUG  : awplayer <RenderGetVideoFbmBufInfo:1471>: video buffer info: nAlignValue[32],bProgressiveFlag[1],bIsSoftDecoderFlag[0]
      DEBUG  : awplayer <__LayerControl:1001>: layer control cmd = 257
      DEBUG  : awplayer <__LayerControl:1003>: get the fbm buf info
      DEBUG  : awplayer <__LayerControl:1005>: fbmBufInfo->bProgressiveFlag = 1
      DEBUG  : awplayer <__LayerControl:1011>: lc->mNumHoldByLayer = 3
      DEBUG  : awplayer <__LayerSetDisplayPixelFormat:597>: Layer set expected pixel format, format = 5
      DEBUG  : awplayer <__LayerSetDisplayBufferSize:549>: __LayerSetDisplayBufferSize:width = 1920,height = 1088
      DEBUG  : awplayer <__LayerSetDisplayBufferCount:890>: LayerSetBufferCount: count = 13
      DEBUG  : awplayer <__LayerControl:1001>: layer control cmd = 260
      DEBUG  : awplayer <__LayerControl:1014>: get the fbm buf info
      DEBUG  : awplayer <__LayerControl:1020>: b10BitPicFlag = 0, nLbcLossyComMod = 0, bIsLossy = 0, bRcEn = 0
      DEBUG  : awplayer <__LayerGetBufferNumHoldByGpu:905>: num hold by gpu is 3
      DEBUG  : awplayer <SetGpuBufferToDecoder:1510>: SetGpuBufferToDecoder:nNumHoldByLayer = 3,p->nGpuBufferNum = 13
      DEBUG  : awplayer <setLayerBuffer:135>: setLayerBuffer:Fmt(5),(1920 1088, 0 x 0)
      DEBUG  : awplayer <setLayerBuffer:138>: Disp(1920x1088)buf_cnt(13),ProFlag(0),SoftDecFlag(0)
      [ 3043.317816] CPU: 0 PID: 803 Comm: tplayerdemo Tainted: G      D           5.4.61 #69
      [ 3043.519007] Call Trace:
      [ 3043.521806] [<ffffffe0000323ce>] walk_stackframe+0x0/0xa0
      [ 3043.607472] [<ffffffe0000325b0>] show_stack+0x2a/0x34
      [ 3043.703831] [<ffffffe00060231c>] dump_stack+0x20/0x28
      [ 3043.709551] [<ffffffe00008e3c8>] dump_header+0x48/0x1a4
      [ 3043.715694] [<ffffffe00008dc86>] oom_kill_process+0x2d8/0x2da
      [ 3043.722115] [<ffffffe00008e0f4>] out_of_memory+0x92/0x2c4
      [ 3043.729264] [<ffffffe0000b9af0>] __alloc_pages_slowpath+0x6c6/0x79a
      [ 3043.741911] [<ffffffe0000b9d06>] __alloc_pages_nodemask+0x142/0x174
      [ 3043.803775] [<ffffffe00043eeb2>] ion_page_pool_alloc+0x58/0xa0
      [ 3043.810514] [<ffffffe00043ea5e>] ion_system_heap_allocate+0xfe/0x1fc
      [ 3043.819546] [<ffffffe00043d648>] ion_buffer_alloc+0x17e/0x23a
      [ 3043.882092] [<ffffffe00043df5c>] ion_dmabuf_alloc+0x3c/0x92
      [ 3043.997343] [<ffffffe00043d152>] ion_ioctl+0xa2/0x238
      [ 3044.002998] [<ffffffe0000da69c>] do_vfs_ioctl+0x78/0x52c
      [ 3044.011873] [<ffffffe0000dab84>] ksys_ioctl+0x34/0x5c
      [ 3044.101612] [<ffffffe0000dabbc>] sys_ioctl+0x10/0x18
      [ 3044.112194] [<ffffffe00003100a>] ret_from_syscall+0x0/0xe
      [ 3044.118449] Mem-Info:
      [ 3044.195794] active_anon:1347 inactive_anon:6 isolated_anon:0
      [ 3044.195794]  active_file:151 inactive_file:292 isolated_file:0
      [ 3044.195794]  unevictable:9 dirty:0 writeback:0 unstable:0
      [ 3044.195794]  slab_reclaimable:780 slab_unreclaimable:2535
      [ 3044.195794]  mapped:131 shmem:19 pagetables:74 bounce:0
      [ 3044.195794]  free:1441 free_pcp:5 free_cma:803
      [ 3044.382679] Node 0 active_anon:5388kB inactive_anon:24kB active_file:712kB inactive_file:1056kB unevictable:36kB isolated(anon):0kB isolated(file):0kB mapped:512kB dirty:0kB writeback:0kB shmem:76kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
      [ 3044.523866] DMA32 free:5860kB min:896kB low:1120kB high:1344kB active_anon:5388kB inactive_anon:24kB active_file:664kB inactive_file:824kB unevictable:36kB writepending:0kB present:63488kB managed:50604kB mlocked:36kB kernel_stack:976kB pagetables:296kB bounce:0kB free_pcp:20kB local_pcp:20kB free_cma:3212kB
      [ 3044.556778] lowmem_reserve[]: 0 0 0
      [ 3044.631475] DMA32: 101*4kB (UMEC) 79*8kB (UMEC) 33*16kB (UME) 35*32kB (UM) 0*64kB 1*128kB (C) 0*256kB 0*512kB 1*1024kB (C) 1*2048kB (C) 0*4096kB = 5884kB
      [ 3044.650034] Free pages count per migrate typeat order:     0      1      2      3      4      5      6      7      8      9     10
      [ 3044.721705] zone    DMA32, type    Unmovable    108     64     17     34      0      0      0      0      0      0      0
      [ 3044.854910] zone    DMA32, type      Movable      2      3      4      0      0      0      0      0      0      0      0
      [ 3044.867433] zone    DMA32, type  Reclaimable      0      5      2      0      0      0      0      0      0      0      0
      [ 3044.880084] zone    DMA32, type          CMA      0      1      0      0      0      1      0      0      1      1      0
      [ 3044.896322] zone    DMA32, type   HighAtomic      0      0      0      0      0      0      0      0      0      0      0
      [ 3044.945723] zone    DMA32, type      Isolate      0      0      0      0      0      0      0      0      0      0      0
      [ 3045.068062] 471 total pagecache pages
      [ 3045.072152] 0 pages in swap cache
      [ 3045.084369] Swap cache stats: add 0, delete 0, find 0/0
      [ 3045.094351] Free swap  = 0kB
      [ 3045.097567] Total swap = 0kB
      [ 3045.100810] 15872 pages RAM
      [ 3045.103921] 0 pages HighMem/MovableOnly
      [ 3045.124547] 3221 pages reserved
      [ 3045.128053] 2048 pages cma reserved
      [ 3045.144367] Tasks state (memory values in pages):
      [ 3045.149658] [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
      [ 3045.194385] [    112]     0   112      415       41    24576        0         -1000 ubusd
      [ 3045.203517] [    125]     0   125      675       44    28672        0             0 ash
      [ 3045.280842] [    126]     0   126      406       31    32768        0             0 askfirst
      [ 3045.345826] [    273]     0   273    55716       37    53248        0             0 adbd
      [ 3045.355073] [    693]     0   693    21387      132    40960        0             0 tt
      [ 3045.363909] [    787]     0   787      681       36    28672        0             0 ntpd
      [ 3045.373172] [    789]     0   789      440      126    28672        0         -1000 netifd
      [ 3045.473397] [    794]     0   794    87280     1090   122880        0             0 tplayerdemo
      [ 3045.483582] oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=tplayerdemo,pid=794,uid=0
      [ 3045.605400] Out of memory: Killed process 794 (tplayerdemo) total-vm:349120kB, anon-rss:3976kB, file-rss:92kB, shmem-rss:36kB, UID:0 pgtables:120kB oom_score_adj:0
      [ 3045.725713] oom_reaper: reaped process 794 (tplayerdemo), now anon-rss:0kB, file-rss:0kB, shmem-rss:36kB
      [ 3045.810262] [DISP] disp_mgr_set_layer_config,line:1597:
      [ 3045.810268] NULL hdl!
      [ 3045.875142] [DISP] disp_lcd_pwm_disable,line:1236:
      [ 3045.875149] pwm device hdl is NULL
      [ 3046.174708] sun8iw20-pinctrl 2000000.pinctrl: pin PD17 already requested by 2031000.dmic; cannot claim for 1c0c000.lcd0
      [ 3046.250664] sun8iw20-pinctrl 2000000.pinctrl: pin-113 (1c0c000.lcd0) status -22
      [ 3046.259301] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 113 (PD17) from group PD17  on device 2000000.pinctrl
      [ 3046.272849] platform 1c0c000.lcd0: Error applying setting, reverse things back
      [ 3046.281389] [DISP] disp_sys_pin_set_state,line:395:
      [ 3046.281396] pinctrl_select_state(sleep) for allwinner,sunxi-lcd0 fail
      Killed
      root@TinaLinux:/# lv
      

      同样是 64M DDR的 F1C200s 跑 tplayerdemo 是 OK的,所以感觉还是配置的问题。

      发布在 MR Series
      U
      ubuntu
    • 回复: 请问D1哪吒开发板能点亮诺基亚mipi dsi 1-lane 显示屏吗?

      2eff262a1014f408f38df74095e10af.jpg

      94106fb58034709ec1d91c2ae1ae201.jpg

      尴尬了,淘宝买的这个座子偏小,插进去松松垮垮的。

      发布在 MR Series
      U
      ubuntu
    • 回复: 请问D1哪吒开发板能点亮诺基亚mipi dsi 1-lane 显示屏吗?

      aa7123ddc2d2e8ca58a90308d6a93e9.png

      fbccd5227d496254c68681faff4fb2a.png

      我朋友画的哪吒转接板,

      介个朋友不系我寄己。

      发布在 MR Series
      U
      ubuntu
    • 回复: 请问D1哪吒开发板能点亮诺基亚mipi dsi 1-lane 显示屏吗?

      板上的座子是: BM10B(0.6)-20DP-0.4V

      淘宝有卖:https://s.taobao.com/search?q=BM10B(0.6)-20DP-0.4V

      OLED手册: Nokia N808 4 inch AMOLED.pdf

      诺基亚N8手机原理图: Nokia-N8.pdf

      驱动芯片手册: DMIF-L99GP-C130.pdf

      发布在 MR Series
      U
      ubuntu
    • 回复: D1 开发板使用 XR829 mesh fw 出现 code(56) 错误,如何解决
      root@TinaLinux:/# hciconfig -a hci0 up
      [11722.896887] Bluetooth: hci0: command 0x1003 tx timeout
      [11724.976898] Bluetooth: hci0: command 0x1001 tx timeout
      [11727.056913] Bluetooth: hci0: command 0x1009 tx timeout
      Can't init device hci0: Connection timed out (110)
      

      测试了一下,发现旧的固件不行。

      发布在 MR Series
      U
      ubuntu
    • 回复: 【模块第二弹】在哪吒D1上用IIC驱动OLED屏幕,实现系统资源监视器

      @bedrock 也没啥问题,因为大家都是这么做,一般还是要做成 framebuffer驱动比较通用一点。

      发布在 MR Series
      U
      ubuntu
    • 回复: 【模块第二弹】在哪吒D1上用IIC驱动OLED屏幕,实现系统资源监视器

      在应用层 写屏?

      发布在 MR Series
      U
      ubuntu
    • 请问tina 生成的 tina_d1-nezha_uart0.img 烧录文件格式是什么样的?我可以解包吗?里面各个文件的位置是如何定义的?我如何加一个自定义文件?

      请问tina 生成的 tina_d1-nezha_uart0.img 烧录文件格式是什么样的?我可以解包吗?里面各个文件的位置是如何定义的?我如何加一个自定义文件?

      发布在 MR Series
      U
      ubuntu
    • 回复: 使用D1-H驱动树莓派DSI屏幕

      ac311efc-0193-4bb3-8d7f-e4ec3c26e80e-image.png

      不错噢,LVGL快速滑动的时候,CPU占用率35%,保持33FPS。

      发布在 MR Series
      U
      ubuntu
    • 回复: 哪吒D1开发板小白请教如何安装repo和wget和ssh等

      @liangquanyi 在 哪吒D1开发板小白请教如何安装repo和wget和ssh等 中说:

      求解,顶一下,谢谢各位

      opkg 安装要有对应的risc-v软件源吧?

      可以 make menuconfig 勾选 wget,重新编译烧录, 这样就有 wget命令可用。

      发布在 MR Series
      U
      ubuntu
    • 回复: gst-omx编译报错

      我测试过,默认的编译确实就是这个错误。

      试一试 patch

      47610205-de0c-4b30-b3b3-c7f6321bfd63-image.png

      e65ab3cc-f85a-4819-8a81-231e2d2dd414-image.png

      D1_open_tina_multimedia_update_0730.tar.gz
      Tina_支持gstreamer,更新多媒体中间件:
      1、Tina升级gstreamer主包及其各插件包到1.16.3版本,支持RV架构;
      2、gstreamer显示插件sunxifbsink支持g2d硬件旋转;
      3、更新多媒体中间件。

      2021-07-30 20:50:38
      44.222MB

      这里直接下载吧: D1_open_tina_multimedia_update_0730.tar.gz

      发布在 MR Series
      U
      ubuntu
    • 回复: USB烧录驱动安装后,在设备管理器里是黄色三角感叹号

      https://answers.microsoft.com/zh-hans/windows/forum/all/该设备无法/3f646c44-2414-4a69-a982-b971c6508ae3

      建议先换台电脑试一试。

      发布在 代码下载问题专区
      U
      ubuntu
    • 回复: 请问这个懒人创意发牌器是纯机械的, 还是电子+机械的?

      需要一个D1识别,AI出老千的功能。

      发布在 灌水区
      U
      ubuntu
    • 回复: (分享) D1 / D1s 的 DXP/AD 封装

      a51d09e3-f475-4801-a255-be7e090714c7-image.png

      7877325b-7627-4fd9-9e11-c72d9e03368a-image.png

      a4e5522c-126e-49e6-b7d4-53f0924b71a5-image.png

      外设很全啊, 要是价格有竞争力一定能大火。

      2.2.11 Package
       eLQFP128, 14 mm x 14 mm x 1.4 mm
      

      和V3s一样的封装。

      发布在 MR Series
      U
      ubuntu
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @haoxuan-cui 默认没这么大, 我的166M

      $ ls output/images/*.img -l
      -rw-r--r-- 1 cube cube 166986240 Aug 14 17:11 output/images/sdcard.img
      
      发布在 MR Series
      U
      ubuntu
    • 回复: 【极简操作】使用builroot 2021一键编译生成D1 nezha 系统镜像!

      @haoxuan-cui 理论上没有问题, 照着韦老师的思路, 小修改一下

      发布在 MR Series
      U
      ubuntu
    • 回复: D 1开发板 如何使用蓝牙键盘/鼠标

      刚刚测试了一下a2dp source 连小米蓝牙音箱, 正常.

      复制测试音频文件:

      C:\>"C:\Program Files (x86)\AllWinnerTech\PhoenixSuit\adb.exe" push 44100-stereo-s16_le-10s.wav /tmp/
      * daemon not running. starting it now on port 5037 *
      * daemon started successfully *
      5174 KB/s (1764044 bytes in 0.332s)
      

      蓝牙播放正常:

      # bt_test -i -p a2dp-source
      1253.322907: [bt_manager_enable:400]:  bt manager version:Version:3.0.1.202101231450,builed time:Mar 24 2021-06:37:15
      1253.323209: [bt_test_status_cb:71]:  bt is turnning on.
      hcidump_xr start
      Bluetooth init has been completed!!
      /usr/bin/hcidump_xr: line 1: syntax error: unexpected word (expecting ")")
      1253.835079: [bt_profile_global_init:356]:  start bluealsa :1 times
      1253.870094: [bt_test_dev_add_cb:104]:  address:E8:07:BF:1C:43:74,name:NDZ-03-GA,class:2360324,icon:audio-card,address type:public,rssi:0
      [ 1183.426017] debugfs: File 'le_min_key_size' in directory 'hci0' already present!
      [ 1183.434453] debugfs: File 'le_max_key_size' in directory 'hci0' already present!
      [ 1183.442885] debugfs: File 'force_bredr_smp' in directory 'hci0' already present!
      1254.432072: [bt_test_adapter_power_state_cb:41]:  Turn on bt successfully
      1254.836491: [bt_test_status_cb:61]:  BT is ON
      [bt]#connect E8:07:BF:1C:43:74
      1266.516883: [bt_test_a2dp_source_connection_state_cb:285]:  A2DP source connecting with device: E8:07:BF:1C:43:74
      addr:E8:07:BF:1C:43:74,name:NDZ-03-GA,state:CONNECTED
      addr:E8:07:BF:1C:43:74,name:NDZ-03-GA,state:CONNECTED
      [bt]#1267.366635: [bt_test_a2dp_source_connection_state_cb:287]:  A2DP source connected with device: E8:07:BF:1C:43:74
      1267.367007: [bt_test_a2dp_sink_connection_state_cb:261]:  A2DP sink connected with device: E8:07:BF:1C:43:74
      
      [bt]#
      [bt]#a2dp_src_start
      [bt]#1276.929765: [_a2dp_source_thread_func:364]:  start a2dp src loop,data size:1764000,ch:2,sample:44100
      
      
      发布在 MR Series
      U
      ubuntu
    • 回复: 【DIY教程】将D1哪吒开发板改装成一个4G热点简易 NAS

      是 markdown, 只是这东西 “方言”太多了,没有一个标准,就像文言文一样,不同时代,不同人,解释可能完全不同。

      发布在 MR Series
      U
      ubuntu
    • 回复: 请问D1哪吒开发板能点亮诺基亚mipi dsi 1-lane 显示屏吗?

      @xiaowenge 在 请问D1哪吒开发板能点亮诺基亚mipi dsi 1-lane 显示屏吗? 中说:

      @memory 那感觉买贵了,一般是论斤卖的吧

      闲鱼的,屏是新的,OLED工艺,翻车也是有可能的。

      发布在 MR Series
      U
      ubuntu
    • 回复: 请问D1哪吒开发板能点亮诺基亚mipi dsi 1-lane 显示屏吗?

      https://item.taobao.com/item.htm?id=648055202607

      哪吒原装的屏599, 表示买不起, 买不起.

      自己画一个玩玩, 不到9元一片, 笑出杀猪声.gif

      发布在 MR Series
      U
      ubuntu
    • 请问D1哪吒开发板能点亮诺基亚mipi dsi 1-lane 显示屏吗?

      dbce2f64-2585-4643-849e-435000afd1d2-image.png

      67339e8c-4ab7-4d3c-bfb7-e6056abe041c-IGB)

      发布在 MR Series
      U
      ubuntu
    • 1
    • 2
    • 2 / 2