Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

orange pi5 - ubuntu installation #41

Open
wheynelau opened this issue Jun 7, 2023 · 2 comments
Open

orange pi5 - ubuntu installation #41

wheynelau opened this issue Jun 7, 2023 · 2 comments

Comments

@wheynelau
Copy link

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
Copy link
Owner

lwfinger commented Jun 7, 2023

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants