I am starting with the 64-bit image download from Seeedstudio reTerminal-FAQ page. I later performed these commands.
sudo apt update
sudo apt full-upgrade
sudo apt install raspberrypi-kernel-headers
Rebooted and then followed the directions for downloading the repository for the reTerminal drivers and for installing them.
The installation fails.
Building module: cleaning build area...(bad exit status: 2) make -j4 KERNELRELEASE=6.1.19-v8+ all KVERSION=6.1.19-v8+....(bad exit status: 2) Error! Bad return status for module build on kernel: 6.1.19-v8+ (aarch64) Consult /var/lib/dkms/mipi_dsi/0.1/build/make.log for more information. Can't compile with this kernel, aborting Please try to compile with the option --compat-kernel
and the further errors in that file are
DKMS make.log for mipi_dsi-0.1 for kernel 6.1.19-v8+ (aarch64) Sun 02 Apr 2023 07:59:24 PM CDT make -C /lib/modules/6.1.19-v8+/build M=/var/lib/dkms/mipi_dsi/0.1/build modules make: Entering directory '/usr/src/linux-headers-6.1.19-v8+' CC [M] /var/lib/dkms/mipi_dsi/0.1/build/mipi_dsi_drv.o CC [M] /var/lib/dkms/mipi_dsi/0.1/build/touch_panel.o CC [M] /var/lib/dkms/mipi_dsi/0.1/build/panel-ili9881d.o /var/lib/dkms/mipi_dsi/0.1/build/mipi_dsi_drv.c:436:12: error: initialization of ‘void ()(struct i2c_client )’ from incompatible pointer type ‘int ()(struct i2c_client )’ [-Werror=incompatible-pointer-types] 436 | .remove = i2c_md_remove, | ^~~~~~~~~~~~~ /var/lib/dkms/mipi_dsi/0.1/build/mipi_dsi_drv.c:436:12: note: (near initialization for ‘i2c_md_driver.remove’) cc1: some warnings being treated as errors make: *** [scripts/Makefile.build:250: /var/lib/dkms/mipi_dsi/0.1/build/mipi_dsi_drv.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [Makefile:2012: /var/lib/dkms/mipi_dsi/0.1/build] Error 2 make: Leaving directory '/usr/src/linux-headers-6.1.19-v8+' make: *** [Makefile:15: all] Error 2
I think the script needs to be repaired to work on the latest kernel or whatever change is breaking that script. alternately, people should avoid following those directions (do not do sudo apt full-upgrade)
Is there something else I can do to resolve this problem? In this condition the display is now blank.