Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
<section begin="History" />
{| style="border-collapse:collapse; "
!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"|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"|2024/01/30|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-MX9-L-5.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:#ededed; padding:5px; color:#000000" |2024/04/09| 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-MX9-L-5.1.0 release
|-
|}
<section end="History" /> 
__FORCETOC__
==Building Boot Image== 
===Quick reference===
{| class="wikitable" border="1"
!colspan="2"|Repository Information
|-
! URL
|-
! stable tag
| desk-mx9-l-5.01.0
|}
=== Build boot image ===
To build the binary boot binary are Image is pretty complex, are need too . Too much component are needed and it could be the image structure may change if are using the <code>optee</code> features or other security featuresare used.
To make an easier boot binary Image build we '''strongly''' suggest to use yocto the Yocto build system.
Before execute the setup of yoctoYocto, see [[DESK-MX9-L/Development/Building_the_Yocto_BSP | therethis page]].
Each time there are some changes on u-boot update , the reference of u-boot on yocto recipe, you can edit references in the Yocto recipes have to be changed. Edit the u-boot reference on:
* <code>sources/meta-desk-mx/recipes-bsp/u-boot/u-boot-desk_git.bb</code>
* <code>sources/meta-desk-mx/conf/machine/include/desk-common-mx93.inc</code>
* <code>build-*/conf/local.conf</code>
Remember to update the follow variables:
* <code>SRCREV:pn-u-boot-desk</code>
* <code>UBOOT_SRC:pn-u-boot-desk</code>
to use the different repository/branch and revision. After the u-boot sources has been updated, execute the build of boot binary with the following steps
After to update * setup the u-boot sources Yocto environment if not already up* execute the build of boot binary with follow stepcommand <code>bitbake imx-boot</code>.* the binary generated is present on <code>tmp/deploy/images/<machine-name>/imx-boot</code>.
* Setup yocto environment if not already up.* Execute the build of === Flash boot binary with follow command <code>bitbake imx-boot</code>.* The binary generated are on <code>tmp/deploy/images/<machine-name>/imx-boot</code>.image ===
To flash the boot image on uSD execute the following steps:* connect the uSD to the MVM* get the device name with <section endcode>lsblk</code> command.* flash the binary to the uSD with follow command <code>sudo dd if=imx-boot.bin of=/dev/sdX bs=Body1k seek=32 conv=fsync</code> (replace <code>sdX</code>with your device)
<section end="Body" />
[[Category:AURA]]
dave_user
226
edits