Skip to content

Compiling

gtxaspec edited this page Jan 31, 2024 · 7 revisions

Compiling U-Boot for Ingenic Devices

This guide provides instructions for compiling U-Boot for various Ingenic devices using the u-boot-ingenic repository. Follow these steps to clone the repository and run the build script.

Cloning the Repository

First, clone the u-boot-ingenic repository from GitHub:

git clone https://github.com/gtxaspec/u-boot-ingenic

Running the Build Script

Navigate to the cloned repository directory and run the build.sh script:

cd u-boot-ingenic
./build.sh
  • Select Variant: Use the on screen menus to select the desired version to compile image
  • Output Directory: Your compiled u-boot will be stored in the uboot_build directory

Notes

  • Ensure you have the required build tools and dependencies installed before running the build script. The following: build-essential gcc-12 gcc-12-mipsel-linux-gnu lzop u-boot-tools packages are recommended for compilation on debian based distributions.
  • For specific build options or additional configurations, refer to the documentation within the repository or the build script itself.
Clone this wiki locally