We will use this repo to contain the source code and config for Chipsee Raspberry Computer Module Hardware.
This repository only support follow Raspberry Pi official system now:
If the system you are downloading not list in the above supported list, you also can try, use latest kernel branch to compile, maybe need to do some modification.
Install Raspberry Pi official system and boot, run follow commands in ssh or serial debug console. The Chipsee Industrial-Pi network and serial debug port is supported by Raspberry Pi official system default.
This repository only supports tested kernel version listed in branches. If the kernel version of your system is not in the branches lists, you should select one closer kernel version that you had. If your kernel version is listed in the branches,use follow commands,
git clone --depth=1 --branch `uname -r` https://github.com/Chipsee/industrial-pi.git
If there is some error about branch, check if the kernel you are using is listed in the branchs, if not, check the following section, or ignore it.
If your kernel version is not listed in the branches, checkout the branches closer to your kernel, check your kernel,
uname -r
select one closer branches, for example your kernel version is 5.10.17-v71+, you can select 5.10.63-v71+ branches
git clone --depth=1 --branch 5.10.63-v71+ https://github.com/Chipsee/industrial-pi.git
and do the following modification
1. modify Makefile
diff --git a/Makefile b/Makefile
index b98ad3c..98de440 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,6 @@ help:
##############################################################
install:
@apt-get update
- @dpkg -i $(TOPDIR)/tools/*.deb
@make -C $(GT9XX_DIR)
@echo "Install GT9XX success!!"
@make -C $(LSM6DS3_DIR)
2. install raspberrypi-kernel-headers packages
sudo apt update
sudo apt install raspberrypi-kernel-headers
cd industrial-pi
sudo make install
If there is no error, reboot your board.
cd industrial-pi
sudo make uninstall
cd industrial-pi
make help
This repository only support follow Chipsee Industrial Board, you can order them from the official Chipsee Web chipsee web site or from your nearest distributor.
2022-09-22 V5 64bit
2021-10-30 V2 32bit
2022-9-22 V5:
2022-9-22 V2:
2021-10-30 V2:
2021-10-30 V1:
2020-12-02 V4:
2020-12-02 V3:
2022-09-22 V3 64bit
Lite 2022-09-22-raspios-bullseye-arm64-lite-chipsee-v4.img.xz
2022-09-22 V2 64bit:
Lite 2022-09-22-raspios-bullseye-arm64-lite-chipsee-v2.img.xz
2021-10-30 V1:
Lite 2021-10-30-raspios-bullseye-armhf-lite-chipsee-v1.img.xz
The follow older buster release use old firmware, it doesn't support latest CM4 Rev1.1, for detailt product change note, refer to CM4 PCN
2020-12-02 V4:
2020-12-02-raspios-buster-armhf-lite-chipsee-v4.img.xz
2020-12-02 V3:
2020-12-02-raspios-buster-armhf-lite-chipsee-v3.img.xz
2020-12-02 V2:
Use the upstream goodix touchscreen driver.
$ sudo sed -i "s/^modprobe gt9xx/# modprobe gt9xx/g" /opt/chipsee/chipsee-init.sh
The diffrence,
255c255
< modprobe gt9xx
---
> # modprobe gt9xx
$ sudo sed -i "s/^dtoverlay=gt9xx/dtoverlay=goodix/g" /boot/config.txt
The diffrence,
103c103
< dtoverlay=gt9xx,interrupt=20,reset=21
---
> dtoverlay=goodix,interrupt=20,reset=21
$ sudo reboot
Rrecompile the Chipsee touchscreen driver.
$ git clone --depth=1 --branch 6.1.21 https://github.com/Chipsee/industrial-pi.git
$ sudo apt update
$ sudo apt install raspberrypi-kernel-headers
if your kernel is updated to 64bit from 32bit, the above commands will install armhf version raspberrypi-kernel-headers. as the filesystem is 32bit, you should add "arm_64bit=0" to /boot/config.txt to switch the kernel to 32bit first. then reboot to compile touchscreen driver. you can use "uname -ra" to check the current kernel.
$ cd industrial-pi/gt9xx/
$ sudo make
$ sudo reboot