• Register
    • Login
    • Search
    • Recent
    • Wiki
    • Github
    • 百度网盘
    • Onedrive
    • Official
    • Shop
    1. Home
    2. george
    3. Best
    G
    • Profile
    • Following 0
    • Followers 4
    • Topics 67
    • Posts 851
    • Best 73
    • Controversial 4
    • Groups 2

    Best posts made by george

    • gstreamer video framework

      The latest ubuntu22.04 firmware(20230303-ubuntu-22.04-preinstall-desktop-arm64) integrates ffmpeg and gstreamer video frames, and can call the hardware codec module of Rockchip, which can greatly improve the video codec performance of the device and reduce the CPU load.

      • With kmssink, the CPU utilization of 4K video playback is reduced to about 10%.The disadvantage is that it occupies one layer.

      • The following command can obtain layer information.

         sudo cat /sys/kernel/debug/dri/0/state | grep "plane"
      
      • Use the following command to play the video and replace xxx.mp4 with the actual path. 88 represents the layer, kmssink only supports the display of Esmart layer.
         gst-play-1.0  xxx.mp4 --videosink='kmssink plane-id=88'
      
      • You can also use other plug-ins, such as xvimagesink glimagesink waylandsink, etc.

      50b880fb-d9d7-4e37-8390-4db38abc1423-image.png
      e5daa33a-b078-41c2-b50d-be1040b17d50-image.png

      posted in Ubuntu
      G
      george
    • RE: Coolpi Ubuntu 24.04 is coming soon!!

      @Rock
      The Ubuntu 24.04 image has really been released and can be obtained from Baidu Cloud or Onedrive. Thank you for your support.

      posted in PI CM5 Laptop
      G
      george
    • RE: 电源底板上电最大可以上多大需要多少安培

      @阿里
      不会的!DCDC输入的电压可以到30V以上。超过12V的电源输入建议使用2PIN 2.54mm连接器,如下图所示:正常工作12V 1.5A就可以满足系统要求,如果有加其它外设比如移动硬盘 SSD之类的,根据实际情况增加电源功率。
      0270118f-1075-4346-a528-87b50717eaf2-image.png

      posted in Pi CM5
      G
      george
    • Explore unlimited possibilities - Coolpi 8-inch touchscreen

      Welcome to the intersection of technology and creativity! Coolpi 8-inch touchscreen brings you an unprecedented interactive experience. This cost-effective touch screen, with its outstanding performance and unlimited possibilities, will become a powerful assistant for your innovative projects.

      lcd2.jpg

      Product features

      • Suitable size: 8 inches in size, lightweight and portable, allowing your creativity to be everywhere.
      • High definition display: 800x1280 resolution, clear image, bright colors, and a higher visual experience.
      • Multi touch: Supports five touch for smoother operation, allowing your fingertips to dance on the screen.
      • Strong compatibility: Perfect compatibility with Coolpi CP4/CM5-EVB.
      • Easy to install: With a simple design, you can easily complete the installation and get started quickly.
        lcd1.jpg

      Application scenarios

      • Embedded development: The Coolpi 8-inch touch screen can serve as the core component of intelligent hardware projects, helping you create unique embedded systems.
      • Educational programming: suitable for teenagers to learn programming, easily achieve graphical programming, and cultivate innovative thinking.
      • Home entertainment: It can serve as a home media center, playing high-definition videos and enjoying audiovisual banquets.
      • Smart Home: Combining Coolpi's powerful scalability, create a smart home control system to make life more convenient.
      • Creative display: Artists and designers can display their works through touch screens, interact with the audience, and expand their creative space.
      • Portable devices: The Coolpi 8-inch touch screen can be applied to various portable devices, such as tablets, advertising machines, etc.

      Reason for purchase

      • High cost-effectiveness: Compared to similar products, the Coolpi 8-inch touch screen has a higher cost-effectiveness, making you value your money.
      • Perfect ecosystem: Coolpi has rich community resources, providing you with a large number of tutorials, cases, and driver support.
      • Quality assurance: After strict quality testing, ensure the stability and reliability of the product.
      • Thoughtful after-sales service: We provide professional technical support to solve any problems you encounter during use.
      • Innovation spirit: The Coolpi 8-inch touch screen inherits Coolpi's consistent innovation spirit, helping you achieve more creativity.

      Mechanical dimensions

      lcd4.png
      Join the ranks of Coolpi and embark on your creative journey! Let technology and art blend together to add color to your life.

      posted in Peripheral
      G
      george
    • RE: rk mpp平台YUV格式支持问题

      @jugg
      不同的格式对齐要求不同,RGA硬件本身是对图像每行的数据是按照字(world)对齐的方式进行取数的,即4个字节32个bit。例如RGBA格式本身单个像素存储大小为32(4 × 8)bit,所以没有对齐要求;RGB565格式存储大小为16(5 + 6 +5)bit,所以需要2对齐;RGB888格式存储大小为24(8 × 3)bit,所以该格式需要4对齐才能满足RGA硬件的32bit取数要求;YUV格式存储相对较为特殊,本身排列要求需要2对齐,Y通道单像素存储大小为8bit,UV通道根据420/422决定每四个像素的存储大小,所以YUV格式Y通道需要4对齐才能满足RGA的硬件取数要求,则YUV格式需要4对齐;其他的未提及的格式对齐要求原理相通。注意,该题中对齐均指width stride的对齐要求,YUV格式本身实际宽高、偏移量由于格式本身特性也是要求2对齐的。

      posted in Ubuntu
      G
      george
    • Coolpi 4B armbian support

      462ff968-e9f4-4a4a-924a-f3994cb118b0-image.png

      e81e2101-684e-4db3-a7b6-8bec1e776cf4-image.png

      1290fac3-7efb-4d19-91fc-9710f4f8ae52-image.png

      Open source repositories:Github
      Image download:One Drive

      enable 3D acceleration:
      sudo add-apt-repository ppa:george-coolpi/mali-g610
      sudo add-apt-repository ppa:george-coolpi/multimedia
      sudo apt update
      sudo apt dist-upgrade
      
      installing the MPV video player:(Support rkmpp hardware decoding)
      sudo apt-get install mpv
      
      posted in Armbian
      G
      george
    • RE: 如何进入coolpi cm5-laptop的bios设置?

      @Rock
      1.First, download the image to the COOLPI laptop
      2.Then insert the USB drive into the laptop, double-click on the image and the following interface will pop up. 3.Then select the USB drive, and the image will be created into the USB drive
      4.Restart the laptop and the machine will boot from the USB drive. After entering the system, copy the 24.04 image into the USB drive.
      5.Double click on the 24.04 image in the USB drive directory, select EMMC (starting with AT29), and enter the root password. The image will be flushed into EMMC.

      posted in PI CM5 Laptop
      G
      george
    • RE: Laptop install Ubuntu on nvme

      @Momo-0
      Closing the laptop cover will put the machine into sleep mode.

      posted in Ubuntu
      G
      george
    • RE: merge back to armbian source

      @igorp
      Recently, I have been working hard to push CM5 NOTEBOOK to the ARMBIAN mainline. Further information will be released as soon as possible. Thank you for your support.
      https://www.cool-pi.com/topic/384/cool-pi-arm-notebook-preview
      7cc1adb6-5c84-4674-9d00-cbdaf239f2de-bd7c3f01a866a79f4b8656813819cf71_1691552605175-cool-pc.jpg

      posted in Armbian
      G
      george
    • RE: 如何进入coolpi cm5-laptop的bios设置?

      @Rock
      You can download the image again to the 24.04 system directory. If you downloaded to 22.04 before, you must first mount mmcblk0p2 to the system and then find the image you downloaded earlier in the corresponding folder.

      posted in PI CM5 Laptop
      G
      george
    • RE: Ubuntu kernel upgrades

      @sushruth
      Just upgrade the kernel separately! You can use deb to upgrade or directly command to upgrade.

      posted in Ubuntu
      G
      george
    • RE: Would Cool Pi provide Batocera, Retropie, Lakka, Recalbox devs cool pi 4B boards for support?

      @retroman Thank you for your suggestion. We will discuss the time point of support internally.

      posted in Maker
      G
      george
    • RE: Firefox deb version freezed when try to play video

      @plumlis
      The kernel version 6.1 will support it and is currently being adapted.

      posted in PI CM5 Laptop
      G
      george
    • Ubuntu22.04安装Fcitx5中文输入法
      • 检查系统中文环境
        在 Ubuntu 设置中打开「区域与语言」—— 「管理已安装的语言」,然后会自动检查已安装语言是否完整。若不完整,根据提示安装即可。
        4e2d75a8-9bc3-4b13-bf9e-2a7a51c368fd-image.png

      • 最小安装
        为使用 Fcitx 5,需要安装三部分基本内容:
        Fcitx 5 主程序
        中文输入法引擎
        图形界面相关
        按照这个思路,可以直接使用 apt 进行安装:

      sudo apt install fcitx5 fcitx5-chinese-addons fcitx5-frontend-gtk4 fcitx5-frontend-gtk3 fcitx5-frontend-gtk2 fcitx5-frontend-qt5
      
      • 安装中文词库
      # 下载词库文件
      wget https://github.com/felixonmars/fcitx5-pinyin-zhwiki/releases/download/0.2.4/zhwiki-20220416.dict
      # 创建存储目录
      mkdir -p ~/.local/share/fcitx5/pinyin/dictionaries/
      # 移动词库文件至该目录
      mv zhwiki-20220416.dict ~/.local/share/fcitx5/pinyin/dictionaries/
      
      • 配置
        设置为默认输入法
        使用 im-config 工具可以配置首选输入法,在任意命令行输入:
      im-config
      

      bfc48726-2de3-4d4d-8a76-00b2a8f7a2c5-image.png
      根据弹出窗口的提示,将首选输入法设置为 Fcitx 5 即可。

      • 开机启动fcitx5
      sudo cp /usr/share/applications/org.fcitx.Fcitx5.desktop /etc/xdg/autostart/
      
      posted in Ubuntu
      G
      george
    • What is Cool Pi?

      1.Introduction

      Cool Pi has a modern and powerful hexa-core ARM based processor, RK3588S inside, it offers significantly improved performance versus other popular SBC boards. All models are equipped with LPDDR4X RAM and optional high performance eMMC modules, boost all applications.
      2.png

      2.Machine size

      The size is only 56mm × 85mm.

      3.png
      COOLPI-V11-20220911.dxf

      3.Performance

      4-core A76+4-core A55 gold combination, giving consideration to high performance and low power consumption.
      A76.png

      A53.jpg

      posted in Hardware
      G
      george
    • 尽情提问,探讨交流

      Linux、嵌入式、软件、硬件、产品、创意

      posted in Construction
      G
      george
    • RE: Intel AX200 / 210 working on laptop?

      @plumlis
      The AX200 has been tested before and can be used, but the AX210 is still not working. Waiting for subsequent kernel upgrades. The model shown in the figure has been previously verified.
      f6cc9f10-0a4e-4717-955e-faa5c97f1924-image.png

      posted in PI CM5 Laptop
      G
      george
    • CoolPi-4B硬件资料持续更新
      版本 V10 V11
      WIFI模组 AP6256 AIC8800
      WIFI板载天线 无 双频天线
      EMMC连接器 GB042 BM20B

      V10硬件原理图:COOLPI-4B-Schematic-V10.pdf
      V10位号图:COOLPI-4B-Part-V10.pdf
      V10结构图:coolpi-4b-dxf-v10.dxf
      V11 硬件原理图:COOLPI-4B-Schematic-V11.pdf
      V11位号图:COOLPI-4B-Part-V11.pdf
      V11结构图:COOLPI-4B-DXF-V11.dxf

      posted in Hardware
      G
      george
    • RE: Cool Pi 4B can't boot. Need help

      @retroman The armbian image of coolpi will be released soon.

      posted in Construction
      G
      george
    • RE: Intel AX200 / 210 working on laptop?

      @plumlis
      The testing before AX210 was problematic. The most basic BT cannot recognize it, it seems that the firmware version of WIFI is incorrect.

      posted in PI CM5 Laptop
      G
      george
    • RE: GenBook-RK3588 Crowdfunding projects

      @plumlis

      • 温度达到一定的值,会自动降频,这个目前是有策略的。
      • 主控有硬件的OVP保护机制,超过一定温度值会强制重启。
      • PMIC电源管理超过一定温度会直接掉电。

      上面三种温度控制策略,最大限度保证CPU本体安全,你可以放心大胆的玩,之前最长一次是编译chromium,连续大负荷工作2天。

      posted in PI CM5 Laptop
      G
      george
    • Mini-DP转HDMI线材的说明

      CoolPi的MINI-DP接口只能支持标准的DP协议,分辨率可以达到4KP60,不能支持INTEL DP++协议,所以市面上普通的minidp转HDMI线材大部分是不能使用的。DP转HDMI线材需要使用主动式的线材。下图是几个验证过的线材的链接地址:
      1.https://item.jd.com/100021518367.html
      5b33c306-4f26-474b-887b-2c11850a458c-image.png
      2.https://item.jd.com/100018963014.html
      321b6745-3eed-4960-ad11-c6bcf8773d32-image.png

      posted in Hardware
      G
      george
    • RE: After suspend scaling_max_freq set to lowest. and some perfomance tweak

      @plumlis
      This method has been tried before, and as you said, the actual effect can be seen in the Ubuntu system. However, if it is a system with kylin and uos, it must always run in performance mode to run smoothly. We will re evaluate whether to update to the existing kernel configuration. Thank you for your suggestion.

      posted in PI CM5 Laptop
      G
      george
    • 瑞芯微新一代旗舰Soc芯片RK3588详细介绍
         2021年12月16日,在瑞芯微举办的第六届开发者大会上,瑞芯微发布了新一代高性能旗舰Soc芯片RK3588,对于要实现国产化芯片替代的视讯及监控厂商来说,这是一个期待已久的重磅消息。
      
         华为海思因为被无端制裁,芯片无人代工无法生产,其芯片存货已消耗殆尽,这给瑞星微这样的中小型芯片厂商带来难得的发展契机,也使得芯片的国产化替代进程进入了加速实施阶段。在高性能的海思芯片无法供货的情况下,瑞芯微这些二流厂商也不失为一种退而求其次的选择!
      
         此次瑞芯微重磅发布的高性能RK3688,较以往的产品,性能上有了大幅提升,功能上也得到了进一步的扩展和增强,是一款非常值得期待的旗舰级芯片!
      

      cpu.png

         该芯片采用ARM架构,采用先进的8nm制程工艺,集成了四核Cortex-A76和四核Cortex-A55(共8核),以及单独的NEON协处理器,支持8K视频编解码,提供了许多功能强大的嵌入式硬件引擎,为高端应用提供了极致的性能,同时提供了丰富的功能接口,可满足不同行业的产品定制需求。
      

      1、RK3588的八大应用方向以及基于RK3588的VR/AR解决方案

      087c6986-dd3d-4561-ab65-aadae6a6f881-image.png

         瑞芯微同时发布了新一代旗舰芯片RK3588 VR/AR显示模组及整机解决方案。该方案具有高画质、高刷新率、快速响应、低延迟等特点,可满足影音、游戏、房产、旅游等多领域的应用需求。
      
         瑞芯微RK3588 VR方案依托强大的芯片处理技术,生成交互式的三维动态视景和实际行为的系统仿真,实现沉浸的知觉体验,自如的行为体验,8K全景视频能够让用户以主角的视角全身心融入到电影情节中,让人感受到一种从未体验过的身临其境的感受。另外VR 影院模式观影可以让足不出户体验真正的IMAX 电影。
      
         此外,RK3588 4K90Hz VR低延迟物理双屏方案,采用BOE 2.1英寸Fast-LCD双屏,单目分辨率2160*2160,双目4320*2160分辨率,像素密度达到1454,双屏近眼显示,支持更小的色散和畸变。
      
         瑞芯微RK3588 AR整机解决方案,采用6DoF设计,支持空间定位,除了3个转动角度来检测头部的转动带来的视野角度变化外,再加之上下、前后、左右等3个位置相关的自由度,能够检测到由于身体移动带来的上下前后左右位移的变化,从而在观影、游戏中体验到跨越障碍、躲避子弹和怪兽、以及跳跃、登山、滑雪等超级真实的感受。
      
         瑞芯微RK3588 VR/AR方案能够获得如此绝佳的体验,主要在于RK3588强大的处理能力。它拥有8K60P视频解码能力,采用四核A76+四核A55 CPU,Mali-G610 GPU,6T算力NPU,,能快速根据陀螺仪数据计算姿态定位,实现速度同步,超低延迟,无眩晕感。屏幕方面,瑞芯微提供4K120帧、90帧等方案,用户可以根据自己的需求选择适合自己的方案。
      
         瑞芯微RK3588 VR/AR方案可应用于影视、娱乐、主题公园以及博物馆等艺术展馆,满足消费者对沉浸互动式体验的需求。
      

      2、芯片的主要部件构成

      e02c0c70-14cc-4937-9bd5-3d9eeb4e2c86-image.png

         RK3588集成了嵌入式ARM Mali G610 3D GPU,支持OpenGLES 1.1、2.0、3.2,OpenCL 2.2和Vulkan1.2。带有MMU的特殊2D硬件引擎将最大限度地提高显示性能,并提供非常平稳的操作。
      
         RK3588引入了新一代完全基于硬件的最大4800万像素ISP(图像信号处理器)。它实现了许多算法加速器,如HDR、3A、LSC、3DNR、2DNR、锐化、dehaze、鱼眼校正、伽马校正等。
      
         内置NPU支持INT4/INT8/INT16/FP16混合运算,运算能力高达6TOPS。此外,凭借其强大的兼容性,基于TensorFlow/MXNet/PyTorch/Caffe等一系列框架的网络模型可以轻松转换。
      

      3、芯片的详细参数及具体性能介绍

      3.1 超强算力,性能与功耗的完美平衡

      8d635f1a-23d0-43e5-b364-740db4e85982-image.png

         CPU方面,RK3588采用4核Cortex-A76和4核Cortex-A55的典型大小核架构,大核主频2.4GHz,小核主频1.8GHz,充分考虑了性能和功耗的平衡。1MB L2 Cache和3MB L3 Cache,提供更强的CPU运算能力。
      
         GPU方面,RK3588集成ARM Mali-G610,至少支持2路4K UI,能流畅运行复杂的图形处理及游戏。
      
         NPU方面,RK3588集成了瑞芯微第四代具有完全自主知识产权的人工智能运算引擎,在MAC运算单元的利用率及带宽的消耗上提升了30%。6TOPs的NPU算力,赋能各类AI场景,给复杂场景的本地离线AI计算、复杂视频流分析等应用提供了各种可能
      
      3.2 超强多媒体影像,带来极致体验
         RK3588多媒体影像核心IP的多核架构,使之拥有强大的处理能力,给各位开发者、用户带来极致的视觉体验。多核架构,不仅支持当下的应用需求,而且很容易升级支持未来更高性能的扩展。
      

      b7cd455c-6b76-4968-bc1c-cffb81bc3a49-image.png
      b4933b3d-d837-485b-8a5c-efad27d53a67-image.png

      posted in Hardware
      G
      george
    • 6.1 Kernel GPU firmware update

      Version 6.1 of the kernel requires updating the GPU's bin file by replacing the attached bin file in the system /lib/firmware directory. Otherwise, the old bin file will cause a black screen during system startup.
      mali_csffw.bin

      posted in PI CM5 Laptop
      G
      george
    • CoolPi 4B硬件扩展四:GPIO

      40PIN连接器除了debug串口和I2C6,其它都可以用作通用IO。所有的GPIO都支持中断、上下拉和驱动强度配置。

      GPIO列表

      PIN序号 GPIO编号 节点编号 默认状态 IO电平
      3 GPIO0_D5 29 UP TTL 3.3V
      5 GPIO0_D4 28 UP TTL 3.3V
      7 GPIO1_B7 47 UP TTL 3.3V
      11 GPIO4_A0 128 DOWN TTL 3.3V
      13 GPIO4_A1 129 DOWN TTL 3.3V
      15 GPIO4_A2 130 DOWN TTL 3.3V
      19 GPIO1_B2 42 DOWN TTL 3.3V
      21 GPIO1_B1 41 DOWN TTL 3.3V
      23 GPIO1_B3 43 DOWN TTL 3.3V
      29 GPIO4_A3 131 DOWN TTL 3.3V
      31 GPIO4_A4 132 DOWN TTL 3.3V
      33 GPIO4_A5 133 DOWN TTL 3.3V
      35 GPIO4_A6 134 DOWN TTL 3.3V
      37 GPIO4_A7 135 DOWN TTL 3.3V
      12 GPIO1_A7 39 UP TTL 3.3V
      16 GPIO1_A1 33 DOWN TTL 3.3V
      18 GPIO1_A0 30 DOWN TTL 3.3V
      22 GPIO1_B0 40 UP TTL 3.3V
      24 GPIO1_B4 44 UP TTL 3.3V
      26 GPIO1_B5 45 UP TTL 3.3V
      32 GPIO3_B1 105 UP TTL 3.3V
      36 GPIO4_B2 106 UP TTL 3.3V
      38 GPIO4_B3 107 UP TTL 3.3V
      40 GPIO3_C3 115 UP TTL 3.3V

      测试命令

      向内核申请GPIO,写入对应的GPIO值直接申请,比如申请控制GPIO4A0,则使用命令:

      echo 128 > /sys/class/gpio/export
      

      写入后,可以看到已经生成节点:

      /sys/class/gpio/gpio128/
      

      相应gpio节点下面的接口,比如GPIO4A0:

      root@ubuntu:~# ll /sys/class/gpio/gpio128/
      total 0
      drwxr-xr-x 3 root root    0 Nov 21 15:23 ./
      drwxr-xr-x 3 root root    0 Nov 21 15:23 ../
      -rw-r--r-- 1 root root 4096 Nov 21 15:24 active_low
      lrwxrwxrwx 1 root root    0 Nov 21 15:24 device -> ../../../gpiochip4/
      -rw-r--r-- 1 root root 4096 Nov 21 15:24 direction
      -rw-r--r-- 1 root root 4096 Nov 21 15:24 edge
      drwxr-xr-x 2 root root    0 Nov 21 15:24 power/
      lrwxrwxrwx 1 root root    0 Nov 21 15:24 subsystem -> ../../../../../../class/gpio/
      -rw-r--r-- 1 root root 4096 Nov 21 15:23 uevent
      -rw-r--r-- 1 root root 4096 Nov 21 15:24 value
      

      设置GPIO4A0为输出口

      root@ubuntu:/sys/class/gpio/gpio128# echo out >direction 
      root@ubuntu:/sys/class/gpio/gpio128# cat direction 
      out
      

      设置输出高电平

      root@ubuntu:/sys/class/gpio/gpio128# cat value 
      0
      root@ubuntu:/sys/class/gpio/gpio128# echo 1 >value 
      root@ubuntu:/sys/class/gpio/gpio128# cat value 
      1
      实际万用表测试PIN 11输出的电压为3.3V
      

      备注:

      • direction: 参数为“out”(输出)和“in”(输入),可读可写;

      • value: 参数为“0”(低电平)和“1”(高电平),可读可写;

      • edge:可以监听对应引脚的事件,需要把direction设置为输入
        参数为”none”(无中断触发), “rising”(上升沿触发), “falling”(下降沿触发), “both”(上升、下降都沿触发),用户层可以使用poll,设置events为POLLPRI | POLLERR等待事件触发,当对应的模式触发后,会返回事件的消息,此时需要读取value值,以表示改触发已经处理,否则会一直poll到原事件;

      • active_low:此值可以反转value中的值;

      posted in Hardware
      G
      george
    • RE: 6.1 Kernel GPU firmware update

      @plumlis
      内核需要修改增加驱动支持。应用层驱动已经有各个版本的ppa源支持。

      posted in PI CM5 Laptop
      G
      george
    • CoolPi 4B硬件扩展二:Serial port

      串口位置

      下表罗列了40PIN连接器可以用做UART功能的引脚,目前除了debug串口以外还可以扩展5路独立串口。最大波特率1.5M。IO电平是TTL 3.3V。注意:串口号和实际系统的节点不是一一对应,实际操作需要按照表格对应的设备节点。

      序号 端口定义 描述 IO电平 设备节点
      29 UART0_TX_M2 UART0 发送 TTL 3.3V /dev/ttyS6
      31 UART0_RX_M2 UART0 接收 TTL 3.3V /dev/ttyS6
      33 UART3_TX_M2 UART3 发送 TTL 3.3V /dev/ttyS3
      35 UART3_RX_M2 UART3 接收 TTL 3.3V /dev/ttyS3
      19 UART4_RX_M2 UART4 接收 TTL 3.3V /dev/ttyS4
      23 UART4_TX_M2 UART4 发送 TTL 3.3V /dev/ttyS4
      16 UART6_TX_M1 UART6 发送 TTL 3.3V /dev/ttyS2
      18 UART6_RX_M1 UART6 接收 TTL 3.3V /dev/ttyS2
      24 UART7_RX_M2 UART7 接收 TTL 3.3V /dev/ttyS7
      26 UART7_TX_M2 UART7 发送 TTL 3.3V /dev/ttyS7

      DTS配置

      用户需要使用哪个串口在DTS打开对应节点即可,status = "okay"代表开启,status = "disabled"代表关闭。注意不使用UART功能确保对应节点的status是disabled状态,否则可能会导致其它功能异常。

      &uart0 {
      	pinctrl-names = "default";
      	pinctrl-0 = <&uart0m2_xfer>;
      	status = "okay";
      };
      
      &uart3 {
      	pinctrl-names = "default";
      	pinctrl-0 = <&uart3m2_xfer>;
      	status = "okay";
      };
      
      &uart4 {
      	pinctrl-names = "default";
      	pinctrl-0 = <&uart4m2_xfer>;
      	status = "okay";
      };
      
      &uart6 {
      	pinctrl-names = "default";
      	pinctrl-0 = <&uart6m1_xfer>;
      	status = "okay";
      };
      
      &uart7 {
      	pinctrl-names = "default";
      	pinctrl-0 = <&uart7m2_xfer>;
      	status = "okay";
      };
      

      shell测试命令

      功能测试采用回环测试(对应串口的TX RX信号短接)。

      stty -F /dev/ttyS6 raw speed 115200 //配置PIN29 PIN31对应的串口波特率为115200
      echo "hello world" > /dev/ttyS6 //发送字符串
      cat /dev/ttyS6 //接收字符串
      
      

      RS232电路

      RS232.png
      SIT3232EEAE.PDF

      隔离485电路

      485.png
      UTRS485G.PDF
      CA-IS3722LS.PDF
      B0505S-1W.PDF

      posted in Hardware
      G
      george
    • RE: GenBook-RK3588 Crowdfunding projects

      @mez62
      好的,抽空弄一个。其实教给大家方法可能会更好,回头写个帖子,就以archlinux作为对象一步一步制作镜像。

      posted in PI CM5 Laptop
      G
      george
    • 1
    • 2
    • 3
    • 2 / 3