diff options
| -rw-r--r-- | README | 3 | ||||
| -rw-r--r-- | docs/BOOT.sdcard | 36 |
2 files changed, 32 insertions, 7 deletions
| @@ -52,7 +52,7 @@ initialized configure bblayers.conf by adding the 'meta-xilinx' layer. e.g.: | |||
| 52 | 52 | ||
| 53 | To build a specific target BSP configure the associated machine in local.conf: | 53 | To build a specific target BSP configure the associated machine in local.conf: |
| 54 | 54 | ||
| 55 | MACHINE ?= "zc702" | 55 | MACHINE ?= "zc702-zynq7" |
| 56 | 56 | ||
| 57 | Note: Currently MicroBlaze targets only support being built with an External | 57 | Note: Currently MicroBlaze targets only support being built with an External |
| 58 | toolchain, please see the section below 'Configuring External Toolchain'. | 58 | toolchain, please see the section below 'Configuring External Toolchain'. |
| @@ -69,6 +69,7 @@ Once complete the images for the target machine will be available in the output | |||
| 69 | directory 'tmp/deploy/images'. | 69 | directory 'tmp/deploy/images'. |
| 70 | 70 | ||
| 71 | Images generated: | 71 | Images generated: |
| 72 | * core-image-minimal-<machine name>.tar.gz (rootfs tar+GZIP) | ||
| 72 | * core-image-minimal-<machine name>.cpio (rootfs in CPIO format) | 73 | * core-image-minimal-<machine name>.cpio (rootfs in CPIO format) |
| 73 | * core-image-minimal-<machine name>.ext2.gz.u-boot (rootfs in EXT2+GZIP, u-boot wrapped format) | 74 | * core-image-minimal-<machine name>.ext2.gz.u-boot (rootfs in EXT2+GZIP, u-boot wrapped format) |
| 74 | * u-boot.elf (U-Boot ELF) | 75 | * u-boot.elf (U-Boot ELF) |
diff --git a/docs/BOOT.sdcard b/docs/BOOT.sdcard index 5afaff47..ebaf9709 100644 --- a/docs/BOOT.sdcard +++ b/docs/BOOT.sdcard | |||
| @@ -4,14 +4,38 @@ SD Card Boot (Zynq Only) | |||
| 4 | 4 | ||
| 5 | Note: This boot flow requires access to Xilinx tools (for BOOT.BIN generation). | 5 | Note: This boot flow requires access to Xilinx tools (for BOOT.BIN generation). |
| 6 | 6 | ||
| 7 | Copy the following to the SD card (ensure to rename the files where appropriate): | 7 | Creating boot file |
| 8 | ------------------ | ||
| 9 | Using the Xilinx tools, package 'zynq_fsbl_0.elf' and 'u-boot.elf' into a | ||
| 10 | 'BOOT.BIN' (See http://www.wiki.xilinx.com/Prepare+Boot+Image for details). | ||
| 11 | |||
| 12 | Boot using a ramdisk | ||
| 13 | -------------------- | ||
| 14 | Use an SD card with partition one in FAT16 format. | ||
| 15 | Copy the following to the SD card partition one (ensure to rename the files | ||
| 16 | where appropriate): | ||
| 17 | Boot file: BOOT.BIN | ||
| 8 | Kernel: uImage | 18 | Kernel: uImage |
| 9 | RootFS: uramdisk.image.gz (core-image-minimal-<machine name>.ext2.gz.u-boot) | 19 | RootFS: uramdisk.image.gz (core-image-minimal-<machine name>.ext2.gz.u-boot) |
| 10 | DTB: devicetree.dtb (uImage-<machine name>.dtb) | 20 | DTB: devicetree.dtb (uImage-<machine name>-ram.dtb) |
| 11 | |||
| 12 | Using 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 | ||
| 14 | created copy 'BOOT.BIN' onto the SD Card. | ||
| 15 | 21 | ||
| 16 | Insert SD Card, connect UART to Terminal program and boot board (Ensure the | 22 | Insert SD Card, connect UART to Terminal program and boot board (Ensure the |
| 17 | board is configured for SD Boot). | 23 | board is configured for SD Boot). |
| 24 | |||
| 25 | Boot using SD card partition | ||
| 26 | ---------------------------- | ||
| 27 | Use an SD card with partition one in FAT16 format and partition two in EXT2 format. | ||
| 28 | Copy the following to the SD card partition one (ensure to rename the files where | ||
| 29 | appropriate): | ||
| 30 | Boot file: BOOT.BIN | ||
| 31 | Kernel: uImage | ||
| 32 | DTB: devicetree.dtb (uImage-<machine name>-mmcblk0p2.dtb) | ||
| 33 | Extract the following to the SD card partion two | ||
| 34 | RootFS: core-image-minimal-<machine name>.tar.gz | ||
| 35 | |||
| 36 | Insert SD Card, connect UART to Terminal program and boot board. | ||
| 37 | The loading of 'ramdisk' will fail as it is not present. Perform a manual | ||
| 38 | boot by typing | ||
| 39 | bootm 0x3000000 - 0x2A00000 | ||
| 40 | Refer to u-boot documention to see how to modify and save these settings, | ||
| 41 | so the following boot will correctly locate the rootfs in partition two. | ||
