Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • 社区主页
    1. Home
    2. Honey130602
    H
    • Profile
    • Following 0
    • Followers 0
    • my integral 1258
    • Topics 8
    • Posts 31
    • Best 4
    • Groups 0

    Honey130602LV 5

    @Honey130602

    1258
    integral
    4
    Reputation
    12
    Profile views
    31
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Honey130602 Unfollow Follow

    Best posts made by Honey130602

    • Reply: D1s同时启用TVD和DVP接口摄像头,图像显示黑白

      @tigger
      vind->clk[VIN_TOP_CLK_SRC].clock 这个,根据设备树,被设成了336M,然后就出问题了

      posted in D1-H/D1s
      H
      Honey130602
    • Reply: T113跑csitest,出现不能分配连续空间问题,求大神指点

      @honey130602 内存分配机制出问题导致,选错了

      posted in 全志方案讨论区
      H
      Honey130602
    • 有没有哪位大神在D1S上跑过ov5640或者其他sensor的,走DVP-CSI

      最近想外接摄像头,不用内部TVD,想尝试下ov5640或者N5,因为D1S上没有mipi,所以只能走DVP,哪位大神有做出来的么?

      posted in D1-H/D1s
      H
      Honey130602
    • Reply: 有大佬在T113跑视频采集的应用成功的么

      @honey130602 搞出来了,内存分配机制的问题

      posted in 全志方案讨论区
      H
      Honey130602

    Latest posts made by Honey130602

    • Reply: t113的image292MB,为什么烧写不进512MB的sd卡

      原来是sys_partition.fex中,把rootfs.fex的分区大小定义为了1G,所以哪怕编译出来的rootfs.fex才不到200MB,用烧写工具烧写的时候,还是会出现ext4的1G的分区。改这个文件就对啦,现在改成了320M,需要使用到的扇区数是655360, 320M = 512*655360
      partition.png
      修改后,烧写进SD卡的文件系统用dg看,可以发现已经从1G到320MB了
      partition1.png
      还要注意改了后,要重新擦除下SD卡,再烧写,不然分区信息不会变,之前我还以为自己修改后的没生效

      posted in 全志方案讨论区
      H
      Honey130602
    • Reply: t113的image292MB,为什么烧写不进512MB的sd卡

      @yuzukitsuru 生成出来的linux镜像文件t113_linux_evb1_auto_uart0.img,是292MB

      posted in 全志方案讨论区
      H
      Honey130602
    • Reply: 有大佬在T113跑视频采集的应用成功的么

      @honey130602 搞出来了,内存分配机制的问题

      posted in 全志方案讨论区
      H
      Honey130602
    • Reply: T113跑csitest,出现不能分配连续空间问题,求大神指点

      @honey130602 内存分配机制出问题导致,选错了

      posted in 全志方案讨论区
      H
      Honey130602
    • Reply: D1s同时启用TVD和DVP接口摄像头,图像显示黑白

      @tigger 最近才确认清楚,是频偏问题导致

      posted in D1-H/D1s
      H
      Honey130602
    • t113的image292MB,为什么烧写不进512MB的sd卡

      t113的image292MB,烧写进512MB的sd卡竟然失败,是什么原因呢?报错如下,好像超容量了,但是不应该呀。
      微信图片_20220613184233.jpg

      posted in 全志方案讨论区
      H
      Honey130602
    • T113跑csitest,出现不能分配连续空间问题,求大神指点

      T113跑csitest,外接CVBS摄像头,空间由应用程序分配,调用到内核程序时,一直报不能分配连续空间,
      [ 153.341696] ++++++++++[arm_iommu_map_sg][1742]+++++++++++
      [ 153.350890] ++++++++++[vb2_dc_get_userptr][475]size:518400+++++++++++++
      [ 153.358403] ++++++++++[vb2_dc_get_userptr][533]n_pages:0x7f,offset:0x0,size:0x7e900+++++++++++++
      [ 153.368327] +++++++++[vb2_dc_get_contiguous_size][56]expected:0x45ec0000++++++++++
      [ 153.376863] +++++++++[vb2_dc_get_contiguous_size][60]dmaAddr:0x45ec0000,expected:0x45ec0000,len:458752++++++++++
      [ 153.388318] +++++++++[vb2_dc_get_contiguous_size][60]dmaAddr:0x45e34000,expected:0x45f30000,len:8192++++++++++
      [ 153.399572] +++++++++[vb2_dc_get_contiguous_size][63]dma addr:0x45e34000++++++++++
      [ 153.408118] [vb2_dc_get_userptr][557]contiguous mapping is too small 458752/518400
      VIDIOC_QBUF failed
      Got signal 11, exiting ...
      disp_disable:disp_set_addr fail to set layer info
      disp_disable:disp_set_addr fail to set layer info
      有大神遇到过类似问题吗?求指点

      posted in 全志方案讨论区
      H
      Honey130602
    • T113跑摄像头采集出现Bad rss-counter,然后死机

      T113跑CSI摄像头采集,出现如下错误:
      [ 26.767976] BUG: Bad rss-counter state mm:47ec7b26 type:MM_FILEPAGES val:216
      [ 26.775928] BUG: Bad rss-counter state mm:47ec7b26 type:MM_ANONPAGES val:14
      [ 26.783761] BUG: non-zero pgtables_bytes on freeing mm: 6144
      然后开发板死了,求大神指点,这个是什么错误呢

      posted in 全志方案讨论区
      H
      Honey130602
    • 有大佬在T113跑视频采集的应用成功的么

      有哪位大佬在T113上调摄像头或者视频采集的应用没,我这边调的时候,发现调用全志package里头的sunxi_ion_alloc_palloc函数,然后后面开启摄像头采集数据后,会报错,并导致开发板挂掉?或者在应用层直接mmap从内核分配的地址,然后跑应用也会出问题,都是莫名挂掉,有时候会报BUG: Bad rss-counter state mm:之类的错误

      posted in 全志方案讨论区
      H
      Honey130602
    • Reply: T113跑TINA串口不能输入了

      @yuzukitsuru 现在发现还有个一个比较诡异的问题,我想把串口从0改到1,
      修改了
      ----------sys_config.fex------------
      [uart_para]
      uart_debug_port = 1
      uart_debug_tx = port:PG06<2><1><default><default>
      uart_debug_rx = port:PG07<2><1><default><default>
      ---------board.dts-------------
      &uart0 {
      pinctrl-names = "default", "sleep";
      pinctrl-0 = <&uart0_pins_a>;
      pinctrl-1 = <&uart0_pins_b>;
      status = "disabled";
      };

      &uart1 {
      pinctrl-names = "default", "sleep";
      pinctrl-0 = <&uart1_pins_a>;
      pinctrl-1 = <&uart1_pins_b>;
      status = "okay";
      };

      -------------env.cfg-----------------
      #kernel command arguments
      earlyprintk=sunxi-uart,0x02500400
      initcall_debug=0
      console=ttyS1,115200
      --------------sun8iw20p1.dts------------------
      uart1: uart@2500400 {
      compatible = "allwinner,sun8i-uart";
      device_type = "uart1";
      reg = <0x0 0x02500400 0x0 0x400>;
      interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
      sunxi,uart-fifosize = <256>;
      clocks = <&ccu CLK_BUS_UART1>;
      clock-names = "uart1";
      resets = <&ccu RST_BUS_UART1>;
      uart1_port = <1>;
      uart1_type = <4>;
      status = "okay";
      };
      ---------------uboot下头的defconfig-----------------
      CONFIG_CONS_INDEX=2
      这样的表现是uboot有串口打印,但是kernel就没有了
      然后我只要把uboot下头的defconfig还原到CONFIG_CONS_INDEX=1
      uboot没有打印了,但是kernel就有打印了,
      想了很久都没想通

      posted in 全志方案讨论区
      H
      Honey130602