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

Add the new RKNPU kernel version 0.9.8 #266

Open
vincenzodentamaro opened this issue Oct 17, 2024 · 1 comment
Open

Add the new RKNPU kernel version 0.9.8 #266

vincenzodentamaro opened this issue Oct 17, 2024 · 1 comment

Comments

@vincenzodentamaro
Copy link

Feature Description

As per the title, please add the new RKNPU kernel version 0.9.8 contained here https://github.com/airockchip/rknn-llm/tree/main/rknpu-driver

In the documentation, rockchip says that if the build fails modify the kernel header file kernel/include/linux/mm.h by adding the following code:


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

please update the releases with such kernel driver ASAP. If possible compile it as external module to be loaded with modprobe so if they update the driver, we can recompile it and load it with modprobe instead of recompiling the kernel.

Thank you

@igorpecovnik
Copy link
Member

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

Successfully merging a pull request may close this issue.

2 participants