11-19-2018, 02:32 AM
(This post was last modified: 11-19-2018, 02:41 AM by pane.
Edit Reason: progress report
)
(11-19-2018, 01:52 AM)evilbunny Wrote:(11-19-2018, 01:41 AM)pane Wrote: Hi evilbunny, I tried your method and got the aarch64 error i.e "Error! Bad return status for module build on kernel: 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1 (aarch64)"
Are your makefiles already customised for arm64? Or do I have to adjust that myself. I don't see how I can do that if the binary is already packaged. I can provide the make.log if you like. Any ideas? Thanks
I just reinstalled on my rock64 just now, and no warnings or errors:
The makefile is hardcoded with the architect because letting it pick would always fail. If you go into /usr/src/rtl8812au-4.3.22/ you should be able to make changes and manually run makeCode:root@rock64:~# dpkg -i rtl8812au-dkms_4.3.22-4_all.deb
Selecting previously unselected package rtl8812au-dkms.
(Reading database ... 88461 files and directories currently installed.)
Preparing to unpack rtl8812au-dkms_4.3.22-4_all.deb ...
Unpacking rtl8812au-dkms (4.3.22-4) ...
Setting up rtl8812au-dkms (4.3.22-4) ...
Loading new rtl8812au-4.3.22 DKMS files...
Building for 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1
Building initial module for 4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1
Done.
8812au:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.4.154-1124-rockchip-ayufan-ged3ce4d15ec1/updates/dkms/
depmod...
DKMS: install completed.
Thanks for that, I manually ran make, eventually got the build to work. Am trying to load the kernel module in now and am having depmod link issues i.e modprobe says the kernel object is not in /lib/module even though I run ls and it is there... I ran depmod again and then tried to load it again and failed. I'm attempting to fix this now
EDIT: I managed to get it working now I used insmod instead of modprobe and just pointed to the built .ko which was in /usr/src/...
Thanks very much for the help in debugging evilbunny, and for providing a fileserver with useful files