Skip to content

Commit 22f53c9

Browse files
authored
Update README.md to fix instructions for xdna-driver installation (#2018)
1 parent 929a6a1 commit 22f53c9

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ Turn off SecureBoot (Allows for unsigned drivers to be installed):
8787
git clone https://github.com/amd/xdna-driver.git
8888
export XDNA_SRC_DIR=$(realpath xdna-driver)
8989
cd xdna-driver
90-
git reset --hard 3d5a8cf1af2adfbb6306ad71b45e5f3e1ffc5b37
9190
git submodule update --init --recursive
9291
```
9392

@@ -106,19 +105,25 @@ Turn off SecureBoot (Allows for unsigned drivers to be installed):
106105

107106
```bash
108107
cd $XDNA_SRC_DIR/xrt/build
109-
./build.sh -noert -noalveo
108+
./build.sh -npu -opt
110109
```
111110

112111
3. Install XRT.
113112

114113
```bash
115114
cd $XDNA_SRC_DIR/xrt/build/Release
116-
sudo apt reinstall ./xrt_202420.2.18.0_24.10-amd64-xrt.deb ./xrt_202420.2.18.0_24.10-amd64-xbflash.deb
115+
sudo apt reinstall ./xrt_202510.2.19.0_22.04-amd64-npu.deb
117116
```
118117

119-
> **An error is expected in this step.** Ignore it.
120-
118+
> **An error might occur during this proces.** If so, do the following steps.
121119

120+
```bash
121+
cd $XDNA_SRC_DIR/xrt/build/Release
122+
sudo apt remove xrt-npu
123+
sudo dpkg -i --force-overwrite ./xrt_202510.2.19.0_22.04-amd64-npu.deb
124+
sudo apt -f install
125+
sudo apt reinstall ./xrt_202510.2.19.0_22.04-amd64-npu.deb
126+
```
122127

123128
1. Build XDNA-Driver. Below steps are adapted from [here](https://github.com/amd/xdna-driver).
124129

@@ -132,7 +137,7 @@ Turn off SecureBoot (Allows for unsigned drivers to be installed):
132137

133138
```bash
134139
cd $XDNA_SRC_DIR/build/Release
135-
sudo apt reinstall ./xrt_plugin.2.18.0_ubuntu24.10-x86_64-amdxdna.deb
140+
sudo apt reinstall ./xrt_plugin.2.19.0_ubuntu22.04-x86_64-amdxdna.deb
136141
```
137142

138143
1. Check that the NPU is working if the device appears with xrt-smi:

0 commit comments

Comments
 (0)