mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Michael Tretter <>
Subject: [PATCH v2 7/7] Documentation: zynqmp: add some documentation
Date: Thu, 24 Jun 2021 17:00:54 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Add at least some information how Barebox can be used on the ZynqMP and
what is required to create a bootable image.

Signed-off-by: Michael Tretter <>

v2: none
 Documentation/boards/zynqmp.rst | 40 +++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 Documentation/boards/zynqmp.rst

diff --git a/Documentation/boards/zynqmp.rst b/Documentation/boards/zynqmp.rst
new file mode 100644
index 000000000000..05d41c401dc2
--- /dev/null
+++ b/Documentation/boards/zynqmp.rst
@@ -0,0 +1,40 @@
+Xilinx ZynqMP Ultrascale+
+Barebox has support as a second stage boot loader for the Xilinx ZynqMP
+Image creation
+Currently, Barebox only supports booting as a second stage boot loader from an
+SD-card. It relies on the FSBL_ to initialize the base system including sdram
+setup and pin muxing.
+The ZynqMP defconfig supports the ZCU104 reference board. Use it to build the
+Barebox image::
+   make ARCH=arm64 zynqmp_defconfig
+   make ARCH=arm64
+.. note:: The resulting image ``images/barebox-zynqmp-zcu104.img`` is **not** an image
+  that can directly be booted on the ZynqMP.
+For a bootable BOOT.BIN image, you also need to build the FSBL_ and a ZynqMP
+TF-A. Prepare these separately using the respective instructions.
+Use bootgen_ or ``mkimage -T zynqmpbif`` from the U-boot tools to build the
+final BOOT.BIN image that can be loaded by the ROM code. Check the
+instructions for these tools how to prepare the BOOT.BIN image.
+Create a FAT partition as the first partition of the SD card and copy the
+produced BOOT.BIN into this partition.
+.. _FSBL: ``
+.. _bootgen: ``
+Booting Barebox
+The FSBL loads the TF-A and Barebox, jumps to the TF-A, which will then return
+to Barebox. Afterwards, you can use Barebox as usual.

barebox mailing list

  parent reply	other threads:[~2021-06-24 15:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-24 15:00 [PATCH v2 0/7] ZynqMP: Cleanup and extend board support Michael Tretter
2021-06-24 15:00 ` [PATCH v2 1/7] ARM: zynqmp: set reset source Michael Tretter
2021-06-24 15:00 ` [PATCH v2 2/7] clk: zynqmp: do not enable already enabled clocks Michael Tretter
2021-06-24 15:00 ` [PATCH v2 3/7] dts: zcu104: add Barebox environment Michael Tretter
2021-06-24 15:00 ` [PATCH v2 4/7] ARM: zynqmp: add update handler Michael Tretter
2021-06-24 15:00 ` [PATCH v2 5/7] ARM: zynqmp: zcu104: register " Michael Tretter
2021-06-24 15:00 ` [PATCH v2 6/7] ARM: zynqmp: defconfig: enable more features Michael Tretter
2021-06-24 15:00 ` Michael Tretter [this message]
2021-06-25  7:39 ` [PATCH v2 0/7] ZynqMP: Cleanup and extend board support Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox