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

Update RKNPU driver to 0.9.5 #158

Merged
merged 3 commits into from
Mar 18, 2024

Conversation

Joshua-Riek
Copy link
Collaborator

Hello! After doing some testing with the fix from #157 I decided to give the NPU a try with the 6.1 kernel and found that the system would instantly crash. I cherry-picked a few commits from Jeffy's recent kernel-6.1-2024_03_01 tag, updating the RKNPU driver to the latest version, allowing the NPU to be used properly.

To reproduce the NPU problem on the 6.1 kernel simply follow the below steps:

git clone https://github.com/daoan1412/rk3588_npu_freeze
./scripts/opencv_build.sh
./scripts/test_build.sh
./build/rk3588_npu_freeze

dmesg: https://pastebin.com/HRCQmukR

Felix Zeng and others added 3 commits March 16, 2024 23:44
Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com>
Change-Id: Ibeaacee69a264b716e636c6397aa9a49068bd8cf
(cherry picked from commit 4a35fcc)
Signed-off-by: Joshua Riek <jjriek@verizon.net>
* Fix exception error caused by uninitialized atomic variables
* Improve rknpu reset function

Signed-off-by: Felix Zeng <felix.zeng@rock-chips.com>
Change-Id: I952d4a679048fa7c295d37b72da64be95be8f5ee
(cherry picked from commit d7be109)
Signed-off-by: Joshua Riek <jjriek@verizon.net>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I8812670a600bdc9cf13ce0d89893a71a5d971e43
(cherry picked from commit 9ced5e9)
Signed-off-by: Joshua Riek <jjriek@verizon.net>
@amazingfate amazingfate merged commit f3fb30a into armbian:rk-6.1-rkr1 Mar 18, 2024
1 check passed
@Joshua-Riek Joshua-Riek deleted the armbian-rknpu-6.1 branch June 4, 2024 02:33
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 this pull request may close these issues.

3 participants