Tried following the OS Flashing guide for the Reterminal DM, can install Raspbian, but the install of the drivers for the system always fails. Tried multiple versions of the os and 32 and 64 bit, nothing works.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.10.103+ /boot/kernel.img
run-parts: executing /etc/kernel/postinst.d/dkms 5.10.103+ /boot/kernel.img
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.10.103+ /boot/kernel.img
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.10.103-v7+ /boot/kernel7.img
run-parts: executing /etc/kernel/postinst.d/dkms 5.10.103-v7+ /boot/kernel7.img
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.10.103-v7+ /boot/kernel7.img
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.10.103-v7l+ /boot/kernel7l.img
run-parts: executing /etc/kernel/postinst.d/dkms 5.10.103-v7l+ /boot/kernel7l.img
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.10.103-v7l+ /boot/kernel7l.img
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 5.10.103-v8+ /boot/kernel8.img
run-parts: executing /etc/kernel/postinst.d/dkms 5.10.103-v8+ /boot/kernel8.img
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 5.10.103-v8+ /boot/kernel8.img
Setting up raspberrypi-kernel-headers (1:1.20230509~buster-1) ...
run-parts: executing /etc/kernel/header_postinst.d/dkms 5.10.103+
run-parts: executing /etc/kernel/header_postinst.d/dkms 5.10.103-v7+
run-parts: executing /etc/kernel/header_postinst.d/dkms 5.10.103-v7l+
run-parts: executing /etc/kernel/header_postinst.d/dkms 5.10.103-v8+
W: --force-yes is deprecated, use one of the options starting with --allow instead.
KBUILD: /lib/modules/5.10.103-v7l+/build
Creating symlink /var/lib/dkms/ltr30x/0.1/source ->
/usr/src/ltr30x-0.1
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.10.103-v7l+ all KVERSION=5.10.103-v7l+....
cleaning build area...
DKMS: build completed.
als_ltr30x.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/5.10.103-v7l+/updates/
depmod...
DKMS: install completed.
Creating symlink /var/lib/dkms/ili9881d/0.1/source ->
/usr/src/ili9881d-0.1
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j4 KERNELRELEASE=5.10.103-v7l+ all KVERSION=5.10.103-v7l+....(bad exit status: 2)
Error! Bad return status for module build on kernel: 5.10.103-v7l+ (armv7l)
Consult /var/lib/dkms/ili9881d/0.1/build/make.log for more information.
Can't compile with this kernel, aborting
Please try to compile with the option --compat-kernel
DKMS make.log for ili9881d-0.1 for kernel 5.10.103-v7l+ (armv7l)
Mon 4 Sep 11:39:18 BST 2023
make -C /lib/modules/5.10.103-v7l+/build M=/var/lib/dkms/ili9881d/0.1/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.10.103-v7l+'
CC [M] /var/lib/dkms/ili9881d/0.1/build/ili9881d.o
/var/lib/dkms/ili9881d/0.1/build/ili9881d.c: In function ‘ili9881d_dsi_probe’:
/var/lib/dkms/ili9881d/0.1/build/ili9881d.c:501:12: error: ‘struct drm_panel’ has no member named ‘prepare_upstream_first’
ctx->panel.prepare_upstream_first = true;
^
make[2]: *** [scripts/Makefile.build:280: /var/lib/dkms/ili9881d/0.1/build/ili9881d.o] Error 1
make[1]: *** [Makefile:1825: /var/lib/dkms/ili9881d/0.1/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.10.103-v7l+'
make: *** [Makefile:11: all] Error 2