Open main menu

DAVE Developer's Wiki β

Changes

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

359 bytes added, 13:21, 24 February 2023
no edit summary
!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"|VersionID#
!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"|1.0.0{{oldid|16136|16136}}|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 17/02/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 -L release
|-
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |{{oldid|17541|17541}}
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |24/02/2023
! style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000" |DESK-MX8M-L-2.0.0 release
 
|}
<section end=History/>
|-
! stable branch
| desk-mxmx8m-l-2.x.x
|-
! stable tag
| desk-mx-l-2.x0.x0
|}
| SBCX
| 0x00000002
| 0x000010030x0000100a
| imx8mm_mito8mmini_defconfig
|-
| SBC ORCA
| 0x00000005
| 0x000010010x00001008
| imx8mp_mito8mplus_defconfig
|}
* open a terminal window and ''cd'' into U-Boot source code
<pre class="workstation-terminal">
cd desk-mx-l/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>
 
* checkout the required branch
<pre>
git checkout desk-mx8m-l-2.0.0
</pre>
* configure the build environment
<pre class="workstation-terminal">source ~/envhome/dvdk/desk-mx-l/desk-mx8m-l-2.0.0_env.sh
</pre>
*enter the source tree directory and run the following commands(please refer to the [[#u-boot_defconfigs|U-Boot defconfigs table above]]):
For [[MITO 8M Mini ORCA SOM | MITO 8M MiniORCA]]
<pre class="workstation-terminal">
make imx8mm_mito8mmini_defconfigimx8mp_mito8mplus_defconfig
make
</pre>
For [[ORCA MITO 8M Mini SOM | ORCAMITO 8M Mini]]
<pre class="workstation-terminal">
make imx8mp_mito8mplus_defconfigimx8mm_mito8mmini_defconfig
make
</pre>
 
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|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>cp spl/u-terminal">boot-spl.bin /tftpboot/desk-mx-l/cp SPL u-boot.img bin /tftpboot/desk-mx-l/
</pre>
Please refer to [[/DESK-MX8M-L/Deployment/Standalone_boot|this page]] for more information on how to update the bootloader on your board.
----
 [[Category:MITO 8MORCA]] [[Category:MITO 8M Mini]] [[Category:ORCA]]
8,325
edits