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

From DAVE Developer's Wiki
< DESK-MX6UL-L
Revision as of 16:18, 20 April 2021 by U0007 (talk | contribs) (Created page with "{{subst:Building-U-Boot | nome-som=AXEL ULite | kit-code=MX6UL | kit = mx6ul | kit-repo = desk-mx-l}}")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
History
Version Issue Date Notes
X.Y.Z Month Year TBD
[TBD_link X.Y.Z] Month Year TBD



Building U-Boot[edit | edit source]

Quick reference[edit | edit source]

Repository Information
URL git@git.dave.eu:desk-mx-l/u-boot-TBD.git
stable branch desk-mx-l
stable tag desk-mx-l-1.x.x

U-Boot defconfigs
Platform SOM ConfigID CB ConfigID defconfig
<SOM> 0x000000xx 0x000000xx TBD

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 {{{kit-repo}}}/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:
make {{{kit}}}_defconfig
make

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

The former command selects the default DESK-MX6UL-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/{{{kit-repo}}}/

Please refer to this page for more information on how to update the bootloader on your board.