summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2024-03-24 14:58:14 -0600
committerMark Hatle <mark.hatle@amd.com>2024-03-27 14:05:34 -0500
commit3a12cf3c927ac016b9dc288d441e68e504d74830 (patch)
treeff788376ebf19c328625c48a11206349a785091c /docs
parent3a8be46414f736269db4a6abb2b89f4a4e79640d (diff)
downloadmeta-xilinx-3a12cf3c927ac016b9dc288d441e68e504d74830.tar.gz
README.booting.zynqmp.md: Update xen jtag boot instructions
Update xen jtag boot instruction using TFTP or XSDB tools. Signed-off-by: Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> Signed-off-by: Mark Hatle <mark.hatle@amd.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/README.booting.zynqmp.md57
1 files changed, 51 insertions, 6 deletions
diff --git a/docs/README.booting.zynqmp.md b/docs/README.booting.zynqmp.md
index 80e6d5ae..3b73dbbb 100644
--- a/docs/README.booting.zynqmp.md
+++ b/docs/README.booting.zynqmp.md
@@ -54,6 +54,10 @@ Deploying the images can be done in two methods.
54 54
55#### Using devtool boot-jtag script 55#### Using devtool boot-jtag script
56 56
57> **Note:** For Xen boot flow boot-jtag script doesn't include loading xen, kernel
58> and root filesystem, This step needs to be done manually as mentioned in XSDB
59> or TFTP method below.
60
571. Run devtool command to generate the boot-jtag.tcl script. 611. Run devtool command to generate the boot-jtag.tcl script.
58``` 62```
59$ devtool boot-jtag --help 63$ devtool boot-jtag --help
@@ -151,6 +155,8 @@ Load the images into the target DDR/PL DRR load address i.e.,
151 155
152Below example uses base DDR address as 0x0 which matches in vivado address editor. 156Below example uses base DDR address as 0x0 which matches in vivado address editor.
153 157
1581. **Linux**
159
154| Image Type | Base DDR Address | Image Offset | Load Address in DDR | 160| Image Type | Base DDR Address | Image Offset | Load Address in DDR |
155|--------------------|------------------|--------------|---------------------| 161|--------------------|------------------|--------------|---------------------|
156| Kernel | 0x0 | 0x200000 | 0x200000 | 162| Kernel | 0x0 | 0x200000 | 0x200000 |
@@ -158,6 +164,15 @@ Below example uses base DDR address as 0x0 which matches in vivado address edito
158| Rootfs | 0x0 | 0x04000000 | 0x4000000 | 164| Rootfs | 0x0 | 0x04000000 | 0x4000000 |
159| U-boot boot script | 0x0 | 0x20000000 | 0x20000000 | 165| U-boot boot script | 0x0 | 0x20000000 | 0x20000000 |
160 166
1672. **Xen**
168
169| Image Type | Base DDR Address | Image Offset | Load Address in DDR |
170|--------------------|------------------|--------------|---------------------|
171| Kernel | 0x0 | 0xE00000 | 0xE00000 |
172| Device Tree | 0x0 | 0xC000000 | 0xc000000 |
173| Rootfs | 0x0 | 0x02600000 | 0x02600000 |
174| U-boot boot script | 0x0 | 0x20000000 | 0x20000000 |
175
161> **Note:** 176> **Note:**
162> 1. `<target-image>` refers to core-image-minimal or petalinux-image-minimal 177> 1. `<target-image>` refers to core-image-minimal or petalinux-image-minimal
163> 2. For pxeboot boot create a symlink for `<target-image>-${MACHINE}-${DATETIME}.cpio.gz.u-boot` 178> 2. For pxeboot boot create a symlink for `<target-image>-${MACHINE}-${DATETIME}.cpio.gz.u-boot`
@@ -178,12 +193,23 @@ xsdb% stop
178``` 193```
1792. Using the `dow` command to load the images into the target DDR/PL DDR load 1942. Using the `dow` command to load the images into the target DDR/PL DDR load
180 address. 195 address.
181``` 196
182xsdb% dow -data ${DEPLOY_DIR_IMAGE}/Image 0x200000 197 * Linux XSDB
183xsdb% dow -data ${DEPLOY_DIR_IMAGE}/system.dtb 0x100000 198 ```
184xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz.u-boot 0x4000000 199 xsdb% targets -set -nocase -filter {name =~ "*A53*#0"}
185xsdb% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x20000000 200 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/Image 0x200000
186``` 201 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/system.dtb 0x100000
202 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz.u-boot 0x4000000
203 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x20000000
204 ```
205 * Xen XSDB
206 ```
207 xsdb% targets -set -nocase -filter {name =~ "*A53*#0"}
208 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/Image 0xE00000
209 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/system.dtb 0xc000000
210 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz 0x02600000
211 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x20000000
212 ```
187 213
188###### Using TFTP 214###### Using TFTP
189 215
@@ -216,10 +242,29 @@ xsdb% con
216xsdb% exit 242xsdb% exit
217``` 243```
2183. In the target Serial Terminal, from U-Boot prompt run `boot` command. 2443. In the target Serial Terminal, from U-Boot prompt run `boot` command.
245
246* Linux boot
219``` 247```
220U-Boot> boot 248U-Boot> boot
221``` 249```
222 250
251* XEN JTAG boot
252
253 * XSDB
254 > **Note:** You need to calculate the Kernel(kernel_size) and ramdisk(ramdisk_size)
255 > image size manually from `${DEPLOY_DIR_IMAGE}` directory. For example if your
256 > kernel size is 24269312 bytes you need to convert to hex 0x1725200 and use it.
257 ```
258 U-Boot> setenv kernel_size <filesize>
259 U-Boot> setenv ramdisk_size <filesize>
260 U-Boot> boot
261 ```
262
263 * TFTP
264 ```
265 U-Boot> boot
266 ```
267
223## Booting from SD 268## Booting from SD
224 269
2251. Load the SD card into the ZCU102 board in the J100 SD slot. 2701. Load the SD card into the ZCU102 board in the J100 SD slot.