Open main menu

DAVE Developer's Wiki β

Changes

Building U-Boot (DIVELK)

1,911 bytes added, 13:42, 19 June 2017
Created page with "{{InfoBoxTop}} {{AppliesToDIVA}} {{InfoBoxBottom}} == History == {| class="wikitable" border="1" !Version !Date !DIVELK version !Notes |- |3.0.0 |June 2017 |AXEL_ULite_and..."
{{InfoBoxTop}}
{{AppliesToDIVA}}
{{InfoBoxBottom}}

== History ==

{| class="wikitable" border="1"
!Version
!Date
!DIVELK version
!Notes
|-
|3.0.0
|June 2017
|[[AXEL_ULite_and_SBC_Lynx_Embedded_Linux_Kit_(XUELK)#XUELK_1.0.0|DIVELK 3.0.0]]
|DIVELK release
|-
|}

== Quick reference ==

{| class="wikitable" border="1"
|+Repository Information
|-
! URL
| git@git.dave.eu:dave/diva/u-boot-am33x.git
|-
! stable branch
| diva
|-
! stable tag
| divelk-3.0.0
|}

<span id="u-boot_defconfigs">

{| class="wikitable" border="1"
|+U-Boot defconfigs
|-
! Platform
! SOM ConfigID
! CB ConfigID
! defconfig
|-
| DIVELK
| 0x00000001
| 0x00000001
| make diva_defconfig
|-
| SBCD
| 0x00000001
| 0x00000002
| make diva_defconfig
|}
</span>

== Detailed Instructions ==

It is assumed that the development environment has been set up properly as described [[Diva_Embedded_Linux_Kit_(DIVELK)#Quick_start_guide|here]].
* 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 diva/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>


*enter the source tree directory and run the following commands:

<pre class="workstation-terminal">
make diva_defconfig
make
</pre>

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

:The former command selects the default DIVA configuration suitable for latest DIVELK targets , 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/diva/</code> with the following command:

<pre class="workstation-terminal">
cp u-boot.img /tftpboot/diva/
</pre>

Please refer to [[Flashing Images (DIVELK)#U-Boot]] for more information in how to update the bootloader on you board.
8,221
edits