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

    Posts

    Recent Best Controversial
    • RE: 可不可以把emmc中的系统通过dd指令备份到tf卡中,随后在新的coolpi板子上只插入tf卡实现系统迁移?

      @hangman tf卡优先级高于EMMC。

      posted in Pi 4B
      G
      george
    • RE: 可不可以把emmc中的系统通过dd指令备份到tf卡中,随后在新的coolpi板子上只插入tf卡实现系统迁移?

      @hangman etcher会格式化,不需要单独处理。

      posted in Pi 4B
      G
      george
    • RE: 可不可以把emmc中的系统通过dd指令备份到tf卡中,随后在新的coolpi板子上只插入tf卡实现系统迁移?

      @hangman
      如下脚本放置到U盘或者TF卡中,然后运行就会导出EMMC的系统。导出的镜像可以重新烧录到EMMC或者TF卡中。

      !# /bin/sh
      
      IMAGE_NAME="$(date "+%Y%m%d")-rootfs.img"
      IMAGE_SIZE=8192
      LOOP_NUMBER=$(losetup -f)
      
      echo "01:remove firstrun"
      rm /var/lib/misc/firstrun
      echo "02:Establishing a mount directory"
      mkdir ./mnt
      echo "03:dd image file"
      dd if=/dev/zero of=./$IMAGE_NAME bs=1M count=$IMAGE_SIZE
      echo "04:Mirror Partition"
      printf 'n\np\n1\n32768\n1081343\nn\np\n2\n1081344\n16777215\nw\n' | fdisk ./$IMAGE_NAME
      echo "05:format partition"
      partx -a -v ./$IMAGE_NAME
      mkfs.vfat $LOOP_NUMBER"p1"
      echo 'yes\n' | mkfs.ext4 $LOOP_NUMBER"p2"
      echo "06:copy boot files"
      mount $LOOP_NUMBER"p1" ./mnt
      cp /boot/firmware/* ./mnt/ -R
      umount ./mnt
      echo "07:backup rootfs"
      rm ./backup.fs
      dump -0u -f - /dev/mmcblk0p2 >> ./backup.fs
      echo "08:copy rootfs files"
      mount $LOOP_NUMBER"p2" ./mnt
      cd ./mnt
      restore -rf ../backup.fs
      umount ./mnt
      cd ../
      e2fsck -p -f $LOOP_NUMBER"p2"
      resize2fs -M $LOOP_NUMBER"p2"
      e2label $LOOP_NUMBER"p2" writable
      losetup -d $LOOP_NUMBER
      echo "09:backimg ok"
      fdisk -l ./$IMAGE_NAME
      

      backupimg.sh

      posted in Pi 4B
      G
      george
    • RE: 升级加载器

      @阿里 如下图所示,不要接错了。可以参考EVB的原理图USB的连接方法。
      0701fc0a-aed4-42e7-b6a2-017767241230-image.png

      posted in Pi CM5
      G
      george
    • RE: 开启远程桌面,即无头模式

      @airobot机器人开发 谢谢分享。

      posted in Pi 4B
      G
      george
    • RE: 升级加载器

      @阿里 这里标识有问题,下载接口是OTG0 DM DP,还有VBUS-DET,WIKI上已经更新了修改以后的文件。注意下载比对。

      posted in Pi CM5
      G
      george
    • RE: Laptop USB-C Alt Mode

      @anernest Please upload a copy of dmesg information. Thank you.

      posted in Pi CM5
      G
      george
    • Installing Cockpit on coolpi
      • By default, the Cockpit package is included in the Ubuntu 22.04 default repository. You can install it by running the following command:
          sudo apt-get install cockpit -y
      
      • After installing Cockpit, run the following command to install the Podman module:
          sudo apt-get install cockpit-podman -y
      
      • After installing Cockpit, start the Cockpit service and have it start when the system reboots:
          systemctl start cockpit
          systemctl enable cockpit
      
      • You can also use the following command to check the status of Cockpit:
           systemctl status cockpit
      
      • You should see the following output:
      ●cockpit.service - Cockpit Web Service
           Loaded: loaded (/lib/systemd/system/cockpit.service; static)
           Active: active (running) since Tue 2023-11-21 08:44:56 UTC; 7min ago
      TriggeredBy: ● cockpit.socket
             Docs: man:cockpit-ws(8)
          Process: 336904 ExecStartPre=/usr/lib/cockpit/cockpit-certificate-ensure --for-cockpit-tls (code=exited, status=0/SUCCESS)
         Main PID: 336905 (cockpit-tls)
            Tasks: 3 (limit: 37954)
           Memory: 1.5M
              CPU: 358ms
           CGroup: /system.slice/cockpit.service
                   └─336905 /usr/lib/cockpit/cockpit-tls
      
      • At this point, Cockpit has started and is listening on port 9090. You can use the following command to view:
           ss -antpl | grep 9090
      
      • You should see the following output:
           LISTEN 0      0                  *:9090            *:*
      
      • Configure a UFW firewall and open port 9090

      • Now, open a web browser and use the URL https://your-server-ip:9090 Access the Cockpit web interface. You should see the Cockpit login page:
        dc983d9f-47a0-4e78-9a25-c173323fcc0d-image.png
        115.png

      posted in Pi CM5
      G
      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: 开不了机

      @jugg 文件系统损坏了!该刷机就刷机!当让也可以用TF卡或者U盘启动,备份数据。

      posted in Pi 4B
      G
      george
    • RE: 开不了机

      @jugg
      尝试把流控关闭。

      posted in Pi 4B
      G
      george
    • RE: 请问,怎么支持usb连接esp32开发板

      @airobot机器人开发 好的!正常编译完内核以后需要把modules.tar.gz 解压到文件系统的/lib 目录,这里边主要是一些驱动的ko文件。

      posted in Pi 4B
      G
      george
    • RE: 两个网口的link和active信号问题

      @qys2022 不使用NC就好了。不用接高或者低

      posted in Pi CM5
      G
      george
    • RE: 编译安装libc库导致不开机

      @airobot机器人开发 系统镜像做到TF卡或者U盘里边,默认TF卡或者U盘启动优先级高于EMMC,系统启动后手动挂载EMMC分区就可以导出数据了。

      posted in Pi 4B
      G
      george
    • RE: Laptop install Ubuntu on nvme

      @Momo-0
      Thank you for sharing. If you have any questions during use, I hope you can raise them. Thank you very much for your support.

      posted in Ubuntu
      G
      george
    • RE: CM5一直显示在LOGO界面,进不去系统什么原因啊

      @阿里 系统镜像可以重新刷一下,如果有修改导致图像界面启动不了的话。

      posted in Pi CM5
      G
      george
    • RE: CM5一直显示在LOGO界面,进不去系统什么原因啊

      @阿里 这个系统已经正常启动。两个HDMI接口可以交换测试。

      posted in Pi CM5
      G
      george
    • RE: CM5一直显示在LOGO界面,进不去系统什么原因啊

      @阿里 跑的什么系统,另外注意电源功率是否够。

      posted in Pi CM5
      G
      george
    • RE: 新买的CM5的开机密码是多少?

      @Albert 123

      posted in Pi CM5
      G
      george
    • RE: 关于RS2CG5705B

      @qys2022
      RS这颗物料市场上很少能买到样品,你可以用如下链接的替换型号,功能和PIN定义完全一致:
      https://item.szlcsc.com/213171.html

      posted in Pi CM5
      G
      george
    • 1 / 1