How to update coolpi-4b npu driver in ubuntu?
-
I'm going to try rknn-llm, which need at least v0.9.6 driver version. The version in official ubuntu 22.04 is:
cat /sys/kernel/debug/rknpu/version RKNPU driver: v0.8.2
I have tried built the rknpu v0.9.6 from rknn-llm repository,but it terminates with error
drivers/rknpu/rknpu_gem.c: In function 'rknpu_gem_mmap_buffer': drivers/rknpu/rknpu_gem.c:988:9: error: implicit declaration of function 'vm_flags_clear' [-Werror=implicit-function-declaration] 988 | vm_flags_clear(vma, VM_PFNMAP); | ^~~~~~~~~~~~~~ cc1: all warnings being treated as errors
Above outputs are raisen when I compile rknpu 0.9.6 under coolpi-kernel 5.10.110
Are there any way to solve the error or update the npu driver?Thanks in advance!
-
@traceback
We will update the kernel to 6.1 soon, please be patient. -
@george Is new kernel available now? Thank you!
-
@traceback
I found the solution in github:
FirstSecond