Hi, thank you for the response.
If I activate this overlay script. But had no succes.
Later, I have downloaded the GIT folder (https://github.com/mrkprdo/radxa-zero-lcd-driver-installer) so I modified the meson-g12a-spi-st7735r file to contain the correct pinout that I am using:
// configure pin assigment below
reset-gpios = <0x30 113 1>; // pin 22
dc-gpios = <0x31 106 0>; // pin 18
led-gpios = <0x31 104 0>; // pin 15
After that, I uploaded it to Rock-3c and then ran:
$ sudo ./build.sh -t st7735r -c
However, it fails at the end when moving the created files:
make[1]: Leaving directory '/usr/src/linux-headers-5.10.160-38-rk356x'
Done building.
Installing dto files and kernel driver
cp: cannot create regular file '/boot/dtbs/5.10.160-38-rk356x/amlogic/overlay':
No such file or directory
FATAL ERROR: Couldn't open "/boot/dtbs/5.10.160-38-rk356x/amlogic/overlay/meson-g12a-spi-st7735r.dts" file or directory.
It fails at this installer step:
then
echo âInstalling dto files and kernel driverâ
echo â$PASSWORDâ | sudo -S cp {fb_$TARGETDRIVER.ko,fbtft.ko} /usr/lib/modules/$KERNELVERSION/kernel/drivers/staging/fbtft/
echo â$PASSWORDâ | sudo -S cp âŚ/meson-g12a-spi-$TARGETDRIVER.dts $DTOPATH
echo â$PASSWORDâ | sudo -S dtc -@ -I dts -O dtb -o $DTOPATH/meson-g12a-spi-$TARGETDRIVER.dtbo $DTOPATH/meson-g12a-spi-$TARGETDRIVER.dts
fi
I also tried copying the .dts files to directory /boot/dtbo/
$ sudo cp *.dts /boot/dtbo/
And running rsetup
's main interface.
But I have received this message: âcanât compile filesâ
I dont know what to do.
This is the file I have modifyed meson-g12a-spi-st7735r.dts