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

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "== History == {| class="wikitable" border="1" !Version !Date !SDVX version !Notes |- |1.0.0 |September 2018 |SDVX 1.0.0 |}")
 
Line 10: Line 10:
 
|SDVX 1.0.0
 
|SDVX 1.0.0
 
|}
 
|}
 +
 +
== Quick reference ==
 +
<span id="u-boot_defconfigs">
 +
 +
{| class="wikitable" border="1"
 +
|+U-Boot defconfigs
 +
|-
 +
! Platform
 +
! SOM ConfigID
 +
! defconfig
 +
|-
 +
| SDVX-Lite
 +
| mx6dlaxel_defconfig
 +
|-
 +
| Axel Q
 +
| any
 +
| mx6qaxel_defconfig
 +
|}
 +
</span>
 +
 +
== 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
 +
 +
<pre class="workstation-terminal">
 +
cd sdvx/u-boot
 +
</pre>
 +
 +
* in case of needs you can update your local repository with the following git command
 +
 +
<pre class="workstation-terminal">
 +
git pull
 +
</pre>
 +
 +
* configure the build environment
 +
 +
<pre class="workstation-terminal">
 +
source ~/env-lite.sh
 +
</pre>
 +
 +
*enter the source tree directory and run the following commands:
 +
 +
<pre class="workstation-terminal">
 +
make mx6dl_sfczg_defconfig
 +
make
 +
</pre>
 +
 +
NOTE: this is the default configuration suitable for latest SDVX-Lite.
 +
 +
:The former command selects the default SDVXconfiguration 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>).
 +
 +
u-boot.imx can be copied to the tftp root directory <code>/tftpboot/axel/</code> with the following command:
 +
 +
<pre class="workstation-terminal">
 +
cp u-boot.imx /tftpboot/axel/
 +
</pre>

Revision as of 15:34, 5 September 2018

History[edit | edit source]

Version Date SDVX version Notes
1.0.0 September 2018 SDVX 1.0.0

Quick reference[edit | edit source]

U-Boot defconfigs
Platform SOM ConfigID defconfig
SDVX-Lite mx6dlaxel_defconfig
Axel Q any mx6qaxel_defconfig

Detailed Instructions[edit | edit source]

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 sdvx/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-lite.sh
  • enter the source tree directory and run the following commands:
make mx6dl_sfczg_defconfig
make

NOTE: this is the default configuration suitable for latest SDVX-Lite.

The former command selects the default SDVXconfiguration suitable for latest Axel targets (for additional defconfig please refer to the U-Boot defconfigs table above), while the latter builds the U-Boot binary image itself (u-boot.imx).

u-boot.imx can be copied to the tftp root directory /tftpboot/axel/ with the following command:

cp u-boot.imx /tftpboot/axel/