summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com>2023-03-14 15:20:49 -0600
committerMark Hatle <mark.hatle@amd.com>2023-03-15 18:25:09 -0500
commitc0293316006cc57e8df91d91a9ce3396c7acfd5c (patch)
tree23fb4e6be54c4b5aa0fe13808c8b1a731cafe10d /docs
parent3d32c45b9fa7002ae1648340bd03b2fc4797b07a (diff)
downloadmeta-xilinx-c0293316006cc57e8df91d91a9ce3396c7acfd5c.tar.gz
README.booting.zynq: Fix table of content section
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.zynq.md22
1 files changed, 15 insertions, 7 deletions
diff --git a/docs/README.booting.zynq.md b/docs/README.booting.zynq.md
index de3fc189..a9b6e8f3 100644
--- a/docs/README.booting.zynq.md
+++ b/docs/README.booting.zynq.md
@@ -4,6 +4,13 @@ Booting OS images on Zynq boards can be done using JTAG, SD, eMMC, QSPI and NAND
4boot modes. 4boot modes.
5 5
6* [Setting Up the Target](#setting-up-the-target) 6* [Setting Up the Target](#setting-up-the-target)
7* [Booting from JTAG](#booting-from-jtag)
8 * [Loading boot components using XSCT](#loading-boot-components-using-xsct)
9 * [Loading Kernel, Root Filesystem and U-boot boot script](#loading-kernel-root-filesystem-and-u-boot-boot-script)
10 * [Using XSCT](#using-xsct)
11 * [Using TFTP](#using-tftp)
12* [Booting from SD](#booting-from-sd)
13* [Booting from QSPI](#booting-from-qspi)
7 14
8## Setting Up the Target 15## Setting Up the Target
91. Connect a USB cable between the CP210x USB-to-UART bridge USB Mini-B on 161. Connect a USB cable between the CP210x USB-to-UART bridge USB Mini-B on
@@ -25,6 +32,7 @@ boot modes.
25| QSPI | 01000 | OFF, ON, OFF, OFF, OFF | QSPI 32-bit addressing | 32| QSPI | 01000 | OFF, ON, OFF, OFF, OFF | QSPI 32-bit addressing |
26| SD | 00110 | OFF, OFF, ON, ON, OFF | SD 2.0 | 33| SD | 00110 | OFF, OFF, ON, ON, OFF | SD 2.0 |
27 34
35---
28## Booting from JTAG 36## Booting from JTAG
29 37
30This boot flow requires the use of the AMD Xilinx tools, specifically XSCT and 38This boot flow requires the use of the AMD Xilinx tools, specifically XSCT and
@@ -54,7 +62,7 @@ xsct% targets
54 62
55> **Note:** For non-interactive usage such as scripting, you can use the `-filter` 63> **Note:** For non-interactive usage such as scripting, you can use the `-filter`
56 option to select a target instead of selecting the target using its ID. 64 option to select a target instead of selecting the target using its ID.
57 65---
58### Loading boot components using XSCT 66### Loading boot components using XSCT
59 67
601. Download the boot images for the target using XSCT with the `fpga` and `dow` 681. Download the boot images for the target using XSCT with the `fpga` and `dow`
@@ -92,7 +100,7 @@ xsct% con
92Hit any key to stop autoboot: 0 100Hit any key to stop autoboot: 0
93U-Boot> 101U-Boot>
94``` 102```
95 103---
96### Loading Kernel, Root Filesystem and U-boot boot script 104### Loading Kernel, Root Filesystem and U-boot boot script
97 105
98Load the images into the target DDR load address i.e., 106Load the images into the target DDR load address i.e.,
@@ -118,7 +126,7 @@ system has ethernet it is recommended that you use TFTP to load these images
118using U-Boot. 126using U-Boot.
119> 4. If common ${DEPLOY_DIR_IMAGE}/system.dtb is used by u-boot and kernel, this 127> 4. If common ${DEPLOY_DIR_IMAGE}/system.dtb is used by u-boot and kernel, this
120> is already part of boot.bin we can skip loading dtb, else load kernel dtb. 128> is already part of boot.bin we can skip loading dtb, else load kernel dtb.
121 129---
122#### Using XSCT 130#### Using XSCT
123 131
1241. Suspend the execution of active target using `stop` command in XSCT. 1321. Suspend the execution of active target using `stop` command in XSCT.
@@ -133,7 +141,7 @@ xsct% dow -data ${DEPLOY_DIR_IMAGE}/system.dtb 0x100000
133xsct% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz.u-boot 0x4000000 141xsct% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz.u-boot 0x4000000
134xsct% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x3000000 142xsct% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x3000000
135``` 143```
136 144---
137#### Using TFTP 145#### Using TFTP
138 146
1391. Configure the `ipaddr` and `serverip` of the U-Boot environment. 1471. Configure the `ipaddr` and `serverip` of the U-Boot environment.
@@ -147,8 +155,8 @@ U-Boot> tftpboot 0x200000 ${TFTPDIR}/uImage
147U-Boot> tftpboot 0x100000 ${TFTPDIR}/system.dtb 155U-Boot> tftpboot 0x100000 ${TFTPDIR}/system.dtb
148U-Boot> tftpboot 0x4000000 ${TFTPDIR}/core-image-minimal-${MACHINE}.cpio.gz.u-boot 156U-Boot> tftpboot 0x4000000 ${TFTPDIR}/core-image-minimal-${MACHINE}.cpio.gz.u-boot
149U-Boot> tftpboot 0x3000000 ${TFTPDIR}/boot.scr 157U-Boot> tftpboot 0x3000000 ${TFTPDIR}/boot.scr
150
151``` 158```
159---
152### Booting Linux 160### Booting Linux
153 161
154Once the images are loaded continue the execution. 162Once the images are loaded continue the execution.
@@ -166,14 +174,14 @@ xsct% exit
166``` 174```
167U-Boot> boot 175U-Boot> boot
168``` 176```
169 177---
170## Booting from SD 178## Booting from SD
171 179
1721. Load the SD card into the ZC702 board in the SD slot. 1801. Load the SD card into the ZC702 board in the SD slot.
1732. Configure the ZC702 board to boot in SD-Boot mode (1-OFF, 2-OFF, 3-ON, 4-ON, 5-OFF) 1812. Configure the ZC702 board to boot in SD-Boot mode (1-OFF, 2-OFF, 3-ON, 4-ON, 5-OFF)
174 by setting the SW6. Refer [Setting Up the Target](#setting-up-the-target). 182 by setting the SW6. Refer [Setting Up the Target](#setting-up-the-target).
1753. Follow SD boot instructions [README](README.booting.storage.md) for more details. 1833. Follow SD boot instructions [README](README.booting.storage.md) for more details.
176 184---
177## Booting from QSPI 185## Booting from QSPI
178 186
1791. To boot ZC702 board in QSPI boot mode, Power on the ZCU102 board and boot 1871. To boot ZC702 board in QSPI boot mode, Power on the ZCU102 board and boot