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

    Posts

    Recent Best Controversial
    • Step by step creation of Coolpi image files

      The partitioning situation of the Coolpi image file is as follow

      • The first partition has a size of 512M and a partition format of fat32, used to store boot- files. The default boot mode is extLinux.
      • The second partition is the file system, with different sizes depending on the distribution. The partition format is ext4. The label of the partition is writable, which needs to be consistent with the configuration information under extLinux.
        Screenshot from 2024-07-27 12-04-32.png
      • The file of the boot partition is shown in the following figure, which you can access through/ The build kernel. sh command compiles the coolpi kernel, and then the files in the out directory need to be copied to the boot partition.
        96cdbbc0-a6ba-4faa-8a41-de671af7e750-image.png
      • The content is as follows extlinux.conf,Pay special attention to the loading method of the file system, which is searched through label (writable). Of course, it can also be modified to UUID or other types.
      default Linux coolpi
      
      label Linux coolpi
      	kernel /Image
      	initrd /initrd.img
      	fdt    /rk3588-cpcm5-notebook-v20.dtb
      	append root=LABEL=writable rw rootfstype=ext4 console=ttyS0,115200n81 quiet splash plymouth.ignore-serial-consoles vt.global_cursor_default=1 irqchip.gicv3_pseudo_nmi=0 net.ifnames=0
      
      

      Start creating a mirror image

      • Create an 8GB img file using the following command. Then partition and format.
      LOOP_NUMBER=$(losetup -f)
      dd if=/dev/zero of=./coolpi.img bs=1M count=8192    
      printf 'n\np\n1\n32768\n1081343\nn\np\n2\n1081344\n16777215\nw\n' | fdisk ./coolpi.img   
      partx -a -v ./coolpi.img      
      mkfs.vfat $LOOP_NUMBER"p1"      
      echo 'yes\n' | mkfs.ext4 $LOOP_NUMBER"p2"   
      e2label  $LOOP_NUMBER"p2" writable
      
      • Copy files to boot partition,kernel-dir is the file directory corresponding to the Coolpi kernel.
      mkdir ./mnt
      mount $LOOP_NUMBER"p1" ./mnt
      cp  kernel-dir/out/* ./mnt -r
      umount  ./mnt
      
      • Create a file system, Add rc.local file to automatically expand partitions and configure some system node permissions.
      wget https://mirrors.aliyun.com/archlinuxarm/os/ArchLinuxARM-aarch64-latest.tar.gz
      mkdir ./archlinux
      tar -zxvf ArchLinuxARM-aarch64-latest.tar.gz -C ./archlinux/
      mount $LOOP_NUMBER"p2" ./mnt
      cp -rf ./archlinux/* ./mnt/ 
      tar -zxvf  kernel-dir/out/modules.tar.gz -C ./mnt/lib/
      cp ./rc.local  ./mnt/etc/
      umount ./mnt
      e2fsck -p -f $LOOP_NUMBER"p2"
      resize2fs -M $LOOP_NUMBER"p2"
      losetup -D $LOOP_NUMBER
      
      posted in PI CM5 Laptop
      G
      george
    • RE: GenBook-RK3588 Crowdfunding projects

      @plumlis
      目前的大容量电池厂家给的最小起订量是3K,交期要2个月,认证还要45天。众筹的这个来不及上大容量电池了。只能后续作为配件再升级了。

      posted in PI CM5 Laptop
      G
      george
    • RE: Alternative Boot Options for CM5 V10?

      @yusuf-tmp said in Alternative Boot Options for CM5 V10?:

      I have been using a USB drive to boot for a while now. I noticied that if I flashed a M.2 drive with an image ad tried to boot it it would not boot, is there anyway I could get the M.2 Drive as my boot drive?

      At present, uboot does not support nvme boot, so if you want to implement booting through M2, you need to first improve the uboot driver.

      posted in PI CM5 Laptop
      G
      george
    • RE: 重启后文件消失

      @weiweiwei
      这个export每次启动都需要重新运行的。你可以把这个命令写入/etc/rc.local开机自动运行。

      posted in Pi CM5
      G
      george
    • RE: COOLPI如何控制io口输出电平信号

      @weiweiwei
      参考如下文档
      https://cool-pi.com/topic/72/coolpi-4b硬件扩展四-gpio/2

      posted in Pi CM5
      G
      george
    • RE: CM5的PCIe不能识别SSD, lspci也没有!

      @Albert
      DTS文件上传我检查一下,如果软件没有问题,可能就是这个接口有问题了,可以找售后处理。

      posted in Pi CM5
      G
      george
    • RE: ubuntu wu fa ding wei ruan jian bao zen me ban

      @nosorrow
      参考如下文档安装中文输入法:
      https://cool-pi.com/topic/470/ubuntu22-04安装fcitx5中文输入法?_=1721898203596

      posted in Ubuntu
      G
      george
    • RE: Try to Use Archlinux Arm

      @prcups
      Panthor needs to be loaded in KO mode.

      posted in PI CM5 Laptop
      G
      george
    • RE: Try to Use Archlinux Arm

      @prcups said in Try to Use Archlinux Arm:

      Direct firmware load for arm/mali/arch10.8/mali_csffw.bin failed with error -2
      

      This bin file path needs to be modified.

      posted in PI CM5 Laptop
      G
      george
    • RE: Can I get imx462 mipi camera driver?

      @etrin
      There are many models in the driver kernel source code of the camera, but this can only ensure that the system recognizes the nodes. For the camera part, it is more important to debug the ISP effect file, which is highly specialized and difficult for those who have not been exposed to it to handle.

      posted in Pi CM5
      G
      george
    • RE: CM5的PCIe不能识别SSD, lspci也没有!

      @Albert
      标准的PCIE连接器接入的电压值是12V,先确认TYPEC接口默认诱导出了12V电压。然后可以尝试先使用网卡等设备测试,确保正常工作以后再使用PCIE转SATA的转接板。

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

      @mainbord
      The efficiency of the Panthor driver is currently lower, and we look forward to future updates.

      posted in PI CM5 Laptop
      G
      george
    • RE: 6.1 Kernel GPU firmware update

      @mainbord
      The mali_csffw.bin path corresponding to the Panthor driver needs to be modified. The dmesg information will show the new loading path, and copying it on the system will enable GPU acceleration.

      posted in PI CM5 Laptop
      G
      george
    • RE: BredOS for the Cool Pi 4B

      @rippanda12
      Thank you for your support of Coolpi products. Could you further introduce the features and advantages of the system? We hope to see CM5-LAPTOP products perfect your system.

      posted in Pi 4B
      G
      george
    • RE: 6.1 Kernel GPU firmware update

      @plumlis
      The function of switching between speakers and headphones is now OK, and the 6.1 kernel has been updated to the latest version.
      Then/etc/rc.local blocks the following options:

      #amixer -c 2 cset numid=4 192
      #amixer -c 2 cset numid=2 4,4
      #amixer -c 2 cset numid=13 6
      #amixer -c 2 cset numid=19 28
      #amixer -c 2 cset numid=20 6
      
      posted in PI CM5 Laptop
      G
      george
    • RE: 6.1 Kernel GPU firmware update

      @nathan
      Upgrade the Mesa version according to the following instructions, and then copy the Mali bin file to the corresponding path to enable Panthor.

      sudo add-apt-repository ppa:oibaf/graphics-drivers
      sudo apt update
      sudo  apt-get  dist-upgrade
      
      posted in PI CM5 Laptop
      G
      george
    • RE: armbian

      @mainbord
      At present, the mainline kernel EDP interface is not supported. The CM5-LAPTOP configuration has been submitted for mainline review and should be released soon.

      posted in PI CM5 Laptop
      G
      george
    • RE: 网口通信

      @happyday
      默认是DHCP自动获取的,你可以改为固定IP,网上很多资料。百度一下就能解决。

      posted in Pi 4B
      G
      george
    • RE: GenBook-RK3588 Crowdfunding projects

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

      posted in PI CM5 Laptop
      G
      george
    • 1 / 1