Difference between revisions of "Building U-Boot (XELK)"

From DAVE Developer's Wiki
Jump to: navigation, search
(Detailed Instructions)
 
(3 intermediate revisions by the same user not shown)
Line 44: Line 44:
 
|
 
|
 
|-
 
|-
|3.0.1
+
|{{oldid|7339|3.0.1}}
 
|Nov 2017
 
|Nov 2017
 
|[[Axel_Embedded_Linux_Kit_(XELK)#XELK 3.0.1 | XELK 3.0.1]]
 
|[[Axel_Embedded_Linux_Kit_(XELK)#XELK 3.0.1 | XELK 3.0.1]]
 +
|
 +
|-
 +
|4.0.0
 +
|July 2019
 +
|[[Axel_Embedded_Linux_Kit_(XELK)#XELK 4.0.0 | XELK 4.0.0]]
 
|
 
|
 
|-
 
|-
Line 63: Line 68:
 
|-
 
|-
 
! stable tag
 
! stable tag
| xelk-3.0.1
+
| xelk-4.0.0
 
|}
 
|}
  
Line 77: Line 82:
 
| Axel DualLite
 
| Axel DualLite
 
| any
 
| any
| mx6dlaxel_defconfig
+
| mx6qdlaxel_defconfig
 
|-
 
|-
 
| Axel Q
 
| Axel Q
 
| any
 
| any
| mx6qaxel_defconfig
+
| mx6qdlaxel_defconfig
 
|}
 
|}
 
</span>
 
</span>
Line 110: Line 115:
  
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
make mx6dlaxel_defconfig
+
make mx6qdlaxel_defconfig
 
make
 
make
 
</pre>
 
</pre>
  
NOTE: this is the default configuration suitable for latest Axel Dual Lite.
 
  
:The former command selects the default XELK configuration suitable for latest Axel targets (for additional defconfig please refer to the [[#u-boot_defconfigs|U-Boot defconfigs table above]]), while the latter builds the U-Boot binary image itself (<code>u-boot.imx</code>).
+
:The former command selects the default XELK configuration suitable for latest Axel targets, while the latter builds the U-Boot binary image files (<code>SPL</code> and <code>u-boot.img</code>).
  
u-boot.imx can be copied to the tftp root directory <code>/tftpboot/axel/</code> with the following command:
+
Binary files can be copied to the tftp root directory <code>/tftpboot/axel/</code> with the following command:
  
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
cp u-boot.imx /tftpboot/axel/
+
cp SPL u-boot.img /tftpboot/axel/
 
</pre>
 
</pre>

Latest revision as of 14:43, 12 July 2019

Info Box
Axel-04.png Applies to Axel Ultra
Axel-lite 02.png Applies to Axel Lite
Axel-02.png Applies to AXEL ESATTA
SBC-AXEL-02.png Applies to SBC AXEL

History

Version Date XELK version Notes
1.0.0 Nov 2013 XELK 1.0.0
1.2.0 May 2014 XELK 1.2.0
2.0.0 Nov 2014 XELK 2.0.0
2.1.0 May 2015 XELK 2.1.0
2.2.0 Feb 2016 XELK 2.2.0
2.3.1 Oct 2016 XELK 2.3.1

3.0.1

Nov 2017 XELK 3.0.1
4.0.0 July 2019 XELK 4.0.0

Quick reference

Repository Information
URL git@git.dave.eu:axel/u-boot-imx.git
stable branch axel
stable tag xelk-4.0.0

U-Boot defconfigs
Platform SOM ConfigID defconfig
Axel DualLite any mx6qdlaxel_defconfig
Axel Q any mx6qdlaxel_defconfig

Detailed Instructions

It is assumed that the development environment has been set up.

  • start the Linux development VM and login into the system
  • open a terminal window and cd into U-Boot source code
cd axel/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 mx6qdlaxel_defconfig
make


The former command selects the default XELK configuration suitable for latest Axel targets, 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/axel/ with the following command:

cp SPL u-boot.img /tftpboot/axel/