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

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{subst:Building-U-Boot | nome-som=AXEL ULite | kit-code=MX6UL | kit = mx6ul | kit-repo = desk-mx-l}}")
 
Line 7: Line 7:
 
!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:#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"|1.0.1
|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"|Apr 2021
|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"|First DESK 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"|[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
 
 
|-
 
|-
 
|}
 
|}
Line 28: Line 23:
 
|-
 
|-
 
! URL
 
! URL
| git@git.dave.eu:desk-mx-l/u-boot-''TBD''.git
+
| git@git.dave.eu:desk-mx-l/u-boot-imx.git
 
|-
 
|-
 
! stable branch
 
! stable branch
| desk-mx-l
+
| desk-mx-l-1.0.1
 
|-
 
|-
 
! stable tag
 
! stable tag
Line 45: Line 40:
 
! SOM ConfigID
 
! SOM ConfigID
 
! CB ConfigID
 
! CB ConfigID
! ''defconfig''
+
! defconfig
 
|-
 
|-
| <SOM>
+
| SBC Lynx
| 0x000000xx
+
| 0x00000013
| 0x000000xx
+
| 0x0000002f
| TBD
+
| mx6uldesk_lynx_defconfig
 
|}
 
|}
 
</span>
 
</span>
Line 61: Line 56:
  
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
cd {{{kit-repo}}}/u-boot
+
cd ~/desk-mx-l/u-boot
 
</pre>
 
</pre>
  
Line 73: Line 68:
  
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
source ~/env.sh
+
source ~/desk-mx-l/desk-mx6-l-1.0.0_env.sh
 
</pre>
 
</pre>
  
Line 79: Line 74:
  
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
make {{{kit}}}_defconfig
+
make mx6uldesk_lynx_defconfig
 
make
 
make
 
</pre>
 
</pre>
Line 90: Line 85:
  
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
cp SPL u-boot.img /tftpboot/{{{kit-repo}}}/
+
cp SPL u-boot.img /tftpboot/desk-mx-l/
 
</pre>
 
</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.
+
Please refer to [[AXEL_ULite_SOM/DESK-MX6UL-L/Deployment/Standalone_boot/Storing_boot_images_...|this page]] for more information on how to update the bootloader on your board.
  
  

Revision as of 16:24, 20 April 2021

History
Version Issue Date Notes
1.0.1 Apr 2021 First DESK 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-mx-l-1.0.1
stable tag desk-mx-l-1.x.x

U-Boot defconfigs
Platform SOM ConfigID CB ConfigID 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-mx6-l-1.0.0_env.sh
  • enter the source tree directory and run the following commands:
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.