summaryrefslogtreecommitdiffstats
path: root/docs/README.booting.versal.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/README.booting.versal.md')
-rw-r--r--docs/README.booting.versal.md28
1 files changed, 19 insertions, 9 deletions
diff --git a/docs/README.booting.versal.md b/docs/README.booting.versal.md
index 4f673689..25738784 100644
--- a/docs/README.booting.versal.md
+++ b/docs/README.booting.versal.md
@@ -133,20 +133,27 @@ Below example uses base DDR address as 0x0 which matches in vivado address edito
133 133
134| Image Type | Base DDR Address | Image Offset | Load Address in DDR | 134| Image Type | Base DDR Address | Image Offset | Load Address in DDR |
135|--------------------|------------------|--------------|---------------------| 135|--------------------|------------------|--------------|---------------------|
136| Kernel | 0x0 | 0x200000 | 0x200000 | 136| Linux Kernel | 0x0 | 0x200000 | 0x200000 |
137| Device Tree | 0x0 | 0x1000 | 0x1000 | 137| Device Tree Blob | 0x0 | 0x1000 | 0x1000 |
138| Rootfs | 0x0 | 0x4000000 | 0x4000000 | 138| Rootfs | 0x0 | 0x4000000 | 0x4000000 |
139| U-boot boot script | 0x0 | 0x20000000 | 0x20000000 | 139| U-boot boot script | 0x0 | 0x20000000 | 0x20000000 |
140 140
1412. **Xen** 1412. **Xen**
142 142
143> **Note:** Xen, Rootfs and Device Tree image offset is calculated as shown below.
144> * `Xen Rootfs = Base DDR Address + Linux Kernel Image Offset(0xE00000) + Size of Linux Kernel Image`
145> * `Xen Kernel = Base DDR Address + Xen Rootfs Image Offset (Ex: 0x2600000) + Size of Xen Rootfs`
146> * `Device Tree Blob = Base DDR Address + Xen Kernel Image Offset (Ex: 0xBA00000) + Size of Device Tree Blob`
147
143| Image Type | Base DDR Address | Image Offset | Load Address in DDR | 148| Image Type | Base DDR Address | Image Offset | Load Address in DDR |
144|--------------------|------------------|--------------|---------------------| 149|--------------------|------------------|--------------|---------------------|
145| Kernel | 0x0 | 0xE00000 | 0xE00000 | 150| Linux Kernel | 0x0 | 0xE00000 | 0xE00000 |
146| Device Tree | 0x0 | 0xC000000 | 0xc000000 | 151| Xen Rootfs | 0x0 | 0x2600000 | 0x2600000 |
147| Rootfs | 0x0 | 0x02600000 | 0x02600000 | 152| Xen Kernel | 0x0 | 0xBA00000 | 0xBA00000 |
153| Device Tree Blob | 0x0 | 0xC000000 | 0xC000000 |
148| U-boot boot script | 0x0 | 0x20000000 | 0x20000000 | 154| U-boot boot script | 0x0 | 0x20000000 | 0x20000000 |
149 155
156
150> **Note:** 157> **Note:**
151> 1. `<target-image>` refers to core-image-minimal or petalinux-image-minimal 158> 1. `<target-image>` refers to core-image-minimal or petalinux-image-minimal
152> 2. For pxeboot boot create a symlink for `<target-image>-${MACHINE}-${DATETIME}.cpio.gz.u-boot` 159> 2. For pxeboot boot create a symlink for `<target-image>-${MACHINE}-${DATETIME}.cpio.gz.u-boot`
@@ -176,12 +183,14 @@ xsdb% stop
176 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz.u-boot 0x4000000 183 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz.u-boot 0x4000000
177 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x20000000 184 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x20000000
178 ``` 185 ```
186
179 * Xen XSDB 187 * Xen XSDB
180 ``` 188 ```
181 xsdb% targets -set -nocase -filter {name =~ "*A72*#0"} 189 xsdb% targets -set -nocase -filter {name =~ "*A72*#0"}
182 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/Image 0xE00000 190 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/Image 0xE00000
183 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/system.dtb 0xc000000 191 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz 0x2600000
184 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz 0x02600000 192 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/xen 0xBA00000
193 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/system.dtb 0xC000000
185 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x20000000 194 xsdb% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x20000000
186 ``` 195 ```
187 196
@@ -208,9 +217,10 @@ Versal> set ipaddr <board ip>
208 ``` 217 ```
209 U-Boot> tftpboot 0xE00000 Image 218 U-Boot> tftpboot 0xE00000 Image
210 U-Boot> setenv kernel_size 0x$filesize 219 U-Boot> setenv kernel_size 0x$filesize
211 U-Boot> tftpboot 0xc000000 system.dtb 220 U-Boot> tftpboot 0x2600000 core-image-minimal-${MACHINE}.cpio.gz
212 U-Boot> tftpboot 0x02600000 core-image-minimal-${MACHINE}.cpio.gz
213 U-Boot> setenv ramdisk_size 0x$filesize 221 U-Boot> setenv ramdisk_size 0x$filesize
222 U-Boot> tftpboot 0xBA00000 xen
223 U-Boot> tftpboot 0xC000000 system.dtb
214 U-Boot> tftpboot 0x20000000 boot.scr 224 U-Boot> tftpboot 0x20000000 boot.scr
215 ``` 225 ```
216 226