Open main menu

DAVE Developer's Wiki β

Changes

Axel Embedded Linux Kit (XELK)

5,712 bytes added, 17:08, 31 October 2013
no edit summary
|-
|}
 
 
== XELK software components ==
 
Dave adds to the latest Linux BSP from Freescale the customization required to support the Axel platform. For this reason most of the documentation provided by Freescale remains valid for the XELK development kit. However, some customization is required, in particular at bootloader and linux kernel levels.
 
The following table reports the XELK releases information.
{| class="wikitable"
!
!colspan="1" | XELK version
|-
|Release number
|1.0.0
|-
|Status
|Planned
|-
|Release date
|November, 4th 2013
|-
|'''Release notes'''
|[[XELK_1.0.0 | Ver 1.0.0]]
|-
|SOM PCB version
|CS030713
|-
|Supported carrier boards
|[[AxelEVB-Lite]]<br>[[:Category:Dacu | Dacu]]
|-
|U-Boot version
|2013.10-xelk-1.0.0
|-
|Linux version
|3.0.35-xelk-1.0.0
|-
|Drivers
|SPI NOR Flash (boot)<br>UART debug (2-wire)<br>USB Host<br>USB OTG<br>SD/MMC1<br>CAN<br>Touch screen controller<br>EMAC<br>SATA<br>HMDI<br>LVDS1
|-
|Freescale BSP version
|L3.0.35-4.1.0
|}
 
==== XELK microSD Layout ====
 
The microSD provided with XELK is used to store:
* A bootable partition (mmcblk0p1, vfat) containing:
** binary images (u-boot and kernel images)
** XELK documentation
** XELK DVDK virtual machine image
* XELK root file system partition (mmcblk0p2, ext3)
 
 
XELK contains all the required software and documentation to start developing Linux application on the Axel platform. In particular, XELK provides a Virtualbox virtual machine with two emulated disks:
 
* Boot disk with pre-installed Ubuntu Linux 12.04.2 LTS and pre-configured basic Linux services (TFTP, NFS, ...)
* Secondary disk containing source code and tools:
** Bootloader (u-boot) source tree cloned from DAVE's public git repository
** Linux kernel source tree cloned from DAVE's public git repository
** Toolchain
** Root file systems
 
Please note that XELK u-boot and kernel source trees are derived from the official trees released by Freescale; these trees have been customized to add support for the Axel SOM.
 
=== XELK Updates ===
 
{{ImportantMessage|text=It's recommended to use the latest available XELK version. Please refer to [[Release notes | Release notes]] for further information.}}
 
==== Updating git repositories ====
 
In XELK, the following source trees are clones of DAVE's public git repositories:
 
{| class="wikitable"
|-
!| Component
!GIT Remote
!XELK Installation Directory
|-
|Linux
|git@git.dave.eu:dave/axel/linux-2.6-imx.git
|/home/dvdk/xelk/linux-2.6-imx
|-
|U-Boot
|git@git.dave.eu:dave/diva/u-boot-imx.git
|/home/dvdk/xelk/u-boot-imx
|-
|}
 
This means that these components can be kept in sync and up to date with DAVE's repositories.
 
==== RSA key generation ====
 
Please follow the procedure reported below to generate the RSA ssh key:
 
* select your username (ad es. username@myhost.com)
* start the DVDK and login into the virtual machine
* start a shell session
* enter the .ssh subdirectory into your home directory: <code>cd ~/.ssh/</code>
* launch the following command: <br><pre>ssh-keygen -t rsa -C "username@myhost.com"</pre>
* this command creates the files <code>~/.ssh/username@myhost.com</code> ('''private key''') and <code>~/.ssh/username@myhost.com.pub</code> ('''public key''')
* edit your <code>~/.ssh/config</code> adding the following lines:
 
<pre>
Host git.dave.eu
User git
Hostname git.dave.eu
PreferredAuthentications publickey
IdentityFile ~/.ssh/username@myhost.com.pub
</pre>
 
Please send the public key file to one of the following email support addresses (depending on which SOM is included in your kit version)
 
* [mailto:support-axel@dave.eu support-diva@dave.eu]
 
with the request for the creation of a new public git account associated to your username. The support team will enable the account and send you a confirmation as soon as possible.
 
==== Synchronizing the repository ====
 
When the account is enabled, you can synchronize a source tree entering the repository directory and launching the <code>git fetch</code> command, like in the following example:
 
<pre class="workstation-terminal">
dvdk@dvdk-vm:~$ cd /home/dvdk/xelk/linux-2.6-imx/
dvdk@dvdk-vm:/home/dvdk/xelk/linux-2.6-imx$ git fetch origin
</pre>
 
Please note that <code>git fetch</code> doesn't merge the commits on the current branch. To do that, you should run
 
<pre class="workstation-terminal">
git merge origin/axel
</pre>
 
or replace the ''fetch-merge'' process with a single <code>git pull</code> command. Please note that the recommended method is the ''fetch-merge'' process. For further information on Git, please refer to [http://git-scm.com/documentation Git Documentation].
 
== Release notes ==
 
=== XELK 1.0.0 ===
 
* Release date: November, 4th 2013
* Status: planned
* Freescale Linux BSP: L3.0.35-4.1.0
* Supported carrier boards: AxelEVB-Lite on Dacu
 
==== Notes ====
 
* First official release
 
==== Known Limitations ====
 
The following table reports the known limitations of this XELK release:
 
{| class="wikitable"
|-
!Issue
!Description
|-
|Boot modes
|This kit version supports boot from USB (for recovery purpose) and from SPI nor flash. Other boot devices (MicroSD, NAND flash, ..) will be available on a future release.
|-
|CPU cores
|Max 2 cores. 3rd and 4th cores will be available on a future release.
|-
|USB OTG
|Verified in Host and Device modes
|-
|Reboot from software
|Rebooting the system from software (eg: launching the reboot command from Linux user space) can lead to a system lock. To solve it, reset the board with the dedicated button (S10)
|-
|Ethernet
|Verified speeds: 1 Gbps and 100 Mbps
|-
|CAN
|Maximum supported speed: 500 kbps
|-
|Touch controller
|Touch events are detected, but touch point is not resolved with precision
|-
|}
 
 
 
==Related Documents ==