waveshareteam / LCD-show

403 stars 178 forks source link

How to compile WaveShare display SPI driver for Openwrt? #42

Open M33FT opened 3 years ago

M33FT commented 3 years ago

Hello . . . I use the 3.5-inch screen of models A, B, C in RaspberryPi4B.

The drivers also run easily on Raspberrypi with different versions of Linux. My problem is how can I compile Waveshare drivers on Openwrt to make them usable? Because the OpenWrt project is a small version of Linux for Embed devices and does not have many of the original Linux "Features" and practically the script designed for it does not work because as far as I understand it has a script from the original Linux Repository to run Be used.

I also know that to connect an SPI device to OpenWrt, we need to add driver files to our device's Linux kernel, which I did, but it looks like WaveShare needs its own custom driver to activate it, that I do not know how to add it to the kernel?

Screenshot (100)

Can anyone help me?

original