COOLPI CM5 open-source notebook is a product that combines high performance, portability, and open-source spirit. It not only meets the basic computing needs of users, but also provides an ideal platform for those who enjoy free exploration and technological creation.
The machine is installed with Ubuntu 22.04 system by default at the factory. If users need other versions, they can update them according to the following tutorial.
The default username for the machine is: coolpi Password: 123
As shown in the following figure: System images can be downloaded through 百度网盘 or Onedrive.
Select the image that needs to be updated, and the image type will continue to be updated.
Coolpi defaults to using Etcher to update system images, which can be obtained through Baidu Cloud, Onedrive, or the official website.
The Type-C port of the machine is connected to the computer. When the Coolpi laptop is turned off, it can quickly press the power button multiple times, usually no less than 8 times, and the machine will enter MUS mode. The computer will recognize an icon for a USB drive. As shown in the following figure:
Follow the three steps shown in the figure to burn the image file. After the burning is completed, a forced restart is required. The method of forced power down is to continue holding down the power button for 10 seconds.
The kernel of Coolpi will continue to be updated, and users can also compile the mainline kernel themselves to upgrade the machine, following the steps below. The compilation of the kernel part in the following figure is completed on the Coolpi laptop, and users can also cross compile on the X86 computer. The method and steps are the same.
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
git clone https://github.com/yanyitech/coolpi-kernel.git
First, install the git toolkit, and it is best to update the system to the latest version before installation. Install some kernel dependent packages, then run the compilation script, enter numbers to select the corresponding machine model, and the compilation can proceed normally.
sudo apt-get install flex bison libssl-dev
sudo ln -s /usr/bin/python3.10 /usr/bin/python
cd coolpi-kernel
./build-kernel.sh
Welcome to using Coolpi Development Board!
------------------------------------------
Please enter a number to select your machine
1. cp4b
2. cp4b-hdmi-in
3. cm5-evb
4. cm5-evb-v11
5. cm5-minipc
6. cm5-notebook
7. cm5-notebook-v20
8. cm5-8uart
9. cpnano
10. exit
Enter option number: 7
After the normal compilation of the kernel, an out folder will be generated with the directory, which contains all the files required by the kernel. You can update the newly compiled kernel to the machine by using the following command.
sudo cp ./out/* /boot/firmware -R
sudo rm /lib/modules/* -R
sudo tar -zxvf ./out/modules.tar.gz -C /lib/
sync
sudo reboot
If the kernel was cross compiled using X86 machines, the kernel can be updated using the following methods:
Users can update the startup logo of the machine by copying files, using the following command.
sudo cp ./logo.bmp /boot/firmware
sync
sudo reboot
Below is a standard format for a logo file that users can download and modify. Please note that the pixel size, name, and format of the file should not be changed.