Street Posted April 29, 2019 Posted April 29, 2019 Armbianmonitor: http://ix.io/1Hwz Hello, i had a problem withe an Orange Pi Lite and the Cheap RPI Display. The Display Backlight is on. I had used this tut: https://forum.armbian.com/topic/6737-orange-pi-zero-35-tft-touchscreen/ https://forum.armbian.com/topic/4837-guide-how-to-use-touchscreen-lcd-on-h3-devices/ --- 2) Create a makefile (Take note that it is TABS instead of spaces before the $(MAKE)) nano Makefile Insert the below in without the ----- -------------------------------- obj-m := ads7846.o KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) all: $(MAKE) -C $(KDIR) M=$(PWD) modules clean: $(MAKE) -C $(KDIR) M=$(PWD) clean install: $(MAKE) -C $(KDIR) M=$(PWD) modules_install -------------------------------- 3) Exit nano and run the following sudo make --- root@orangepilite:~# sudo make make -C /lib/modules/4.19.25-sunxi/build M=/root modules make[1]: *** /lib/modules/4.19.25-sunxi/build: No such file or directory. Stop. Makefile:5: recipe for target 'all' failed make: *** [all] Error 2 What can i make? I need help. Thanks
nopnop2002 Posted May 7, 2019 Posted May 7, 2019 Install kernel header using armbian-config or these command. sudo apt-get update sudo apt-get -y install linux-headers-$(uname -r)
Recommended Posts