diff options
author | Sandeep Gundlupet Raju <sandeep.gundlupet-raju@amd.com> | 2023-03-14 15:20:49 -0600 |
---|---|---|
committer | Mark Hatle <mark.hatle@amd.com> | 2023-03-15 18:25:09 -0500 |
commit | c0293316006cc57e8df91d91a9ce3396c7acfd5c (patch) | |
tree | 23fb4e6be54c4b5aa0fe13808c8b1a731cafe10d /docs | |
parent | 3d32c45b9fa7002ae1648340bd03b2fc4797b07a (diff) | |
download | meta-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.md | 22 |
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 | |||
4 | boot modes. | 4 | boot 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 |
9 | 1. Connect a USB cable between the CP210x USB-to-UART bridge USB Mini-B on | 16 | 1. 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 | ||
30 | This boot flow requires the use of the AMD Xilinx tools, specifically XSCT and | 38 | This 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 | ||
60 | 1. Download the boot images for the target using XSCT with the `fpga` and `dow` | 68 | 1. Download the boot images for the target using XSCT with the `fpga` and `dow` |
@@ -92,7 +100,7 @@ xsct% con | |||
92 | Hit any key to stop autoboot: 0 | 100 | Hit any key to stop autoboot: 0 |
93 | U-Boot> | 101 | U-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 | ||
98 | Load the images into the target DDR load address i.e., | 106 | Load 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 | |||
118 | using U-Boot. | 126 | using 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 | ||
124 | 1. Suspend the execution of active target using `stop` command in XSCT. | 132 | 1. Suspend the execution of active target using `stop` command in XSCT. |
@@ -133,7 +141,7 @@ xsct% dow -data ${DEPLOY_DIR_IMAGE}/system.dtb 0x100000 | |||
133 | xsct% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz.u-boot 0x4000000 | 141 | xsct% dow -data ${DEPLOY_DIR_IMAGE}/core-image-minimal-${MACHINE}.cpio.gz.u-boot 0x4000000 |
134 | xsct% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x3000000 | 142 | xsct% dow -data ${DEPLOY_DIR_IMAGE}/boot.scr 0x3000000 |
135 | ``` | 143 | ``` |
136 | 144 | --- | |
137 | #### Using TFTP | 145 | #### Using TFTP |
138 | 146 | ||
139 | 1. Configure the `ipaddr` and `serverip` of the U-Boot environment. | 147 | 1. Configure the `ipaddr` and `serverip` of the U-Boot environment. |
@@ -147,8 +155,8 @@ U-Boot> tftpboot 0x200000 ${TFTPDIR}/uImage | |||
147 | U-Boot> tftpboot 0x100000 ${TFTPDIR}/system.dtb | 155 | U-Boot> tftpboot 0x100000 ${TFTPDIR}/system.dtb |
148 | U-Boot> tftpboot 0x4000000 ${TFTPDIR}/core-image-minimal-${MACHINE}.cpio.gz.u-boot | 156 | U-Boot> tftpboot 0x4000000 ${TFTPDIR}/core-image-minimal-${MACHINE}.cpio.gz.u-boot |
149 | U-Boot> tftpboot 0x3000000 ${TFTPDIR}/boot.scr | 157 | U-Boot> tftpboot 0x3000000 ${TFTPDIR}/boot.scr |
150 | |||
151 | ``` | 158 | ``` |
159 | --- | ||
152 | ### Booting Linux | 160 | ### Booting Linux |
153 | 161 | ||
154 | Once the images are loaded continue the execution. | 162 | Once the images are loaded continue the execution. |
@@ -166,14 +174,14 @@ xsct% exit | |||
166 | ``` | 174 | ``` |
167 | U-Boot> boot | 175 | U-Boot> boot |
168 | ``` | 176 | ``` |
169 | 177 | --- | |
170 | ## Booting from SD | 178 | ## Booting from SD |
171 | 179 | ||
172 | 1. Load the SD card into the ZC702 board in the SD slot. | 180 | 1. Load the SD card into the ZC702 board in the SD slot. |
173 | 2. Configure the ZC702 board to boot in SD-Boot mode (1-OFF, 2-OFF, 3-ON, 4-ON, 5-OFF) | 181 | 2. 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). |
175 | 3. Follow SD boot instructions [README](README.booting.storage.md) for more details. | 183 | 3. Follow SD boot instructions [README](README.booting.storage.md) for more details. |
176 | 184 | --- | |
177 | ## Booting from QSPI | 185 | ## Booting from QSPI |
178 | 186 | ||
179 | 1. To boot ZC702 board in QSPI boot mode, Power on the ZCU102 board and boot | 187 | 1. To boot ZC702 board in QSPI boot mode, Power on the ZCU102 board and boot |