Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页
    1. Home
    2. Recent
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics

    • 公告
    • 芯片
    •          T Series
    •          A Series
    •          V Series
    •          MR Series
    •          H/F/TV Series
    •          Wireless & Analog Series
    • Special
    •          创龙科技专区
    •          飞凌嵌入式专区
    •          爱搞机专区
    • Technical topics
    •          RTOS
    •          Linux
    •          GUI
    • Others
    •          代码下载问题专区
    •          编译和烧写问题专区
    •          其它全志芯片讨论区
    •          灌水区
    • I

      请问V851se的NPU是否可以做通用并行计算?
      V Series • Posted at • iamseer

      0 Votes
      0 Replies
      650 Views

      No one has replied

      0
    • C

      请问v853有没自动进入烧录的功能
      V Series • Posted at • cruise33

      0 Votes
      0 Replies
      628 Views

      No one has replied

      0
    • C

      新增helloworld软件包之后make出现错误
      V Series • Posted at • caochenxin

      0 Votes
      4 Replies
      1674 Views

      D Replied at

      可能我的虚拟机为解决这个问题,改了很多地方的原因吧,重新装了虚拟机,删掉Makefile文件中的空格用tab键,我这边也解决问题了
      感谢 @caochenxin

      4
    • S

      【V853开发板试用】V853开发板填坑记
      V Series • Posted at • soso90

      2 Votes
      14 Replies
      7047 Views

      S Replied at

      @duanmuyi 没搞过。看看论坛,应该有帖子适配过了

      14
    • L

      大家有谁知道Vivante IDE License申请时间一般是多久?
      V Series • Posted at • lmxhta

      0 Votes
      0 Replies
      562 Views

      No one has replied

      0
    • F

      摄像头启动isp后串口一直打印信息。调试非常不便
      V Series • Posted at • fawen

      0 Votes
      2 Replies
      1269 Views

      Z Replied at

      @fawen 请问如何解决呢,感谢!

      2
    • W

      v851S 不断电反复开关UVC需要怎么配置
      V Series • Posted at • wenmu

      0 Votes
      0 Replies
      585 Views

      No one has replied

      0
    • W

      v851S 通过mpp录制视频,不能同时开启UVC
      V Series • Posted at • wenmu

      0 Votes
      0 Replies
      623 Views

      No one has replied

      0
    • W

      V851 写UVC应用时不能反复打开UVC
      V Series • Posted at • wenmu

      0 Votes
      0 Replies
      587 Views

      No one has replied

      0
    • I

      请教OV9281摄像头在V851SE的Tinyvision板子上的移植。
      V Series • Posted at • iamseer

      0 Votes
      1 Replies
      1337 Views

      I Replied at

      更新一下,
      这两份教程对于驱动编写很有帮助

      Tina Linux Camera开发指南
      https://www.cnblogs.com/weidongshan/articles/17183702.html

      全志Linux Tina-SDK开发完全手册
      https://tina.100ask.net/SdkModule/Linux_MIPI_CSI_DevelopmentGuide-05/

      我的配置里没有 info->time_hs 项。加入后调为0x30,仍然不出图。但是改为0x20,就可以出图了。

      1
    • YuzukiTsuru

      V853/V851s 增加 OpenCV, FFmpeg 编译包
      V Series • Posted at • 柚木 鉉

      4 Votes
      20 Replies
      7873 Views

      S Replied at

      @yuzukitsuru
      请问,这个FFmpeg,是否已经支持了851的硬件编码:我准备用4G网络+ffmpeg+rtsp来推流到服务器

      20
    • C

      v851s MPP 模块概述以及编译 sample 步骤
      V Series • Posted at • chhjnavy

      1 Votes
      4 Replies
      3614 Views

      L Replied at

      楼主 ,你有没有看过内存大概占用多少?
      用top命令看看还剩余多少内存,

      我这mpp占用20M左右的内存,不够用了。

      4
    • doniyor_khalilov99

      Allwinner V853 sample_virvi2vo camera
      V Series • Posted at • doniyor_khalilov

      0 Votes
      0 Replies
      522 Views

      No one has replied

      0
    • Z

      SPI nand 打包出错
      V Series • Posted at • zzc775

      0 Votes
      2 Replies
      1595 Views

      Z Replied at

      @daizebin 搞错了flash类型,已经切换回nor flash,这个问题不存在了

      2
    • I

      分享 TinyVision 板子SDK编译的docker文件
      V Series • Posted at • iamseer

      0 Votes
      0 Replies
      917 Views

      No one has replied

      0
    • L

      V851s rtsp 推流如何实现
      V Series • Posted at • liu_billy

      0 Votes
      3 Replies
      1817 Views

      S Replied at

      我,目前,是在局域网,可以利用vlc看到摄像头:rtsp://192.168.1.201:8554/ch1
      就是编译了mpp即可。
      请教大家:如果我想把摄像头的内容实时投到手机上,这个流程是怎样的?就类似市面上的网络摄像头,可以通过手机实时看的功能。

      3
    • X

      关于V853做网络摄像头推流的问题
      V Series • Posted at • xjy_5

      2 Votes
      3 Replies
      2416 Views

      X Replied at

      @vincent1 哈喽哈喽,请问你做网络推流实现了嘛

      3
    • xiaowenge

      全志V853 摄像头初体验
      V Series • Posted at • DOT小文哥

      1 Votes
      8 Replies
      4712 Views

      doniyor_khalilov99 Replied at

      @xiaowenge 在我的SDK中还没有eyeseempp。

      8
    • A

      sample_rtsp V851s Yuzukilizard
      V Series • Posted at • andrea1186

      0 Votes
      3 Replies
      1875 Views

      S Replied at

      hi,my hardware is tinyvision.
      sample_rtsp can use.You can refer to this code
      https://pan.baidu.com/s/1whPFpYmrHVfmpxab8NC_Xw?pwd=j1t2#list/path=%2F
      passwd:j1t2

      ps: more information, you can refer to the following website:
      https://tinyvision.yuzukihd.top/

      3
    • S

      全志v85x spi通信速率稍微高点,spi clk就没输出,硬件BUG?用imx6ul就没有这种问题
      V Series • Posted at • sofia

      0 Votes
      4 Replies
      2310 Views

      S Replied at

      已从之前全志工作的同学得知 硬件有点问题

      4
    • Y

      交叉编译一个打印Hello World的小应用
      V Series • Posted at • giao

      0 Votes
      2 Replies
      1823 Views

      doniyor_khalilov99 Replied at

      @yanmingjian 好的,一切都很好,但是如何在 v853 dev.board 的屏幕上显示“hello world”字样?我需要一步一步的解释

      2
    • L

      为何mpp解码相关的占用内存21M,大家解码大概占用多少内存?
      V Series • Posted at • liuqiang

      0 Votes
      0 Replies
      760 Views

      No one has replied

      0
    • Y

      请教一下各位大神,为什么我的Adec销毁不了
      V Series • Posted at • yu741373252

      0 Votes
      4 Replies
      1923 Views

      L Replied at

      使用内存可以理解,但占用了21M,就有些离谱了导致辞无法使用其他应用了。

      4
    • Y

      怎样将动态库全部换成静态库?
      V Series • Posted at • yu741373252

      0 Votes
      1 Replies
      914 Views

      Y Replied at

      v853代码空间优化 - 副本.doc

      1
    • L

      使用make命令编译,出现build_openwrt_rootfs failed
      V Series • Posted at • lhw_uestc

      0 Votes
      2 Replies
      1162 Views

      doniyor_khalilov99 Replied at

      @whycan ed79911f-1796-41cc-8a55-ba5debdcf10d-image.png HELP !

      2
    • A

      openWrt编译报错,求大佬指点
      V Series • Posted at • Ajian

      0 Votes
      3 Replies
      1750 Views

      doniyor_khalilov99 Replied at

      @ajian 你解决这个问题了吗?

      3
    • M

      st7701S 屏V853 VIsion开发板驱动
      V Series • Posted at • miller370321

      0 Votes
      0 Replies
      568 Views

      No one has replied

      0
    • X

      想给安卓核心板外挂一个isp,可以用V853的mipi视频输出接到安卓平台的摄像头接口吗
      V Series • Posted at • xyfd67

      0 Votes
      0 Replies
      514 Views

      No one has replied

      0
    • doniyor_khalilov99

      Allwinner v853 camera and YOLOv5, Result on the board’s screen
      V Series • Posted at • doniyor_khalilov

      0 Votes
      0 Replies
      705 Views

      No one has replied

      0
    • doniyor_khalilov99

      Allwinner v853 development board camera code
      V Series • Posted at • doniyor_khalilov

      0 Votes
      0 Replies
      742 Views

      No one has replied

      0
    • S

      全志平台底层的pipeline说明
      V Series • Posted at • sun_gogogo

      0 Votes
      1 Replies
      803 Views

      S Replied at

      @sun_gogogo
      我自己来补充一下吧,来自全志客户官网
      vinc00:vinc@5830000 {
      vinc0_csi_sel = <0>; //parser通道sel
      vinc0_mipi_sel = <0>;//mipi通道sel
      vinc0_isp_sel = <0>;//isp通道sel,在线模式只能配为0,离线模式可配置为0~3
      vinc0_isp_tx_ch = <0>;//配为0即可,a523 isp tx只有一个
      vinc0_tdm_rx_sel = <0>;//离线模式需配置为0~3,需要与isp_sel属性相同;在线模式可不配置
      vinc0_rear_sensor_sel = <0>;//后摄使用的sensor_sel
      vinc0_front_sensor_sel = <0>;//前摄使用的senosr_sel
      vinc0_sensor_list = <0>;//是否使用sensor_list功能 0:not_use 1:use
      device_id = <0>;//video节点sel,不可修改
      work_mode = <0x0>;//在线、离线模式配置,0:在线模式、1:离线模式
      status = “okay”;//节点状态,okay:打开 disabled:关闭
      };

      1.需要多个sensor同时出图,则配置为离线模式;反之,配置为在线模式
      2.离线通路配置:
      (1). tdm和isp0需要配置相同的工作模式,vipp0和dma0、vipp1和dma1、vipp2和dma2、vipp3和dma3需要配置相同的工作模式(online和offline),vipp和isp0也需要配置相同的工作模式(online和offline)
      (2). 对应关系:tdm对应tdm0节点,isp对应isp00节点,vipp对应scaler00、scaler10、scaler20、scaler30节点,dma对应vinc00、vinc10、vinc20、vinc30节点,vipp节点与dma节点一一对应即:使用vinc00需要打开scaler00,使用vinc01需要打开scaler01
      (3). 只有tdm0、isp00、scaler00、scaler10、scaler20、scaler30、vinc00、vinc10、vinc20、vinc30可以配置work_mode,其他节点配置会出错
      (4). menuconfig配置:需要打开[*]use isp for time sharing multiples,其余按需选择
      3. 在线模式:在线模式只可使用tdm0、isp00、scaler00、scaler10、scaler20、scaler30、vinc00、vinc10、vinc20、vinc30、vinc40、vinc50节点
      4. vinc40、vinc50节点只支持在线模式,出的图为sensor原分辨率的图或者经过裁剪过的图,无法对图片进行缩放

      1
    • C

      编译编译 Tina Linux失败
      V Series • Posted at • CunJiang

      0 Votes
      7 Replies
      3837 Views

      doniyor_khalilov99 Replied at

      @cunjiang 在那之后会起作用吗?

      7
    • YuzukiTsuru

      TinyVision 制作的高清 1080P USB 摄像头
      V Series • Posted at • 柚木 鉉

      7 Votes
      13 Replies
      6133 Views

      Q Replied at

      大佬,851想做mipi摄像头实时显示在5寸的mipi屏幕上可以做到吗

      13
    • ZibetK

      V853 适配IMX386摄像头 ISP配置
      V Series • Posted at • ZibetK

      0 Votes
      0 Replies
      1099 Views

      No one has replied

      0
    • q15778562940

      V853:Tina Linux编译错误ERROR: build Failed
      V Series • Posted at • accurate

      0 Votes
      3 Replies
      1396 Views

      doniyor_khalilov99 Replied at

      @q15778562940 pack
      /home/allwinner/tina/tina-v853-open/build/pack -c sun8iw21p1 -i v853 -p openwrt -b vision -k linux-4.9 -d uart0 -v none -m normal -w none -n default
      INFO: /home/allwinner/tina/tina-v853-open/out/v853/common/keys
      ERROR: config & build lichee before you pack

      有什么解决办法吗?

      3
    • M

      遇到XZ问题的来看看
      V Series • Posted at • mysteryli

      0 Votes
      0 Replies
      740 Views

      No one has replied

      0
    • S

      v853 旋转会出现黑边花屏
      V Series • Posted at • sunchipV

      0 Votes
      1 Replies
      1219 Views

      dudu152 Replied at

      @sunchipv 您好,问题解决了吗?是否屏参值不是最佳的啊,专业做中小尺寸显示屏,W18902849147

      1
    • A

      V853如何旋转屏幕显示方向
      V Series • Posted at • apollo_0101

      1 Votes
      5 Replies
      2121 Views

      dudu152 Replied at

      @apollo_0101 您好,问题解决了吗?我专业做显示屏的,有工程可以协助来调试。W18902849147

      5
    • M

      V853 4 plane 屏改为2 plane屏
      V Series • Posted at • miller370321

      0 Votes
      0 Replies
      825 Views

      No one has replied

      0
    • Y

      请教一下各位大神,V853怎样实现连续解码多个ts文件,中间不断流?
      V Series • Posted at • yu741373252

      0 Votes
      1 Replies
      1193 Views

      Y Replied at

      我另起一个线程,收到demux的EOF后延时一秒在AW_MPI_DEMUX_SwitchDateSource是可以的

      1
    • M

      V853 vision开发板,更改为st7701s 2 plane显示,出现错误
      V Series • Posted at • miller370321

      0 Votes
      0 Replies
      777 Views

      No one has replied

      0
    • S

      yolov5量化导入模型报错
      V Series • Posted at • sunxi

      0 Votes
      3 Replies
      1644 Views

      E Replied at

      @sunxi 你好,请问是怎么解决的,方便分享一下吗

      3
    • F

      YuziKi X 100ask v851s开发板 Tina下RTSP环境搭建方法
      V Series • Posted at • fanfan

      4 Votes
      5 Replies
      3053 Views

      doniyor_khalilov99 Replied at

      @lw409309740 您好,我遇到了同样的问题,您解决了这个问题吗?

      5
    • vincent1

      请问V853如何将rgb屏幕显示旋转180°?
      V Series • Posted at • Shy

      0 Votes
      1 Replies
      821 Views

      vincent1 Replied at

      @vincent1 我现在已经勾选上a665042e-926b-4470-b346-0fdd0d2e8733-image.png
      并且在board.dts和uboot-board.dts中在disp中加上

      disp_rotation_used = <1>; degree0 = <2>;

      现在开机logo到kernel阶段时候已经旋转了180° 但是我的qt好像不能刷新屏幕了
      我用

      cat /dev/urandom > /dev/fb0

      lcd屏也不会出现花屏 请问接下来要怎么办???

      1
    • doniyor_khalilov99

      learning topics and useful links for absolutely beginners(Allwinner v853)
      V Series • Posted at • doniyor_khalilov

      0 Votes
      0 Replies
      657 Views

      No one has replied

      0
    • M

      遇到一个无法烧录的问题,求大佬解答
      V Series • Posted at • mysteryli

      1 Votes
      1 Replies
      1140 Views

      M Replied at

      @mysteryli
      可以了 结贴

      1
    • M

      V851s上的ISP坏掉了吗
      V Series • Posted at • mysteryli

      0 Votes
      0 Replies
      677 Views

      No one has replied

      0
    • E

      V853如何配置usb口的无线网卡
      V Series • Posted at • erdan

      0 Votes
      2 Replies
      1195 Views

      E Replied at

      @jingyan 感谢提示,现在解决了,是因为买的韦东山的扩展板,需要去掉几个电阻,链接 https://forums.100ask.net/t/topic/5550

      2
    • q1215200171

      用39块钱的V851se视觉开发板做了个小相机,还可以物品识别、自动追焦!
      V Series • Posted at • budbool

      3 Votes
      4 Replies
      2380 Views

      A Replied at

      请问可以提供一下onnx模型的地址吗?想学习做一下自定义数据集。

      4
    • S

      v851s 开启wifi xr829后 spi nand读写异常(Linux version 4.9.191)
      V Series • Posted at • sofia

      0 Votes
      1 Replies
      1071 Views

      DAIZEBIN Replied at

      栈回溯显示spi传输超时了,看下是不是开启的配置导致IO被复用了,另外把你开启XR829的配置和改动也发上来看下

      1
    • vincent1

      v853 buildroot怎么扩展根目录大小,怎么将大文件放到固件中
      V Series • Posted at • Shy

      2 Votes
      10 Replies
      4359 Views

      vincent1 Replied at

      @daizebin 8f4a0d72-fc8c-4042-b1d8-d74a1e72258a-image.png 这两个目录

      10
    • X

      TinyVision tina5.0编译问题
      V Series • Posted at • xzhang

      0 Votes
      1 Replies
      1544 Views

      Y Replied at

      @xzhang 在 TinyVision tina5.0编译问题 中说:

      touch: setting times of '-': Permission denied

      touch: setting times of '-': Permission denied

      指的是使用makefile调用touch命令对目录"-"读写失败(没有权限),touch会创建文件并更新文件的时间戳

      你可以用 ls -alh 把目录下的权限列出并贴图上来让人帮你排查

      1
    • S

      v853 OTA升级到85%报空间不够,该怎么处理
      V Series • Posted at • sunxi

      0 Votes
      0 Replies
      559 Views

      No one has replied

      0
    • L

      tina linux 嵌入式上有哪些好用的离线语音唤醒热词检测的方案
      V Series • Posted at • liuqiang

      0 Votes
      0 Replies
      552 Views

      No one has replied

      0
    • M

      lcm_initialization_setting 里面只发命令,不发数据的写法
      V Series • Posted at • miller370321

      0 Votes
      0 Replies
      721 Views

      No one has replied

      0
    • Z

      V853s npu扩展包无法下载。
      V Series • Posted at • zhuhehui

      0 Votes
      1 Replies
      981 Views

      Z Replied at

      @zhuhehui
      今天又能下载了,估计是我升级到LV2的原因。昨天还是LV1呢。

      1
    • B

      TinyVision USBTTL Splitter
      V Series • Posted at • bardi4567

      0 Votes
      0 Replies
      542 Views

      No one has replied

      0
    • W

      V851S 小容量 nor flash 32M使用 misc-upgrade 进行 ota升级,无法进入recovery系统升级
      V Series • Posted at • wanglang

      0 Votes
      0 Replies
      728 Views

      No one has replied

      0
    • M

      if (strcmp(lv_img_get_src(bmp_img), "A:/usr/share/lv_g2d_test/no.bmp") 中A: 啥意思啊
      V Series • Posted at • miller370321

      0 Votes
      1 Replies
      880 Views

      H Replied at

      @miller370321 看源码呗

      1
    • kanken6174

      V851S I2C/TWI 损坏(xfer 错误)
      V Series • v851s i2c地址 twi • Posted at • kanken6174

      3 Votes
      16 Replies
      6671 Views

      J Replied at

      @kanken6174 不建议修改引脚驱动能力,因为i2c协议要求总线为弱上拉,提高IO驱动能力会使之变成强上拉

      当VCC为1.8V时,上拉电阻应选用2K
      当VCC为3.3V时,上拉电阻应选用4.7K

      若无法正常使用,应排查走线质量与信号干扰。

      16
    • M

      tina vision的 openwrt需要自己安装吗
      V Series • Posted at • miller370321

      0 Votes
      1 Replies
      698 Views

      M Replied at

      @miller370321 不需要,V853 vision直接把helloworld 文件夹加在package 目录下,然后,source build/envsetup.sh lunch 16, make menuconfig 就可以看到hello world 了

      1
    • A

      v851S晶振电路不起振
      V Series • Posted at • allspace123

      1 Votes
      5 Replies
      2270 Views

      A Replied at

      是不是晶振附近有干扰 或者是买到了假的晶振

      5
    • A

      V851可以输出几路PWM 可以控制四台无刷电机吗
      V Series • Posted at • aw_xu_4087

      2 Votes
      0 Replies
      439 Views

      No one has replied

      0
    • N

      运行MPP自带的音频ai和ao示例报错,提示PlaybackRateDmix和Capture1Mic配置错误
      V Series • Posted at • NULL037

      2 Votes
      1 Replies
      1399 Views

      N Replied at

      @null037 解决办法:修改打开设备

      1
    • L

      v851se上贴的蓝牙模块是aic8800d,请问大家应该使用哪个蓝牙协议栈
      V Series • Posted at • liuqiang

      1 Votes
      0 Replies
      656 Views

      No one has replied

      0
    • A

      v853的LVGL8 相关的配置在menuconfig的哪个位置?
      V Series • Posted at • apollo_0101

      0 Votes
      1 Replies
      617 Views

      Z Replied at

      @apollo_0101 直接找defconfig配置也行

      1
    • vincent1

      V853适配4.3寸屏lcd_width = <95>; lcd_height = <54>;显示出现问题
      V Series • Posted at • Shy

      0 Votes
      3 Replies
      1968 Views

      vincent1 Replied at

      @whycanservice 明白了👍

      3
    • P

      v851 使用sample_rtsp 报ISP_ERR
      V Series • Posted at • pointzero36

      0 Votes
      3 Replies
      1703 Views

      L Replied at

      @pointzero36 这个错误应该是 ISP 信息获取失败了

      3
    • L

      v851s sdk里的sample_smartIPC_demo人形和人脸检测模型用的什么模型开发的?
      V Series • Posted at • lw409309740

      0 Votes
      1 Replies
      647 Views

      L Replied at

      @lw409309740 推测是 yolo 模型训练开发

      1
    • kanken6174

      V851S tina linux ov5647 驱动程序没有 dmesg
      V Series • Posted at • kanken6174

      2 Votes
      38 Replies
      13854 Views

      A Replied at

      @kanken6174 谢谢,哪里可以找到让v851se工作的方法?理论上,除了ephy部分,v851s应该和v851se是一样的。

      38
    • A

      V851s 配置WiFi insmod报错
      V Series • Posted at • allWinnerCTO

      0 Votes
      0 Replies
      764 Views

      No one has replied

      0
    • N

      V853 buildroot系统,SPI通信超时
      V Series • Posted at • Negro

      2 Votes
      8 Replies
      3511 Views

      F Replied at

      来个教程啊来个教程啊

      8
    • W

      全志v851s使用fbtft驱动0.96寸st7735屏分享
      V Series • Posted at • whycanservice2

      3 Votes
      3 Replies
      2612 Views

      F Replied at

      @frank 这改完 lcd0 不能用了啊

      3
    • A

      v851s可以使用5.4 kernel的Tina Linux吗?
      V Series • Posted at • allspace123

      0 Votes
      0 Replies
      458 Views

      No one has replied

      0
    • L

      YuziKi X 100ask v851s开发板运行sample_odet_demo报错
      V Series • Posted at • lw409309740

      0 Votes
      0 Replies
      702 Views

      No one has replied

      0
    • P

      XR829 wifi 模块启动报错
      V Series • Posted at • Paul_cdsz

      0 Votes
      0 Replies
      789 Views

      No one has replied

      0
    • D

      V851S Tina 5.0 SDK 无法使用文件锁的问题
      V Series • Posted at • dream

      0 Votes
      2 Replies
      1639 Views

      D Replied at

      @dream 同步最新的信息, 已经使用了 mutex 的方式,替换文件锁,可以解决 opkg remove 和 opkg list 等指令不能正常使用的问题,目前 opkg install 会出现段错误。

      原以为解决了文件锁,就能解决 opkg 不能使用的问题,没想到只解决了一半🙄

      *** libopkg\opkg_conf.c 2022-02-25 04:27:58.000000000 +0800 --- libopkg\opkg_conf.c 2024-03-03 14:20:36.000000000 +0800 *************** *** 19,30 **** --- 19,31 ---- #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <glob.h> #include <unistd.h> + #include <sys/mman.h> #include "opkg_conf.h" #include "pkg_vec.h" #include "pkg.h" #include "xregex.h" #include "sprintf_alloc.h" *************** *** 423,436 **** --- 424,452 ---- int opkg_conf_init(void) { pkg_src_list_init(&conf->pkg_src_list); pkg_dest_list_init(&conf->pkg_dest_list); pkg_dest_list_init(&conf->tmp_dest_list); nv_pair_list_init(&conf->arch_list); + + conf->mlock = mmap(NULL, sizeof(struct mt_lock), PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANON, -1, 0); + memset(conf->mlock, 0, sizeof(struct mt_lock)); + pthread_mutexattr_init(&conf->mlock->mutexattr); + pthread_mutexattr_setpshared(&conf->mlock->mutexattr, PTHREAD_PROCESS_SHARED); + pthread_mutex_init(&conf->mlock->mutex, &conf->mlock->mutexattr); return 0; + } + + static int my_lockf(int fd, int cmd, off_t len) + { + switch(cmd){ + case F_TLOCK: return pthread_mutex_trylock(&conf->mlock->mutex); + case F_ULOCK: return pthread_mutex_unlock(&conf->mlock->mutex); + } + return -22; } int opkg_conf_load(void) { int i, glob_ret; char *tmp, *tmp_dir_base, **tmp_val; *************** *** 498,510 **** lock_fd = creat(lock_file, S_IRUSR | S_IWUSR | S_IRGRP); if (lock_fd == -1) { opkg_perror(ERROR, "Could not create lock file %s", lock_file); goto err2; } ! if (lockf(lock_fd, F_TLOCK, (off_t) 0) == -1) { opkg_perror(ERROR, "Could not lock %s", lock_file); if (close(lock_fd) == -1) opkg_perror(ERROR, "Couldn't close descriptor %d (%s)", lock_fd, lock_file); lock_fd = -1; goto err2; --- 514,526 ---- lock_fd = creat(lock_file, S_IRUSR | S_IWUSR | S_IRGRP); if (lock_fd == -1) { opkg_perror(ERROR, "Could not create lock file %s", lock_file); goto err2; } ! if (my_lockf(lock_fd, F_TLOCK, (off_t) 0) == -1) { opkg_perror(ERROR, "Could not lock %s", lock_file); if (close(lock_fd) == -1) opkg_perror(ERROR, "Couldn't close descriptor %d (%s)", lock_fd, lock_file); lock_fd = -1; goto err2; *************** *** 573,585 **** hash_table_deinit(&conf->file_hash); hash_table_deinit(&conf->obs_file_hash); if (rmdir(conf->tmp_dir) == -1) opkg_perror(ERROR, "Couldn't remove dir %s", conf->tmp_dir); err3: ! if (lockf(lock_fd, F_ULOCK, (off_t) 0) == -1) opkg_perror(ERROR, "Couldn't unlock %s", lock_file); if (close(lock_fd) == -1) opkg_perror(ERROR, "Couldn't close descriptor %d (%s)", lock_fd, lock_file); if (unlink(lock_file) == -1) --- 589,601 ---- hash_table_deinit(&conf->file_hash); hash_table_deinit(&conf->obs_file_hash); if (rmdir(conf->tmp_dir) == -1) opkg_perror(ERROR, "Couldn't remove dir %s", conf->tmp_dir); err3: ! if (my_lockf(lock_fd, F_ULOCK, (off_t) 0) == -1) opkg_perror(ERROR, "Couldn't unlock %s", lock_file); if (close(lock_fd) == -1) opkg_perror(ERROR, "Couldn't close descriptor %d (%s)", lock_fd, lock_file); if (unlink(lock_file) == -1) *************** *** 652,664 **** pkg_hash_deinit(); hash_table_deinit(&conf->file_hash); hash_table_deinit(&conf->obs_file_hash); if (lock_fd != -1) { ! if (lockf(lock_fd, F_ULOCK, (off_t) 0) == -1) opkg_perror(ERROR, "Couldn't unlock %s", lock_file); if (close(lock_fd) == -1) opkg_perror(ERROR, "Couldn't close descriptor %d (%s)", lock_fd, lock_file); --- 668,680 ---- pkg_hash_deinit(); hash_table_deinit(&conf->file_hash); hash_table_deinit(&conf->obs_file_hash); if (lock_fd != -1) { ! if (my_lockf(lock_fd, F_ULOCK, (off_t) 0) == -1) opkg_perror(ERROR, "Couldn't unlock %s", lock_file); if (close(lock_fd) == -1) opkg_perror(ERROR, "Couldn't close descriptor %d (%s)", lock_fd, lock_file); *** libopkg\opkg_conf.h 2022-02-25 04:27:58.000000000 +0800 --- libopkg\opkg_conf.h 2024-03-03 14:20:05.000000000 +0800 *************** *** 20,31 **** --- 20,32 ---- typedef struct opkg_conf opkg_conf_t; extern opkg_conf_t *conf; #include <stdarg.h> #include <fnmatch.h> /* FNM_CASEFOLD */ + #include <pthread.h> #include "hash_table.h" #include "pkg_src_list.h" #include "pkg_dest_list.h" #include "nv_pair_list.h" *************** *** 39,50 **** --- 40,56 ---- /* In case the config file defines no dest */ #define OPKG_CONF_DEFAULT_DEST_NAME "root" #define OPKG_CONF_DEFAULT_DEST_ROOT_DIR "/" #define OPKG_CONF_DEFAULT_HASH_LEN 1024 + + struct mt_lock { + pthread_mutex_t mutex; + pthread_mutexattr_t mutexattr; + }; struct opkg_conf { pkg_src_list_t pkg_src_list; pkg_dest_list_t pkg_dest_list; pkg_dest_list_t tmp_dest_list; nv_pair_list_t arch_list; *************** *** 105,116 **** --- 111,125 ---- char *signature_ca_file; char *signature_ca_path; hash_table_t pkg_hash; hash_table_t file_hash; hash_table_t obs_file_hash; + + // replace file lock + struct mt_lock *mlock; }; enum opkg_option_type { OPKG_OPT_TYPE_BOOL, OPKG_OPT_TYPE_INT, OPKG_OPT_TYPE_STRING
      2
    • L

      V851s rtl8188fu usb wifi驱动如何调试
      V Series • Posted at • liu_billy

      1 Votes
      0 Replies
      579 Views

      No one has replied

      0
    • L

      V851s mipi csi GC2063 双目摄像头如何调试
      V Series • Posted at • liu_billy

      0 Votes
      0 Replies
      641 Views

      No one has replied

      0
    • L

      V851s mipi dsi ili9881c 屏幕如何调试
      V Series • Posted at • liu_billy

      0 Votes
      0 Replies
      617 Views

      No one has replied

      0
    • W

      【Genin】大家碰到过这个问题嘛 pegasus的
      V Series • Posted at • w2836833

      1 Votes
      9 Replies
      3834 Views

      M Replied at

      @misay 您好,请问这个具体要怎么解决呀,我用yolov5-7.0的模型会有这个问题,6.0没有,但是需要用到7.0的语义分割模型。想请教下如何解决,谢谢大佬

      9
    • P

      Failed to execute script 'pegasus' due to unhandled exception!
      V Series • Posted at • plustree

      0 Votes
      10 Replies
      4053 Views

      M Replied at

      @misay 您好,请问这个要怎么解决呀,我用yolov5-7.0的模型会有这个问题,6.0没有,但是需要用到7.0的语义分割模型。想请教下如何解决,谢谢大佬

      10
    • M

      关于V851S的opencv问题
      V Series • Posted at • mysteryli

      0 Votes
      2 Replies
      1713 Views

      M Replied at

      但是patch中修改的文件,例如cap_v4l.cpp等
      我只能在out中找到他们
      0ac1d8f0-227f-4250-be9e-0da2bc8b9b43-image.png

      2
    • M

      yolov5部署,onnx-npu模型转换问题
      V Series • Posted at • masterlin

      0 Votes
      2 Replies
      1618 Views

      M Replied at

      @awwwwa 大佬您好,请问您有修复过这方面的经验吗,求分享😘

      2
    • A

      V853SDK:奇怪的帧缓冲区操作
      V Series • Posted at • Alb702

      0 Votes
      5 Replies
      2399 Views

      A Replied at

      @alb702 add your layer and cat that file see what layer you configured

      5
    • S

      lvgl中文字体显示大小不一致
      V Series • Posted at • sunchipV

      0 Votes
      1 Replies
      794 Views

      S Replied at

      @sunchipv 问题已解决,是下载的字库有问题,更换另外的字库正常了

      1
    • cwtech

      V853 Syterkit DDR3 问题
      V Series • Posted at • cwtech

      2 Votes
      7 Replies
      3078 Views

      cwtech Replied at

      sorry for your spent time. Thank you!

      抱歉佔用您的時間。 謝謝你!

      7
    • W

      V831se的sdk是在哪里下载
      V Series • Posted at • w131104306085

      1 Votes
      1 Replies
      654 Views

      WhycanService Replied at

      https://v853.docs.aw-ol.com/study/study_3getsdktoc/

      1
    • A

      V853 SDK:Linux内核中的MIPI DSI
      V Series • Posted at • Alb702

      0 Votes
      5 Replies
      2598 Views

      A Replied at

      我决定从结论3开始:在uboot中初始化DSI接口和面板。 有用。

      5
    • vincent1

      请问如何在tina linux安装apt-get 我的芯片是V853 buildroot文件系统
      V Series • Posted at • Shy

      0 Votes
      1 Replies
      1045 Views

      L Replied at

      用这个试试
      opkg install <安装包路径>

      1
    • B

      V83x family production status
      V Series • Posted at • bardi4567

      0 Votes
      0 Replies
      527 Views

      No one has replied

      0
    • kanken6174

      V851S上的ISP真的坏了吗?
      V Series • Posted at • kanken6174

      0 Votes
      21 Replies
      7210 Views

      kanken6174 Replied at

      @awwwwa 感谢您的链接,这是一个有趣的解决方案,非常接近我想要实现的目标,我相信这使用了专有的闭源 tina-os,对吧? 但由于这只是一个磁盘映像而不是开源的,我无法真正使用它,特别是因为它是用于 V851SE 而不是 V851S...我想在芯片上实现我自己的驱动程序和图像处理方法,从什么 我知道这需要 NDA 下的专有 sdk...

      21
    • M

      问下大家camerademo抓的是原图还是ISP调色过的图呢
      V Series • Posted at • mysteryli

      0 Votes
      8 Replies
      2800 Views

      M Replied at

      @yuzukitsuru
      但是adb上看来会死掉(是整个linux挂掉adb断开,需要重新上电才行),回头我看一眼串口输出,

      8
    • baiwen

      V851SE TinyVision地表最帅AI开发板来了! @yuzukihd
      V Series • Posted at • 100ask

      1 Votes
      6 Replies
      3021 Views

      C Replied at

      @q1215200171 非常感谢

      6
    • M

      V851S芯片想使用PH0-PWM0
      V Series • Posted at • mysteryli

      0 Votes
      0 Replies
      676 Views

      No one has replied

      0
    • W

      求教使用百问网v851s的sdk打包问题!
      V Series • Posted at • whycanservice2

      1 Votes
      18 Replies
      6441 Views

      W Replied at

      @awwwwa 之前尝试修改过此文件,但结果烧录出来的卡始终是量产卡(烧录时选择启动卡烧录之后依然是量产卡)。。。。

      18
    • Y

      编译成功,打包时Dragon execute image.cfg Failed !
      V Series • Posted at • yelong98

      1 Votes
      2 Replies
      2092 Views

      R Replied at

      @yelong98 解决了吗

      2
    • F

      YuzuKi X 100ask V851s 上手体验, 编译和烧录系统!
      V Series • Posted at • fanfan

      0 Votes
      7 Replies
      4309 Views

      W Replied at

      @awwwwa 好的, 多谢

      7
    • L

      启动内核卡在Waiting for root device /dev/mmcblk0p2...
      V Series • Posted at • lmmuyu

      0 Votes
      6 Replies
      3664 Views

      R Replied at

      @lmmuyu 谢谢。我试试

      6
    • R

      v851se tinyvison为什么不直接使用tina,而是单独用openwrt呢
      V Series • Posted at • remindA

      1 Votes
      0 Replies
      1229 Views

      No one has replied

      0

    精华推荐

    • 【水经验混下载权限专用贴】如何升级LV2拉取SDK
    • T113/D1-H (MQ-Pro)驱动 OV5640 摄像头(内含驱动源码)
    • 全志在线开源芯片 新 SDK 平台下载方法汇总
    • 新 SDK 平台下载 D1-H/D1s SDK
    • 新 SDK 平台下载 V853 SDK
    • 新 SDK 平台下载 R329 SDK
    • 新 SDK 平台下载 MR813 SDK
    • 新 SDK 平台下载 XR806 SDK
    • D1s 哪吒开发板,电阻屏的配置方法
    • V85x E907 小核开发与使用
    • [哪吒开发板]Tina Linux SPI主从通信验证实录
    • T113-S3入门资料汇总(避坑指南)一
    • 【加精】D1 tina Docker 编译环境制作和使用
    • Tina Linux 存储介质切换:eMMC,SPI NAND,SPI NOR,SD Card,SD NAND
    • 【资料】V853&&V851 硬件参考设计
    换一批

    随便看看

    • 请教大家一个F1c200s tina3.5 nor flash容量设置的问题
    • V853 LVGL使用TP,屏幕中间控件无法响应
    • T113-S3无法下载镜像
    • 基于Melis4.0的爱键智能视频门铃体验记录
    • R328-s2和r328-s3的区别??
    • 【XR806开发板试用】Docker开发环境+AT工程指令测试
    • 弱弱的问一句,T527是正式量产了吗?
    • t113 mq_r自己外接以太网引脚选择
    • 求助,H618如何刷成openwrt或armbian
    • d1 sdk里 lichee/linux-5.4/drivers/video/fbdev/sunxi/lcd_fb/include.h 引用了riscv平台不存在的 <asm/memory.h>
    • 一图看懂 MIPI LCD 的初始化序列
    • 电容的“通交流、阻直流”,终于有人讲清楚了!
    • T113-S3 emmc请问如何配置?
    • 如何将sample_g2d编译到根文件系统
    • D1H 网络
    • 1
    • 2
    • 3
    • 4
    • 5
    • 8
    • 9
    • 3 / 9

    精华推荐

    • 【水经验混下载权限专用贴】如何升级LV2拉取SDK
    • T113/D1-H (MQ-Pro)驱动 OV5640 摄像头(内含驱动源码)
    • 全志在线开源芯片 新 SDK 平台下载方法汇总
    • 新 SDK 平台下载 D1-H/D1s SDK
    • 新 SDK 平台下载 V853 SDK
    • 新 SDK 平台下载 R329 SDK
    • 新 SDK 平台下载 MR813 SDK
    • 新 SDK 平台下载 XR806 SDK
    • D1s 哪吒开发板,电阻屏的配置方法
    • V85x E907 小核开发与使用
    • [哪吒开发板]Tina Linux SPI主从通信验证实录
    • T113-S3入门资料汇总(避坑指南)一
    • 【加精】D1 tina Docker 编译环境制作和使用
    • Tina Linux 存储介质切换:eMMC,SPI NAND,SPI NOR,SD Card,SD NAND
    • 【资料】V853&&V851 硬件参考设计
    换一批

    随便看看

    • 请教大家一个F1c200s tina3.5 nor flash容量设置的问题
    • V853 LVGL使用TP,屏幕中间控件无法响应
    • T113-S3无法下载镜像
    • 基于Melis4.0的爱键智能视频门铃体验记录
    • R328-s2和r328-s3的区别??
    • 【XR806开发板试用】Docker开发环境+AT工程指令测试
    • 弱弱的问一句,T527是正式量产了吗?
    • t113 mq_r自己外接以太网引脚选择
    • 求助,H618如何刷成openwrt或armbian
    • d1 sdk里 lichee/linux-5.4/drivers/video/fbdev/sunxi/lcd_fb/include.h 引用了riscv平台不存在的 <asm/memory.h>
    • 一图看懂 MIPI LCD 的初始化序列
    • 电容的“通交流、阻直流”,终于有人讲清楚了!
    • T113-S3 emmc请问如何配置?
    • 如何将sample_g2d编译到根文件系统
    • D1H 网络