Debian Customizing U-Boot AM62: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
Line 13: Line 13:
To learn how to build the U-Boot images outside of Yocto, see: {{Varlink|Debian_Build_U-Boot_TI|{{#var:RELEASE_LINK}}|'''Build U-Boot from source code'''}}
To learn how to build the U-Boot images outside of Yocto, see: {{Varlink|Debian_Build_U-Boot_TI|{{#var:RELEASE_LINK}}|'''Build U-Boot from source code'''}}


= Before Starting =


Before starting this guide, you must have the Yocto environment set and be able to build images for the VAR-SOM-AM62.
= Making changes in the source code =
 
Please see: {{Varlink|Yocto_Build_Release|{{#var:RELEASE_LINK}}|'''Build Yocto from source code'''}}.
 
The remainder of the guide assumes the Yocto working directory is '''~/var-ti-yocto'''


= Making changes in the source code =
Fetch the U-Boot source:
Choose one of the following three methods to customize the U-Boot source code and build it using Yocto:
{{GIT_FETCH|NAME=U-BOOT|WORKDIR={{#var:WORKDIR_ENV}}}}<!--


== Add your patches on top of the Variscite source code ==
== Add your patches on top of the Variscite source code ==

Revision as of 21:02, 11 December 2024

Warning: This page is designed to be used with a 'release' URL parameter.

This page is using the default release am62-debian-bookworm-6.1.83_09.02.01.10-v1.0.
To view this page for a specific Variscite SoM and software release, please follow these steps:

  1. Visit variwiki.com
  2. Select your SoM
  3. Select the software release
VAR-SOM-AM62 - Debian Customize from source code

Introduction

This guide demonstrates how to patch and rebuild the VAR-SOM-AM62 U-Boot images using Yocto.

To learn how to build the U-Boot images outside of Yocto, see: Build U-Boot from source code


Making changes in the source code

Fetch the U-Boot source:

$ cd $WORKDIR
$ git clone https://github.com/varigit/ti-u-boot -b ti-u-boot-2023.04_09.02.01.10_var01 ti-u-boot