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

From DAVE Developer's Wiki
< DESK-MX8M-L
Revision as of 13:21, 24 February 2023 by U0007 (talk | contribs)

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
History
ID# Issue Date Notes

16136

17/02/2022 First DESK-MX8M-L release

17541

24/02/2023 DESK-MX8M-L-2.0.0 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-mx8m-l-2.x.x
stable tag desk-mx-l-2.0.0

U-Boot defconfigs
Platform SOM ConfigID CB ConfigID defconfig
SBCX 0x00000002 0x0000100a imx8mm_mito8mmini_defconfig
SBC ORCA 0x00000005 0x00001008 imx8mp_mito8mplus_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
  • checkout the required branch
git checkout desk-mx8m-l-2.0.0
  • configure the build environment
source /home/dvdk/desk-mx-l/desk-mx8m-l-2.0.0_env.sh

For ORCA

make imx8mp_mito8mplus_defconfig
make

For MITO 8M Mini

make imx8mm_mito8mmini_defconfig
make

Binary files can be copied to the tftp root directory /tftpboot/desk-mx-l/ with the following command:

cp spl/u-boot-spl.bin /tftpboot/desk-mx-l/
cp u-boot.bin /tftpboot/desk-mx-l/

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