denni_isl Posted December 14, 2018 Posted December 14, 2018 Get this error when trying to install rtl8812au-dkms on a armbian ubuntu 18.04 desktop for rockpro64. Quote oot@rockpro64:/home/steini# dkms status rtl8812au, 4.3.8.12175.20140902+dfsg: added root@rockpro64:/home/steini# dkms autoinstall Error! Your kernel headers for kernel 4.4.166-rockchip64 cannot be found. Please install the linux-headers-4.4.166-rockchip64 package, or use the --kernelsourcedir option to tell DKMS where it's located root@rockpro64:/home/steini# uname -a Linux rockpro64 4.4.166-rockchip64 #17 SMP Mon Dec 3 16:25:27 CET 2018 aarch64 aarch64 aarch64 GNU/Linux Then when searching in aptitude for kernel-headers-4.4.166 then they are not available. It is also impossible to compile because of the missing kernels headers.
jerryn Posted December 15, 2018 Posted December 15, 2018 Install your kernel headers. run armbian-config Software/Headers
denni_isl Posted December 15, 2018 Author Posted December 15, 2018 It is not so simple. It seems to me that the kernel headers and kernel source are not available for kernel 4.4.166. Quote root@rockpro64:/home/steini# ls /usr/src linux-headers-4.4.156-rk3399 linux-rockchip64-default_4.4.156_5.60_config linux-headers-4.4.156-rockchip64 linux-source-4.4.156-rockchip64.tar root@rockpro64:/home/steini#
jerryn Posted December 15, 2018 Posted December 15, 2018 I just tried to install full source. FAIL. I got version 4.4.156 as well.
jerryn Posted December 15, 2018 Posted December 15, 2018 4 hours ago, denni_isl said: It is not so simple. It seems to me that the kernel headers and kernel source are not available for kernel 4.4.166. Solved it. Somehow the builds got messed up for rk3399. What I did to resolve it was in Armbian-Config I switched to nightly builds. When I did, the correct kernel headers were installed.
denni_isl Posted December 15, 2018 Author Posted December 15, 2018 Thank you for that, will try that out. It seems to be okay both on firefly rk3399 and rockpro64.
denni_isl Posted December 15, 2018 Author Posted December 15, 2018 Ok, this is getting somewhere. Quote uname -a Linux rockpro64 4.18.0-rc8-rk3399 #8 SMP Mon Aug 13 03:04:15 CEST 2018 aarch64 aarch64 aarch64 GNU/Linux But there is no display connection. So just connecting from firefly rk3399 to rockpro64 through minicom /dev/ttsyUSB0 and serial debug device, and ssh and trying to figure out why there is no display connection through hdmi with kernel 4.18.0. Do you have any ideas? This is what is in /etc/X11/xorg.conf.d/01-armbian-defaults.conf Quote Section "Monitor" Identifier "Monitor0" Option "DPMS" "false" EndSection Section "ServerFlags" Option "BlankTime" "0" Option "StandbyTime" "0" Option "SuspendTime" "0" Option "OffTime" "0" EndSection
denni_isl Posted December 15, 2018 Author Posted December 15, 2018 Did armbian-config through ssh and did system and nightly development build. Now the display is back with kernel 4.19.0 . Quote steini@firefly:~$ ssh 192.168.1.8 steini@192.168.1.8's password: ____ _ ____ __ _ _ | _ \ ___ ___| | _| _ \ _ __ ___ / /_ | || | | |_) / _ \ / __| |/ / |_) | '__/ _ \ | '_ \| || |_ | _ < (_) | (__| <| __/| | | (_) | | (_) |__ _| |_| \_\___/ \___|_|\_\_| |_| \___/ \___/ |_| Welcome to ARMBIAN 5.67.181213 nightly Ubuntu 18.04.1 LTS 4.19.0-rc4-rockchip64 System load: 1.27 0.53 0.19 Up time: 1 min Memory usage: 8 % of 3886MB IP: 192.168.1.8 CPU temp: 40°C Usage of /: 10% of 56G [ General system configuration (beta): armbian-config ] New to Armbian? Check the documentation first: https://docs.armbian.com Last login: Sat Dec 15 18:46:01 2018 steini@rockpro64:~$ uname -a Linux rockpro64 4.19.0-rc4-rockchip64 #5 SMP Fri Dec 14 01:01:49 CET 2018 aarch64 aarch64 aarch64 GNU/Linux steini@rockpro64:~$
denni_isl Posted December 16, 2018 Author Posted December 16, 2018 Now when development kernel 4.19.0-rk3399 is running on both firefly rk3399 and rockpro64, On the first day I have notices 3 issues: #1. Serial debugging through minicom is not possible, there is no /dev/ttyUSB0 (ls /dev/ttyUSB*). tail -f /var/log/syslog Quote failed to execute '/lib/udev/mtp-probe' 'mtp-probe /sys/devices/platform/fe3c0000.usb/usb2/2-1/2-1.1 2 6': No such file or directory #2. It is not possible to install rtl8812au driver for my usb wifi dongle on rockpro64. But this is a work in progress. #3. Bluetooth missing. "This probably means that there were no Bluetooth adapters detected or Bluetooth daemon was not started.
denni_isl Posted December 19, 2018 Author Posted December 19, 2018 Being a stubborn person, I am still trying to get a rtl8811cu for usb wifi dongle vendor 0bda and product c811 up and running. The main hurdle have been a this error messages when doing make scripts from /usr/src/linux-headers-4.4.166-rockchip64/ Quote root@rockpro64:/usr/src/linux-headers-4.4.166-rockchip64# make scripts CHK scripts/mod/devicetable-offsets.h HOSTCC scripts/selinux/genheaders/genheaders scripts/selinux/genheaders/genheaders.c:13:10: fatal error: classmap.h: No such file or directory #include "classmap.h" ^~~~~~~~~~~~ compilation terminated. scripts/Makefile.host:91: recipe for target 'scripts/selinux/genheaders/genheaders' failed
Recommended Posts