导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页
    1. 主页
    2. super0759
    S
    • 资料
    • 关注 0
    • 粉丝 1
    • 我的积分 1353
    • 主题 9
    • 帖子 26
    • 最佳 2
    • 群组 0

    super0759LV 5

    @super0759

    1353
    积分
    2
    声望
    11
    资料浏览
    26
    帖子
    1
    粉丝
    0
    关注
    注册时间 最后登录

    super0759 取消关注 关注

    super0759 发布的最佳帖子

    • uboot 无法启动,pack 打包, 如何自定义自己板卡,相关文件配置问题

      按照提示需改,发现uboot 无法启动,请问如何配置: uboot打印如下 :

      U-Boot 2018.07 (Jun 02 2024 - 21:21:38 +0800) Allwinner Technology

      [00.503]CPU: Allwinner Family
      [00.506]Model: sun8iw21
      [00.508]DRAM: 64 MiB
      [00.512]Relocation Offset is: 00ece000
      [00.545]secure enable bit: 0
      E/TC:0 fdt_getprop_u32:343 prop trace_level not found
      [00.561]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz
      [00.567]gic: sec monitor mode
      sunxi flash map init
      SPI ALL: ready
      [00.574]line:724 init_clocks
      [00.577]flash init start
      [00.579]workmode = 0,storage type = 0
      [00.587]sunxi-spinand-phy: spinand sample_mode:1 sample_delay:1a

      device nand0 <nand>, # parts = 4
      #: name size offset mask_flags
      0: boot0 0x00100000 0x00000000 1
      1: uboot 0x00300000 0x00100000 1
      2: secure_storage 0x00100000 0x00400000 1
      3: sys 0x07b00000 0x00500000 0

      active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000

      defaults:
      mtdids : nand0=nand
      mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      [00.704]ubi0: attaching mtd4
      [00.933]ubi0: scanning is finished
      [00.943]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [00.948]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [00.954]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [00.960]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [00.966]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [00.972]ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128
      [00.978]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [00.986]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
      [00.994]sunxi flash init ok
      [00.997]drv_disp_init
      [01.004]handle_num : 4
      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource
      Get bootloader and boot-resource partition number fail!
      request pwm success, pwm6:pwm6:0x2000c00.
      [01.356]drv_disp_init finish
      [01.521]Loading Environment from SUNXI_FLASH... *** Warning - bad CRC, using default environment

      *** Warning - no device, using default environment

      Failed (-5)
      [01.551]boot_gui_init:start
      [01.554]set disp.dev2_output_type fail. using defval=0
      [01.559][T050K589 LCD INFO] LINE:0142-->lcd_open_flow:
      [01.565][T050K589 LCD INFO] LINE:0163-->lcd_power_on:
      [01.583]set disp.fb0_rot_used fail. using defval=0
      [01.587]set disp.fb0_rot_degree fail. using defval=0
      [01.593]boot_gui_init:finish
      [01.598][T050K589 LCD INFO] LINE:0441-->lcd_panel_init:
      [01.615][T050K589 LCD INFO] LINE:0456-->lcd_panel_init:initialization:jd9365
      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource
      [01.732]Get bootloader and boot-resource partition number fail!
      [01.761]update bootcmd
      [01.786]change working_fdt 0x42a8de70 to 0x42a6de70
      [01.798]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
      [01.807][T050K589 LCD INFO] LINE:0199-->lcd_bl_open:
      [01.819]LCD open finish
      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource
      Get bootloader and boot-resource partition number fail!
      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource
      Get bootloader and boot-resource partition number fail!
      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource
      Get bootloader and boot-resource partition number fail!
      [02.004]update dts
      Hit any key to stop autoboot: 0

      Error: "distro_bootcmd" not defined

      => print
      aw-ubi-spinand.ubootblks=24
      baudrate=115200
      bootcmd=run distro_bootcmd
      bootdelay=2
      fdtcontroladdr=42a8de70
      filesize=10000
      force_normal_boot=1
      mtdids=nand0=nand
      mtdparts=mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      partition=nand0,0
      partitions=mbr@ubi0_0:boot-res@ubi0_1:env@ubi0_2:boot@ubi0_3:rootfs@ubi0_4:rootfs_data@ubi0_5:UDISK@ubi0_6:
      rotpk_status=0
      ubi_attach_mtdnum=3

      Environment size: 450/131068 bytes
      =>

      发布在 V Series
      S
      super0759
    • 回复: YuzuKi X 100ask V851s 体验, 含编译和烧录nand系统

      板子 ,在哪儿 能找到 。

      发布在 V Series
      S
      super0759

    super0759 发布的最新帖子

    • 回复: Yuzuki Lizard V851S 开发板 WIFI 功能异常

      如何解决的 ? 能否详细说下

      发布在 V Series
      S
      super0759
    • npu无法awnn_det_demo 错误,能回答?

      root@(none):/usr/bin/det_demo# ./awnn_det_demo testcase.txt
      info: models/pdet/1.0.1_Gamma.nb, 1, 0.250000, 1
      input:body_640x360.nv12, 640, 360
      info: models/pdet/3.0.1_Beta.nb, 3, 0.250000, 1
      input:body_384x216.nv12, 384, 216
      info: models/fdet/Facedet_480_288_nv12.nb, 4, 0.600000, 1
      input:face_480x270.nv12, 480, 270
      count=3
      =====info 05dc32ee903c08a3abd53ddd829a8dd5 640 384 10061394 0.000000
      =====info 827b3a725d0fd7173338a56fd06c8db0 384 224 2829624 0.000000
      =====info 3d42fcd47490a62d52ea0[48198.853183] npu[37e][37e] drv open process pid=37e, tid=37e
      21760ddc7d6 480 288 3639619 0.00[48198.861633] ------lq KERNEL_CMD_INIT0000
      mem_size: 16530637
      Versio---lq vpmdENABLE_MULTIPLE_TASK=1 context->initialize=0
      n: AWNN_LIB_1.0.4

      [48198.876741] npu[37e][37e] start create initialize mutex ...
      [48198.884839] npu[37e][37e] linux kernel version=0x409bf
      [48198.890644] npu[37e][37e] power on vip hardware0.
      [48198.895936] npu[37e][37e] vipcore, device init..
      [48198.901230] set_vip_power_clk ON
      [48198.906894] enter aw vip mem alloc size 16530637 vip_heap
      [48198.970477] aw_vip_mem_alloc vir 0xc50a6000, phy 0x48400000
      [48198.976796] npu[37e][37e] gckvip_drv_init kernel logical phy address=0x48400000 virtual =0xc50a6000
      [48198.987190] npu[37e][37e] VIPLite driver software version 1.13.0.0-AW-2023-08-21
      [48198.995504] npu[37e][37e] vpmdENABLE_RECOVERY=0
      [48199.000696] npu[37e][37e] vpmdHARDWARE_TIMEOUT=20000
      [48199.006284] npu[37e][37e] vpmdENABLE_HANG_DUMP=2
      [48199.011498] npu[37e][37e] vpmdENABLE_USE_AGENT_TRIGGER=0
      [48199.017484] npu[37e][37e] vpmdENABLE_CAPTURE=0
      [48199.022479] npu[37e][37e] vpmdENABLE_CAPTURE_IN_KERNEL=0
      [48199.028463] npu[37e][37e] vpmdCREATE_NETWORK_FROM_FLASH=0
      [48199.034533] npu[37e][37e] vpmdENABLE_WAIT_LINK_LOOP=0
      [48199.040226] npu[37e][37e] vpmdENABLE_FLUSH_CPU_CACHE=1, LINE_SIZE=64
      [48199.047428] npu[37e][37e] vpmdENABLE_VIDEO_MEMORY_CACHE=0
      [48199.053501] npu[37e][37e] vpmdENABLE_LAYER_DUMP=0
      [48199.058817] npu[37e][37e] vpmdENABLE_CNN_PROFILING=0
      [48199.064400] npu[37e][37e] vpmdENABLE_BW_PROFILING=0
      [48199.069900] npu[37e][37e] vpmdENABLE_MEMORY_PROFILING=0
      [48199.075773] npu[37e][37e] vpmdENABLE_DEBUG_LOG=4
      [48199.080977] npu[37e][37e] vpmdENABLE_SUPPORT_CPU_LAYER=1
      [48199.086962] npu[37e][37e] vpmdENABLE_SYS_MEMORY_HEAP=1
      [48199.092739] npu[37e][37e] vpmdENABLE_VIDEO_MEMORY_HEAP=1
      [48199.098767] npu[37e][37e] vpmdENABLE_MMU=0
      [48199.103376] npu[37e][37e] vpmdPOWER_OFF_TIMEOUT=10000
      [48199.109071] npu[37e][37e] vpmdENABLE_SUSPEND_RESUME=1
      [48199.114751] npu[37e][37e] vpmdENABLE_USER_CONTROL_POWER=0
      [48199.120834] npu[37e][37e] vpmdENABLE_CANCELATION=1
      [48199.126222] npu[37e][37e] vpmdENABLE_DEBUGFS=1
      [48199.131229] npu[37e][37e] vpmdENABLE_CREATE_BUF_FD=1
      [48199.136822] npu[37e][37e] vpmdENABLE_GROUP_MODE=1
      [48199.142109] npu[37e][37e] vpmdENABLE_NODE=0
      [48199.146864] npu[37e][37e] vpmdENABLE_CHANGE_PPU_PARAM=1
      [48199.152741] npu[37e][37e] vpmdENABLE_FUNC_TRACE=0
      [48199.158047] npu[37e][37e] vpmdENABLE_REDUCE_MEMORY=0
      [48199.163629] npu[37e][37e] vpmdENABLE_RESERVE_PHYSICAL=0
      [48199.169516] npu[37e][37e] vpmdENABLE_POWER_MANAGEMENT=1
      [48199.175391] npu[37e][37e] vpmdENABLE_CLOCK_SUSPEND=1
      [48199.180985] npu[37e][37e] vpmdDUMP_NBG_RESOURCE=0
      [48199.186273] npu[37e][37e] vpmdENABLE_POLLING=0
      [48199.191303] npu[37e][37e] hashmap 0xc0a74e74: insert index=1, handle=0x0000037e
      [48199.199590] npu[37e][37e] axi sram address=0x00000000, vipsram address=0x00400000
      [48199.208028] npu[37e][37e] core 0 axi sram size=0x00000000, vip sram size=0x20000
      [48199.216347] npu[37e][37e] max_core_count=0, total core count=1, total device=1
      [48199.224508] npu[37e][37e] device_id=0, this device core count=1, core_fscale_percent=-1053044736
      [48199.234396] npu[37e][37e] core_id=0
      [48199.238533] npu[37e][37e] queue create read signal=0xc13bd240
      [48199.244995] npu[37e][37e] queue create write signal=0xc13bd280
      [48199.251766] npu[37e][37e] device0, mt_hashmap=0xc3968074
      [48199.257790] npu[384][384] multi-thread dev0 process thread start
      [48199.264632] npu[37e][37e] multi-task is enabled...
      [48199.270255] npu[37e][37e] power management is enabled ...
      [48199.276350] npu[37e][37e] video memory heap base physical=0x48400000, user logical=0x (null), kernel logical=0xc50a6000, size=0xfc3ccd bytes
      [48199.290755] npu[37e][37e] video memory heap total free: 0xfbee0d bytes, node used: 0x4ec0 bytes, node capacity: 1008
      [48199.302715] npu[37e][37e] video memory heap capability=0xe7b
      [48199.309110] npu[37e][37e] video memory alloc_flag=0x611, align=0x40, size=0x280
      [48199.317368] npu[37e][37e] video memory heap_alloc, physical=0x48400000, virtual=0x48400000, kernel logical=0xc50a6000, user logical=0x (null), handle=0xc2646b80, size=0x280, align=0x40, allo_flag=0x611
      [48199.337614] npu[37e][37e] init register capture done
      [48199.343203] npu[37e][37e] ver1=0x9000, ver2=0x8303, cid=0x00ee, date=0x20210128
      [48199.352017] npu[37e][37e] start prepare init commands
      [48199.357722] npu[37e][37e] video memory alloc_flag=0x641, align=0x40, size=0x100
      [48199.365956] npu[37e][37e] video memory heap_alloc, physical=0x48401000, virtual=0x48401000, kernel logical=0xc50a7000, user logical=0x00001000, handle=0xc2646080, size=0x100, align=0x40, allo_flag=0x641
      [48199.386208] npu[37e][37e] database convert from first_free_pos=0x2 handle=0xc2646080 to id=0x15000001, pid=37e
      [48199.397518] npu[37e][37e] hardware initialize core0..
      [48199.403214] npu[37e][37e] MMU is disabled
      [48199.408048] npu[37e][37e] submit initialize commands size=0xa0, hand=0xc2646080
      [48199.416286] npu[37e][37e] dev0 wait mem_handle=0xc2646080 start
      [48199.422963] npu[37e][37e] irq check try count=0, wait irq value=0x10
      [48199.430127] npu[37e][37e] HASHMAP 0xc0a77418 GET BY HANDLE: handle 0xc2646080 not exist in hashmap
      [48199.440216] npu[37e][37e] end profiling can't find handle=0xc2646080
      [48199.447428] npu[37e][37e] dev0 wait mem_handle=0xc2646080 done
      [48199.453991] npu[37e][37e] initialize commands done
      [48199.459398] npu[37e][37e] hardware initialize done core_count=1
      [48199.466058] npu[37e][37e] VIP Frequency:
      [48199.470490] npu[37e][37e] set hardware frequency fscale=64, percent=100
      [48199.527988] npu[37e][37e] core[0] Core Frequency=347992554 HZ
      [48199.534648] npu[37e][37e] core[0] PPU Frequency=347996212 HZ
      [48199.541328] npu[37e][37e] hardware clock suspend.
      [48199.546686] npu[37e][37e] query hw0 idle, wait time=10ms, fast=1, reg=0x7fffffff, is_idle=Y
      [48199.556088] npu[37e][37e] do init done initialize num=1 pid=0x37e.
      [48199.563090] npu[37e][37e] --lq -> drv release process pid=37e, tid=37e
      [48199.630482] npu[37e][37e] start to destroy resource, pid=37e, tid=37e
      [48199.637754] npu[37e][37e] hashmap 0xc0a74e74: remove index=1, handle=0x0000037e
      [48199.645978] npu[37e][37e] start to destroy vip pid=0x37e..
      [48199.652217] npu[384][384] multi-task thread exit
      [48199.657442] npu[37e][37e] free video memory handle=0xc2646080
      [48199.657468] npu[385][385] power management thread wake up.
      [48199.657474] npu[385][385] power manage thread not running, exit thread after wait signal
      [48199.657478] npu[385][385] power management thread exit
      [48199.657537] npu[37e][37e] free video memory handle=0xc2646b80
      [48199.657550] npu[37e][37e] video memory heap destroy....
      [48199.657567] npu[37e][37e] power management uninit done
      [48199.703541] npu[37e][37e] gckvip_drv_exit, aw_vip_mem_free
      [48199.709814] aw_vip_mem_free vir 0xc50a6000, phy 0x48400000
      [48199.719837] npu[37e][37e] power off vip hardware0.
      [48199.725243] npu[37e][37e] vipcore, device un-init..
      [48199.730847] npu[37e][37e] destroy initialize mutex
      [48199.736254] npu[37e][37e] end to destroy vip..
      [0xb6f2e560]gcvip_os_init[125], fail to mmap device vipcore, video memory size: 0xfc3ccd
      [0xb6f2e560]gcvip_user_init[347], fail to initialize OS, status=-2.
      [0xb6f2e560]gcvip_init[4216], failed to user init
      E viplite init failed!
      ---------lq wait 20s memsize: 16530637
      [0xb6f2e560]gcvip_os_call_kernel[332], failed os is NULL, command: CMD_DESTROY
      [0xb6f2e560]gcvip_user_destroy[419], fail to call kernel cmd destroy
      [0xb6f2e560]gcvip_os_uninit[164], failed os is NULL in uninit
      [0xb6f2e560]gcvip_destroy[4303], failed to user destroy
      E viplite uninit failed!

      发布在 V Series
      S
      super0759
    • partno erro : can't find partition bootloader partno erro : can't find partition boot-resource Get bootloader and boot-resource partition number fail! partno erro : can't find partition bootloader partno erro : can't find partition boot-resource

      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource
      Get bootloader and boot-resource partition number fail!
      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource

      发布在 V Series
      S
      super0759
    • uboot 无法启动,pack 打包, 如何自定义自己板卡,相关文件配置问题

      按照提示需改,发现uboot 无法启动,请问如何配置: uboot打印如下 :

      U-Boot 2018.07 (Jun 02 2024 - 21:21:38 +0800) Allwinner Technology

      [00.503]CPU: Allwinner Family
      [00.506]Model: sun8iw21
      [00.508]DRAM: 64 MiB
      [00.512]Relocation Offset is: 00ece000
      [00.545]secure enable bit: 0
      E/TC:0 fdt_getprop_u32:343 prop trace_level not found
      [00.561]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz
      [00.567]gic: sec monitor mode
      sunxi flash map init
      SPI ALL: ready
      [00.574]line:724 init_clocks
      [00.577]flash init start
      [00.579]workmode = 0,storage type = 0
      [00.587]sunxi-spinand-phy: spinand sample_mode:1 sample_delay:1a

      device nand0 <nand>, # parts = 4
      #: name size offset mask_flags
      0: boot0 0x00100000 0x00000000 1
      1: uboot 0x00300000 0x00100000 1
      2: secure_storage 0x00100000 0x00400000 1
      3: sys 0x07b00000 0x00500000 0

      active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000

      defaults:
      mtdids : nand0=nand
      mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      [00.704]ubi0: attaching mtd4
      [00.933]ubi0: scanning is finished
      [00.943]ubi0: attached mtd4 (name "sys", size 123 MiB)
      [00.948]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
      [00.954]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
      [00.960]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
      [00.966]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
      [00.972]ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128
      [00.978]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
      [00.986]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
      [00.994]sunxi flash init ok
      [00.997]drv_disp_init
      [01.004]handle_num : 4
      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource
      Get bootloader and boot-resource partition number fail!
      request pwm success, pwm6:pwm6:0x2000c00.
      [01.356]drv_disp_init finish
      [01.521]Loading Environment from SUNXI_FLASH... *** Warning - bad CRC, using default environment

      *** Warning - no device, using default environment

      Failed (-5)
      [01.551]boot_gui_init:start
      [01.554]set disp.dev2_output_type fail. using defval=0
      [01.559][T050K589 LCD INFO] LINE:0142-->lcd_open_flow:
      [01.565][T050K589 LCD INFO] LINE:0163-->lcd_power_on:
      [01.583]set disp.fb0_rot_used fail. using defval=0
      [01.587]set disp.fb0_rot_degree fail. using defval=0
      [01.593]boot_gui_init:finish
      [01.598][T050K589 LCD INFO] LINE:0441-->lcd_panel_init:
      [01.615][T050K589 LCD INFO] LINE:0456-->lcd_panel_init:initialization:jd9365
      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource
      [01.732]Get bootloader and boot-resource partition number fail!
      [01.761]update bootcmd
      [01.786]change working_fdt 0x42a8de70 to 0x42a6de70
      [01.798]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
      [01.807][T050K589 LCD INFO] LINE:0199-->lcd_bl_open:
      [01.819]LCD open finish
      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource
      Get bootloader and boot-resource partition number fail!
      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource
      Get bootloader and boot-resource partition number fail!
      partno erro : can't find partition bootloader
      partno erro : can't find partition boot-resource
      Get bootloader and boot-resource partition number fail!
      [02.004]update dts
      Hit any key to stop autoboot: 0

      Error: "distro_bootcmd" not defined

      => print
      aw-ubi-spinand.ubootblks=24
      baudrate=115200
      bootcmd=run distro_bootcmd
      bootdelay=2
      fdtcontroladdr=42a8de70
      filesize=10000
      force_normal_boot=1
      mtdids=nand0=nand
      mtdparts=mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      partition=nand0,0
      partitions=mbr@ubi0_0:boot-res@ubi0_1:env@ubi0_2:boot@ubi0_3:rootfs@ubi0_4:rootfs_data@ubi0_5:UDISK@ubi0_6:
      rotpk_status=0
      ubi_attach_mtdnum=3

      Environment size: 450/131068 bytes
      =>

      发布在 V Series
      S
      super0759
    • 回复: env.cfg partitions=${partitions} 这个变量在哪儿赋值

      谢谢 ,我遇到一个问题, 问了创龙的人他们说是打包的时候生成的
      uboot 打印
      => print
      aw-ubi-spinand.ubootblks=24
      boot_fastboot=fastboot
      boot_normal=sunxi_flash read 44800000 ${boot_partition};bootm 44800000
      boot_partition=boot
      boot_recovery=sunxi_flash read 44800000 extend;bootm 44800000
      bootcmd=run setargs_nand_ubi boot_normal
      bootdelay=1
      bootreason=button
      coherent_pool=32K
      console=ttyS0,115200
      earlyprintk=sunxi-uart,0x02500000
      fastboot_key_value_max=0x8
      fastboot_key_value_min=0x2
      fdtcontroladdr=41eaee70
      filesize=10000
      force_normal_boot=1
      init=/init
      initcall_debug=0
      loglevel=8
      mmc_root=/dev/mmcblk0p4
      mtd_name=sys
      mtdids=nand0=nand
      mtdparts=mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
      nand_root=/dev/ubiblock0_4
      nor_root=/dev/mtdblock3
      partition=nand0,0
      partitions=mbr@ubi0_0:boot-res@ubi0_1:env@ubi0_2:boot@ubi0_3:rootfs@ubi0_4:UDISK@ubi0_5:
      rdinit=/rdinit
      recovery_key_value_max=0x13
      recovery_key_value_min=0x10
      root_partition=rootfs
      rootfstype=squashfs
      rotpk_status=0
      setargs_mmc=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${mmc_root} rootwait init=${init} partitions=${partitions} cma=${cma} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} selinux=${selinux} specialstr=${specialstr} coherent_pool=${coherent_pool} ion_carveout_list=${reserve_list}
      setargs_nand=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} ubi.mtd=${mtd_name} root=${nand_root} rootfstype=${rootfstype} rootwait init=${init} rdinit=${rdinit} partitions=${partitions} cma=${cma} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} selinux=${selinux} specialstr=${specialstr} coherent_pool=${coherent_pool} ion_carveout_list=${reserve_list}
      setargs_nand_ubi=setenv bootargs ubi.mtd=${mtd_name} ubi.block=0,${root_partition} earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nand_root} rootfstype=${rootfstype} init=${init} partitions=${partitions} cma=${cma} snum=${snum} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} specialstr=${specialstr} gpt=1
      setargs_nor=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} root=${nor_root} rootwait init=${init} rdinit=${rdinit} partitions=${partitions} cma=${cma} coherent_pool=${coherent_pool} ion_carveout_list=${reserve_list}
      ubi_attach_mtdnum=3
      verify=N

      Environment size: 2581/131068 bytes
      =>

      发布在 V Series
      S
      super0759
    • env.cfg partitions=${partitions} 这个变量在哪儿赋值

      setargs_nand=setenv bootargs earlyprintk=${earlyprintk} clk_ignore_unused initcall_debug=${initcall_debug} console=${console} loglevel=${loglevel} ubi.mtd=${mtd_name} root=${nand_root} rootfstype=${rootfstype} rootwait init=${init} rdinit=${rdinit} partitions=${partitions} cma=${cma} mac_addr=${mac} wifi_mac=${wifi_mac} bt_mac=${bt_mac} selinux=${selinux} specialstr=${specialstr} coherent_pool=${coherent_pool} ion_carveout_list=${reserve_list}

      ${partitions} 这个是 在哪儿 别替换的 ,源是在哪儿 ,如何被替换 。

      发布在 V Series
      S
      super0759
    • 回复: V853 BT656/BT1120输入无法产生中断

      @mcy_cool 你的 是哪个芯片 ,bt656 是不需要h,v的 ,sav 会自己区别 ,拿到的就是yuv。
      两路没通 ,1路 可以 。

      发布在 V Series
      S
      super0759
    • yolov3的 例子 在 v851s 无法运行

      1, 已经 按照文档 ,生成了 一个yolo3-tiny.nb 的 模型 。
      2, yolo3代码

      /*-------------------------------------------
                            Main Functions
          -------------------------------------------*/
          int main(int argc, char **argv)
          {
              vip_status_e status = VIP_SUCCESS;
              vip_network_items *network_items = VIP_NULL;
          
              if (argc < 3)
              {
                  printf("%s\n", usage);
                  printf("Arguments count %d is incorrect!\n", argc);
                  return -1;
              }
          
              /* Initialize  vip lite */
              status = vip_init(22 * 1024 * 1024);
              _CHECK_STATUS(status, final);
      
      

      3, 运行看来 内存够,但是 报这个错误

      root@TinaLinux:/mnt/UDISK# ls
      Samples            human.nb           network_binary.nb  sample
      face.nb            images             overlay            yolo3_tiny.nb
      root@TinaLinux:/mnt/UDISK# yolov3 yolo3_tiny.nb images/416.jpg
      [0xb6f45560]vip_init[104], [ 5017.823292] npu[3f3][3f3] vipcore, device init..
      
      The version of Viplite is: 1.8[ 5017.830737] set_vip_power_clk ON
      .0-0-AW-2022-04-21
      [ 5017.839122] enter aw vip mem alloc size 23068672
      [ 5017.862983] aw_vip_mem_alloc vir 0xc5801000, phy 0x48800000
      [ 5017.869450] npu[3f3][3f3] gckvip_drv_init  kernel logical phy address=0x4880000          0  virtual =0xc5801000
      Create Neural Network: 772.79ms or 772792.31us
      Start run graph [1] times...
      Run the 1 time: 20.64ms or 20636.42us
      vip run network execution time:
      Total   20.90ms or 20897.33us
      Average 20.90ms or 20897.33us
      data_format=2 buff_size=43095
      data_format=2 buff_size=172380
      [ 5018.989366] npu[3f3][3f3] gckvip_drv_exit, aw_vip_mem_free
      [ 5018.995563] aw_vip_mem_free vir 0xc5801000, phy 0x48800000
      [ 5019.001841] aw_vip_mem_free dma_unmap_sg_atrs
      [ 5019.008456] aw_vip_mem_free ion_unmap_kernel
      [ 5019.015041] aw_vip_mem_free ion_free
      [ 5019.028767] aw_vip_mem_free ion_client_destroy
      [ 5019.034848] npu[3f3][3f3] vipcore, device un-init..
      Segmentation fault (core dumped)
      root@TinaLinux:/mnt/UDISK#
      
      发布在 V Series
      S
      super0759
    • 回复: v851s使用yolo3 demo错误 ,如何优化,如何处理

      @mysteryli
      你就按照1 这个 一步步
      https://v853.docs.aw-ol.com/npu/npu_demo/

      发布在 V Series
      S
      super0759
    • 回复: v851s使用yolo3 demo错误 ,如何优化,如何处理

      @whycanservice 你那有 yolov3-tiny 的模型吗

      发布在 V Series
      S
      super0759