-
Notifications
You must be signed in to change notification settings - Fork 99
docs: fix q900 qairt docker unable init fastrpc problem #1225
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -12,22 +12,43 @@ NPU 环境配置清单 | |||||||||||||
|
|
||||||||||||||
| 使用 radxa apt 源进行安装 | ||||||||||||||
|
|
||||||||||||||
| <NewCodeBlock tip="Device" type="device"> | ||||||||||||||
| <Tabs> | ||||||||||||||
| <TabItem value="QCS6490"> | ||||||||||||||
|
|
||||||||||||||
| ```bash | ||||||||||||||
| sudo apt update | ||||||||||||||
| sudo apt install fastrpc fastrpc-dev libcdsprpc1 radxa-firmware-qcs6490 | ||||||||||||||
| sudo reboot | ||||||||||||||
| ``` | ||||||||||||||
| <NewCodeBlock tip="Device" type="device"> | ||||||||||||||
|
|
||||||||||||||
| </NewCodeBlock> | ||||||||||||||
| ```bash | ||||||||||||||
| sudo apt update | ||||||||||||||
| sudo apt install fastrpc fastrpc-dev libcdsprpc1 radxa-firmware-qcs6490 | ||||||||||||||
| ``` | ||||||||||||||
|
Comment on lines
+21
to
+23
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The original code included a
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it doesn't need reboot |
||||||||||||||
|
|
||||||||||||||
| </NewCodeBlock> | ||||||||||||||
|
|
||||||||||||||
|
|
||||||||||||||
| </TabItem> | ||||||||||||||
|
|
||||||||||||||
| <TabItem value="QCS9075"> | ||||||||||||||
|
|
||||||||||||||
| <NewCodeBlock tip="Device" type="device"> | ||||||||||||||
|
|
||||||||||||||
| ```bash | ||||||||||||||
| sudo apt update | ||||||||||||||
| sudo apt install fastrpc fastrpc-dev libcdsprpc1 radxa-firmware-qcs9075 | ||||||||||||||
| ``` | ||||||||||||||
|
|
||||||||||||||
| </NewCodeBlock> | ||||||||||||||
|
|
||||||||||||||
| </TabItem> | ||||||||||||||
|
|
||||||||||||||
| </Tabs> | ||||||||||||||
|
|
||||||||||||||
| 对用户增加 fastrpc 设备权限 | ||||||||||||||
|
|
||||||||||||||
| <NewCodeBlock tip="Device" type="device"> | ||||||||||||||
|
|
||||||||||||||
| ```bash | ||||||||||||||
| sudo chmod 666 /dev/fastrpc-* | ||||||||||||||
| sudo chmod 660 /dev/fastrpc-* | ||||||||||||||
| sudo chmod 660 /dev/dma_heap/system | ||||||||||||||
| ``` | ||||||||||||||
|
|
||||||||||||||
| </NewCodeBlock> | ||||||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| sidebar_position: 0 | ||
| --- | ||
|
|
||
| # 板端启用 NPU | ||
|
|
||
| import FASTRPCSETUP from '../../../common/ai/\_fastrpc_setup.mdx'; | ||
|
|
||
| <FASTRPCSETUP /> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| sidebar_position: 0 | ||
| --- | ||
|
|
||
| # Enable NPU on Board | ||
|
|
||
| import FASTRPCSETUP from '../../../common/ai/\_fastrpc_setup.mdx'; | ||
|
|
||
| <FASTRPCSETUP /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The original code included a
sudo rebootcommand after installing the packages, but this has been removed in the new version. If a reboot is necessary after installing these packages to properly initialize the drivers and firmware, it should be added back to both tab sections.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it doesn't need reboot