aboutsummaryrefslogtreecommitdiffstats
path: root/docs/BOOT.sdcard
blob: ebaf9709f16d00aa838b53fe7de8b8a521268251 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
SD Card Boot (Zynq Only)
========================

Note: This boot flow requires access to Xilinx tools (for BOOT.BIN generation).

Creating boot file
------------------
Using the Xilinx tools, package 'zynq_fsbl_0.elf' and 'u-boot.elf' into a 
'BOOT.BIN' (See http://www.wiki.xilinx.com/Prepare+Boot+Image for details). 

Boot using a ramdisk
--------------------
Use an SD card with partition one in FAT16 format.
Copy the following to the SD card partition one (ensure to rename the files 
where appropriate):
        Boot file: BOOT.BIN
	Kernel: uImage
	RootFS: uramdisk.image.gz (core-image-minimal-<machine name>.ext2.gz.u-boot)
	DTB:    devicetree.dtb (uImage-<machine name>-ram.dtb)

Insert SD Card, connect UART to Terminal program and boot board (Ensure the
board is configured for SD Boot).

Boot using SD card partition
----------------------------
Use an SD card with partition one in FAT16 format and partition two in EXT2 format.
Copy the following to the SD card partition one (ensure to rename the files where 
appropriate):
        Boot file: BOOT.BIN
	Kernel: uImage
	DTB:    devicetree.dtb (uImage-<machine name>-mmcblk0p2.dtb)
Extract the following to the SD card partion two
	RootFS: core-image-minimal-<machine name>.tar.gz

Insert SD Card, connect UART to Terminal program and boot board.
The loading of 'ramdisk' will fail as it is not present. Perform a manual 
boot by typing
bootm 0x3000000 - 0x2A00000
Refer to u-boot documention to see how to modify and save these settings,
so the following boot will correctly locate the rootfs in partition two.