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

From DAVE Developer's Wiki
Jump to: navigation, search
(Created page with "{{InfoBoxTop}} {{AppliesToAXELULite}} {{AppliesToSBCLynx}} {{InfoBoxBottom}} == History == {| class="wikitable" border="1" !Version !Date !XUELK version !Notes |- |1.0.0 |Au...")
 
Line 34: Line 34:
 
|}
 
|}
  
{| class="wikitable" border="1" <div id="uboot_defconfigs"></div>
+
<span id="u-boot_defconfigs">
 +
 
 +
{| class="wikitable" border="1"
 
|+U-Boot defconfigs
 
|+U-Boot defconfigs
 
|-
 
|-
Line 52: Line 54:
 
| mx6ul_axelulite_defconfig
 
| mx6ul_axelulite_defconfig
 
|}
 
|}
 
+
</span>
  
 
== Detailed Instructions ==
 
== Detailed Instructions ==
Line 80: Line 82:
 
NOTE: this is the default configuration suitable for latest SBC Lynx target.
 
NOTE: this is the default configuration suitable for latest SBC Lynx target.
  
:The former command selects the default XUELK configuration suitable for latest SBC Lynx targets (for additional defconfig please refer to the ''U-Boot defconfigs'' table above), while the latter builds the U-Boot binary image itself (<code>u-boot.img</code>).
+
:The former command selects the default XUELK configuration suitable for latest SBC Lynx 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.img</code>).
  
 
u-boot.img can be copied to the tftp root directory <code>/tftpboot/lynx/</code> with the following command:
 
u-boot.img can be copied to the tftp root directory <code>/tftpboot/lynx/</code> with the following command:

Revision as of 08:08, 29 August 2016

Info Box
AXEL ULite-top.png Applies to AXEL ULite
SBC Lynx-top.png Applies to SBC Lynx

History[edit | edit source]

Version Date XUELK version Notes
1.0.0 August 2015 XUELK 1.0.0

Quick reference[edit | edit source]

Repository Information
URL git@git.dave.eu:lynx/u-boot-imx.git
stable branch lynx
stable tag xuelk-1.0.0

U-Boot defconfigs
Platform SOM ConfigID CB ConfigID defconfig
SBC Lynx 0x00000008, 0x0000000C N/A mx6ul_lynx_defconfig
Axel ULite 0x0000000B any mx6ul_axelulite_defconfig

Detailed 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 lynx/u-boot
  • in case of needs you can update your local repository with the following git command
git pull


  • enter the source tree directory and run the following commands:
make mx6ul_lynx_defconfig
make

NOTE: this is the default configuration suitable for latest SBC Lynx target.

The former command selects the default XUELK configuration suitable for latest SBC Lynx 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.img).

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

cp u-boot.img /tftpboot/lynx/

Please refer to Flashing Images (XUELK)#U-Boot for more information in how to update the bootloader on you board.