lwfinger / rtl8723du

89 stars 43 forks source link

orange pi5 - ubuntu installation #41

Open wheynelau opened 1 year ago

wheynelau commented 1 year ago

Some additional steps have to be carried out for installing this on Ubuntu for orange pi 5.

sudo apt-get update
sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git
export ARCH=arm64

After that, the source codes need to be edited. As I'm not familiar with C, I used vs code to search. Search for the terms kernel_write, kernel_read, or filp_open. Right at the top after #include , paste this for all affected files.

MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);

lwfinger commented 1 year ago

As you say, you are not familiar with C, thus you should post the errors and let me decide how to fix them!

I did discover that ARM was missing from the subarch detection, which would have broken the compilation on the Orange Pi. Do a 'git pull' and retry the build.

wheynelau commented 1 year ago

@lwfinger so sorry! I didn't put it thinking the workaround answer would help you, I will try to recreate it if possible. Thank you!