-
Notifications
You must be signed in to change notification settings - Fork 47
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
Errors found in building kernal. #16
Comments
Which board? |
Orangepi 5 Plus with RK3588 |
The kernal source i use is from "https://github.com/orangepi-xunlong/linux-orangepi/tree/orange-pi-5.10-rk3588" |
I have the same board with you. Operate according to the following steps:
static inline void vm_flags_set(struct vm_area_struct *vma,
vm_flags_t flags)
{
vma->vm_flags |= flags;
}
static inline void vm_flags_clear(struct vm_area_struct *vma,
vm_flags_t flags)
{
vma->vm_flags &= ~flags;
}
Before you run the demo of rknn-llm, exec command: |
I made it! THANKS a lot! |
After re-building the kernel, the WiFi module cannot work normally. |
Referring the Doc, I tried to build the kernal to fit rkllm toolkit. But there are too many errors.
Firstly, there are too many implicit declaration of function such as 'vm_flags_clear', 'vm_flags_set', 'rockchip_uninit_opp_table' and so on. Above these, i can solve functions like 'vm_flags_clear' and 'vm_flags_set' by adding the declaration myself from raspberry pi. But other functions i cannot find any corresponding functions in the Internet.
Also there are many variables like 'MONITOR_TYPE_DEV' are not undeclared.
Can anybody offer a solution or a built kernal which fit rkllm?
When will these errors be solved?
The text was updated successfully, but these errors were encountered: