Changes

Jump to: navigation, search

DESK-MX6UL-L/Development/Building U-Boot

3,886 bytes added, 16:18, 20 April 2021
Created page with "{{subst:Building-U-Boot | nome-som=AXEL ULite | kit-code=MX6UL | kit = mx6ul | kit-repo = desk-mx-l}}"
<section begin=History/>
{| style="border-collapse:collapse; "
!colspan="4" style="width:100%; text-align:left"; border-bottom:solid 2px #ededed"|History
|-
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Version
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Issue Date
!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#73B2C7; padding:5px; color:white"|Notes
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|X.Y.Z
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Month Year
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBD
|-
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|[TBD_link X.Y.Z]
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Month Year
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|TBD
|-
|}
<section end=History/>
__FORCETOC__
<section begin=Body/>

==Building U-Boot==

===Quick reference===
{| class="wikitable" border="1"
|+Repository Information
|-
! URL
| git@git.dave.eu:desk-mx-l/u-boot-''TBD''.git
|-
! stable branch
| desk-mx-l
|-
! stable tag
| desk-mx-l-1.x.x
|}

<span id="u-boot_defconfigs">

{| class="wikitable" border="1"
|+U-Boot defconfigs
|-
! Platform
! SOM ConfigID
! CB ConfigID
! ''defconfig''
|-
| <SOM>
| 0x000000xx
| 0x000000xx
| TBD
|}
</span>

=== Instructions ===

It is assumed that the development environment has been set up properly as described [[DESK-MX6UL-L#Quick_start_guide|here]].
* start the Linux development VM and login into the system
* open a terminal window and ''cd'' into U-Boot source code

<pre class="workstation-terminal">
cd {{{kit-repo}}}/u-boot
</pre>

* in case of needs you can update your local repository with the following git command

<pre class="workstation-terminal">
git pull
</pre>

* configure the build environment

<pre class="workstation-terminal">
source ~/env.sh
</pre>

*enter the source tree directory and run the following commands:

<pre class="workstation-terminal">
make {{{kit}}}_defconfig
make
</pre>

NOTE: this is the default configuration suitable for latest <SOM> target.

:The former command selects the default DESK-MX6UL-L configuration suitable for latest <SOM> targets (for additional defconfig please refer to the [[#u-boot_defconfigs|U-Boot defconfigs table above]]), while the latter builds the U-Boot binary image files (<code>SPL</code> and <code>u-boot.img</code>).

Binary files can be copied to the tftp root directory <code>/tftpboot/desk-mx-l/</code> with the following command:

<pre class="workstation-terminal">
cp SPL u-boot.img /tftpboot/{{{kit-repo}}}/
</pre>

Please refer to [[Standalone_boot_(DESK-MX6UL-L)#Storing_boot_images_...|this page]] for more information on how to update the bootloader on your board.


----

[[Category:AXEL ULite]]
8,226
edits

Navigation menu