导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. ICpachong
    3. 帖子
    I
    • 资料
    • 关注 0
    • 粉丝 0
    • 我的积分 1502
    • 主题 5
    • 帖子 19
    • 最佳 2
    • 群组 0

    ICpachong 发布的帖子

    • 回复: 运行eye-mpp 中的sample_odet_demo报错

      @null037 可以确定这个例程有问题,经过修改程序可以运行了,但是还有问题待修复。

      还是希望AW能发布经过测试的例程,避免大家无谓的踩坑。

      发布在 V Series
      I
      ICpachong
    • 回复: 全志V853 NPU yolov3转化模型时量化未使用全部data图片

      @rain_tk 在 全志V853 NPU yolov3转化模型时量化未使用全部data图片 中说:

      sample_odet_demo

      你好,sample_odet_demo的原代码运行需要做什么修改吗?如果需要修改,可以将你修改该过的代码发一下吗?

      发布在 V Series
      I
      ICpachong
    • 回复: 运行eye-mpp 中的sample_odet_demo报错

      @whycanservice 模型文件的路径是正确的。
      请问您运行过这个例程吗?需要做哪些修改?

      发布在 V Series
      I
      ICpachong
    • 回复: 运行eye-mpp 中的sample_odet_demo报错

      @whycanservice
      如果这里不改的话会报如下错误
      2022-12-19 21-34-18 的屏幕截图.png

      npu_config_and_run line 808, fatal error! AW_MPI_VI CreateVipp:8 failed

      发布在 V Series
      I
      ICpachong
    • 运行eye-mpp 中的sample_odet_demo报错

      运行eye-mpp 中的sample_odet_demo报错,帮忙看看需要修改哪里。log如下:

      root@TinaLinux:~# ./sample_odet_demo 
      WARNING: Logging before InitGoogleLogging() is written to STDERR
      I0101 01:07:26.883501  1217 dup2SeldomUsedFd.c:20]          <dup2SeldomUsedFdInit> gFdLock init
      main line 1879, run start!
      [0xb6f56560]vip_init[104], 
      The version of Viplite is: 1.8.0-0-AW-2022-04-21
      [0xb6f56560]gcvip_os_call_kernel[344], fail to ioctl vipcore, command[0]:CMD_INIT, status=-2
      [0xb6f56560]gcvip_os_init[99], fail to call kernel for cmd init, status=-2.
      [0xb6f56560]gcvip_user_init[339], fail to initialize OS, status=-2.
      [0xb6f56560]gcvip_init[3479], failed to user init
      Error: sample_odet_demo/yolov3-tiny_nbg_viplite/main.c: odet_init at 227
      load_vipp_parameters line 137, run start!
      load_vipp_parameters line 211, run finish!
      mpp_init line 219, run start!
      I0101 01:07:26.956034  1217 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 01:07:26.960326  1217 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 01:07:26.961239  1217 mpi_sys.c:1282]                 <AW_MPI_SYS_Init> ISP init done
      INFO   : cedarc <VeInitialize:1185>: *** ic_version = 0x1302000023010,
      I0101 01:07:26.971323  1217 hwdisplay.c:84]                 <hw_display_init> 
      I0101 01:07:26.971831  1217 hwdisplay.c:993]                <hwd_init> (hwd_init 993)
      I0101 01:07:26.972479  1217 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 01:07:26.973121  1217 alsa_interface.c:701]           <alsaOpenMixer> open mixer:hw:0
      I0101 01:07:26.979233  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 ADC2 swap
      I0101 01:07:26.979757  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC1 volume
      I0101 01:07:26.980278  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADC2 volume
      I0101 01:07:26.980780  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCDRC
      I0101 01:07:26.981432  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:ADCHPF
      I0101 01:07:26.981941  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DAC volume
      I0101 01:07:26.982416  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACDRC
      I0101 01:07:26.983530  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:DACHPF
      I0101 01:07:26.983962  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEIN
      I0101 01:07:26.984780  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINL gain volume
      I0101 01:07:26.985854  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEINR gain volume
      I0101 01:07:26.986367  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT
      I0101 01:07:26.987161  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT Output Select
      I0101 01:07:26.987677  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:LINEOUT volume
      I0101 01:07:26.988190  1217 alsa_interface.c:756]           <alsaOpenMixer> set playback vol_val to value: 27
      I0101 01:07:26.988677  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1
      I0101 01:07:26.989505  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 Input Select
      I0101 01:07:26.990000  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC1 gain volume
      I0101 01:07:26.990471  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2
      I0101 01:07:26.990960  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2 Input Select
      I0101 01:07:26.991932  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:MIC2 gain volume
      I0101 01:07:26.992735  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:SPK
      I0101 01:07:26.993681  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:digital volume
      I0101 01:07:26.994238  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:rx sync mode
      I0101 01:07:26.995046  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:tx hub mode
      E0101 01:07:26.995832  1217 alsa_interface.c:970]           <alsaMixerSetAudioCodecHubMode> aec_elem_audio_codec_hub_mode:tx hub mode-1
      E0101 01:07:26.996355  1217 alsa_interface.c:853]           <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
      I0101 01:07:26.996936  1217 alsa_interface.c:701]           <alsaOpenMixer> open mixer:hw:1
      I0101 01:07:26.998519  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:loopback debug
      I0101 01:07:26.999007  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:rx sync mode
      I0101 01:07:26.999499  1217 alsa_interface.c:736]           <alsaOpenMixer> alsa_elem:tx hub mode
      E0101 01:07:27.000310  1217 alsa_interface.c:993]           <alsaMixerSetDAudio0HubMode> aec_elem_daudio0_hub_mode:tx hub mode-1
      E0101 01:07:27.000856  1217 alsa_interface.c:1016]          <alsaMixerSetDAudio0LoopBackEn> aec_elem_daudio0_loopback_en:loopback debug-1
      E0101 01:07:27.001342  1217 alsa_interface.c:853]           <alsaMixerSetCapPlaySyncMode> aec_elem_sync_mode_switch:rx sync mode-1
      mpp_init line 232, run finish!
      run_project line 1690, run start!
      I0101 01:07:27.002786  1217 hwdisplay.c:1248]               <hwd_get_disp_type> Current the  disp_type:0x0  tv_mode:0x0
      I0101 01:07:27.004058  1217 mpi_vo.c:837]                   <AW_MPI_VO_SetPubAttr> vo interface changed, [0x0, 0x1]->[0x40, 0x1]
      I0101 01:07:27.004617  1217 hwdisplay.c:1486]               <hwd_switch_vo_device> Current the  disp_type:0x0  tv_mode:0x0
      config_vipp_display2_vo line 1430, run start!
      config_vipp_display2_vo line 1453, vipp[4] vir_chn[0] creating.
      [ISP]video device name is vin_video4
      [ISP_ERR]video_init, line: 110,can not get entity by name vin_video4
      [ISP_ERR]isp_video_open, line: 468,error: unable to initialize video device.
      [ISP_ERR]isp_video_open, line: 487,unable to open video device[4]!
      E0101 01:07:27.536814  1217 videoInputHw.c:637]             <videoInputHw_ChnInit> error: isp video can not open, chn[4]!
      E0101 01:07:27.536981  1217 mpi_vi.c:170]                   <AW_MPI_VI_CreateVipp> initialize video input hardware failed!!
      config_vipp_display2_vo line 1459, fatal error! AW_MPI_VI CreateVipp:4 failed
      config_vipp_display2_vo line 1652, run finish!
      npu_worker_thread line 1676, run start!
      npu_config_and_run line 779, run start!
      npu_config_and_run line 802, vipp[0] vir_chn[1] creating.
      [ISP]video device name is vin_video0
      [ISP]open video device[0], detect isp0 success!
      I0101 01:07:27.538473  1220 media_debug.c:45]               <getDictByConfPath> MPP_DEDIA_DEBUG_FILE_PATH=(null)
      I0101 01:07:27.538810  1220 videoInputHw.c:1015]            <videoInputHw_SetChnAttr> ViCh[0], user set disable Encpp
      [ISP_ERR]isp_ir_reset, line: 639,isp0 device is NULL!
      run_project line 1748, fatal error! isp switch wdr[0] fail[-1].
      [ISP]video0 fd[10] ve_online_en=0, dma_buf_num=0
      [ISP]open isp device[0] success!
      [ISP_WARN]open /mnt/extsd/isp0_1920_1088_30_ctx_saved.bin failed, err:No such file or directory.
      [ISP]prefer isp config: [gc2053_mipi], 1920x1088, 30, 0, 0
      [ISP_WARN]cannot find gc2053_mipi_1920_1088_30_0_0 isp config, use gc2053_mipi_1920_1088_20_0_0 -> [gc2053_mipi_isp600_20220511_164617_vlc4_day]
      [ISP]create isp0 server thread!
      I0101 01:07:27.849592  1220 VideoVirVi_Component.c:1160]    <VideoViComponentInit> VideoVirvi component Init! thread_id[0xb6986d50]
      I0101 01:07:27.849816  1222 videoInputHw.c:4787]            <VideoInputHw_CapThread> loop VideoInputHw_CapThread vipp_id = 0, buf_num=5.
      [ISP_ERR]isp_stat_process_buffer, line: 268,AEWB: stats error, skipping buffer.
      I0101 01:07:28.043595  1220 hwdisplay.c:1121]               <hwd_layer_request_hlay> hlay:5, zorder=5, cnt:2
      I0101 01:07:28.043795  1220 mpi_vo.c:1038]                  <AW_MPI_VO_SetVideoLayerAttr> ch[1]lyl[1]:dispRect changed, [0, 0, 320x240]->[0, 0, 0x0]
      I0101 01:07:28.043898  1220 hwdisplay.c:409]                <hwd_layer_set_rect> ch[1]lyl[1]: screen_win[0,0, 0x0]
      npu_config_and_run line 912, create vo channel[0] success!
      [ISP_WARN]gc2053_mipi get sensor_temp failed: Invalid argument (22).
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP_ERR]isp_sync_debug_info, line: 747,VIDIOC_VIN_ISP_GET_INFO error!
      [ISP]video device name is vin_video12
      [ISP]open video device[12], detect isp0 success!
      save_raw_picture line 758, virAddr[0]=[0xb69aa000], length=[173056].
      save_raw_picture line 758, virAddr[1]=[0xb69d4400], length=[86528].
      save_raw_picture line 765, store raw frame in file[/mnt/sdcard/pic[0-416x416].nv12].
      Usage: 
          nbg_name input_data1 input_data2...
      Segmentation fault (core dumped)
      
      
      发布在 V Series
      I
      ICpachong
    • 回复: yolo v5 使用--batch-size 大于1时量化报错

      @yuzukitsuru 感谢回答!
      如果在量化和预推理时循环多次的话,需要加入--iterations 6参数

      发布在 V Series
      I
      ICpachong
    • yolo v5 使用--batch-size 大于1时量化报错

      在量化yolo v5模型时使用命令:
      pegasus quantize --model yolov5s-sim.json --model-data yolov5s-sim.data --batch-size 5 --device CPU --with-input-meta yolov5s-sim_inputmeta.yml --rebuild --model-quantize yolov5s-sim.quantize --quantizer asymmetric_affine --qtype uint8
      dataset.txt的配置和图片的位置都是正确的,当--batch-size 为1是成功的,但是当--batch-size 为5或其他大于1的值时会报如下错误,请各位大佬帮忙看看:

      I Build torch-jit-export complete.
      D *********** Setup database (1) ***********
      D Setup dataset "TEXT":
      D Lids: ['images_208']
      D Layouts: ['nchw']
      D Shapes: [[5, 3, 640, 640]]
      D Data types: ['float32']
      D Sparse tensors: []
      D Tensor names(H5FS only): []
      W:tensorflow:AutoGraph could not transform <acuitylib.core.execution.BackendFunction object at 0x7f5bcde20ee0> and will run it as-is.
      Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
      Cause: Unable to locate the source code of <function BackendFunction.__call__ at 0x7f5bced43670>. Note that functions defined in certain environments, like the interactive Python shell do not expose their source code. If that is the case, you should to define them in a .py source file. If you are certain the code is graph-compatible, wrap the call using @tf.autograph.do_not_convert. Original error: could not get source code
      To silence this warning, decorate the function with @tf.autograph.experimental.do_not_convert
      Traceback (most recent call last):
        File "tensorflow/python/autograph/pyct/parser.py", line 204, in parse_entity
        File "tensorflow/python/autograph/pyct/inspect_utils.py", line 147, in getimmediatesource
        File "inspect.py", line 798, in findsource
      OSError: could not get source code
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "tensorflow/python/autograph/impl/api.py", line 584, in converted_call
        File "tensorflow/python/autograph/impl/conversion.py", line 118, in convert
        File "tensorflow/python/autograph/pyct/transpiler.py", line 411, in transform_function
        File "tensorflow/python/autograph/pyct/transpiler.py", line 373, in _transformed_factory
        File "tensorflow/python/autograph/pyct/transpiler.py", line 303, in _transform_function
        File "tensorflow/python/autograph/pyct/parser.py", line 206, in parse_entity
      ValueError: Unable to locate the source code of <function BackendFunction.__call__ at 0x7f5bced43670>. Note that functions defined in certain environments, like the interactive Python shell do not expose their source code. If that is the case, you should to define them in a .py source file. If you are certain the code is graph-compatible, wrap the call using @tf.autograph.do_not_convert. Original error: could not get source code
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "tensorflow/python/framework/ops.py", line 1812, in _create_c_op
      tensorflow.python.framework.errors_impl.InvalidArgumentError: Cannot reshape a tensor with 8160000 elements to shape [1,3,85,80,80] (1632000 elements) for '{{node Reshape_Reshape_213_8}} = Reshape[T=DT_FLOAT, Tshape=DT_INT32](Reshape_Reshape_213_8_acuity_mark_perm_211, Reshape_Reshape_213_8/shape)' with input shapes: [5,255,80,80], [5] and with input tensors computed as partial shapes: input[1] = [1,3,85,80,80].
      
      During handling of the above exception, another exception occurred:
      
      Traceback (most recent call last):
        File "pegasus.py", line 131, in <module>
        File "pegasus.py", line 108, in main
        File "acuitylib/app/medusa/commands.py", line 212, in execute
        File "acuitylib/vsi_nn.py", line 589, in quantize
        File "acuitylib/app/medusa/quantization.py", line 151, in run
        File "acuitylib/app/medusa/quantization.py", line 54, in _run_quantization
        File "acuitylib/app/medusa/workspace.py", line 120, in run
        File "acuitylib/app/medusa/workspace.py", line 92, in _setup_graph
        File "acuitylib/acuitynetbuilder.py", line 83, in build_normal_graph
        File "acuitylib/acuitynetbuilder.py", line 69, in _build_backend_execution
        File "acuitylib/core/execution.py", line 557, in __init__
        File "tensorflow/python/eager/def_function.py", line 1167, in get_concrete_function
        File "tensorflow/python/eager/def_function.py", line 1073, in _get_concrete_function_garbage_collected
        File "tensorflow/python/eager/def_function.py", line 696, in _initialize
        File "tensorflow/python/eager/function.py", line 2855, in _get_concrete_function_internal_garbage_collected
        File "tensorflow/python/eager/function.py", line 3213, in _maybe_define_function
        File "tensorflow/python/eager/function.py", line 3065, in _create_graph_function
        File "tensorflow/python/framework/func_graph.py", line 986, in func_graph_from_py_func
        File "tensorflow/python/eager/def_function.py", line 600, in wrapped_fn
        File "tensorflow/python/framework/func_graph.py", line 962, in wrapper
        File "tensorflow/python/autograph/impl/api.py", line 591, in converted_call
        File "tensorflow/python/autograph/impl/api.py", line 398, in _fall_back_unconverted
        File "tensorflow/python/autograph/impl/api.py", line 339, in _call_unconverted
        File "acuitylib/core/execution.py", line 413, in __call__
        File "acuitylib/core/execution.py", line 409, in _build_backend_operations
        File "acuitylib/core/execution.py", line 401, in _build_layer_backend
        File "acuitylib/core/execution.py", line 19, in __call__
        File "acuitylib/layer/reshapelayer.py", line 89, in compute_out_tensor
        File "tensorflow/python/util/dispatch.py", line 201, in wrapper
        File "tensorflow/python/ops/array_ops.py", line 195, in reshape
        File "tensorflow/python/ops/gen_array_ops.py", line 8233, in reshape
        File "tensorflow/python/framework/op_def_library.py", line 742, in _apply_op_helper
        File "tensorflow/python/framework/func_graph.py", line 591, in _create_op_internal
        File "tensorflow/python/framework/ops.py", line 3477, in _create_op_internal
        File "tensorflow/python/framework/ops.py", line 1974, in __init__
        File "tensorflow/python/framework/ops.py", line 1815, in _create_c_op
      ValueError: Cannot reshape a tensor with 8160000 elements to shape [1,3,85,80,80] (1632000 elements) for '{{node Reshape_Reshape_213_8}} = Reshape[T=DT_FLOAT, Tshape=DT_INT32](Reshape_Reshape_213_8_acuity_mark_perm_211, Reshape_Reshape_213_8/shape)' with input shapes: [5,255,80,80], [5] and with input tensors computed as partial shapes: input[1] = [1,3,85,80,80].
      [107616] Failed to execute script 'pegasus' due to unhandled exception!
      
      
      发布在 V Series
      I
      ICpachong
    • 回复: eyesee-mpp

      @nimadibaj
      参考这个贴中的回复内容:http://bbs.eeworld.com.cn/thread-1223046-1-1.html

      发布在 编译和烧写问题专区
      I
      ICpachong
    • 回复: V853 sample_rtsp怎么编译不出二进制文件

      @qq519472926 试试先clean 一下,再重新编

      发布在 V Series
      I
      ICpachong
    • 回复: V853 官方开发板配套模组的ISP 参数可以提供一份供参考?

      @xiaowenge 先给份板子配套模组GC2053的ISP tuning文件试试效果?

      发布在 V Series
      I
      ICpachong
    • V853 官方开发板配套模组的ISP 参数可以提供一份供参考?

      V853 官方开发板配套模组的ISP 参数可以提供一份供参考?
      另外配套的tigerISP 调试工具和文档能不能也提供了?
      目前需要评估贵司这款SOC的ISP 性能和实际效果

      发布在 V Series
      I
      ICpachong
    • 回复: V853烧录固件的时候一直自动刷,停不下来

      @yuzukitsuru 没有用

      发布在 V Series
      I
      ICpachong
    • 回复: V853烧录固件的时候一直自动刷,停不下来

      @ningle @chengwei_peng @YuzukiTsuru
      我也遇到了相同的问题,使用自己编译出来的固件烧入后会不停的重启继续刷,烧写官方提供的出厂的固件就会有这个问题。
      这是log:

      U-Boot 2018.05-g3a34d5f (Jul 08 2022 - 07:00:11 +0000) Allwinner Technology
      
      [03.715]CPU:   Allwinner Family
      [03.718]Model: sun8iw21
      I2C:   ready
      [03.744]DRAM:  512 MiB
      [03.747]Relocation Offset is: 1ced0000
      [03.772]secure enable bit: 0
      [03.775]PMU: AXP21
      [03.777]PMU: pmu_axp2101 found
      [03.779]BMU: AXP21
      [03.781]BMU: bmu_axp2101 found
      FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
      [03.792]gpio_bias, pc_bias: 1800, pc_supply: not set
      [03.797]gpio_bias, pl_bias:   -1, pl_supply: not set
      [03.802]dcdc1_vol = 3300, onoff=1
      [03.806]dcdc2_vol = 900, onoff=1
      [03.809]dcdc5_vol = 0, onoff=0
      [03.812]aldo1_vol = 1800, onoff=1
      [03.816]aldo2_vol = 1800, onoff=1
      [03.819]aldo3_vol = 3300, onoff=1
      [03.823]aldo4_vol = 3300, onoff=1
      [03.826]bldo1_vol = 1800, onoff=1
      [03.830]bldo2_vol = 2800, onoff=1
      [03.833]dldo1_vol = 3300, onoff=1
      [03.837]dldo2_vol = 1200, onoff=1
      bias_name:pc_bias        bias_vol:1800
      bias_name:pi_bias        bias_vol:1800
      [03.847]bat_vol=677, ratio=0
      [03.849]safe_vol=3500, safe_ratio=1
      [03.853]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz  MBus=300Mhz
      [03.859]gic: normal mode
      sunxi flash map init
      [03.863]flash init start
      [03.865]workmode = 16,storage type = 0
      try card 2
      set card number 2
      get card number 2
      [03.873][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [03.878][mmc]: get sdc_type fail and use default host:tm4.
      [03.885][mmc]: Is not Boot mode!
      [03.888][mmc]: SUNXI SDMMC Controller Version:0x50400
      [03.899][mmc]: ************Try SD card 2************
      [03.904][mmc]: mmc 2 cmd timeout 100 status 100
      [03.908][mmc]: smc 2 err, cmd 8,  RTO
      [03.912][mmc]: mmc 2 close bus gating and reset
      [03.917][mmc]: mmc 2 cmd timeout 100 status 100
      [03.921][mmc]: smc 2 err, cmd 55,  RTO
      [03.924][mmc]: mmc 2 close bus gating and reset
      [03.929][mmc]: ************Try MMC card 2************
      [03.952][mmc]: mmc 2 cmd timeout 100 status 100
      [03.956][mmc]: smc 2 err, cmd 8,  RTO
      [03.959][mmc]: mmc 2 close bus gating and reset
      [03.964][mmc]: mmc 2 cmd timeout 100 status 100
      [03.969][mmc]: smc 2 err, cmd 55,  RTO
      [03.972][mmc]: mmc 2 close bus gating and reset
      [03.988][mmc]: gen_tuning_blk_bus8: total blk 10
      [03.992][mmc]: gen_tuning_blk_bus4: total blk 6
      [03.996][mmc]: Using 8 bit tuning now
      [04.000][mmc]: write_tuning_try_freq: write ok
      [04.005][mmc]: Pattern compare ok
      [04.008][mmc]: Write tuning pattern ok
      [04.011][mmc]: ================== HSSDR52_SDR25...
      [04.016][mmc]: skip freq 400000
      [04.018][mmc]: skip freq 25000000
      [04.022][mmc]: freq: 2-50000000-64-4
      [04.184][mmc]: [0-61|62]
      [04.186][mmc]: ================== HSDDR52_DDR50...
      [04.191][mmc]: skip freq 400000
      [04.193][mmc]: freq: 1-25000000-64-4
      [04.343][mmc]: freq: 2-50000000-64-4
      [04.426][mmc]: [0-55|56]
      [04.429][mmc]: [8-30|23] [32-55|24]
      [04.432][mmc]: DS26/SDR12: 0xffffffff 0xffffffff
      [04.436][mmc]: HSSDR52/SDR25: 0xff1fffff 0xffffffff
      [04.441][mmc]: HSDDR52/DDR50: 0xff2c1cff 0xffffffff
      [04.446][mmc]: HS200/SDR104: 0xffffffff 0xffffffff
      [04.450][mmc]: HS400: 0xffffffff 0xffffffff
      [04.454][mmc]: HS400: 0xffffffff 0xffffffff
      [04.458][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
      [04.464]line:724 init_clocks
      [04.468]init_clocks:finish
      [04.470]Loading Environment from SUNXI_FLASH... OK
      [04.475]try to burn key
      [04.477]out of usb burn from boot: not need burn key
      Hit any key to stop autoboot:  0
      sunxi work mode=0x10
      run usb efex
      delay time 2500
      weak:otg_phy_config
      usb init ok
      set address 0x11
      set address 0x11 ok
      SUNXI_EFEX_ERASE_TAG
      erase_flag = 0x12
      origin_erase_flag = 0x1
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      the 0 mbr table is ok
      the 1 mbr table is ok
      the 2 mbr table is ok
      the 3 mbr table is ok
      *************MBR DUMP***************
      total mbr part 7
      
      part[0] name      :boot-resource
      part[0] classname :DISK
      part[0] addrlo    :0x2000
      part[0] lenlo     :0x1780
      part[0] user_type :32768
      part[0] keydata   :0
      part[0] ro        :0
      
      part[1] name      :env
      part[1] classname :DISK
      part[1] addrlo    :0x3780
      part[1] lenlo     :0x3f0
      part[1] user_type :32768
      part[1] keydata   :0
      part[1] ro        :0
      
      part[2] name      :boot
      part[2] classname :DISK
      part[2] addrlo    :0x3b70
      part[2] lenlo     :0x6270
      part[2] user_type :32768
      part[2] keydata   :0
      part[2] ro        :0
      
      part[3] name      :rootfs
      part[3] classname :DISK
      part[3] addrlo    :0x9de0
      part[3] lenlo     :0x3a200
      part[3] user_type :32768
      part[3] keydata   :0
      part[3] ro        :0
      
      part[4] name      :rootfs_data
      part[4] classname :DISK
      part[4] addrlo    :0x43fe0
      part[4] lenlo     :0x2760
      part[4] user_type :32768
      part[4] keydata   :0
      part[4] ro        :0
      
      part[5] name      :recovery
      part[5] classname :DISK
      part[5] addrlo    :0x46740
      part[5] lenlo     :0x4ec0
      part[5] user_type :32768
      part[5] keydata   :0
      part[5] ro        :0
      
      part[6] name      :UDISK
      part[6] classname :DISK
      part[6] addrlo    :0x4b600
      part[6] lenlo     :0x0
      part[6] user_type :33024
      part[6] keydata   :0
      part[6] ro        :0
      
      total part: 8
      mbr 0, 2000, 8000
      boot-resource 1, 1780, 8000
      env 2, 3f0, 8000
      boot 3, 6270, 8000
      rootfs 4, 3a200, 8000
      rootfs_data 5, 2760, 8000
      recovery 6, 4ec0, 8000
      UDISK 7, 0, 8100
      [07.519]erase all part start
      need erase flash: 18
      [07.523][mmc]: erase from: 0, to: 15155199, cnt: 15155200, erase_group: 1024
      [07.674][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x90 ms
      [07.680]read item0 copy0
      [07.695]Item0 (Map) magic is bad
      [07.698]the secure storage item0 copy0 magic is bad
      [07.715]Item0 (Map) magic is bad
      [07.718]the secure storage item0 copy1 magic is bad
      [07.722]Item0 (Map) magic is bad
      [07.725]the secure storage map is empty
      [07.754]erase secure storage: 0 ok
      SUNXI_EFEX_MBR_TAG
      mbr size = 0x10000
      write primary GPT success
      write Backup GPT success
      [07.768]update partition map
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      ******Has init
      FEX_CMD_fes_verify_value, start 0x2000, size high 0x0:low 0x14000
      FEX_CMD_fes_verify_value 0xe6f75b5c
      FEX_CMD_fes_verify_value, start 0x3780, size high 0x0:low 0x20000
      FEX_CMD_fes_verify_value 0x33cbba1
      FEX_CMD_fes_verify_value, start 0x3b70, size high 0x0:low 0x7d7000
      FEX_CMD_fes_verify_value 0xcc442320
      FEX_CMD_fes_verify_value, start 0x9de0, size high 0x0:low 0x1560000
      FEX_CMD_fes_verify_value 0xe2a7be99
      bootfile_mode=4
      SUNXI_EFEX_BOOT1_TAG
      boot1 size = 0x10c000, max size = 0x200000
      uboot size = 0x10c000
      storage type = 2
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      bootfile_mode=4
      SUNXI_EFEX_BOOT0_TAG
      boot0 size = 0x9000
      [09.998][mmc]: write mmc 2 info ok
      dram para[0] = 3a8
      dram para[1] = 3
      dram para[2] = 7b7bfb
      dram para[3] = 1
      dram para[4] = 10f2
      dram para[5] = 2000000
      dram para[6] = 1e14
      dram para[7] = 42
      dram para[8] = 20
      dram para[9] = 0
      dram para[10] = 4899d7
      dram para[11] = 1c241d0
      dram para[12] = a4073
      dram para[13] = b4787896
      dram para[14] = 0
      dram para[15] = 48484848
      dram para[16] = 48
      dram para[17] = 1621121e
      dram para[18] = 0
      dram para[19] = 0
      dram para[20] = 0
      dram para[21] = 420000
      dram para[22] = 48
      dram para[23] = b4016103
      dram para[24] = 0
      dram para[25] = 0
      dram para[26] = 0
      dram para[27] = 0
      dram para[28] = 0
      dram para[29] = 0
      dram para[30] = 0
      dram para[31] = 0
      storage type = 2
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      sunxi_efex_next_action=2
      exit usb
      next work 2
      [63]HELLO! BOOT0 is starting!OT
      [66]BOOT0 commit : 2a3ec52022
      [68]set pll start
      [70]periph0 has been enabled
      [73]set pll end
      [76]PMU: AXP21
      [78]board init ok
      [80]DRAM use external ZQ!!
      [83]bootinfo error1
      [85]ic cant match axp, please check...
      [88]init dram fail
      CCC[2111]fes begin commit:2a3ec52022
      [2114]set pll start
      [2116]periph0 has been enabled
      [2119]set pll end
      [2122]PMU: AXP21
      [2125]board init ok
      [2126]beign to init dram
      [2129]DRAM use external ZQ!!
      [2131]chip id check OK
      [2134]DRAM_VCC set to 1500 mv
      [2137]trefi:7.8ms
      [2139][AUTO DEBUG] single rank and full DQ!
      [2144]trefi:7.8ms
      [2146][AUTO DEBUG] rank 0 row = 15
      [2149][AUTO DEBUG] rank 0 bank = 8
      [2153][AUTO DEBUG] rank 0 page size = 2 KB
      [2157]DRAM BOOT DRIVE INFO: V0.16
      [2160]DRAM CLK = 936 MHz
      [2162]DRAM Type = 3 (2:DDR2,3:DDR3)
      [2165]DRAMC ZQ value: 0x7b7bfb
      [2168]DRAM ODT value: 0x42.
      [2172]DRAM SIZE =512 M
      [2174]dram_tpr4:0x0
      [2177]DRAM simple test OK.
      [2180]rtc standby flag is 0x0, super standby flag is 0x0
      [2185]init dram ok
      
      
      U-Boot 2018.05-g3a34d5f (Jul 08 2022 - 07:00:11 +0000) Allwinner Technology
      
      [03.871]CPU:   Allwinner Family
      [03.874]Model: sun8iw21
      I2C:   ready
      [03.900]DRAM:  512 MiB
      [03.903]Relocation Offset is: 1ced0000
      [03.928]secure enable bit: 0
      [03.931]PMU: AXP21
      [03.933]PMU: pmu_axp2101 found
      [03.935]BMU: AXP21
      [03.937]BMU: bmu_axp2101 found
      FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
      [03.948]gpio_bias, pc_bias: 1800, pc_supply: not set
      [03.953]gpio_bias, pl_bias:   -1, pl_supply: not set
      [03.958]dcdc1_vol = 3300, onoff=1
      [03.962]dcdc2_vol = 900, onoff=1
      [03.965]dcdc5_vol = 0, onoff=0
      [03.968]aldo1_vol = 1800, onoff=1
      [03.972]aldo2_vol = 1800, onoff=1
      [03.975]aldo3_vol = 3300, onoff=1
      [03.979]aldo4_vol = 3300, onoff=1
      [03.982]bldo1_vol = 1800, onoff=1
      [03.986]bldo2_vol = 2800, onoff=1
      [03.989]dldo1_vol = 3300, onoff=1
      [03.993]dldo2_vol = 1200, onoff=1
      bias_name:pc_bias        bias_vol:1800
      bias_name:pi_bias        bias_vol:1800
      [04.003]bat_vol=337, ratio=0
      [04.005]safe_vol=3500, safe_ratio=1
      [04.009]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz  MBus=300Mhz
      [04.015]gic: normal mode
      sunxi flash map init
      [04.019]flash init start
      [04.021]workmode = 16,storage type = 0
      try card 2
      set card number 2
      get card number 2
      [04.029][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00
      [04.034][mmc]: get sdc_type fail and use default host:tm4.
      [04.041][mmc]: Is not Boot mode!
      [04.044][mmc]: SUNXI SDMMC Controller Version:0x50400
      [04.055][mmc]: ************Try SD card 2************
      [04.060][mmc]: mmc 2 cmd timeout 100 status 100
      [04.064][mmc]: smc 2 err, cmd 8,  RTO
      [04.068][mmc]: mmc 2 close bus gating and reset
      [04.073][mmc]: mmc 2 cmd timeout 100 status 100
      [04.077][mmc]: smc 2 err, cmd 55,  RTO
      [04.080][mmc]: mmc 2 close bus gating and reset
      [04.085][mmc]: ************Try MMC card 2************
      [04.108][mmc]: mmc 2 cmd timeout 100 status 100
      [04.112][mmc]: smc 2 err, cmd 8,  RTO
      [04.115][mmc]: mmc 2 close bus gating and reset
      [04.120][mmc]: mmc 2 cmd timeout 100 status 100
      [04.125][mmc]: smc 2 err, cmd 55,  RTO
      [04.128][mmc]: mmc 2 close bus gating and reset
      [04.144][mmc]: gen_tuning_blk_bus8: total blk 10
      [04.148][mmc]: gen_tuning_blk_bus4: total blk 6
      [04.152][mmc]: Using 8 bit tuning now
      [04.156][mmc]: write_tuning_try_freq: write ok
      [04.161][mmc]: Pattern compare ok
      [04.164][mmc]: Write tuning pattern ok
      [04.167][mmc]: ================== HSSDR52_SDR25...
      [04.172][mmc]: skip freq 400000
      [04.174][mmc]: skip freq 25000000
      [04.177][mmc]: freq: 2-50000000-64-4
      [04.337][mmc]: [0-60|61]
      [04.339][mmc]: ================== HSDDR52_DDR50...
      [04.344][mmc]: skip freq 400000
      [04.347][mmc]: freq: 1-25000000-64-4
      [04.496][mmc]: freq: 2-50000000-64-4
      [04.579][mmc]: [0-55|56]
      [04.581][mmc]: [9-30|22] [32-55|24]
      [04.585][mmc]: DS26/SDR12: 0xffffffff 0xffffffff
      [04.589][mmc]: HSSDR52/SDR25: 0xff1effff 0xffffffff
      [04.594][mmc]: HSDDR52/DDR50: 0xff2c1cff 0xffffffff
      [04.598][mmc]: HS200/SDR104: 0xffffffff 0xffffffff
      [04.603][mmc]: HS400: 0xffffffff 0xffffffff
      [04.607][mmc]: HS400: 0xffffffff 0xffffffff
      [04.611][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
      [04.617]line:724 init_clocks
      [04.620]init_clocks:finish
      [04.623]Loading Environment from SUNXI_FLASH... OK
      [04.627]try to burn key
      [04.630]out of usb burn from boot: not need burn key
      Hit any key to stop autoboot:  0
      sunxi work mode=0x10
      run usb efex
      delay time 2500
      weak:otg_phy_config
      usb init ok
      set address 0x13
      set address 0x13 ok
      SUNXI_EFEX_ERASE_TAG
      erase_flag = 0x12
      origin_erase_flag = 0x1
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      the 0 mbr table is ok
      the 1 mbr table is ok
      the 2 mbr table is ok
      the 3 mbr table is ok
      *************MBR DUMP***************
      total mbr part 7
      
      part[0] name      :boot-resource
      part[0] classname :DISK
      part[0] addrlo    :0x2000
      part[0] lenlo     :0x1780
      part[0] user_type :32768
      part[0] keydata   :0
      part[0] ro        :0
      
      part[1] name      :env
      part[1] classname :DISK
      part[1] addrlo    :0x3780
      part[1] lenlo     :0x3f0
      part[1] user_type :32768
      part[1] keydata   :0
      part[1] ro        :0
      
      part[2] name      :boot
      part[2] classname :DISK
      part[2] addrlo    :0x3b70
      part[2] lenlo     :0x6270
      part[2] user_type :32768
      part[2] keydata   :0
      part[2] ro        :0
      
      part[3] name      :rootfs
      part[3] classname :DISK
      part[3] addrlo    :0x9de0
      part[3] lenlo     :0x3a200
      part[3] user_type :32768
      part[3] keydata   :0
      part[3] ro        :0
      
      part[4] name      :rootfs_data
      part[4] classname :DISK
      part[4] addrlo    :0x43fe0
      part[4] lenlo     :0x2760
      part[4] user_type :32768
      part[4] keydata   :0
      part[4] ro        :0
      
      part[5] name      :recovery
      part[5] classname :DISK
      part[5] addrlo    :0x46740
      part[5] lenlo     :0x4ec0
      part[5] user_type :32768
      part[5] keydata   :0
      part[5] ro        :0
      
      part[6] name      :UDISK
      part[6] classname :DISK
      part[6] addrlo    :0x4b600
      part[6] lenlo     :0x0
      part[6] user_type :33024
      part[6] keydata   :0
      part[6] ro        :0
      
      total part: 8
      mbr 0, 2000, 8000
      boot-resource 1, 1780, 8000
      env 2, 3f0, 8000
      boot 3, 6270, 8000
      rootfs 4, 3a200, 8000
      rootfs_data 5, 2760, 8000
      recovery 6, 4ec0, 8000
      UDISK 7, 0, 8100
      [07.552]erase all part start
      need erase flash: 18
      [07.556][mmc]: erase from: 0, to: 15155199, cnt: 15155200, erase_group: 1024
      [07.702][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x8b ms
      [07.708]read item0 copy0
      [07.723]Item0 (Map) magic is bad
      [07.726]the secure storage item0 copy0 magic is bad
      [07.743]Item0 (Map) magic is bad
      [07.745]the secure storage item0 copy1 magic is bad
      [07.750]Item0 (Map) magic is bad
      [07.753]the secure storage map is empty
      [07.782]erase secure storage: 0 ok
      SUNXI_EFEX_MBR_TAG
      mbr size = 0x10000
      write primary GPT success
      write Backup GPT success
      [07.795]update partition map
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      ******Has init
      FEX_CMD_fes_verify_value, start 0x2000, size high 0x0:low 0x14000
      FEX_CMD_fes_verify_value 0xe6f75b5c
      FEX_CMD_fes_verify_value, start 0x3780, size high 0x0:low 0x20000
      FEX_CMD_fes_verify_value 0x33cbba1
      FEX_CMD_fes_verify_value, start 0x3b70, size high 0x0:low 0x7d7000
      FEX_CMD_fes_verify_value 0xcc442320
      FEX_CMD_fes_verify_value, start 0x9de0, size high 0x0:low 0x1560000
      FEX_CMD_fes_verify_value 0xe2a7be99
      bootfile_mode=4
      SUNXI_EFEX_BOOT1_TAG
      boot1 size = 0x10c000, max size = 0x200000
      uboot size = 0x10c000
      storage type = 2
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      bootfile_mode=4
      SUNXI_EFEX_BOOT0_TAG
      boot0 size = 0x9000
      [10.068][mmc]: write mmc 2 info ok
      dram para[0] = 3a8
      dram para[1] = 3
      dram para[2] = 7b7bfb
      dram para[3] = 1
      dram para[4] = 10f2
      dram para[5] = 2000000
      dram para[6] = 1e14
      dram para[7] = 42
      dram para[8] = 20
      dram para[9] = 0
      dram para[10] = 4899d7
      dram para[11] = 1c241d0
      dram para[12] = a4073
      dram para[13] = b4787896
      dram para[14] = 0
      dram para[15] = 48484848
      dram para[16] = 48
      dram para[17] = 1621121e
      dram para[18] = 0
      dram para[19] = 0
      dram para[20] = 0
      dram para[21] = 420000
      dram para[22] = 48
      dram para[23] = b4016103
      dram para[24] = 0
      dram para[25] = 0
      dram para[26] = 0
      dram para[27] = 0
      dram para[28] = 0
      dram para[29] = 0
      dram para[30] = 0
      dram para[31] = 0
      storage type = 2
      FEX_CMD_fes_verify_status
      FEX_CMD_fes_verify last err=0
      sunxi_efex_next_action=2
      exit usb
      next work 2
      [47]HELLO! BOOT0 is starting!OT
      [50]BOOT0 commit : 2a3ec52022
      [53]set pll start
      [55]periph0 has been enabled
      [58]set pll end
      [60]PMU: AXP21
      [63]board init ok
      [65]DRAM use external ZQ!!
      [67]bootinfo error1
      [69]ic cant match axp, please check...
      [73]init dram fail
      CCC
      
      发布在 V Series
      I
      ICpachong
    • ubuntu 20.04 安装livesuit报错

      在搭建V853 linux 烧入工具是使用20.04.1-Ubuntu SMP Thu Sep 1 16:17:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux版本的系统,安装livesuit出现如下错误,能否帮忙解决一下?

      sudo ./LiveSuit.run
      You are running on Ubuntu
      LiveSuit/
      LiveSuit/LiveSuit.sh
      LiveSuit/bin/
      LiveSuit/bin/regdemo.lua
      LiveSuit/bin/LiveProc.Plg
      LiveSuit/bin/LiveSuit.lan
      LiveSuit/bin/luadec.dll
      LiveSuit/bin/imgdec_fun.lua
      LiveSuit/bin/LiveSuit
      LiveSuit/bin/libQtGui.so.4
      LiveSuit/bin/regdecode.lua
      LiveSuit/bin/ini_fun.lua
      LiveSuit/bin/libQtCore.so.4
      LiveSuit/bin/common_fun.lua
      LiveSuit/bin/plgvector.dll
      LiveSuit/bin/regbasefun.lua
      LiveSuit/bin/LangPlg.dll
      LiveSuit/bin/luaBase.dll
      LiveSuit/bin/luaeFex.dll
      awdev-0.5-1dkms.noarch.rpm
      awdev-dkms_0.5_all.deb
      正在选中未选择的软件包 awdev-dkms。
      (正在读取数据库 ... 系统当前共安装有 236013 个文件和目录。)
      准备解压 /tmp/awdev-dkms_0.5_all.deb ...
      正在解压 awdev-dkms (0.5) ...
      正在设置 awdev-dkms (0.5) ...

      Loading tarball for awdev-0.5
      Loading /var/lib/dkms/awdev/0.5/2.6.32-52-generic/x86_64...

      DKMS: ldtarball completed.

      Creating symlink /var/lib/dkms/awdev/0.5/source ->
      /usr/src/awdev-0.5

      DKMS: add completed.
      Building for 5.15.0-48-generic
      Building for architecture x86_64
      Building initial module for 5.15.0-48-generic
      ERROR (dkms apport): unable to determine source package for awdev-dkms
      Error! Bad return status for module build on kernel: 5.15.0-48-generic (x86_64)
      Consult /var/lib/dkms/awdev/0.5/build/make.log for more information.
      dpkg: 处理软件包 awdev-dkms (--install)时出错:
      已安装 awdev-dkms 软件包 post-installation 脚本 子进程返回错误状态 10
      在处理时有错误发生:
      awdev-dkms

      发布在 V Series
      I
      ICpachong
    • 回复: 【资料】V853&V851 软件开发指南

      @uaxc2 太棒了,感谢大佬1

      发布在 V Series
      I
      ICpachong
    • 回复: 为什么我的SDK中没有mpp相关的目录?

      @xiaowenge 签NDA需要收费的吗?

      发布在 V Series
      I
      ICpachong
    • V853 MPI\ISP 等相关的接口文档在哪?

      V853 MPI\ISP 等相关的接口文档在哪?

      发布在 V Series
      I
      ICpachong
    • 回复: repo安装报错 /usr/bin/env: “python”: 没有那个文件或目录 解决方法

      这个帖子是转载的吧

      发布在 V Series
      I
      ICpachong
    • 回复: 【开源】Yuzukilizard 基于 V851s 的迷你 AI 视觉开发板

      大佬,有V851S的芯片介绍吗?

      发布在 V Series
      I
      ICpachong
    • 1 / 1