Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. NULL037
    N
    • Profile
    • Following 0
    • Followers 2
    • my integral 2780
    • Topics 18
    • Posts 60
    • Best 6
    • Groups 0

    NULL037LV 6

    @NULL037

    2780
    integral
    6
    Reputation
    39
    Profile views
    60
    Posts
    2
    Followers
    0
    Following
    Joined Last Online

    NULL037 Unfollow Follow

    Best posts made by NULL037

    • YuzuKi X 100ask V851s 体验, 含编译和烧录nand系统

      V851S编译与烧写系统

      文档目的:

      1.了解板载资源

      2.烧写更新系统

      3.进入系统

      4.开发板联网。

      0.前提

      为tina-V853打上v851s的补丁,下载百问网提供的v851s补丁

       git clone https://github.com/DongshanPI/tina-lizard-v851s
      

      进入补丁目录

      cd tina-lizard-v851s/
      

      将补丁内容全部拷贝到tina-v853中

      cp * ~/tina-v853 -rfd
      

      image-20221110164339842.png

      1.编译系统

      在终端进入tina目录下,输入

      source build/envsetup.sh
      

      根据提示输入

      lunch
      

      选择板子类型,输入2,选择V851s

      编译系统,输入

      make
      

      等待编译结束。

      编译完成后还需要打包生成镜像。

      打包成uart镜像,输入

      pack
      

      image-20221110163757677.png

      打包成sd卡镜像,输入

      pack -d
      

      image-20221110163734778.png

      将生成的两个固件拷贝到电脑中备用。

      image-20221110163914205.png

      2.烧写系统

      2.1 使用PhoenixSuit烧写系统

      打开全志提供的烧写软件。

      image-20221110141959335.png

      选择一键刷机

      image-20221110142130260.png

      点击浏览,选择拷贝出来的tina_v851s-perf1_uart0.img

      image-20221110164440480.png

      利用OTG线连接开发板

      image-20221110150300509.png

      再选择全盘擦除,立即升级

      image-20221110164611652.png

      注意OTG连接和串口连接时,连接方式不同,注意翻转type-c口连接开发板。

      OTG连接为:
      image-20221110165121478.png

      串口连接为:

      image-20221110165100110.png

      此时使用OTG连接开发板和电脑,按住开发板上FEL按键的同时按一下RST按键,即可烧写。

      image-20221110165303895.png

      3.进入系统

      3.1 使用flash进入系统

      使用串口模式连接开发板

      串口连接为:

      image-20221110165100110.png

      打开串口工具,可以查看到,开发板已经启动

      image-20221110165945434.png

      posted in V853系列-AI视觉
      N
      NULL037
    • Reply: T113驱动ov5640 报错

      @null037 利用camerademo NV12 2592 1936 30 bmp /mnt 5
      拍摄的照片
      ccf4261f-d491-43d3-b20e-9cc56afd59e4-image.png

      posted in 其它全志芯片讨论区
      N
      NULL037
    • Reply: 请教一下V853启动小核E907的波特率是多少

      @null037已解决,是电路问题,解决办法是在串口3后的LED_RET不要加上拉电阻

      posted in V853系列-AI视觉
      N
      NULL037
    • 请教一下V853启动小核E907的波特率是多少

      启动信息如下:
      075e2324-a87a-400e-a2f2-dfad2612a71c-image.png
      使用串口3输出,使用的是115200的波特率,输出结果如下:
      5e61ba2a-d200-425c-b1cb-9023074c58e5-image.png
      请问这是波特率设置错误的原因吗?

      posted in V853系列-AI视觉
      N
      NULL037
    • V853适配MIPI屏背光不亮

      使用官方提供的V853的V853开发板工厂测试固件20220630 MIPI屏背光可以亮,
      但是使用我直接使用open-tina-v853 修改生成的固件就会导致MIPI屏不亮,但是通过查看启动信息,PWM9已结启动了。我尝试完全关闭uboot中的pwm和disp初始化,在内核下使能pwm9和disp依旧无任何反应。
      e0ab6dd2-b537-4a3d-9701-df96b4259e58-image.png
      目前认为是uboot在初始化pwm这部分可能有问题。
      我们暂时无法找到具体的原因在哪。已经尝试过tina-v853的NDA版本也是不行。
      已经确定MIPI屏幕硬件部分可以在D1和T113上是正常使用的。
      请问有没有遇到过相关问题的大佬 求解答

      posted in V853系列-AI视觉
      N
      NULL037
    • Reply: V853适配MIPI屏背光不亮

      @yuzukitsuru 是我的问题,排线的接口被我弄坏了,导致信号发不到屏幕上。希望大家以后注意

      posted in V853系列-AI视觉
      N
      NULL037

    Latest posts made by NULL037

    • Reply: 导出yolact模型时报错

      @null037 反复对比检查了一下不知道是否是下面的警告导致的报错
      7e00127b-1ee3-42f1-bd9f-be5d9f9f28dd-image.png

      posted in V853系列-AI视觉
      N
      NULL037
    • 导出yolact模型时报错

      现象:
      按照官方提供的yolact模型转换的文档操作,在导出模型时报如下错误:

      I Save vx network source file to /home/ubuntu/yolact/ovxlib/yolact/yolact.2012.vcxproj
      I Save vx network source file to /home/ubuntu/yolact/ovxlib/yolact/makefile.linux
      I Save vx network source file to /home/ubuntu/yolact/ovxlib/yolact/.cproject
      I Save vx network source file to /home/ubuntu/yolact/ovxlib/yolact/.project
      D Generate fake input /home/ubuntu/yolact/ovxlib/yolact/input.1_219_0.tensor
      gcc -Wall -std=c++0x -I. -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/ -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/CL -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/VX -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/ovxlib -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/jpeg -D__linux__ -DLINUX -O3 -c vnn_pre_process.c
      cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
      vnn_pre_process.c: In function ‘_handle_multiple_inputs’:
      vnn_pre_process.c:749:11: warning: variable ‘p1’ set but not used [-Wunused-but-set-variable]
        749 |     char *p1 = NULL;
            |           ^~
      gcc -Wall -std=c++0x -I. -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/ -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/CL -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/VX -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/ovxlib -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/jpeg -D__linux__ -DLINUX -O3 -c vnn_yolact.c
      cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
      gcc -Wall -std=c++0x -I. -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/ -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/CL -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/VX -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/ovxlib -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/jpeg -D__linux__ -DLINUX -O3 -c main.c
      cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
      gcc -Wall -std=c++0x -I. -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/ -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/CL -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/VX -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/ovxlib -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/jpeg -D__linux__ -DLINUX -O3 -c vnn_post_process.c
      cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C
      gcc -Wall -std=c++0x -I. -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/ -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/CL -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/VX -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/ovxlib -I/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/include/jpeg -D__linux__ -DLINUX -O3 -O3  vnn_pre_process.o vnn_yolact.o main.o vnn_post_process.o -L/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/lib -lOpenVX -lOpenVXU -lCLC -lVSC -lGAL -lovxlib -lEmulator -lvdtproxy -L/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/lib/vsim -lOpenVX -lOpenVXU -lCLC -lVSC -lGAL -lovxlib -lEmulator -lvdtproxy -L/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/lib/x64_linux -lOpenVX -lOpenVXU -lCLC -lVSC -lGAL -lovxlib -lEmulator -lvdtproxy -L/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/lib/x64_linux/vsim -lOpenVX -lOpenVXU -lCLC -lVSC -lGAL -lovxlib -lEmulator -lvdtproxy -L/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/lib/x64_linux/vsim -lOpenVX -lOpenVXU -lCLC -lVSC -lGAL -lovxlib -lEmulator -lvdtproxy -L/home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/../common/lib/ -lvdtproxy /home/ubuntu/VeriSilicon/VivanteIDE5.7.0/cmdtools/vsimulator/../common/lib/libjpeg.a -o gen_nbg
      Create Neural Network: 213ms or 213529us
      Verify...
      E [kernel/evis/resize_bilinear_evis.c:_resize_bilinear_initializer_impl:1051]CHECK STATUS(-1:A generic error code, used when no other describes the error.)
      E [main.c:vnn_VerifyGraph:91]CHECK STATUS(-1:A generic error code, used when no other describes the error.)
      E [main.c:main:243]CHECK STATUS(-1:A generic error code, used when no other describes the error.)
      E Fatal model generation error: 65280
      W ----------------Error(1),Warning(0)----------------
      Traceback (most recent call last):
        File "pegasus.py", line 131, in <module>
        File "pegasus.py", line 116, in main
        File "acuitylib/app/exporter/commands.py", line 178, in execute
        File "acuitylib/vsi_nn.py", line 650, in export_ovxlib
        File "acuitylib/app/exporter/ovxlib_case/export_ovxlib.py", line 73, in run
        File "acuitylib/app/exporter/ovxlib_case/casegenerator.py", line 701, in generate
        File "acuitylib/app/exporter/ovxlib_case/casegenerator.py", line 660, in _gen_special_case
        File "acuitylib/app/exporter/ovxlib_case/casegenerator.py", line 637, in _gen_nb_file
        File "acuitylib/acuitylog.py", line 263, in e
      acuitylib.acuityerror.AcuityError: ('Fatal model generation error: 65280', 'nbg_generate')
      [5240] Failed to execute script 'pegasus' due to unhandled exception!
      
      

      目前可知的提示信息:

      E [kernel/evis/resize_bilinear_evis.c:_resize_bilinear_initializer_impl:1051]CHECK STATUS(-1:A generic error code, used when no other describes the error.)
      E [main.c:vnn_VerifyGraph:91]CHECK STATUS(-1:A generic error code, used when no other describes the error.)
      E [main.c:main:243]CHECK STATUS(-1:A generic error code, used when no other describes the error.)
      E Fatal model generation error: 65280
      W ----------------Error(1),Warning(0)----------------
      

      前面的操作都是按照文档的操作,请问各位大佬这啥问题导致的?

      posted in V853系列-AI视觉
      N
      NULL037
    • Reply: 执行sample_smartPreview_demo的ViDev[8]报错

      @null037 排查了一下发现可能是ISP配置出现的问题,但目前无法知道问题点在那里

      root@TinaLinux:~# ./sample_smartPreview_demo -path ./sample_smartPreview_demo.co
      nf 
      WARNING: Logging before InitGoogleLogging() is written to STDERR
      I0102 07:40:27.395318  1665 sample_smartPreview_demo.c:639] <main> sample_smartPreview_demo running!
      I0102 07:40:27.395606  1665 sample_smartPreview_demo.c:50]  <ParseCmdLine> sample_virvi2vo path:[./sample_smartPreview_demo], arg number is [3]
      I0102 07:40:27.396445  1665 confparser.c:60]                <createConfParser> load conf file ./sample_smartPreview_demo.conf ok!
      I0102 07:40:27.396689  1665 sample_smartPreview_demo.c:215] <loadSampleConfig> vipp[0]: captureSize[360x640][ 8035.399861] [DISP] de_fcm_set_para,line:491:, displayArea[0,0,480x800]
      I010
      [ 8035.406568] fcm lut 0 not find, auto retry after init
      2 07:40:27.396777  1665 sample_s[ 8035.415074] [DISP] de_fcm_set_para,line:491:martPreview_demo.c:215] 
                                                                  <loadSampleConfig> vipp[1]: ca[ 8035.422524] fcm lut 0 not find, auto retry after init
      ptureSize[1920x1080], displayAre[ 8035.434033] [DISP] lcd_clk_config,line:702:a[0,0,480x800]
      I0102 07:40:27.3
      96842  1665 sample_smartPreview_[ 8035.441209] disp 0, clk: pll(150000000),clk(150000000),dclk(25000000) dsi_rate(25000000)
      [ 8035.441209]      clk real:pll(288000000),clk(288000000),dclk(72000000) dsi_rate(150000000)
      demo.c:217]                                                 <loadSampl[ 8035.465520] lcd_open_flow 
      eConfig> dispSync[1], dispType[6[ 8035.471085] lcd_power_on 
      4], frameRate[20], testDuration[[ 8035.477249] [DISP] disp_sys_gpio_set_value,line:416:0]
      I0102 07:40:27.396989  1665 
      mpi_sys.c:842]                                              <AW_MPI[ 8035.484965] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
      _SYS_SetConf> kfctmpdir is [/tmp]
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Media Process Platform<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      modName : MPP-Platform
      tag   : V1.0 Release
      branch: v5-dev
      commit: 4eed413532ad87725895a8cb1ba75e22fc328233
      date  : 20170725
      author: jenkins
      iniparser: cannot open /etc/cedarx.conf
      iniparser: cannot open /vendor/etc/cedarx.conf
      I0102 07:40:27.399916  1665 mpi_sys.c:1455]                 <AW_MPI_SYS_Init> ISP init
      [ISP]>>>>>>>>>>>>>>>>>>>> ISP VERSION INFO <<<<<<<<<<<<<<<<<<<
      IPCORE: ISP600
      branch: libisp-dev
      commit: c3bfa4e23fb037123e65a04eaaa39f7876cfe1a6
      date  : Mon Apr 10 10:37:15 2023 +0800
      author: <zhenghanjie@allwinnertech.com>
      --------------------------------------[ 8035.555261] [DISP] disp_sys_gpio_set_value,line:416:------------------
      
      I0102 07:4
      0:27.400496  1665 mpi_sys.c:1457[ 8035.563079] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
      ]                                                           <AW_MPI_SYS_Init> ISP init done
      I0102 07:40:27.400827  1665 hwdisplay.c:84]                 <hw_display_init> 
      I0102 07:[ 8035.585194] [DISP] disp_sys_gpio_set_value,line:416:40:27.400958  1665 hwdisplay.c:9
      [ 8035.591127] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
      93]                                                         <hwd_init> (hwd_init 993)
      I0102 07:40:27.401121  1665 hwdisplay.c:1048]               <hwd_init> ret[0][2,0]ch[2]lyl[0] init: enable[0], screenwin[0,0, 0x0], zorder[0], alpha[mode:0, value:0]
      I0102 07:40:27.420312  1665 audio_hw.c:228]                 <MakeAllMixerElemsAvailable> pcm open and close, all MixerElems maybe exist.
      I0102 07:40:27.420507  1665 alsa_interface.c:707]           <alsaOpenMixer> open mixer:hw:0
      I0102 07:40:27.421910  1665 alsa_interface.c:762]           <alsaOpenMixer> set playback vol_val to value: 27
      I0102 07:40:27.422063  1665 alsa_interface.c:707]           <alsaOpenMixer> open mixer:hw:1
      I0102 07:40:27.422809  1665 hwdisplay.c:1248]               <hwd_get_disp_type> Current the  disp_type:0x0  tv_mode:0x0
      I0102 07:40:27.423085  1666 mpi_sys.c:1073]                 <MonitorEnvVarThread> detect user environment:
      I0102 07:40:27.423255  1666 mpi_sys.c:1074]                 <MonitorEnvVarThread> /tmp/mpp_log_level
      I0102 07:40:27.423341  1666 mpi_sys.c:1075]                 <MonitorEnvVarThread> /tmp/mpp_venc_sei_config_param
      I0102 07:40:27.443140  1665 mpi_vo.c:837]                   <AW_MPI_VO_SetPubAttr> vo interface changed, [0x0, 0x1]->[0x40, 0x1]
      I0102 07:40:27.443285  1665 hwdisplay.c:1486]               <hwd_switch_vo_device> Current the  disp_type:0x0  tv_mode:0x0
      [ 8035.725209] lcd_panel_init 
      [ 8036.295196] lcd_bl_open 
      [ 8036.298271] [DISP] disp_device_attached_and_enable,line:234:
      [ 8036.304439] attached ok, mgr0<-->dev0
      [ 8036.308864] [DISP] disp_device_attached_and_enable,line:247:
      [ 8036.315013] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
      I0102 07:40:28.398537  1665 sample_smartPreview_demo.c:303] <CreateVIPP2VOLink> Vipp dev[0] vir_chn[0]
      [ISP]video device name is vin_video0
      [ISP]open video device[0], detect isp0 success!
      [ISP]video_set_isp_bk_buffer_align yuv_align_en = 1, lbc_align_en = 0
      [ISP_ERR]video_set_isp_bk_buffer_align, line: 1039,video0 video_set_isp_bk_buffer_align failed!!!
      [ISP_ERR]video_set_isp_bk_buffer_align, line: 1040,video_set_isp_bk_buffer_align yuv_align_en = 1, lbc_align_en = 0
      I0102 07:40:28.399546  1665 videoInputHw.c:956]             <videoInputHw_SetChnAttr> vipp[0] yuv format, width 360 is not 16 aligned, set bk width stride en 1
      [ISP]video_set_isp_bk_width_stride stride_en = 1
      [ISP_ERR]video_set_isp_bk_width_stride, line: 1054,video0 video_set_isp_bk_width_stride failed!!!
      [ISP]video0 fd[9] ve_online_en=0[ 8036.608020] [VIN]ve_online close
      , dma_buf_num=0
      [ISP]open isp device[0] success!
      [ISP_ERR]isp_sensor_get_configs, line: 825,gc2053_mipi get config failed: Invalid argument (22).
      [ISP_WARN]open /mnt/extsd/isp0_0_0_0_0_ctx_saved.bin failed, err:No such file or directory.
      [ISP]prefer isp config: [gc2053_mipi], 0x0, 0, 0, 0
      [ISP_WARN]cannot find gc2053_mipi_0_0_0_0_0 isp config, use gc2053_mipi_1920_1088_20_0_0 -> [gc2053_mipi_isp600_20220511_164617_vlc4_day]
      [ISP_ERR]isp_ctx_conf[ 8036.653535] [DISP] de_fcm_set_para,line:491:ig_init, line: 2368,sensor attri
      bute is not init.
      [ISP]create i[ 8036.660072] fcm lut 0 not find, auto retry after init
      sp0 server thread!
      I0102 07:40:28.665171  1665 mpi_vi.c:1209]                  <AW_MPI_VI_CreateVirChn> we allow to create virChn[0] in disable status of vipp[0]
      [ISP_ERR]isp_sensor_get_configs, line: 825,gc2053_mipi get config failed: Invalid argument (22).
      W0102 07:40:28.665654  1665 videoInputHw.c:1193]            <videoInputHw_ChnEnable> fatal error! Get isp[0] sensor information failed! must be called AW_MPI_ISP_Run before AW_MPI_VI_EnableVipp.
      I0102 07:40:28.696958  1665 hwdisplay.c:1121]               <hwd_layer_request_hlay> hlay:0, zorde[ 8036.718063] npu[681][681] vipcore, device init..
      r=0, cnt:2
      I0102 07:40:28.70356[ 8036.723623] set_vip_power_clk ON
      4  1669 videoInputHw.c:5637] [6[ 8036.732157] enter aw vip mem alloc size 3887457
      0D                                                            <VideoInputHw_CapThread> [ 8036.738326] aw_vip_mem_alloc vir 0xe2c00000, phy 0x48d00000
      loop VideoInputHw_CapThread vipp[ 8036.746933] npu[681][681] gckvip_drv_init  kernel logical phy address=0x48d00000  virtual =0xe2c00000
      _id = 0, buf_num=5.
      I0102 07:40:28.715012  1665 mpi_vo.c:1038]                  <AW_MPI_VO_SetVideoLayerAttr> ch[0]lyl[0]:dispRect changed, [0, 0, 320x240]->[0, 0, 480x800]
      I0102 07:40:28.715140  1665 hwdisplay.c:409]                <hwd_layer_set_rect> ch[0]lyl[0]: screen_win[0,0, 480x800]
      I0102 07:40:28.715488  1665 sample_smartPreview_demo.c:398] <CreateVIPP2VOLink> create vo channel[0] success!
      I0102 07:40:28.715746  1665 sample_smartPreview_demo.c:303] <CreateVIPP2VOLink> Vipp dev[1] vir_chn[0]
      [ISP]video device name is vin_video1
      [ISP_ERR]video_init, line: 110,can not get entity by name vin_video1
      [ISP_ERR]isp_video_open, line: 477,error: unable to initialize video device.
      [ISP_ERR]isp_video_open, line: 496,unable to open video device[1]!
      E0102 07:40:28.716028  1665 videoInputHw.c:638]             <videoInputHw_ChnInit> error: isp video can not open, chn[1]!
      E0102 07:40:28.716126  1665 mpi_vi.c:170]                   <AW_MPI_VI_CreateVipp> initialize video input hardware failed!!
      E0102 07:40:28.716226  1665 sample_smartPreview_demo.c:307] <CreateVIPP2VOLink> fatal error! AW_MPI_VI CreateVipp:1 failed
      I0102 07:40:28.760831  1665 aiservice_detect.c:647]         <aw_service_start> face nbinfo d��� 5c4c99417ae14442a223eb20170cc04d 480 480 3887457 0.000000
      I0102 07:40:28.760988  1665 aiservice_detect.c:654]         <aw_service_start> human src_width:0, src_height:0, face src_width:480, src_height:270
      I0102 07:40:28.761092  1665 aiservice_detect.c:575]         <get_debug_env> ai_det_fps_print:0
      I0102 07:40:28.761159  1665 aiservice_detect.c:588]         <get_debug_env> ai_det_result_print:0
      I0102 07:40:28.761222  1665 aiservice_detect.c:601]         <get_debug_env> ai_det_runtime_print:0
      Version: AWNN_LIB_1.0.3
      [0xb6f9c560]vip_init[104], 
      [ 8036.918672] [DISP] de_fcm_set_para,line:491:1
                                                     VIPLite driver version=0x000108
      [ 8036.925675] fcm lut 0 not find, auto retry after init
      00...
      I0102 07:40:28.805987  1665 aiservice_detect.c:698]         <aw_service_start> awnn_init cost 44ms
      I0102 07:40:28.806128  1665 aiservice_detect.c:699]         <aw_service_start> total mem_size=3887457, human model=(null), face model=face.nb
      [ISP]video device name is vin_video8
      [ISP]open video device[8], detect isp0 success!
      I0102 07:40:28.806445  1665 videoInputHw.c:1050]            <videoInputHw_SetChnAttr> ViCh[8], user set disable Encpp
      [ISP_ERR]isp_stat_process_buffer, line: 271,AEWB: stats error, skipping buffer.
      [ISP_ERR]isp_sensor_get_configs, line: 825,gc2053_mipi get config failed: Invalid argument (22).
      I0102 07:40:28.961393  1670 video_render_linux.cpp:224]     <vr4l_init> mDisplayFormat[0x11], new CedarXNativeRenderer
      W0102 07:40:28.961546  1670 CedarXNativeRenderer.cpp:157]   <CedarXNativeRenderer> bufWidth[368]!=display_width[360]
      I0102 07:40:28.961631  1670 CedarXNativeRenderer.cpp:176]   <CedarXNativeRenderer> hwc disp fmt[0x63], color space:260
      I0102 07:40:28.961725  1670 hwdisplay.c:240]                <hwd_layer_set_src> x: 0, y: 0, width: 0x168, height: 0x280
      I0102 07:40:28.961795  1670 hwdisplay.c:247]                <hwd_layer_set_src> width: 0x16800000000, height: 0x28000000000
      I0102 07:40:28.961864  1670 hwdisplay.c:367]                <hwd_layer_set_src> set fb.format 99 77, color_space 260 end, size0[368x640], size1[184x320]
      I0102 07:40:28.961962  1670 sample_smartPreview_demo.c:254] <MPPCallbackWrapper> VO callback: VO Layer[0] chn[0] event:257
      I0102 07:40:28.962034  1670 sample_smartPreview_demo.c:266] <MPPCallbackWrapper> vo layer[0] report video display size[360x640]
      I0102 07:40:28.962111  1670 VideoRender_Component.c:2318]   <VideoRender_ComponentThread> init video_render, param: displayRect[0,0][360x640], bufSize[368x640], vdecColorFormat[0x5]
      I0102 07:40:28.962174  1670 mpi_vo.c:508]                   <VideoRenderEventHandler> KeyFrameDecoded, pts[8036772204]us
      I0102 07:40:28.977872  1670 sample_smartPreview_demo.c:254] <MPPCallbackWrapper> VO callback: VO Layer[0] chn[0] event:258
      I0102 07:40:28.978004  1670 sample_smartPreview_demo.c:271] <MPPCallbackWrapper> vo layer[0] report rendering start
      [ 8037.141055] npu[681][683] gckvip_drv_exit, aw_vip_mem_free
      [ 8037.147284] aw_vip_mem_free vir 0xe2c00000, phy 0x48d00000
      [ 8037.153500] aw_vip_mem_free dma_unmap_sg_atrs
      [ 8037.158496] aw_vip_mem_free ion_unmap_kernel
      [ 8037.163506] aw_vip_mem_free ion_free
      [ 8037.167782] aw_vip_mem_free ion_client_destroy
      [ 8037.172812] npu[681][683] vipcore, device un-init..
      [ 8037.197621] [DISP] disp_mgr_set_layer_config,line:1504:
      [ 8037.203396] NULL hdl!
      [ 8037.235199] lcd_close_flow 
      [ 8037.238332] lcd_bl_close 
      [ 8037.241449] lcd_panel_exit 
      [ 8037.405193] lcd_power_off 
      [ 8037.408276] [DISP] disp_sys_gpio_set_value,line:416:
      [ 8037.413640] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
      [ 8037.575612] [DISP] de_fcm_set_para,line:491:
      [ 8037.580205] fcm lut 0 not find, auto retry after init
      [ 8037.586335] [DISP] de_fcm_set_para,line:491:
      [ 8037.590925] fcm lut 0 not find, auto retry after init
      Arithmetic exception (core dumped)
      
      posted in V853系列-AI视觉
      N
      NULL037
    • Reply: 执行sample_smartPreview_demo的ViDev[8]报错

      @null037 通过camerademo测试video8节点可以正常获取图像数据。
      5862739b-1eaf-49ba-8b89-31dfdb985877-image.png
      测试其他线程发现,不止是video8不能获取到数据,video0也是一样
      8e54f75d-5e80-4796-bbf5-65357d4d48e9-image.png

      posted in V853系列-AI视觉
      N
      NULL037
    • Reply: 执行sample_smartPreview_demo的ViDev[8]报错

      @null037 通过GDB调试发现程序在程序调用video8读取图像数据时报错。
      d2005d5b-019c-4623-b634-9f1eb812866d-image.png
      源码:
      a9fb73d2-4b52-44e7-8c78-e2c1d698516a-image.png

      video0是正常的,通过camerademo测试video0是正常的,但目前看来video8获取数据时不正常,请问各位大佬知道这是什么原因导致的嘛?

      posted in V853系列-AI视觉
      N
      NULL037
    • Reply: 执行sample_smartPreview_demo的ViDev[8]报错

      @null037 修改后发现节点是出来了

      root@TinaLinux:/mnt/extsd# ls /dev/video*
      /dev/video0   /dev/video12  /dev/video4   /dev/video8
      

      但是执行sample_smartPreview_demo 时会如下错误。

      root@TinaLinux:/mnt/extsd# ./sample_smartPreview_demo -path ./sample_smartPrevie
      w_demo.conf 
      WARNING: Logging before InitGoogleLogging() is written to STDERR[  304.324501] VE: before freq=300000000
      
      I0101 18:54:49.735891  1180 sa[  304.329348] VE: real freq=300000000
      mple_smartPreview_demo.c:639]                               <main> sample_smartPreview_demo running!
      I0101 18:54:49.736147  1180 sample_smartPreview_demo.c:50]  <ParseCmdLine> sample_virvi2vo path:[./sample_smartPreview_demo], arg number is [3]
      I0101 18:54:49.736915  1180 confparser.c:60]                <createConfParser> load conf file ./sample_smartPreview_demo.conf ok!
      I0101 18:54:49.737161  1180 sample_smartPreview_demo.c:215] <loadSampleConfig> vipp[0]: captureSize[360x640], displayArea[0,0,480x800]
      I0101 18:54:49.737248  1180 sample_smartPreview_demo.c:215] <loadSampleConfig> vipp[1]: captureSize[1920x1080], displayArea[0,0,480x800]
      I0101 18:54:49.737316  1180 sample_smartPreview_demo.c:217] <loadSampleConfig> dispSync[1], dispType[64], frameRate[20], testDuration[0]
      I0101 18:54:49.737460  1180 mpi_sys.c:840]                  <AW_MPI_SYS_SetConf> kfctmpdir is [/tmp]
      >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Media Process Platform<<<<<<<<<<<<<<<<<<<<<<<<<<<<
      modName : MPP-Platform
      tag   : V1.0 Release
      branch: v5-dev
      commit: 4eed413532ad87725895a8cb1ba75e22fc328233
      date  : 20170725
      author: jenkins
      iniparser: cannot open /etc/cedarx.conf
      iniparser: cannot open /vendor/etc/cedarx.conf
      I0101 18:54:49.740083  1180 mpi_sys.c:1280]                 <AW_MPI_SYS_Init> ISP init
      [ISP]>>>>>>>>>>>>>>>>>>>> ISP VERSION INFO <<<<<<<<<<<<<<<<<<<
      IPCORE: ISP600
      branch: libisp-dev
      commit: 14df8348718d093707641fea73eba7db962885f5
      date  : Thu Jul 14 15:40:38 2022 +0800
      author: <mayifei@allwinnertech.com>
      --------------------------------------------------------
      
      I0101 18:54:49.740716  1180 mpi_sys.c:1282]                 <AW_MPI_SYS_Init> ISP init done
      INFO   : cedarc <VeInitialize:1185>: *** ic_version = 0x1302000023010,
      I0101 18:54:49.752681  1180 hwdisplay.c:84]                 <hw_display_init> 
      I0101 18:54:49.752840  1180 hwdisplay.c:993]                <hwd_init> (hwd_init 993)
      I0101 18:54:49.752989  1180 hwdisplay.c:1048]               <hwd_init> ret[0][2,0]ch[2]lyl[0] init: enable[0], screenwin[0,0, 0x0], zorder[0], alpha[mode:0, value:0]
      I0101 18:54:49.753117  1180 alsa_interface.c:701]           <alsaOpenMixer> open mixer:hw:0
      I0101 18:54:49.758482  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 ADC2 swap
      I0101 18:54:49.758633  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 volume
      I0101 18:54:49.758711  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC2 volume
      I0101 18:54:49.758778  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCDRC
      I0101 18:54:49.758837  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCHPF
      I0101 18:54:49.758894  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DAC volume
      I0101 18:54:49.758948  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACDRC
      I0101 18:54:49.759004  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACHPF
      I0101 18:54:49.759057  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEIN
      I0101 18:54:49.759120  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINL gain volume
      I0101 18:54:49.759175  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINR gain volume
      I0101 18:54:49.759231  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT
      I0101 18:54:49.759286  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT Output Select
      I0101 18:54:49.759374  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT volume
      I0101 18:54:49.759448  1180 alsa_interface.c:756]           <alsaOpenMixer> set playback vol_val to value: 27
      I0101 18:54:49.759512  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1
      I0101 18:54:49.759571  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 Input Select
      I0101 18:54:49.759630  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 gain volume
      I0101 18:54:49.759687  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2
      I0101 18:54:49.759741  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2 Input Select
      I0101 18:54:49.759795  1180 alsa_inter[  304.696509] [DISP] de_fcm_set_para,line:491:face.c:736] <alsaOpenM
      [  304.703976] fcm lut 0 not find, auto retry after init
      ixer> alsa_elem:MIC2 gain volume[  304.712537] [DISP] de_fcm_set_para,line:491:
      I0101 18:54:50.090799  1180 al
      [  304.719939] fcm lut 0 not find, auto retry after init
      sa_interface.c:736]                                         <a[  304.728607] [DISP] lcd_clk_config,line:702:lsaOpenMixer> alsa_elem:SPK
      I01
      [  304.735889] disp 0, clk: pll(150000000),clk(150000000),dclk(25000000) dsi_rate(25000000)
      [  304.735889]      clk real:pll(288000000),clk(288000000),dclk(72000000) dsi_rate(150000000)
      01 18:54:50.090924  1180 alsa_in[  304.757348] lcd_open_flow 
      terface.c:736]                                              <alsaOp[  304.762972] lcd_power_on 
      enMixer> alsa_elem:digital volum[  304.769147] [DISP] disp_sys_gpio_set_value,line:416:e
      I0101 18:54:50.091000  1180 a
      lsa_interface.c:736]                                        <[  304.776811] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
      alsaOpenMixer> alsa_elem:rx sync mode
      I0101 18:54:50.091061  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:tx hub mode
      E0101 18:54:50.091134  1180 alsa_interface.c:970]           <alsaMixerSetAudioCodecHubMode> aec_elem_audio_codec_hub_mode:tx hub mode-1
      E0101 18:54:50.091239  1180 alsa_interface.c:853]           <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
      I0101 18:54:50.091333  1180 alsa_interface.c:701]           <alsaOpenMixer> open mixer:hw:1
      I0101 18:54:50.091874  1180 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:loopback debug
      I0101 [  304.839059] [DISP] disp_sys_gpio_set_value,line:416:18:54:50.091994  1180 alsa_inter
      face.c:736]                                                 <alsaOpenM[  304.846556] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
      ixer> alsa_elem:rx sync mode
      [  304.869056] [DISP] disp_sys_gpio_set_value,line:416:     <alsaOpenMixer> alsa_elem:tx hub mode
                                                             E0101 18:54:50.092137  1180 als
      a_interface.c:993]                                          <al[  304.874611] OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
      saMixerSetDAudio0HubMode> aec_elem_daudio0_hub_mode:tx hub mode-1
      E0101 18:54:50.092231  1180 alsa_interface.c:1016]          <alsaMixerSetDAudio0LoopBackEn> aec_elem_daudio0_loopback_en:loopback debug-1
      E0101 18:54:50.092303  1180 alsa_interface.c:853]           <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
      I0101 18:54:50.092403  1180 hwdisplay.c:1248]               <hwd_get_disp_type> Current the  disp_type:0x0  tv_mode:0x0
      I0101 18:54:50.112674  1180 mpi_vo.c:837]                   <AW_MPI_VO_SetPubAttr> vo interface changed, [0x0, 0x1]->[0x40, 0x1]
      I0101 18:54:50.112815  1180 hwdisplay.c:1486]               <hwd_switch_vo_device> Current the  disp_type:0x0  tv_mode:0x0
      [  305.009052] lcd_panel_init 
      [  305.519273] L2 PageTable Invalid
      [  305.522896] 0x48980000 is not mapped!
      [  305.526996] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.536348] L2 PageTable Invalid
      [  305.539963] 0x48980000 is not mapped!
      [  305.544063] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.553446] L2 PageTable Invalid
      [  305.557060] 0x48980000 is not mapped!
      [  305.561160] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.570544] L2 PageTable Invalid
      [  305.574158] 0x48980000 is not mapped!
      [  305.578257] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.584743] lcd_bl_open 
      [  305.587660] L2 PageTable Invalid
      [  305.591274] 0x48980000 is not mapped!
      [  305.595373] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.602004] [DISP] disp_device_attached_and_enable,line:234:[  305.608156] L2 PageTable Invalid
      [  305.608159] 0x48980000 is not mapped!
      [  305.608163] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.622379] L2 PageTable Invalid
      [  305.622384] 0x48980000 is not mapped!
      [  305.622388] DE invalid address: 0x48980000, data:0x0, id:0x4
      
      [  305.636984] attached ok, mgr0<-->dev0
      [  305.641301] L2 PageTable Invalid
      [  305.641304] 0x48980000 is not mapped!
      [  305.641308] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.655473] [DISP] disp_device_attached_and_enable,line:247:[  305.661638] L2 PageTable Invalid
      [  305.661641] 0x48980000 is not mapped!
      [  305.661645] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.675837] L2 PageTable Invalid
      [  305.675840] 0x48980000 is not mapped!
      [  305.675844] DE invalid address: 0x48980000, data:0x0, id:0x4
      
      [  305.690077] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8
      [  305.690281] L2 PageTable Invalid
      [  305.690284] 0x48980000 is not mapped!
      [  305.690287] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.707432] L2 PageTable Invalid
      [  305.707435] 0x48980000 is not mapped!
      [  305.707438] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.728026] L2 PageTable Invalid
      [  305.728030] 0x48980000 is not mapped!
      [  305.728035] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.742213] L2 PageTable Invalid
      [  305.742216] 0x48980000 is not mapped!
      [  305.742220] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.758622] L2 PageTable Invalid
      [  305.762236] 0x48980000 is not mapped!
      [  305.766337] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  305.775720] L2 PageTable Invalid
      [  305.779335] 0x48980000 is not mapped!
      [  305.783434] DE invalid address: 0x48980000, data:0x0, id:0x4
      I0101 18:54:51.206567  1180 samp[  305.792822] L2 PageTable Invalid
      [  305.796535] 0x48980000 is not mapped!
      [  305.800636] DE invalid address: 0x48980000, data:0x0, id:0x4
      le_smartPreview_demo.c:303]                                 <CreateVIPP2VOLink> Vipp d[  305.809919] L2 PageTable Invalid
      [  305.816171] 0x48980000 is not mapped!
      [  305.820271] DE invalid address: 0x48980000, data:0x0, id:0x4
      ev[0] vir_chn[0]
      [ISP]video dev[  305.827015] L2 PageTable Invalid
      [  305.833035] 0x48980000 is not mapped!
      [  305.837135] DE invalid address: 0x48980000, data:0x0, id:0x4
      ice name is vin_video0
      [ISP]ope[  305.844115] L2 PageTable Invalid
      [  305.849895] 0x48980000 is not mapped!
      [  305.853995] DE invalid address: 0x48980000, data:0x0, id:0x4
      n video device[0], detect isp0 s[  305.861211] L2 PageTable Invalid
      [  305.866752] 0x48980000 is not mapped!
      [  305.870852] DE invalid address: 0x48980000, data:0x0, id:0x4
      uccess!
      I0101 18:54:51.206982  [  305.878308] L2 PageTable Invalid
      [  305.883615] 0x48980000 is not mapped!
      [  305.887715] DE invalid address: 0x48980000, data:0x0, id:0x4
      [60[  305.895407] L2 PageTable Invalid
      [  305.900471] 0x48980000 is not mapped!
      [  305.904571] DE invalid address: 0x48980000, data:0x0, id:0x4
      C<getDictByConfPath> MPP_DEDIA_D[  305.912505] L2 PageTable Invalid
      [  305.917326] 0x48980000 is not mapped!
      [  305.921426] DE invalid address: 0x48980000, data:0x0, id:0x4
      EBUG_FILE_PATH=(null)
      I0101 18:[  305.929602] L2 PageTable Invalid
      [  305.934180] 0x48980000 is not mapped!
      [  305.938280] DE invalid address: 0x48980000, data:0x0, id:0x4
      54:51.207546  1180 videoInputHw.[  305.946701] L2 PageTable Invalid
      [  305.951029] 0x48980000 is not mapped!
      [  305.955129] DE invalid address: 0x48980000, data:0x0, id:0x4
      c:942]                                                      <videoInputHw_S[  305.963799] L2 PageTable Invalid
      [  305.967885] 0x48980000 is not mapped!
      [  305.971985] DE invalid address: 0x48980000, data:0x0, id:0x4
      etChnAttr> ViCh[0] update width:[  305.980897] L2 PageTable Invalid
      [  305.984736] 0x48980000 is not mapped!
      [  305.988837] DE invalid address: 0x48980000, data:0x0, id:0x4
      360(368), height:640(640)
      [  305.997994] L2 PageTable Invalid
      [  306.001611] 0x48980000 is not mapped!
      [  306.005711] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.015092] L2 PageTable Invalid
      [  306.018707] 0x48980000 is not mapped!
      [  306.022807] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.032190] L2 PageTable Invalid
      [  306.035805] 0x48980000 is not mapped!
      [  306.039904] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.049288] L2 PageTable Invalid
      [  306.052903] 0x48980000 is not mapped!
      [  306.057003] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.066386] L2 PageTable Invalid
      [  306.070000] 0x48980000 is not mapped!
      [  306.074100] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.083483] L2 PageTable Invalid
      [  306.087097] 0x48980000 is not mapped!
      [  306.091197] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.100583] L2 PageTable Invalid
      [  306.104199] 0x48980000 is not mapped!
      [  306.108299] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.117680] L2 PageTable Invalid
      [  306.121295] 0x48980000 is not mapped!
      [  306.125394] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.134778] L2 PageTable Invalid
      [  306.138394] 0x48980000 is not mapped!
      [  306.142493] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.151877] L2 PageTable Invalid
      [  306.155493] 0x48980000 is not mapped!
      [  306.159593] DE invalid address: 0x48980000, data:0x0, id:0x4
      [ISP]video0 fd[10] ve_online_en=[  306.166597] [VIN]ve_online close
      0, dma_buf_num=0
      [  306.172982] L2 PageTable Invalid
      [  306.172986] 0x48980000 is not mapped!
      [  306.172990] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.188699] L2 PageTable Invalid
      [  306.188703] 0x48980000 is not mapped!
      [  306.188707] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.203175] L2 PageTable Invalid
      [  306.206792] 0x48980000 is not mapped!
      [  306.210893] DE invalid address: 0x48980000, data:0x0, id:0x4
      [ISP]open isp device[0[  306.220275] L2 PageTable Invalid
      [  306.225574] 0x48980000 is not mapped!
      [  306.229674] DE invalid address: 0x48980000, data:0x0, id:0x4
      ] success!
      [ISP]get isp_ctx from /mnt/extsd[  306.237375] L2 PageTable Invalid
      [  306.243500] 0x48980000 is not mapped!
      [  306.247602] DE invalid address: 0x48980000, data:0x0, id:0x4
      /isp0_1920_1088_20_ctx_saved.bin[  306.254475] L2 PageTable Invalid
      [  306.260393] 0x48980000 is not mapped!
      [  306.264494] DE invalid address: 0x48980000, data:0x0, id:0x4
       success!!!
      [ISP]prefer isp con[  306.271570] L2 PageTable Invalid
      [  306.277282] 0x48980000 is not mapped!
      [  306.281382] DE invalid address: 0x48980000, data:0x0, id:0x4
      fig: [gc2053_mipi], 1920x1088, 2[  306.288666] L2 PageTable Invalid
      [  306.294161] 0x48980000 is not mapped!
      [  306.298262] DE invalid address: 0x48980000, data:0x0, id:0x4
      0, 0, 0
      [ISP]find gc2053_mipi_1[  306.305766] L2 PageTable Invalid
      [  306.311042] 0x48980000 is not mapped!
      [  306.315143] DE invalid address: 0x48980000, data:0x0, id:0x4
      920_1088_20_0 [gc2053_mipi_isp60[  306.322865] L2 PageTable Invalid
      [  306.327927] 0x48980000 is not mapped!
      [  306.332028] DE invalid address: 0x48980000, data:0x0, id:0x4
      0_20220511_164617_vlc4_day] isp [  306.339961] L2 PageTable Invalid
      [  306.344815] 0x48980000 is not mapped!
      [  306.348916] DE invalid address: 0x48980000, data:0x0, id:0x4
      config
      [  306.357060] L2 PageTable Invalid
      [  306.360683] 0x48980000 is not mapped!
      [  306.364784] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.374158] L2 PageTable Invalid
      [  306.377783] 0x48980000 is not mapped!
      [  306.381884] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.391256] L2 PageTable Invalid
      [  306.394881] 0x48980000 is not mapped!
      [  306.398982] DE invalid address: 0x48980000, data:0x0, id:0x4
      [  306.408353] L2 PageTable Invalid
      [  306.411978] 0x48980000 is not mapped!
      [  306.416078] DE invalid address: 0x48980000, data:0x0, id:0x4
      [ISP]create isp0[  306.425462] L2 PageTable Invalid
      [  306.430443] 0x48980000 is not mapped!
      [  306.434546] DE invalid address: 0x48980000, data:0x0, id:0x4
       server thread!
      I0101 18:54:51.858032  1180 mp[  306.442549] L2 PageTable Invalid
      [  306.448796] 0x48980000 is not mapped!
      [  306.452897] DE invalid address: 0x48980000, data:0x0, id:0x4
      i_vi.c:1018]                                                <AW_MPI_V[  306.459647] L2 PageTable Invalid
      [  306.465681] 0x48980000 is not mapped!
      [  306.469781] DE invalid address: 0x48980000, data:0x0, id:0x4
      

      75b93752-c9c6-4ad3-8acf-f8dd9cd5f7dc-image.png
      有如上报错,不知道有没有大佬遇到过

      posted in V853系列-AI视觉
      N
      NULL037
    • Reply: 执行sample_smartPreview_demo的ViDev[8]报错

      @null037 问题出在设备树中,需要将设备树中修改vinc@8节点
      d8975e0b-47a6-4011-8bad-cd70c7472c11-image.png

      posted in V853系列-AI视觉
      N
      NULL037
    • 执行sample_smartPreview_demo的ViDev[8]报错

      现象:
      在执行sample_smartPreview_demo时,出现mpi_vi.c报错,提示ViDev[8] vichn[0] is unexist!!
      511410d5-681d-464d-a3fc-61b60285f1b0-image.png

      这个参数8.是在sample_smartPreview_demo.conf文件里设置main_nn_vipp
      40c4bcc8-e8bc-47d7-86b8-77e10c2c548a-image.png

      我不太理解这个参数是根据哪里来设置的,设置后需要配置什么内容?

      posted in V853系列-AI视觉
      N
      NULL037
    • Reply: V853烧录问题后自动重新烧录

      @wl17761275256 如果你的EMMC芯片不在手册,那我建议你先自己换成手册上支持的芯片,快速确认是否是EMMC的问题。不然后续的调试时间会很长

      posted in V853系列-AI视觉
      N
      NULL037
    • Reply: V853/V851s 增加 OpenCV, FFmpeg 编译包

      @yuzukitsuru 大佬,将opencv已经打包进去,编译生成新镜像后,测试了一下opencv-sample,发现opencv无法打开GC2053的video0节点,然后我外接一个USB摄像头就,修改程序读取的节点可以程序就正常读取video1节点。

      下面是读取默认GC2053 video0节点时的报错

      root@TinaLinux:/# opencv-camera 
      VIDEOIO ERROR: V4L2: Unable to c[  702.464977] [VIN_ERR]video0 has already stream off
      apture video memory.VIDEOIO ERRO[  702.473357] [VIN_ERR]gc2053_mipi is not used, video0 cannot be close!
      R: V4L: can't open camera by index 0
      /dev/video0 does not support memory mapping
      Could not open video device.
      

      这个GC2053节点使用camerademo可以正常拍照测试。

      当我外接一个usb摄像头,修改代码读取video1节点时,就可正常显示

      root@TinaLinux:/# ls /dev/video*                                                                                                          
      /dev/video0   /dev/video1   /dev/video12
      root@TinaLinux:/# opencv-camera 
      [   47.443615] random: crng init done
      [   47.447436] random: 2 urandom warning(s) missed due to ratelimiting
      Successfully opened video device
      

      请问为什么GC2053节点无法被opencv程序读取呢?

      posted in V853系列-AI视觉
      N
      NULL037