Difference between revisions of "HummingBoard"
Leon.anavi (talk | contribs) (→Build & Run) |
Matt Porter (talk | contribs) m (Add Yocto category) |
||
Line 91: | Line 91: | ||
* [https://community.freescale.com/docs/DOC-95380 Building Wayland 1.1.0 and Weston 1.1.1 for i.MX6] | * [https://community.freescale.com/docs/DOC-95380 Building Wayland 1.1.0 and Weston 1.1.1 for i.MX6] | ||
* [https://github.com/RayBloodworth/porting_tizen_to_imx6q Porting Tizen to imx6q] | * [https://github.com/RayBloodworth/porting_tizen_to_imx6q Porting Tizen to imx6q] | ||
+ | |||
+ | [[Category:{Yocto}]] |
Revision as of 07:36, 31 March 2015
HummingBoard is an ARM development board with Freescale i.MX6 (ARMv7 architecture) manufactured by SolidRun. Its technical specifications are similar to SolidRun series of small computers Cubox-i. The following models of the board are available: HummingBoard-i1, HummingBoard-i2, and HummingBoard-i2eX.
Contents
Getting Started
The following OS image are provided from SolidRun:
- OPENELEC – A Kodi Media Center
- Android
- GeexBox XBMC – A Kodi Media Center
- Debian Linux by Igor Pečovnik
For more information please visit SolidRun download page.
Yocto
The following tutorial for build a Linux based distribution for HummingBoard (or Cubox-i) with Yocto is based on this article.
Prepare
- Download Poky
git clone -b dizzy git://git.yoctoproject.org/poky.git
- Download Freescale layers
cd poky git clone -b dizzy git://git.yoctoproject.org/meta-fsl-arm git clone -b dizzy git://github.com/Freescale/meta-fsl-arm-extra.git
- Initialize build directory
source oe-init-build-env
Configure
local.conf
Perform the following modifications of conf/local.conf:
- Change machine type to cubox-i:
MACHINE ??= "cubox-i"
- Append the following additional configurations:
PACKAGE_CLASSES ?= "package_rpm" ACCEPT_FSL_EULA = "1" LICENSE_FLAGS_WHITELIST = "commercial"
- Optionally change the following settings to optimize the build depending on the hardware specifications of your build system:
PARALLEL_MAKE ?= "-j 4" BB_NUMBER_THREADS ?= "4"
- Optionally append the following configuration if you are building Wayland and Weston
DISTRO_FEATURES_remove = "x11"
- Optionally append the following configuration if you want to save disk space by deleting temporary files after the build
INHERIT += "rm_work"
bblayers.conf
Append the following two lines to BBLAYERS at conf/bblayers.conf:
/home/test/poky/meta-fsl-arm \ /home/test/poky/meta-fsl-arm-extra \
Build & Run
- Run the following command to build a minimal image:
bitbake core-image-minimal
- Alternatively, run the following command to build an image with Wayland and Weston:
bitbake core-image-weston
- The build may take up to several hours depending on the technical specifications of the build system. Grab a cup of coffee and when the image is ready go to tmp/deploy/images/cubox-i/. Replace X with the corresponding letter to a microSD card and copy the image to it using the following commands:
cd tmp/deploy/images/cubox-i/ umount /dev/sdX* dd if=core-image-weston-cubox-i.sdcard of=/dev/sdX bs=4M conv=fsync
Tizen
There are ongoing efforts for porting Tizen:Common and Tizen IVI with Wayland, Weston and Crosswalk on HummingBoard:
- Building Tizen with Yocto for HummingBoard
- Building Wayland and Weston on Tizen Device with Freescale i.MX6 SoC
Useful Resources
- Building the kernel and u-boot for the CuBox-i and the HummingBoard
- Using the CuBox-i with OpenEmbedded/Yocto
- Building Wayland 1.1.0 and Weston 1.1.1 for i.MX6
- Porting Tizen to imx6q
[[Category:{Yocto}]]