kumquat-buildroot/board/zynqmp
Neal Frager 250d7df53a configs/zynqmp_kria_kv260_defconfig: use CONFIG_MULTI_DTB_FIT
When using the buildroot compiler, it builds the u-boot.itb immediately
after building the fit-dtb.blob.  This causes a build failure when using
the CONFIG_MULTI_DTB_FIT build configuration.  This patch adds the necessary
dependency to guarantee that the fit-dtb.blob has finished building before
trying to build the u-boot.itb.

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/3310463281

This patch has been submitted to u-boot mainline:
https://lore.kernel.org/all/20221221075446.47141-1-neal.frager@amd.com/

Signed-off-by: Neal Frager <neal.frager@amd.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-01-12 17:26:26 +01:00
..
kria configs/zynqmp_kria_kv260_defconfig: use CONFIG_MULTI_DTB_FIT 2023-01-12 17:26:26 +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 configs/zynqmp_zcu106: bump ATF/U-Boot/Linux to Xilinx 2022 2022-02-12 14:43:32 +01:00
readme.txt add configs/zynqmp_zcu102_defconfig 2022-02-12 14:43:33 +01:00

******************************************
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.