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

From DAVE Developer's Wiki
Jump to: navigation, search
Line 10: Line 10:
 
|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"|Jan 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"|Jan 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"|First DESK-MX8M 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"|First DESK-MX8M 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"|2.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"|Feb 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-MX8M-L-2.0.0 release
 
|-
 
|-
 
|}
 
|}
Line 26: Line 30:
 
|-
 
|-
 
! stable branch
 
! stable branch
| desk-mx-l
+
| desk-mx8m-l-rel-2.0.0
 
|-
 
|-
 
! stable tag
 
! stable tag
| desk-mx-l-2.x.x
+
| desk-mx-l-2.0.0
 
|}
 
|}
  
Line 49: Line 53:
 
| SBC ORCA
 
| SBC ORCA
 
| 0x00000005
 
| 0x00000005
| 0x00001001
+
| 0x00001008
 
| imx8mp_mito8mplus_defconfig
 
| imx8mp_mito8mplus_defconfig
 
|}
 
|}
Line 72: Line 76:
 
* checkout the required branch
 
* checkout the required branch
 
<pre>
 
<pre>
git checkout desk-mx8m-l-rel-2.0.0  
+
git checkout desk-mx8m-l-2.0.0  
 
</pre>
 
</pre>
  
Line 78: Line 82:
  
 
<pre>
 
<pre>
source /home/dvdk/desk-mx-l/desk-mx8m-l-2.0.0-rc2_env.sh
+
source /home/dvdk/desk-mx-l/desk-mx8m-l-2.0.0_env.sh
 
</pre>
 
</pre>
  

Revision as of 11:31, 14 February 2023

History
Version Issue Date Notes
1.0.0 Jan 2022 First DESK-MX8M release
2.0.0 Feb 2023 DESK-MX8M-L-2.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-mx8m-l-rel-2.0.0
stable tag desk-mx-l-2.0.0

U-Boot defconfigs
Platform SOM ConfigID CB ConfigID defconfig
SBCX 0x00000002 0x00001003 imx8mm_mito8mmini_defconfig
SBC ORCA 0x00000005 0x00001008 imx8mp_mito8mplus_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
  • checkout the required branch
git checkout desk-mx8m-l-2.0.0 
  • configure the build environment
source /home/dvdk/desk-mx-l/desk-mx8m-l-2.0.0_env.sh

For ORCA

make imx8mp_mito8mplus_defconfig
make

For MITO 8M Mini

make imx8mm_mito8mmini_defconfig
make

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

cp spl/u-boot-spl.bin /tftpboot/desk-mx-l/
cp u-boot.bin /tftpboot/desk-mx-l/

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