• Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop
  • Register
  • Login
  • Register
  • Login
  • Search
  • Recent
  • Wiki
  • Github
  • 百度网盘
  • Onedrive
  • Official
  • Shop

coolpi4B,ubuntu22desktop版串口有问题,ubuntu22server版摄像头有问题。

Pi 4B
2
3
1.7k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 银
    银河铁道 last edited by Jan 29, 2024, 3:30 AM

    coolpi4B,ubuntu22desktop版串口有问题,ubuntu22server版摄像头有问题。

    背景:首先确定coolpi硬件是没有问题的,系统层面的权限、minicom配置、cmdline更改都已完成,两个系统的下载地址百度云:
    c949c1ec-3138-47a6-bc61-1674dbf42de0-image.png

    详细描述:
    **问题1:**ubuntu22desktop版引脚上的串口ttyS0接受消息时经常会接受不到,接受到也会丢失该次发送到第一个字节,基本等于没法使用
    另一端使用电脑串口助手不断发送11 22 33 44 55,串口转usb硬件也没问题,实际上coolpi接受端这边1s左右才能收到一条。
    57efb433-2749-4f1f-84ff-bf5d21a090c1-image.png
    **问题2:**ubuntu22server版摄像头有问题,首先系统本身没有3a算法的包,需要把desktop的coolpi源添加进去,再安装camera-engine-rkaiq。使用ov5647情况就是压根读不到摄像头数据,我们debug了一下推测问题可能在内核部分。

    以上问题在coolpi的ubuntu20desktop板从来没有遇到,可以排除是我们的操作问题或者软件问题。

    J 1 Reply Last reply Jan 29, 2024, 5:03 AM Reply Quote 0
    • J
      jack_admin @银河铁道 last edited by Jan 29, 2024, 5:03 AM

      @银河铁道 你可以试试把u20版本内核拷贝到u22系统上,对比验证下

      银 1 Reply Last reply Feb 28, 2024, 9:37 AM Reply Quote 0
      • topic:timeago_later,about a month
      • 银
        银河铁道 @jack_admin last edited by Feb 28, 2024, 9:37 AM

        @jack_admin
        抱歉,我发现可能是我自己的问题,我按照这个帖子提到的内容:https://www.cool-pi.com/topic/69/coolpi-4b硬件扩展二-serial-port?_=1686637427786
        将ttys0改为普通串口,用stty工具测试S0和S2都没有发现任何问题,我比较怀疑可能是minicom的一些问题。

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 out of 3
        • First post
          1/3
          Last post