Skip to content
README.rst 1.47 KiB
Newer Older
# SPDX-License-Identifier: GPL-2.0+
#
# Copyright (C) Arm Limited, 2020

U-Boot Image Builder Manifest
Grant Likely's avatar
Grant Likely committed
=============================

This is a simple tool for build Arm firmware images from U-Boot,
Trusted Firmware A, and the Linux devicetree repo. It uses the
git 'repo' tool to clone a copy of each project and a Makefile
to build for various Arm targets.

Using this tool
---------------
This tool uses the git 'repo' tool to build firmware.
Install repo first

To initialize the build environment, create a new working directory
Grant Likely's avatar
Grant Likely committed
and run the repo init command::

  $ mkdir firmware-working
  $ cd firmware-working
  $ repo init -u https://github.com/glikely/u-boot-manifest

This will clone all of the required git trees and link the Makefile
Grant Likely's avatar
Grant Likely committed
into the root directory. To build the firmware, simply type::
  $ make <target_name>_defconfig
Grant Likely's avatar
Grant Likely committed
  $ make

Where <target_name> is a U-Boot defconfig that can be found in the
u-boot/configs directory.
Grant Likely's avatar
Grant Likely committed
The QEMU config also provides a ``qemu`` target to run the image::

  $ make qemu

Patches to target projects
--------------------------
There are a few changes to the main projects in the ./patches directory.
You'll may need to apply those to get a working firmware image.
Supported Platforms
-------------------

Grant Likely's avatar
Grant Likely committed
The following platforms should work out of the box.
More to come as this tool matures.

1. Macchiato-bin ``mvebu_mcbin-88f8040_defconfig``
2. RockPro64 ``rockpro64-rk3399_defconfig``
3. QEMU aarch64 ``qemu_arm64_defconfig``