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

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{subst:Building-U-Boot | nome-som=ORCA | kit-code=MX8M | kit = mx8m | 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.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"|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"|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"|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-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"|[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
Line 34: Line 29:
 
|-
 
|-
 
! stable tag
 
! stable tag
| desk-mx-l-1.x.x
+
| desk-mx-l-2.x.x
 
|}
 
|}
  
Line 45: Line 40:
 
! SOM ConfigID
 
! SOM ConfigID
 
! CB ConfigID
 
! CB ConfigID
! ''defconfig''
+
! defconfig
 +
|-
 +
| SBCX
 +
| 0x00000002
 +
| 0x00001003
 +
| imx8mm_mito8mmini_defconfig
 
|-
 
|-
| <SOM>
+
| SBC ORCA
| 0x000000xx
+
| 0x00000005
| 0x000000xx
+
| 0x00001001
| TBD
+
| imx8mp_mito8mplus_defconfig
 
|}
 
|}
 
</span>
 
</span>
Line 61: Line 61:
  
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
cd {{{kit-repo}}}/u-boot
+
cd desk-mx-l/u-boot
 
</pre>
 
</pre>
  
Line 78: Line 78:
 
*enter the source tree directory and run the following commands:
 
*enter the source tree directory and run the following commands:
  
 +
For [[MITO 8M Mini SOM | MITO 8M Mini]]
 +
<pre class="workstation-terminal">
 +
make imx8mm_mito8mmini_defconfig
 +
make
 +
</pre>
 +
 +
For [[ORCA SOM | ORCA]]
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
make {{{kit}}}_defconfig
+
make imx8mp_mito8mplus_defconfig
 
make
 
make
 
</pre>
 
</pre>
Line 90: Line 97:
  
 
<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-MX8M-L)#Storing_boot_images_...|this page]] for more information on how to update the bootloader on your board.
+
Please refer to [[/DESK-MX8M-L/Deployment/Standalone_boot|this page]] for more information on how to update the bootloader on your board.
  
  
 
----
 
----
  
[[Category:ORCA]]
+
[[Category:MITO 8M]] [[Category:MITO 8M Mini]] [[Category:ORCA]]

Revision as of 16:08, 28 December 2021

History
Version Issue Date Notes
1.0.0 Jan 2022 First DESK-MX8M 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
stable tag desk-mx-l-2.x.x

U-Boot defconfigs
Platform SOM ConfigID CB ConfigID defconfig
SBCX 0x00000002 0x00001003 imx8mm_mito8mmini_defconfig
SBC ORCA 0x00000005 0x00001001 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
  • configure the build environment
source ~/env.sh
  • enter the source tree directory and run the following commands:

For MITO 8M Mini

make imx8mm_mito8mmini_defconfig
make

For ORCA

make imx8mp_mito8mplus_defconfig
make

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

The former command selects the default DESK-MX8M-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.