3.1.1.1. Setup

3.1.1.1.1. Install host dependencies

Note

The recommended host machine for building U-Boot is Ubuntu 22.04. Users of Ubuntu 18.04 may need to install Python 3.7 or higher. If using the default Python 3.6 that comes with Ubuntu 18.04, users may need to install these additional dependencies:

pip install dataclasses pyelftools jsonschema yamllint importlib-resources

3.1.1.1.2. Getting the Source Code

The easiest way to get access to the source code is by downloading and installing the Processor SDK Linux. Once installed, the source code is included in the SDK at the path <path to tisdk>/board-support. For your convenience the sources also includes git repositories including commit history.

Alternatively, U-Boot sources can directly be fetched from GIT. The GIT repo URL, branch and commit id can be found in the release notes: