summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2013-07-15 17:02:07 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2013-07-15 17:08:00 +1000
commitcbc850867718a798acda214609ce5e47cbcf6974 (patch)
tree3c8c23b2867f048a5d9f9048d3b38782281389c2 /docs
parentb6d2dfc01d99408fb372856b77e0890993c7c345 (diff)
downloadmeta-xilinx-cbc850867718a798acda214609ce5e47cbcf6974.tar.gz
docs: Improve documentation of Zynq and MicroBlaze boot flows
* Add BOOT.jtag to cover booting u-boot for Zynq and MicroBlaze * Add BOOT.tftp to cover booting the kernel for Zynq and MicroBlaze * Add BOOT.sdcard to cover booting Zynq (using BOOT.BIN) Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/BOOT.jtag30
-rw-r--r--docs/BOOT.sdcard17
-rw-r--r--docs/BOOT.tftp35
3 files changed, 82 insertions, 0 deletions
diff --git a/docs/BOOT.jtag b/docs/BOOT.jtag
new file mode 100644
index 00000000..0588e822
--- /dev/null
+++ b/docs/BOOT.jtag
@@ -0,0 +1,30 @@
1
2Loading U-Boot via JTAG
3=======================
4
5Note: This boot flow requires access to Xilinx tools (for JTAG programming).
6
7Download the bitstream for the target machine using JTAG (The pre-built
8bitstream provided in the reference design files should be used).
9
10(MicroBlaze) Download the 'u-boot.elf' to the target CPU via the use of XMD.
11 $ xmd
12 XMD% connect mb mdm
13 XMD% rst
14 XMD% dow u-boot.elf
15 XMD% con
16
17(Zynq) Download the 'u-boot.elf' to the target CPU via the use of XMD.
18(Note: Ensure to have the boot mode pins/switches configured in JTAG mode)
19 $ xmd
20 XMD% connect arm hw
21 XMD% rst
22 XMD% dow zynq_fsbl_0.elf
23 XMD% con; sleep 1; stop
24 XMD% dow u-boot.elf
25 XMD% con
26
27U-Boot will load and the console will be avaliable on the UART interface.
28 ...
29 Hit any key to stop autoboot: 0
30 U-Boot>
diff --git a/docs/BOOT.sdcard b/docs/BOOT.sdcard
new file mode 100644
index 00000000..5afaff47
--- /dev/null
+++ b/docs/BOOT.sdcard
@@ -0,0 +1,17 @@
1
2SD Card Boot (Zynq Only)
3========================
4
5Note: This boot flow requires access to Xilinx tools (for BOOT.BIN generation).
6
7Copy the following to the SD card (ensure to rename the files where appropriate):
8 Kernel: uImage
9 RootFS: uramdisk.image.gz (core-image-minimal-<machine name>.ext2.gz.u-boot)
10 DTB: devicetree.dtb (uImage-<machine name>.dtb)
11
12Using the Xilinx tools, package 'zynq_fsbl_0.elf' and 'u-boot.elf' into a
13'BOOT.BIN' (See http://www.wiki.xilinx.com/Prepare+Boot+Image for details). Once
14created copy 'BOOT.BIN' onto the SD Card.
15
16Insert SD Card, connect UART to Terminal program and boot board (Ensure the
17board is configured for SD Boot).
diff --git a/docs/BOOT.tftp b/docs/BOOT.tftp
new file mode 100644
index 00000000..3c6b98cf
--- /dev/null
+++ b/docs/BOOT.tftp
@@ -0,0 +1,35 @@
1
2Boot Linux via TFTP (using U-Boot)
3==================================
4
5Note: This boot flow requires a TFTP server.
6
7Boot your system into U-Boot, using an alternative boot method (e.g. JTAG, SD).
8
9Place the following images into the root of the TFTP server directory:
10 * core-image-minimal-<machine name>.ext2.gz.u-boot (RootFS)
11 * linux.bin.ub or uImage (Linux Kernel)
12 * <kernel binary>-<machine name>.dtb (DTB)
13
14The serial console of the target board will display the U-Boot console.
15Configure the 'ipaddr' and 'serverip' of the U-Boot environment.
16 U-Boot> set serverip <server ip>
17 U-Boot> set ipaddr <board ip>
18
19Using the U-Boot console; load the Kernel, RootFS and the DTB into memory.
20And then boot Linux using the 'bootm' command. (Note the load addresses will
21be dependant on machine used)
22
23For MicroBlaze (kc705-trd-microblazeel):
24 U-Boot> tftp 0x86000000 linux.bin.ub
25 U-Boot> tftp 0x85000000 core-image-minimal-<machine name>.ext2.gz.u-boot
26 U-Boot> tftp 0x84000000 linux.bin.ub-<machine name>.dtb
27 U-Boot> bootm 0x86000000 0x85000000 0x84000000
28
29For Zynq:
30 U-Boot> tftp 0x3000000 uImage
31 U-Boot> tftp 0x2000000 core-image-minimal-<machine name>.ext2.gz.u-boot
32 U-Boot> tftp 0x2A00000 uImage-<machine name>.dtb
33 U-Boot> bootm 0x3000000 0x2000000 0x2A00000
34
35U-Boot will prepare the Kernel for boot and then it will being to initialize.