Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
!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/xx30|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-MX9-L -5.0.0 release
|-
|}
<section end=History/>
__FORCETOC__
<section begin=Body/>
 
''Fare riferimento a [[DESK-MX8M-L/Development/Building_Boot_Image | Building Boot Image]] ed apportare le modifiche del caso a seconda del modo di gerenazione della Boot Image''
 
<section begin=Body/>
==Building Boot Image==
{{ImportantMessage|text=The following procedure may be used just during the development stage (as an example, for modifying and testing just some part of the overall binary like u-boot).
 
The Yocto build should be used for creating the deployment or production binary artifacts.}}
===Quick reference===
|-
! URL
| git@git.dave.eu:desk-mx-l/desku-mx8boot-mkimageimx.git
|-
! stable branch
|}
...
...
...
To build the boot binary are pretty complex, are need too much component and it could be change if are using the <code>optee</code> features or other security features.
 
To make an easier boot binary build use yocto build system.
 
Before execute the setup of yocto, see [[DESK-MX9-L/Development/Building_the_Yocto_BSP | there]].
 
Each time there are some changes on u-boot update the reference of u-boot on yocto recipe, you can 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 update the follow variables:
 
* <code>SRCREV:pn-u-boot-desk</code>
* <code>SRCBRANCH:pn-u-boot-desk</code>
* <code>UBOOT_SRC:pn-u-boot-desk</code>
 
to use different repository/branch and revision.
 
After to update the u-boot sources execute the build of boot binary with follow step
 
* Setup yocto environment if not already up.
* Execute the build of boot binary with follow command <code>bitbake imx-boot</code>.
* The binary generated are on <code>tmp/deploy/images/<machine-name>/imx-boot</code>.
<section end=Body/>
dave_user
201
edits