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

From DAVE Developer's Wiki
Jump to: navigation, search
(Quick reference)
m (U0009 moved page AXEL Lite SOM/DESK-MX6-L/Development/Building U-Boot to DESK-MX6-L/Development/Building U-Boot: modifica gestione DESK come prodotto a se stante)
(No difference)

Revision as of 14:25, 16 July 2021

History
Version Issue Date Notes
1.0.0 Apr 2021 First DESK 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-1.x.x
stable tag desk-mx6-l-1.0.0

U-Boot defconfigs
Platform SOM ConfigID CB ConfigID Building-U-Boot
SBCX 0x00000003 0x00000012 mx6qdldesk_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 ~/desk-mx6-l-1.0.0_env.sh
  • enter the source tree directory and run the following commands:
make mx6qdldesk_defconfig
make

NOTE: this is the default configuration suitable for latest AXEL Lite target.

The former command selects the default DESK-MX6-L configuration suitable for latest AXEL Lite 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.