1 Create a Tizen Common x86_64 image with Yocto
2 =============================================
4 Target: Haswell/Ivy CPU
6 # Create your working directory
7 Create a working directory (for example "${HOME}/yocto","/mnt/ssd","/tmp"):
8 WORKINGDIR=${HOME}/yocto
12 Create a download directory (optional). It will act as a common download
13 directory amongst projects:
15 mkdir -p ${WORKINGDIR}/downloads
19 Downlaod Poky (patched version for rpm 4 support):
20 git clone git@github.com:eurogiciel-oss/poky.git
22 Download Intel layers:
23 git clone git://git.yoctoproject.org/meta-intel
25 Download openembedded layers:
27 git clone git://git.openembedded.org/meta-openembedded
31 git clone git@github.com:eurogiciel-oss/meta-tizen.git
35 Configure the environment:
38 source ./oe-init-build-env build-${BUILDID}
44 This file contains the list of the layers in which poky has to search
50 WORKINGDIR=${HOME}/yocto
53 ${WORKINGDIR}/poky/meta \
54 ${WORKINGDIR}/poky/meta-yocto \
55 ${WORKINGDIR}/poky/meta-yocto-bsp \
56 ${WORKINGDIR}/meta-intel \
57 ${WORKINGDIR}/meta-intel/meta-isg/meta-haswell-wc \
58 ${WORKINGDIR}/meta-openembedded/meta-efl \
59 ${WORKINGDIR}/meta-openembedded/meta-oe \
60 ${WORKINGDIR}/meta-openembedded/meta-multimedia \
61 ${WORKINGDIR}/meta-openembedded/meta-ruby \
62 ${WORKINGDIR}/meta-openembedded/meta-systemd \
63 ${WORKINGDIR}/meta-tizen \
66 #BBLAYERS_append = "${WORKINGDIR}/meta-intel/meta-haswell-wc "
68 BBLAYERS_append = "${WORKINGDIR}/meta-intel/meta-romley "
72 Most of default values can be kept. The one that needs to be changed is:
75 MACHINE ?= "qemux86-64"
77 MACHINE ?= "haswell-wc"
79 MACHINE ?= "romley-ivb"
81 Other useful option to set:
83 DL_DIR ?= "${WORKINGDIR}/downloads"
85 Setting the download directory DL_DIR to a directory shared amongst
86 projects prevents common data from being downloaded for each project.
89 OE_TERMINAL = "screen"
91 The terminal emulator you want to use.
93 # WARNING' tmp add to /etc/sudoers 'WARNING
96 ronanguirec ALL=(ALL) NOPASSWD: ALL
99 bitbake tar-replacement-native
101 # Build the Tizen Common image
102 tizen-common-core-image-minimal-dev
105 1) bitbake -kv tizen-common-core-image-minimal-dev
106 2) runqemu qemux86-64 tizen-common-core-image-minimal
108 The generate image can be found in tmp/deploy/images/${MACHINE}