Open vincenzodentamaro opened 4 weeks ago
I do not have time, can you open a pull request?
Yes of course, I will modify the kernel and do a pull request. Thank you for answering
vm_flags_set and vm_flags_clear have already been added to ./linux-rockchip/include/linux/version_compat_defs.h. When adding rknpu 0.9.8, there are functions that were not implemented, but they are not needed when using rk3588, so just comment them out.
To comment out the specific line in linux-rockchip/drivers/rknpu/rknpu_devfreq.c at line #237 .set_soc_info = rockchip_opp_set_low_length,.
Did you open the pull request? Thanks!
@SimplyCorbett - it was submitted via the kernel repo: https://github.com/Joshua-Riek/linux-rockchip/pull/36
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:
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