Difference between revisions of "DESK-MX6UL-L/Development/Building U-Boot"

From DAVE Developer's Wiki
Jump to: navigation, search
(Update U-Boot sources for DESK-MX6UL-L v4.0.0 release)
Line 14: Line 14:
 
| 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" |Mar 2022
 
| 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" |Mar 2022
 
| 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" |DESK 3.0.0 release
 
| 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" |DESK 3.0.0 release
 +
|-
 +
| 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" |4.0.0
 +
| 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" |Apr 2023
 +
| 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" |DESK 4.0.0 release
 
|-
 
|-
 
|}
 
|}
Line 30: Line 34:
 
|-
 
|-
 
! stable branch
 
! stable branch
| desk-mx6ul-l-3.0.0
+
| desk-mx6ul-l-4.0.0
 
|-
 
|-
 
! stable tag
 
! stable tag
| desk-mx6ul-l-3.x.x
+
| desk-mx6ul-l-4.x.x
 
|}
 
|}
  
Line 77: Line 81:
  
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
source ~/desk-mx-l/desk-mx6ul-l-3.0.0_env.sh
+
source ~/desk-mx-l/desk-mx6ul-l-4.0.0_env.sh
 
</pre>
 
</pre>
  

Revision as of 18:25, 31 March 2023

History
Version Issue Date Notes

1.0.1

Apr 2021 First DESK release
2.0.0 Mar 2022 DESK 3.0.0 release
4.0.0 Apr 2023 DESK 4.0.0 release



Building U-Boot[edit | edit source]

Quick reference[edit | edit source]

Repository Information
URL git@git.dave.eu:desk-mx-l/u-boot-imx.git
stable branch desk-mx6ul-l-4.0.0
stable tag desk-mx6ul-l-4.x.x

U-Boot defconfigs
Platform SOM ConfigID CB ConfigID defconfig
SDV04 - 0x0000003a mx6uldesk_axelulite_defconfig
SBC Lynx 0x00000013 0x0000002f mx6uldesk_lynx_defconfig

Instructions[edit | edit source]

It is assumed that the development environment has been set up properly as described here.

  • start the Linux development VM and login into the system
  • open a terminal window and cd into U-Boot source code
cd ~/desk-mx-l/u-boot
  • in case of needs you can update your local repository with the following git command
git pull
  • configure the build environment
source ~/desk-mx-l/desk-mx6ul-l-4.0.0_env.sh
  • enter the source tree directory and run the following commands:

for the AXEL Ulite EVK

make mx6uldesk_axelulite_defconfig
make

for the SBC platform:

make mx6uldesk_lynx_defconfig
make

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 table above), while the latter builds the U-Boot binary image files (SPL and u-boot.img).

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

cp SPL u-boot.img /tftpboot/desk-mx-l/

Please refer to this page for more information on how to update the bootloader on your board.