buildroot/board/zynqmp
Graeme Smecher 70477e5fee board/zynqmp/post-image.sh: Don't insist on a xilinx/ prefix for .dts files.
If using BR2_LINUX_KERNEL_CUSTOM_DTS_PATH to copy .dts files from
buildroot into the linux tree, these .dts files are copied to
arch/arm64/boot. Unfortunately, the post-image.sh script expects to find
them in arch/arm64/boot/xilinx.

This patch does not require the xilinx/ prefix to be present when
symlinking the device-tree to system.dtb where u-boot expects to find
it.

Signed-off-by: Graeme Smecher <gsmecher@threespeedlogic.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Neal Frager <neal.frager@amd.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-02-05 13:20:46 +01:00
..
kria board/zynqmp/kria/uboot.fragment: remove unnecessary configs 2023-01-27 11:22:09 +01:00
zcu102 configs/zynqmp_zcu10x_defconfig: use BR2_TARGET_UBOOT_CUSTOM_MAKEOPTS 2022-11-03 16:43:43 +01:00
zcu106 board/zynqmp/zcu106/patches: fix build by dropping U-Boot patch 2022-12-11 17:55:24 +01:00
genimage.cfg configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022 2022-02-12 14:43:32 +01:00
post-build.sh board/zynqmp/post-build.sh: remove unnecessary if 2022-06-19 18:39:03 +02:00
post-image.sh board/zynqmp/post-image.sh: Don't insist on a xilinx/ prefix for .dts files. 2023-02-05 13:20:46 +01:00
readme.txt add configs/zynqmp_zcu102_defconfig 2022-02-12 14:43:33 +01:00

readme.txt

******************************************
Xilinx ZCU102 / ZCU106 boards - ZynqMP SoC
******************************************

This document describes the Buildroot support for the ZCU102 and
ZCU106 boards by Xilinx, based on the Zynq UltraScale+ MPSoC (aka
ZynqMP).  It has been tested with the ZCU102 and ZCU106 production
boards.

Evaluation board features can be found here with the links below.

ZCU102:
https://www.xilinx.com/products/boards-and-kits/zcu102.html

ZCU106:
https://www.xilinx.com/products/boards-and-kits/zcu106.html


How to build it
===============

Configure Buildroot:

    $ make zynqmp_zcu106_defconfig

Compile everything and build the rootfs image:

    $ make

Result of the build
-------------------

After building, you should get a tree like this:

    output/images/
    +-- atf-uboot.ub
    +-- bl31.bin
    +-- boot.bin
    +-- boot.vfat
    +-- Image
    +-- rootfs.ext2
    +-- rootfs.ext4 -> rootfs.ext2
    +-- sdcard.img
    +-- system.dtb -> zynqmp-zcu106-revA.dtb
    +-- u-boot.itb
    `-- zynqmp-zcu106-revA.dtb

How to write the SD card
========================

WARNING! This will destroy all the card content. Use with care!

The sdcard.img file is a complete bootable image ready to be written
on the boot medium. To install it, simply copy the image to an SD
card:

    # dd if=output/images/sdcard.img of=/dev/sdX

Where 'sdX' is the device node of the SD.

Eject the SD card, insert it in the board, and power it up.