• Recent
    • Docs
    • Github
    • 百度网盘
    • Google
    • Official
    • Shop
    • Register
    • Login
    1. Cool Pi For You
    2. george
    G
    • Profile
    • Following 0
    • Followers 4
    • Topics 72
    • Posts 879
    • Groups 2

    george

    @george

    administrators

    82
    Reputation
    198
    Profile views
    879
    Posts
    4
    Followers
    0
    Following
    Joined
    Last Online

    george Unfollow Follow
    Global Moderator administrators

    Best posts made by george

    • Stay tuned for Linux 6.7...............................soon

      45ae7da9-7159-4389-80a9-64c977575f9c-B@8$7YP%XGMCR)(~D~$03G7.png

      posted in Pi CM5
      G
      george
    • RE: 请问coolpi 4b 电源输入功率多大合适,有电流保护吗?

      @night 机器TYPEC前端电源芯片耐压可以达到28V,极限可以到34V,所以你的适配器规格没有任何问题。
      开发板的电源部分一直是我们设计最优先考虑的方向,所以前端第一级电源花了很多功夫,考虑到用户各种各样适配器的规格,最终选择目前国内少数几家真正能做车规级别电源方案的厂家。尽量保证前端电源稳定可靠。
      8ce67976-0b1c-47e3-a993-89024b93d7be-image.png

      posted in Peripheral
      G
      george
    • ubuntu22.04一键安装ROS2环境

      root登录shell键入如下命令:

      root@ubuntu:/# wget http://fishros.com/install -O fishros && bash fishros
      

      65bc42ac-9e54-4d88-95f4-d878d7e9d65f-image.png
      选择更新源速度会大幅度提高
      3d931b9f-32c6-4d98-b6ac-ac3c444246bd-image.png
      选择humble
      ebe47f66-66e4-4a6b-be30-06baf544eeaa-image.png
      选择桌面版
      63823059-fe80-4f27-8c51-ac78b01dab03-image.png
      安装成功界面
      9afa9baf-df46-40f2-93af-3c00fe3111f4-image.png
      简单测试:
      两个shell终端分别输入下面两条指令

      $ros2 run demo_nodes_py listener
      $ros2 run demo_nodes_cpp talker
      

      db4ce954-67da-438a-891e-e59b4f85d43a-image.png
      小乌龟测试:
      两个shell终端分别输入下面两条指令

      $ ros2 run turtlesim turtlesim_node
      $ ros2 run turtlesim turtle_teleop_key
      

      9f15386f-a6b8-47ae-a8fb-2dfd51fd91b2-image.png

      posted in Ubuntu
      G
      george
    • CoolPI 4B-PRO Product Introduction
      • Picture first
        a2c3cd77-033a-4b67-a056-33fd6734ce77-image.png
        22f6a3d1-7068-4df7-81cc-b85167f4a6d7-image.png
        a15e8551-b7cc-472f-b2a0-93163f3babda-image.png

      • 4G-32G Memory Capacity Replacement.

      • The WIFI module is replaceable and supports models such as 2.4G 5G WIFI6.

      • EMMC module supports up to 256G.

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

      1cf2e61a-3c07-45b7-9c67-5a6134b5d1f1-image.png
      a6bb3352-c652-4ef3-828c-7b5bb306762f-image.png

      posted in PI CM5 Laptop
      G
      george
    • RE: 自定义bootloader

      @zehui
      启动的流程是一样的,目前uboot的结构如下:

      FIT description: FIT Image with ATF/OP-TEE/U-Boot/MCU
      Created:         Wed Feb 28 09:32:41 2024
       Image 0 (uboot)
        Description:  U-Boot
        Created:      Wed Feb 28 09:32:41 2024
        Type:         Standalone Program
        Compression:  uncompressed
        Data Size:    1389728 Bytes = 1357.16 KiB = 1.33 MiB
        Architecture: AArch64
        Load Address: 0x00200000
        Entry Point:  unavailable
        Hash algo:    sha256
        Hash value:   e8eeabe5b2891390396b4cb77a33c5bb8da03b1da33a64274a077cf386f2b5aa
       Image 1 (atf-1)
        Description:  ARM Trusted Firmware
        Created:      Wed Feb 28 09:32:41 2024
        Type:         Firmware
        Compression:  uncompressed
        Data Size:    200008 Bytes = 195.32 KiB = 0.19 MiB
        Architecture: AArch64
        Load Address: 0x00040000
        Hash algo:    sha256
        Hash value:   c902200be1343fe569e54778c286005b1c6163606664c463a24d787be4376966
       Image 2 (atf-2)
        Description:  ARM Trusted Firmware
        Created:      Wed Feb 28 09:32:41 2024
        Type:         Firmware
        Compression:  uncompressed
        Data Size:    24576 Bytes = 24.00 KiB = 0.02 MiB
        Architecture: AArch64
        Load Address: 0xff100000
        Hash algo:    sha256
        Hash value:   225d6bf0712f850648223365ba06a73ba5f6315fb8a9580f23ab48ece795f91e
       Image 3 (atf-3)
        Description:  ARM Trusted Firmware
        Created:      Wed Feb 28 09:32:41 2024
        Type:         Firmware
        Compression:  uncompressed
        Data Size:    24576 Bytes = 24.00 KiB = 0.02 MiB
        Architecture: AArch64
        Load Address: 0x000f0000
        Hash algo:    sha256
        Hash value:   aa71013e72d7ab4be264c1093b155ef06e65d0a263d552be25b13c8ddf285586
       Image 4 (optee)
        Description:  OP-TEE
        Created:      Wed Feb 28 09:32:41 2024
        Type:         Firmware
        Compression:  uncompressed
        Data Size:    465304 Bytes = 454.40 KiB = 0.44 MiB
        Architecture: AArch64
        Load Address: 0x08400000
        Hash algo:    sha256
        Hash value:   66e30bf9e879405a49797aaa6c08ca1c41aa325443e910af42e3df309e65909b
       Image 5 (kern-fdt)
        Description:  cp4/uboot.dtb
        Created:      Wed Feb 28 09:32:41 2024
        Type:         Flat Device Tree
        Compression:  uncompressed
        Data Size:    141854 Bytes = 138.53 KiB = 0.14 MiB
        Architecture: AArch64
        Hash algo:    sha256
        Hash value:   ba43bc47ab29f0cbcba25658712ac3d3c6349a30486c76d5b720310e58f02de3
       Image 6 (fdt)
        Description:  U-Boot dtb
        Created:      Wed Feb 28 09:32:41 2024
        Type:         Flat Device Tree
        Compression:  uncompressed
        Data Size:    7065 Bytes = 6.90 KiB = 0.01 MiB
        Architecture: AArch64
        Hash algo:    sha256
        Hash value:   987a71d492c0045c4964bbed7799da0eee5276a2b60b5a1335fc2d37fdfcf944
       Default Configuration: 'conf'
       Configuration 0 (conf)
        Description:  rk3588s-cp4
        Kernel:       unavailable
        Firmware:     atf-1
        FDT:          fdt
                      kern-fdt
        Loadables:    uboot
                      atf-2
                      atf-3
                      optee
      
      posted in Pi 4B
      G
      george
    • RE: Coolpi Ubuntu 24.04 is coming soon!!

      @george

      Add GPU driver

      30589c02-5a5f-4b59-a5ef-023add2ceb77-image.png

      Add hardware decoding for FFMPEG videos

      f3ccc9e6-e580-40d2-97d8-5741d1cc7c4c-image.png

      posted in PI CM5 Laptop
      G
      george
    • We have been making progress!!

      4K.png

      5G

      4K (3840*2160) LCD

      One more thing, everyone guess

      posted in PI CM5 Laptop
      G
      george
    • Introduction to COOL PI CM5 interface

      Top-level interface

      1.png

      • The 2X20 pin interface is compatible with CP4 and integrates multiple UART, I2C, SPI, CAN and other functions.

      • Three function keys are PWR, RST and LOADER.

      • 2X2 PIN POE connector,such as CP4.

      • 30pin fpc vertical connector can directly drive standard 30PIN EDP interface LCD. Resolution up to 3840 * 2160

      • The MICRO HDMI-RX interface can support up to 4KP60 video signal input.

      • TF card with self-locking.

      • Two native USB3.0 interfaces, one of which supports OTG function.

      • Two Gigabit Ethernet interfaces, one of which supports POE function.

      • Two HDMI2.1 interfaces with a maximum resolution of 8K.

      • Stereo headphone stand with MIC input function.

      • Two native USB2.0 interfaces.

      • One TYPEC power supply interface, consistent with CP4.

      • The external power interface of 2PIN can support DC power input.

      • 1 standard PCIE 4X connector, currently only supports PCIE3.0 2X/1X mode.

      • SSD interface, only PCIE-M2-2242 size hard disk is supported.

      • Standard 7PIN SATA3.0 interface, 4PIN power interface.

      • M.2 WIFI module interface, supporting multiple general WIFI modules.

      • Dual MIPI LCD interfaces support simultaneous output of two MIPI interface LCDs. The resolution of a single LCD is up to 1920 * 1200. It supports the MIPI DSC function.

      • Four independent MIPI camera interfaces support four camera inputs at the same time. It can be configured as 2X4LINE or 4X2LINE mode.

      Bot-level interface

      2.png

      • One 30PIN EDP interface can directly drive LCD output.

      • MXM 314PIN core board connector.

      Welcome to put forward good suggestions. We can consider revising them.
      posted in Pi CM5
      G
      george
    • How to upgrade the boot loader of coolpi 4b?

      If you need to boot armbian normally, you need to update the loader file to version 0104.

      Follow the steps below to update the loader:

      • Download the latest loader file One Drive
        ![5594e1d4-3a7b-46fc-a7b5-2a9fe418dfc0-image.png]
        b03e7436-83de-4ad3-870c-f23a3d057f4d-image.png

      • Short the 2 pins shown by the arrow.
        484cb5bd-12d1-48ed-87f6-0756e04cc019-image.png

      • The USB interface and computer connection.
        2cd71480-ce1c-422c-acb2-501d266d276e-image.png

      • Plug in the power supply and open the upgrade software. The machine enters the maskrom upgrade mode.
        5ab7434e-30a8-4e2d-aa7e-8d613d21256f-image.png

      • choose to write by address
        96f556fc-ab5d-4c4e-a808-b4ca035d4268-image.png

      • Click Execute to complete the loader update.
        909c4f7c-b55a-4e2a-9c5b-af56d097eb01-image.png

      • If the computer prompts that the USB driver cannot be found, please download and install the driver software first.One Drive
        61903b37-cd70-4a57-af0e-93e0d43ea004-image.png

      posted in Pi 4B
      G
      george

    Latest posts made by george

    • Coolpi WIFI Support List

      Wifi Support List

      Model Specifications Manufacturer Interface Supporting Machines
      RTL8852BE Wi-Fi 6+BT5.2 REALTEK PCIe 2.0 x1、M.2 Key E CM5-AIBOX/CM5-GENBOOK/CP3B/CP3B-HMI10
      RTL8822CE Wi-Fi 5+BT5.0 REALTEK PCIe 2.0 x1、M.2 Key E CM5-AIBOX/CM5-GENBOOK/CP3B/CP3B-HMI10
      RTL8822BE Wi-Fi 5+BT4.2 REALTEK PCIe 2.0 x1、M.2 Key E CM5-AIBOX/CM5-GENBOOK/CP3B/CP3B-HMI10
      RTL8723BE Wi-Fi 4+BT4.0 REALTEK PCIe 1.1 x1、M.2 Key E CM5-AIBOX/CM5-GENBOOK/CP3B/CP3B-HMI10
      RTL8188EE Wi-Fi 4 REALTEK PCIe 1.1 x1、M.2 Key E CM5-AIBOX/CM5-GENBOOK/CP3B/CP3B-HMI10
      AX210 Wi-Fi 6+BT5.3 INTEL PCIe 2.0 x1、M.2 Key E CM5-AIBOX/CM5-GENBOOK/CP3B/CP3B-HMI10
      AC7260 Wi-Fi 5+BT4.2 INTEL PCIe 2.0 x1、M.2 Key E CM5-AIBOX/CM5-GENBOOK/CP3B/CP3B-HMI10
      AIC8800-D80 Wi-Fi 6+BT5.0 AIC USB2.0 CP1B/CP2B/CP3B-P
      MT7601-UN Wi-Fi 4 MediaTek USB2.0 CP1B/CP2B/CP3B-P
      posted in Pi Gateway CP1B/CP2B/CP3B/CP3B-P
      G
      george
    • Node-RED Installation

      Installation Based on Physical Machine

      sudo apt update
      curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - &&\
      sudo apt-get install -y nodejs
      sudo apt install  npm
      sudo npm install -g --unsafe-perm node-red
      

      Based on Docker

      mkdir /home/iotts/node_red
      cd /home/iotts/
      sudo chmod 777 node_red  
      sudo docker run -d --restart always -p 1880:1880/tcp -v /home/iotts/node_red:/data --name nodered nodered/node-red
      

      Start on Boot

      • Create a service
      sudo nano /etc/systemd/system/node-red.service
      
      • Paste the following content in the editor:
      [Unit]
      Description=Node-RED
      After=network.target
      
      [Service]
      ExecStart=/usr/bin/node /usr/bin/node-red
      User=sa
      
      [Install]
      WantedBy=multi-user.target
      
      • Reload the systemd manager configuration to make the new service effective:
      sudo systemctl daemon-reload
      
      • Start the Node RED service and set it to boot up automatically:
      sudo systemctl start node-red
      sudo systemctl enable node-red
      
      • Check the status of Node RED service:
      sudo systemctl status node-red
      

      Set user password

      • Open the settings. js file
      vim /home/admin/.node-red/settings.js
      
      • To modify the content of CredentialSecret, you need to set a key, not a login password. Save and exit.
        e24c58d5-70fd-40f0-a9a9-7b61c59044f6-image.png

      • Restart Ubuntu

      sudo reboot
      
      • Generate username and password, using admin as an example here
      node-red admin hash-pw
      
      admin@cp2b:~$ node-red admin hash-pw
      Password: $2y$08$cUm1LgtBnDt.b.az4IiLeuPCNb0LFv.hbnd71OWwd94j.GMF/WVnW
      
      • Open the settings. js file, modify the content of adminAuth, and copy the string from earlier. Save and exit.
        1d4047cd-d847-4e8e-b435-9093bda73d35-image.png

      • Restart Ubuntu

      c67669cd-a390-4e60-8f43-4b73f8d5c70b-image.png

      posted in Pi Gateway CP1B/CP2B/CP3B/CP3B-P
      G
      george
    • RE: Any other distro booting?

      @petersen77
      According to the following steps, theoretically all distribution versions can be launched:

      1. Mount the Coolpi style image file in a Linux environment (the image file includes 2 partitions, mount the second partition), back up /etc/rc/local, and then delete all contents.
      2. Copy the new file system (such as arch) directory to the mount directory.
      3. Unzip modules. tar. gz(The file is in the first partition of the Coolpi image) to the /lib directory
      4. Copy /etc/rc.local to the new file system/etc directory
      5. Mirror flashing to machine startup.
      posted in PI CM5 Laptop
      G
      george
    • AIC8800D80 Enable AP Mode
      • Install hostapd (requires internet connection)
      sudo apt install hostapd
      
      • Enable encryption mode for 2.4G hotspot
        Enter the following content, using the 11ax wireless standard, encryption method WPA-PSK, ssid as hotspot name, and wpa_passphrase as custom password, all of which can be modified
      vi /etc/hostapd.conf
      
      interface=wlan0
      driver=nl80211
      ctrl_interface_group=0
      ctrl_interface=/var/run/hostapd
      beacon_int=100
      ssid=aic_ax_2.4G
      country_code=CN
      channel=6
      hw_mode=g
      ieee80211n=1
      ieee80211ac=1
      ieee80211ax=1
      ht_capab=[HT20][SHORT-GI-20][HT40-][HT40+][SHORT-GI-40]
      wmm_enabled=1
      he_basic_mcs_nss_set=65534
      auth_algs=3
      wpa=3
      wpa_passphrase=1234567890
      wpa_key_mgmt=WPA-PSK
      wpa_pairwise=CCMP
      rsn_pairwise=CCMP
      
      • Add Address Resolution
       vi /etc/dnsmasq.conf
      
      # Only monitor the AP interface
      interface=wlan0
      bind-interfaces
      
      # DHCP configuration
      dhcp-range=192.168.11.2,192.168.11.20,255.255.255.0,24h
      dhcp-option=3,192.168.11.1
      dhcp-option=6,8.8.8.8,114.114.114.114
      resolv-file=/etc/dnsmasq/resolv.conf
      
      • Create /etc/dnsmasq/resol.conf
      mkdir -p /etc/dnsmasq
      vi /etc/dnsmasq/resolv.conf
      

      Enter the following content

      nameserver 8.8.8.8
      nameserver 8.8.4.4
      
      • Create script to enable AP mode
      vi /usr/bin/start_wifi_ap.sh
      

      Enter the following content

      #!/bin/bash
      #
      ## Search for network interfaces starting with wlan
      WIFI_IFACE=wlan0
      
      # Configure IP address
      ifconfig $WIFI_IFACE 192.168.11.1 up
      
      # Start hostapd
      hostapd /etc/hostapd.conf -dd &
      
      # Start dnsmasq
      touch /var/lib/misc/udhcp.leases
      dnsmasq -i $WIFI_IFACE -C /etc/dnsmasq.conf &
      
      echo "AIC WiFi AP started on interface $WIFI_IFACE"
      

      Modify permissions

      chmod a+x /usr/bin/start_wifi_ap.sh
      
      • Add IP forwarding rules
      sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
      
      • Edit /etc/sysctl.d/10-network-security.conf and add the following line
      net.ipv4.ip_forward=1
      
      • Effective operation
      sudo sysctl -p
      
      • Download Iptables (requires internet connection, can be skipped if installed at the top)
      sudo apt update
      sudo apt install iptables-persistent
      sudo apt install iptables
      
      • Add rule
      sudo update-alternatives --set iptables /usr/sbin/iptables-legacy
      sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
      iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
      sudo iptables -A FORWARD -i wlan0 -o eth0 -j ACCEPT
      sudo iptables -A FORWARD -i eth0 -o wlan0 -m state --state RELATED,ESTABLISHED -j ACCEPT
      
      • Afterwards, every time the AP is turned on, it can be started through the startw_ifi_ip.sh script. If you want it to start automatically, please add a service to implement it yourself.
      admin@cp2b:~$ sudo start_wifi_ap.sh 
      [sudo] password for admin: 
      AIC WiFi AP started on interface wlan0
      
      posted in Pi Gateway CP1B/CP2B/CP3B/CP3B-P
      G
      george
    • RE: 求助Cool pi 4b无法启动

      @15647215856
      确认loader升级到最新版本,然后系统镜像通过etcher刷入TF卡,默认的启动顺序是USB TF卡 EMMC。

      posted in Pi 4B
      G
      george
    • RE: Cool Pi Cm5-Laptop Linux Quick Start Guide

      @mainbord
      Use the following command to generate a deb file and then install it.

      ./build-kernel.sh arm64
      
      posted in PI CM5 Laptop
      G
      george
    • TM-CP1B backup scripts

      In the process of user development, after building their own application, it is usually necessary to back up the file system and then copy it to other machines. The following provides backup scripts and operation methods:

      • list itemIt is best to use a file system with a capacity greater than twice that of a USB flash drive, for example, if the file system is 4GB, choose an 8GB capacity USB flash drive and format it in NTFS format.
        * Copy the script file to a USB drive.
        * Insert the USB drive into the USB port of the CP1B machine and turn it on.
        * Use the following command to mount a USB drive to the/mnt directory.
        sudo mount /dev/sda1 /mnt
        * Enter the/mnt directory and execute the script.
        cd /mnt sudo ./backup-cp1b.sh
        * After the script is executed, the root directory of the USB drive will generate a * * *. img file, which can be used to replace the rootfs. img file in the compressed image file.
        replace.png
      posted in Pi Gateway CP1B/CP2B/CP3B/CP3B-P
      G
      george
    • RE: CM5如何备份(克隆到另一台CM5)

      @george
      dump-emmc.sh

      posted in Pi CM5
      G
      george
    • RE: 求助,升级了最新linux内核后无法进入桌面

      @berkaroad

      需要mesa更新到24.0以上。可以使用百度网盘最新ubuntu24.04镜像。

      posted in Ubuntu
      G
      george
    • RE: 重装系统,如何操作

      @ytfycy
      CM5是ARM架构的机器,不能支持X86架构的镜像文件。
      如需安装ARM64架构的UBUNTU22.04镜像,请参考如下文档:
      https://www.cool-pi.com/docs/coolpi-cm5-evb-quick-start-guide/

      posted in Pi CM5
      G
      george