Target: Haswell/Ivy CPU
# Create your working directory
+
Create a working directory (for example "${HOME}/yocto","/mnt/ssd","/tmp"):
+
WORKINGDIR=${HOME}/yocto
mkdir -p ${WORKINGDIR}
cd ${WORKINGDIR}
# Download sources
-Downlaod Poky (patched version for rpm 4 support):
+Downlaod Poky (tmp fork, poky is patched version for rpm 4 support):
+
git clone git@github.com:eurogiciel-oss/poky.git
Download Intel layers:
+
git clone git://git.yoctoproject.org/meta-intel
Download openembedded layers:
Download tizen layer:
- git clone git@github.com:eurogiciel-oss/meta-tizen.git
+ git clone ssh://${YOURID}@review.tizen.org:29418/scm/bb/meta-tizen
# Configuration
Configure the environment:
+
BUILDID="alice"
cd ${WORKINGDIR}/poky
source ./oe-init-build-env build-${BUILDID}
BBPATH = "${TOPDIR}"
BBFILES ?= ""
- WORKINGDIR=${HOME}/yocto
+ WORKINGDIR="${HOME}/yocto"
BBLAYERS ?= " \
${WORKINGDIR}/poky/meta \
${WORKINGDIR}/poky/meta-yocto \
${WORKINGDIR}/poky/meta-yocto-bsp \
${WORKINGDIR}/meta-intel \
- ${WORKINGDIR}/meta-intel/meta-isg/meta-haswell-wc \
${WORKINGDIR}/meta-openembedded/meta-efl \
${WORKINGDIR}/meta-openembedded/meta-oe \
${WORKINGDIR}/meta-openembedded/meta-multimedia \
${WORKINGDIR}/meta-tizen \
"
#For Arch haswell
- #BBLAYERS_append = "${WORKINGDIR}/meta-intel/meta-haswell-wc "
+ #BBLAYERS_append = "${WORKINGDIR}/meta-intel/meta-isg/meta-haswell-wc "
#For Arch Ivy
BBLAYERS_append = "${WORKINGDIR}/meta-intel/meta-romley "
MACHINE ?= "romley-ivb"
Other useful option to set:
+
Download directory:
+
DL_DIR ?= "${WORKINGDIR}/downloads"
Setting the download directory DL_DIR to a directory shared amongst
projects prevents common data from being downloaded for each project.
Terminal emulator:
+
OE_TERMINAL = "screen"
The terminal emulator you want to use.
# WARNING' tmp add to /etc/sudoers 'WARNING
-1)
- sudoedit /etc/sudoers
- ronanguirec ALL=(ALL) NOPASSWD: ALL
+1:
-2)
- bitbake tar-replacement-native
+ sudoedit /etc/sudoers
+ alice ALL=(ALL) NOPASSWD: ALL
+
+2:
+
+ bitbake tar-replacement-native
# Build the Tizen Common image
- tizen-common-core-image-minimal-dev
-Which gives:
- 1) bitbake -kv tizen-common-core-image-minimal-dev
- 2) runqemu qemux86-64 tizen-common-core-image-minimal
+ bitbake -kv tizen-common-core-image-minimal-dev
+
+The generated image can be found in tmp/deploy/images/${MACHINE}
+
+If you made a qemu image you can run it with:
-The generate image can be found in tmp/deploy/images/${MACHINE}
+ runqemu qemux86-64 tizen-common-core-image-minimal-dev