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

From DAVE Developer's Wiki
Jump to: navigation, search
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
{{InfoBoxTop}}
 +
{{Applies To SDVX}}
 +
{{InfoBoxBottom}}
 +
 
== History ==
 
== History ==
 
{| class="wikitable" border="1"
 
{| class="wikitable" border="1"
Line 9: Line 13:
 
|September 2018
 
|September 2018
 
|SDVX 1.0.0
 
|SDVX 1.0.0
 +
|
 
|}
 
|}
  
 
== Quick reference ==
 
== Quick reference ==
<span id="u-boot_defconfigs">
+
{| class="wikitable" border="1"
 +
|+Repository Information
 +
|-
 +
! URL
 +
| git@git.dave.eu:sdvx/u-boot-imx.git
 +
|-
 +
! stable branch
 +
| sdvx
 +
|-
 +
! stable tag
 +
| sdvx-1.0.0
 +
|}
  
{| class="wikitable" border="1"
+
====== '''SDVx-Lite''' ======
|+U-Boot defconfigs
+
 
 +
 
 +
{| class="wikitable"
 +
!SOM ConfigID
 +
!TARGET
 +
!defconfig
 +
|-
 +
|0x00000001
 +
|MMC
 +
|mx6dl_sfczg_defconfig
 +
|-
 +
|0x00000001
 +
|MMC
 +
|mx6dl_sfczg_devel_defconfig
 
|-
 
|-
! Platform
+
|0x00000001
! SOM ConfigID
+
|NAND
! defconfig
+
|vmx6dl_sfczg_nand_defconfig
 +
|}
 +
 
 +
====== <span id="u-boot_defconfigs lite"> '''SDVx-Ul'''</span> ======
 +
{| class="wikitable"
 +
!SOM ConfigID
 +
!TARGET
 +
!defconfig
 
|-
 
|-
| SDVX-Lite
+
|0x0000001d
| mx6dlaxel_defconfig
+
|MMC
 +
|mx6ul_sfczg_defconfig
 
|-
 
|-
| Axel Q
+
|0x0000001d
| any
+
|MMC
| mx6qaxel_defconfig
+
|mx6ul_sfczg_devel_defconfig
 
|}
 
|}
</span>
 
  
 
== Detailed Instructions ==
 
== Detailed Instructions ==
Line 40: Line 76:
 
</pre>
 
</pre>
  
* in case of needs you can update your local repository with the following git command
+
* in case of needs, you can update your local repository with the following git command
  
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
Line 61: Line 97:
 
NOTE: this is the default configuration suitable for latest SDVX-Lite.
 
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>).
+
:The former command selects the default SDV04 configuration suitable for latest SDVx 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:
+
u-boot.imx can be copied to the TFTP root directory <code>/tftpboot/sdvx/</code> with the following command:
  
 
<pre class="workstation-terminal">
 
<pre class="workstation-terminal">
cp u-boot.imx /tftpboot/axel/
+
cp u-boot.imx /tftpboot/sdvx/
 
</pre>
 
</pre>

Latest revision as of 16:30, 17 September 2018

Info Box
SDVX.png Applies to SDVX

History[edit | edit source]

Version Date SDVX version Notes
1.0.0 September 2018 SDVX 1.0.0

Quick reference[edit | edit source]

Repository Information
URL git@git.dave.eu:sdvx/u-boot-imx.git
stable branch sdvx
stable tag sdvx-1.0.0
SDVx-Lite[edit | edit source]
SOM ConfigID TARGET defconfig
0x00000001 MMC mx6dl_sfczg_defconfig
0x00000001 MMC mx6dl_sfczg_devel_defconfig
0x00000001 NAND vmx6dl_sfczg_nand_defconfig
SDVx-Ul[edit | edit source]
SOM ConfigID TARGET defconfig
0x0000001d MMC mx6ul_sfczg_defconfig
0x0000001d MMC mx6ul_sfczg_devel_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 SDV04 configuration suitable for latest SDVx 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/sdvx/ with the following command:

cp u-boot.imx /tftpboot/sdvx/