rtl8723du icon indicating copy to clipboard operation
rtl8723du copied to clipboard

orange pi5 - ubuntu installation

Open wheynelau opened this issue 1 year ago • 2 comments

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);

wheynelau avatar Jun 07 '23 06:06 wheynelau

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.

lwfinger avatar Jun 07 '23 15:06 lwfinger

@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!

wheynelau avatar Jun 07 '23 15:06 wheynelau