Skip to content

Commit fe7404c

Browse files
removing bullets
1 parent 58ffd62 commit fe7404c

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

  • content/learning-paths/embedded-and-microcontrollers/deploy-ml-model-to-npu-with-topo

content/learning-paths/embedded-and-microcontrollers/deploy-ml-model-to-npu-with-topo/deploy.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,23 +63,21 @@ You'll now modify the device tree and reboot the target so that these modificati
6363
Back up the board's original device tree before modifying it. The exact boot partition can differ between Linux images, so check the paths on your board before copying files.
6464
{{% /notice %}}
6565

66-
1. On your host, create a working directory and dump the live device tree from the target:
66+
On your host, create a working directory and dump the live device tree from the target:
6767

6868
```bash
6969
mkdir -p devicetree
7070
ssh <user>@<target-ip> 'cat /sys/firmware/fdt' > devicetree/live.dtb
7171
dtc -I dtb -O dts -o devicetree/live.dts devicetree/live.dtb
7272
```
7373

74-
2. Open `devicetree/live.dts` in a text editor of your choice.
75-
76-
3. Under `remoteproc-cm33`, add the CM33 power domain if it's not already present:
74+
Open `devicetree/live.dts` in a text editor of your choice. Then, under `remoteproc-cm33`, add the CM33 power domain if it's not already present:
7775

7876
```dts
7977
power-domains = <0x61>;
8078
```
8179

82-
4. Under `reserved-memory`, add the model memory range:
80+
Under `reserved-memory`, add the model memory range:
8381

8482
```dts
8583
model@c0000000 {
@@ -88,7 +86,7 @@ model@c0000000 {
8886
};
8987
```
9088

91-
5. Update the Ethos-U reserved-memory node so it's reserved and not reusable:
89+
Update the Ethos-U reserved-memory node so it's reserved and not reusable:
9290

9391
```dts
9492
ethosu_region@A8000000 {
@@ -99,25 +97,25 @@ ethosu_region@A8000000 {
9997
};
10098
```
10199

102-
6. Add `iomem=relaxed` to `chosen.bootargs`. For example:
100+
Add `iomem=relaxed` to `chosen.bootargs`. For example:
103101

104102
```dts
105103
bootargs = "clk-imx93.mcore_booted console=ttyLP0,115200 earlycon root=/dev/mmcblk1p2 rootwait rw iomem=relaxed";
106104
```
107105

108-
7. Return to your host machine terminal and build the patched device tree:
106+
Return to your host machine terminal and build the patched device tree:
109107

110108
```bash
111109
dtc -I dts -O dtb -o devicetree/patched.dtb devicetree/live.dts
112110
```
113111

114-
8. Copy it to the board:
112+
Copy it to the board:
115113

116114
```bash
117115
scp devicetree/patched.dtb <user>@<target-ip>:/tmp/patched.dtb
118116
```
119117

120-
9. Install it on the board. Adjust the boot partition path if your image uses a different location:
118+
Install it on the board. Adjust the boot partition path if your image uses a different location:
121119

122120
```bash
123121
ssh <user>@<target-ip>
@@ -129,7 +127,7 @@ sync
129127
reboot
130128
```
131129

132-
10. After the board reboots, run the Topo health check again from the host and verify everything is still correct:
130+
After the board reboots, run the Topo health check again from the host and verify everything is still correct:
133131

134132
```bash
135133
topo health --target <user>@<target-ip>

0 commit comments

Comments
 (0)