Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. hjbilly
    H
    • Profile
    • Following 0
    • Followers 0
    • my integral 524
    • Topics 5
    • Posts 9
    • Best 0
    • Groups 0

    hjbillyLV 4

    @hjbilly

    524
    integral
    0
    Reputation
    2
    Profile views
    9
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    hjbilly Unfollow Follow

    Latest posts made by hjbilly

    • Reply: DragonMAT启动厂测失败,接收不到HB消息,是板端还需要跑一个aatp的client软件吗?

      板端单独跑tt是没问题的,但是无法和DragonMAT连接

      root@(none):/# tt

      ============================ tasks list ============================
      /demo/demo-sh
      ============================ end ============================
      key: /demo/demo-sh/command
      val: demo-sh.sh

      target: f133-b-bm180
      boot_media: nand

      ---------------------------- /demo/demo-sh ----------------------------

      • task path : /demo/demo-sh
      • task command : demo-sh.sh
      • run times(real/max) : 1/1
      • run parallel : no
      • run alone : no
      • may reboot : no
      • run once time limit : 30758400s
      • run time limit : 30758400s
      • timeout with : pass
      • exit once failed : no
      • real-time log: yes
      • begin date : Wed Jan 4 00:01:01 2023
      • end date : Wed Jan 4 00:01:01 2023
      • result :
      • num    pid    pgid    return     begin       end    note
        
      •   0    892     891         0  16:01:01  16:01:01
        
      • task resource :
      • user cpu time = 0.22
        
      • system cpu time = 0.144
        
      • maximum resident size = 716kB
        
      • page faults break times (without I/O) = 898
        
      • page faults break times (with I/O) = 0
        
      • input times = 0
        
      • output times = 0
        
      • wait resource actively times = 25
        
      • wait resource passively times = 14
        
      • run log: real_time_log was set, None!
        ---------------------------- end ----------------------------

      ============================ tasks result ============================
      /demo/demo-sh - YES
      ============================ end ============================
      root@(none):/#

      posted in D1系列-RISC-V
      H
      hjbilly
    • Reply: DragonMAT启动厂测失败,接收不到HB消息,是板端还需要跑一个aatp的client软件吗?

      小机端可以跑demo-c测试软件,但是小机上好像没有aatp client,所以PC端的工具用adb -s 20080411 forward tcp:10001 tcp:8887转发tcp报文是不行的,小机上没有软件监听tcp 10001端口

      posted in D1系列-RISC-V
      H
      hjbilly
    • DragonMAT启动厂测失败,接收不到HB消息,是板端还需要跑一个aatp的client软件吗?
      Log line format: [mmdd hh:mm:ss.uuuu|threadid|file|line|function]msg
      [0309 15:10:03.0843|27116|INFO|AWATServer.cpp|00082|Init]aatp sever init with: workplace=scheme, recvtimeout=3, port=8887, heartbeat port=8888
      [0309 15:10:21.0031|33544|INFO|Listener.cpp|00608|CListener::WaitDeviceOnline]index[0] device [20080411] wait for device use 63 tick count, max time=5000, ret=0
      [0309 15:10:21.0031|33544|INFO|TestSerivce.cpp|00197|CTestSerivceFactory::CreateSession]create session by type:adb
      [0309 15:10:21.0031|33544|INFO|TestSerivce.cpp|00197|CTestSerivceFactory::CreateSession]create session by type:adb
      [0309 15:10:21.0215|33544|INFO|Listener.cpp|00478|CListener::Setup3_s]index[0] device[20080411] ready to start test with config PATH=/etc/tinatest.json
      [0309 15:10:21.0215|6064|INFO|Listener.cpp|00172|CListener::Listen_s]Listen_s start
      [0309 15:10:21.0215|38720|INFO|Listener.cpp|00699|CListener::SendRequest_s]SendRequest_s start
      [0309 15:10:27.0217|21852|E(10053)|Listener.cpp|00139|CListener::HeartBeat_s]index[0] device[20080411] recv hb packet failed 1 times!
      [0309 15:10:33.0225|21852|E(10053)|Listener.cpp|00133|CListener::HeartBeat_s]index[0] device[20080411] send hb packet failed!
      [0309 15:10:33.0225|21852|E(10053)|Listener.cpp|00139|CListener::HeartBeat_s]index[0] device[20080411] recv hb packet failed 2 times!
      [0309 15:10:39.0229|21852|E(10053)|Listener.cpp|00133|CListener::HeartBeat_s]index[0] device[20080411] send hb packet failed!
      [0309 15:10:39.0229|21852|E(10053)|Listener.cpp|00139|CListener::HeartBeat_s]index[0] device[20080411] recv hb packet failed 3 times!
      [0309 15:10:39.0229|21852|E(10053)|Listener.cpp|00149|CListener::HeartBeat_s]index[0] device[20080411] lost heartbeat response 3 times, stop test and exit!
      [0309 15:10:39.0229|21852|INFO|Listener.cpp|00280|CListener::StopTest]index[0] enter stop lock!
      [0309 15:10:39.0229|21852|INFO|Listener.cpp|00282|CListener::StopTest]index[0] out stop lock!
      [0309 15:10:39.0229|6064|INFO|Listener.cpp|00280|CListener::StopTest]index[0] enter stop lock!
      [0309 15:10:39.0229|6064|INFO|Listener.cpp|00282|CListener::StopTest]index[0] out stop lock!
      [0309 15:10:39.0229|6064|INFO|Listener.cpp|00245|CListener::Listen_s]index[0] device [20080411] listen thread have exit.
      [0309 15:10:39.0229|38720|INFO|Listener.cpp|00720|CListener::SendRequest_s]index[0] device [20080411] sendrequest thread have exit.
      [0309 15:10:39.0229|22764|INFO|Listener.cpp|00268|CListener::WatchDog_s]index[0] listenr watch dog for deviceid[20080411] exit.
      [0309 15:10:39.0229|13344|INFO|Listener.cpp|00280|CListener::StopTest]index[0] enter stop lock!
      [0309 15:10:39.0229|13344|INFO|Listener.cpp|00282|CListener::StopTest]index[0] out stop lock!
      
      posted in D1系列-RISC-V
      H
      hjbilly
    • 咨询,为什么OOM的时候log里看还是有4932KB的,还是被killed?
      [__alloc_pages_may_oom:3950]order:0, gfp_mask:100cca
      [out_of_memory:1125]
      [oom_kill_process:980]
      totalram_pages:13941, hugetlb_total_pages:0, sysctl_overcommit_ratio:95
      entry_ui invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
      CPU: 0 PID: 816 Comm: entry_ui Not tainted 5.4.61 #3
      Call Trace:
      [<ffffffff8001dca2>] 0xffffffff8001dca2
      [<ffffffff800578da>] 0xffffffff800578da
      [<ffffffff80057178>] 0xffffffff80057178
      [<ffffffff8005782a>] 0xffffffff8005782a
      [<ffffffff800754d0>] 0xffffffff800754d0
      [<ffffffff800756a0>] 0xffffffff800756a0
      [<ffffffff800557fc>] 0xffffffff800557fc
      [<ffffffff80055ac0>] 0xffffffff80055ac0
      [<ffffffff80068c26>] 0xffffffff80068c26
      [<ffffffff8006a576>] 0xffffffff8006a576
      [<ffffffff8001ed7e>] 0xffffffff8001ed7e
      [<ffffffff8001cd00>] 0xffffffff8001cd00
      Mem-Info:
      active_anon:2971 inactive_anon:2 isolated_anon:0
       active_file:491 inactive_file:408 isolated_file:32
       unevictable:9 dirty:0 writeback:0 unstable:0
       slab_reclaimable:177 slab_unreclaimable:2478
       mapped:457 shmem:11 pagetables:60 bounce:0
       free:1233 free_pcp:15 free_cma:0
      Node 0 active_anon:11884kB inactive_anon:8kB active_file:1964kB inactive_file:1632kB unevictable:36kB isolated(anon):0kB isolated(file):128kB mapped:1828kB dirty:0kB writeback:0kB shmem:44kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no
      DMA32 free:4932kB min:5036kB low:5268kB high:5500kB active_anon:11884kB inactive_anon:8kB active_file:1964kB inactive_file:1632kB unevictable:36kB writepending:0kB present:65536kB managed:55764kB mlocked:36kB kernel_stack:1088kB pagetables:240kB bounce:0kB free_pcp:60kB local_pcp:60kB free_cma:0kB
      lowmem_reserve[]: 0 0 0
      DMA32: 209*4kB (UMEH) 138*8kB (UMEH) 59*16kB (UMEH) 16*32kB (UEH) 16*64kB (EH) 4*128kB (H) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 4932kB
      Free pages count per migrate typeat order:     0      1      2      3      4      5      6      7      8      9     10 
      zone    DMA32, type    Unmovable    106     97     42      5      0      0      0      0      0      0      0 
      zone    DMA32, type      Movable     67     26      6      0      0      0      0      0      0      0      0 
      zone    DMA32, type  Reclaimable      1      1      1      1     10      0      0      0      0      0      0 
      zone    DMA32, type   HighAtomic     35     14     10     10      6      4      0      0      0      0      0 
      937 total pagecache pages
      16384 pages RAM
      0 pages HighMem/MovableOnly
      2443 pages reserved
      Tasks state (memory values in pages):
      [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
      [    816]     0   816   141124     3242   155648        0             0 entry_ui
      [    817]     0   817      629       38    28672        0             0 sh
      [    843] 65534   843      469       84    28672        0             0 dnsmasq
      [    855]     0   855    66229       57    45056        0             0 adbd
      oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),task=entry_ui,pid=816,uid=0
      [oom_kill_process:991]
      [__oom_kill_process:891]entry_ui
      Out of memory: Killed process 816 (entry_ui) total-vm:564496kB, anon-rss:11140kB, file-rss:1792kB, shmem-rss:36kB, UID:0 pgtables:152kB oom_score_adj:0
      [oom_kill_process:1004]
      oom_reaper: reaped process 816 (entry_ui), now anon-rss:0kB, file-rss:76kB, shmem-rss:36kB
      VE: release lost-lock...
      ------------[ cut here ]------------
      DEBUG_LOCKS_WARN_ON(__owner_task(owner) != current)
      WARNING: CPU: 0 PID: 847 at 0xffffffff8030cc7e
      Modules linked in: hgic_sdio hgicf
      CPU: 0 PID: 847 Comm: TimerEntry Not tainted 5.4.61 #3
      sepc: ffffffff8030cc7e ra : ffffffff8030cc7e sp : ffffffff817f3c60
       gp : ffffffff8045f948 tp : ffffffff8396b480 t0 : ffffffff80476228
       t1 : 0000000000000063 t2 : 0000000000000000 s0 : ffffffff83060980
       s1 : ffffffff82ca8a80 a0 : 0000000000000033 a1 : ffffffff8046a4db
       a2 : 0000000000000033 a3 : 0000000000000000 a4 : 0000000200000020
       a5 : 0000000000000000 a6 : 0000000000000004 a7 : 0000000000000037
       s2 : ffffffff80488000 s3 : ffffffff8046b000 s4 : ffffffff830f2620
       s5 : ffffffff80367000 s6 : ffffffff80367000 s7 : ffffffff80367000
       s8 : ffffffff80417000 s9 : 0000003fe7ef6290 s10: 0000003fe7ef61d0
       s11: 0000003feccd2090 t3 : ffffffffffffffff t4 : 0000000000400014
       t5 : 0000000000400015 t6 : ffffffff80469c7b
      sstatus: 0000000200000120 sbadaddr: 0000000000000000 scause: 0000000000000003
      ---[ end trace 820754eaa6713c12 ]---
      
      posted in Linux
      H
      hjbilly
    • Reply: F133-b的Linux版本的libadecoder.so开启解码会占用4M的内存,这个值可以改小吗?

      @yixintai 可以裁剪的视频编码都已经裁剪了,64M内存还是很紧张,经常出现OOM问题,我们的音频解码不需要4M的,因为观察解码出来的PCM缓存,只有300多K,音频解码的StreamBuffer在我们的场景下,128K就够了的,还是麻烦尽快提供下修改方法,感谢。

      posted in Linux
      H
      hjbilly
    • Reply: F133-b的Linux版本的libadecoder.so开启解码会占用4M的内存,这个值可以改小吗?

      该怎么修改呢?我还没找到修改方法

      posted in Linux
      H
      hjbilly
    • F133-b的Linux版本的libadecoder.so开启解码会占用4M的内存,这个值可以改小吗?

      Audio stream buffer size:4194304, Max frame num:4096, PCM data size:328960, Stream data size:0
      上面四个值是以下函数调用查询出来的,请教下,这个AudioStreamBufferSize可以改小吗?
      p->AlibItf.AudioStreamBufferSize(),
      p->AlibItf.AudioStreamBufferMaxFrameNum(),
      p->AlibItf.AudioPCMDataSize(p->AlibItf.libadecoder),
      p->AlibItf.AudioStreamDataSize(p->AlibItf.libadecoder));

      posted in Linux
      H
      hjbilly
    • 在F133-B平台上如何使能ccache编译
      HostPrebuilt/Prepare /home/billy/1122BM/out/f133-b-bm180/compile_dir/host/ccache-3.1.11/.prepared517c7b175fcfa22b802b2938bfc12927
      cp -fpR /home/billy/1122BM/tools/prebuilt/ccache/* /home/billy/1122BM/out/f133-b-bm180/compile_dir/host/ccache-3.1.11/
      cp: cannot stat '/home/billy/1122BM/tools/prebuilt/ccache/*': No such file or directory
      make[3]: *** [Makefile:40: /home/billy/1122BM/out/f133-b-bm180/compile_dir/host/ccache-3.1.11/.prepared517c7b175fcfa22b802b2938bfc12927] Error 1
      make[3]: Leaving directory '/home/billy/1122BM/tools/ccache'
      make[2]: *** [tools/Makefile:137: tools/ccache/compile] Error 2
      make[2]: Leaving directory '/home/billy/1122BM'
      make[1]: *** [tools/Makefile:135: /home/billy/1122BM/out/f133-b-bm180/staging_dir/target/stamp/.tools_install_yyyyynyyynyyyyyyynnnyyyyyyyyyyynnyyyyyyyynyyynyyyyy] Error 2
      make[1]: Leaving directory '/home/billy/1122BM'
      make: *** [/home/billy/1122BM/build/toplevel.mk:306: world] Error 2
      

      使能之后报上面的错误,prebuild下没有ccache目录,该从哪里下载安装?

      posted in D1系列-RISC-V
      H
      hjbilly
    • F133-b平台播放RTSP流,怎么改代码能禁用音视频同步,让视频音频各播个的?

      播放1M比特率的RTSP码流,1280x720的,15帧,播放非常卡顿,有什么优化建议么?

      posted in D1系列-RISC-V
      H
      hjbilly