Axel Embedded Linux Kit (XELK) 3.0.0 RC1 Release Notes

From DAVE Developer's Wiki
Jump to: navigation, search


History

Date XELK version Notes
February 2017 3.0.0 about XELK-3.0.0-rc1


Repository Information

Please note that access to DAVE Embedded Systems' repository is restricted to registered users. Follow the instruction on this page for more information about this topic.

The repository information is summarized into the following table:

Component URI Branch TAG/SHA1
U-Boot git@git.dave.eu:axel/u-boot-imx.git axel xelk-2.3.1
Linux Kernel git@git.dave.eu:axel/linux-2.6-imx.git axel-rel-3.0.0 xelk-3.0.0-rc2
Axel Yocto Layer git@git.dave.eu:axel/meta-axel.git axel-krogoth xelk-3.0.0-rc2
Axel Yocto BSP git@git.dave.eu:axel/axel-bsp.git axel-krogoth xelk-3.0.0-rc1


Known Limitation and issue

  • This release has not yet passed all production tests and thus is not ready for on-field usage
  • Only SBCX (Carrier board ConfigID 0012 and 0013) is supported
  • u-boot 2016.03-xelk-3.0.0 is not yet ready for evaluation, however u-boot 2013.04 xelk-2.3.1 can be used to boot this version of kernel/root file system without any problem
  • Older u-boot releases (like u-boot 2013.04 xelk-2.3.1) cannot be build directly with Krogoth. For this reason:
    • user must build the bootloader with an older XELK release
    • user must choose a different target to let the Yocto build process complete successfully (see the corresponding section below for more information)

Linux kernel

To build XELK-3.0.0 kernel, configure your environment to use the Yocto toolchain resulting from XELK-3.0.0 XELK Yocto BSP build.


After cloning the repository and checking out the right branch/tag, user can build the kernel using the following commands:

make imx_v7_axel_defconfig
make UIMAGE_LOADADDR=0x10008000 uImage mx6q-sbcx-cb0012.dtb imx6dl-sbcx-cb0012.dtb mx6q-sbcx-cb0013.dtb imx6dl-sbcx-cb0013.dtb


Yocto BSP

This is a quickstart guide to build Yocto BSP for Axel SOMs, to rebuild the binaries (u-boot, linux kernel, root file system) provided with XELK releases.

For more information regarding Yocto build system, go to its dedicated category page

Build System prerequisite

Please read the Yocto manual setup section for a list of supported Linux distribution and their configuration.

DAVE Embedded System uses a standard Ubuntu 14.04 LTS Server 64 bit distribution plus the following additional packages:

$ sudo apt-get install awk wget git-core diffstat unzip texinfo gcc-multilib \
     build-essential chrpath socat libsdl1.2-dev xterm

Build AXEL Yocto BSP

AXEL Yocto BSP uses git-repo tool to fetch all the required git repositories to build

dvdk@dvdk-vm:~/xelk$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo > repo
dvdk@dvdk-vm:~/xelk$ chmod a+x repo
dvdk@dvdk-vm:~/xelk$ ./repo init -u git@git.dave.eu:axel/axel-bsp.git -b axel-krogoth
dvdk@dvdk-vm:~/xelk$ ./repo sync
dvdk@dvdk-vm:~/xelk$ cp sources/meta-fsl-bsp-release/imx/EULA.txt sources/meta-axel/EULA
dvdk@dvdk-vm:~/xelk$ DISTRO=fsl-imx-wayland MACHINE=imx6qsbcx source axel-setup-release.sh -b build-wayland

User now need to customize the conf/local.conf file to use the latest release candidate of the kernel and build the bootloader for another machine (see know issue above)

Put the following lines at the end of the automatically-generated local.conf:

SRCBRANCH_pn-linux-axel = "axel-rel-3.0.0"
SRCREV_pn-linux-axel = "c88ce5344dd82de91df8f7dc787a1724c226ac4f"
UBOOT_MACHINE = "mx6qsabresd_config"

Now you can build the image as usual:

dvdk@dvdk-vm:~/xelk/build-wayland$ bitbake fsl-image-qt5