1 Create a Tizen Common x86_64 image with Yocto
2 =============================================
4 Target: Haswell/Ivy CPU
6 # Create your working directory
8 Create a working directory (for example "${HOME}/yocto","/mnt/ssd","/tmp"):
10 WORKINGDIR=${HOME}/yocto
11 mkdir -p ${WORKINGDIR}
14 Create a download directory (optional). It will act as a common download
15 directory amongst projects:
17 mkdir -p ${WORKINGDIR}/downloads
21 Downlaod Poky (patched version for rpm 4 support):
23 git clone git@github.com:eurogiciel-oss/poky.git
25 Download Intel layers:
27 git clone git://git.yoctoproject.org/meta-intel
29 Download openembedded layers:
31 git clone git://git.openembedded.org/meta-openembedded
35 git clone git@github.com:eurogiciel-oss/meta-tizen.git
39 Configure the environment:
43 source ./oe-init-build-env build-${BUILDID}
49 This file contains the list of the layers in which poky has to search
55 WORKINGDIR=${HOME}/yocto
58 ${WORKINGDIR}/poky/meta \
59 ${WORKINGDIR}/poky/meta-yocto \
60 ${WORKINGDIR}/poky/meta-yocto-bsp \
61 ${WORKINGDIR}/meta-intel \
62 ${WORKINGDIR}/meta-intel/meta-isg/meta-haswell-wc \
63 ${WORKINGDIR}/meta-openembedded/meta-efl \
64 ${WORKINGDIR}/meta-openembedded/meta-oe \
65 ${WORKINGDIR}/meta-openembedded/meta-multimedia \
66 ${WORKINGDIR}/meta-openembedded/meta-ruby \
67 ${WORKINGDIR}/meta-openembedded/meta-systemd \
68 ${WORKINGDIR}/meta-tizen \
71 #BBLAYERS_append = "${WORKINGDIR}/meta-intel/meta-haswell-wc "
73 BBLAYERS_append = "${WORKINGDIR}/meta-intel/meta-romley "
77 Most of default values can be kept. The one that needs to be changed is:
80 MACHINE ?= "qemux86-64"
82 MACHINE ?= "haswell-wc"
84 MACHINE ?= "romley-ivb"
86 Other useful option to set:
90 DL_DIR ?= "${WORKINGDIR}/downloads"
92 Setting the download directory DL_DIR to a directory shared amongst
93 projects prevents common data from being downloaded for each project.
97 OE_TERMINAL = "screen"
99 The terminal emulator you want to use.
101 # WARNING' tmp add to /etc/sudoers 'WARNING
103 sudoedit /etc/sudoers
104 ronanguirec ALL=(ALL) NOPASSWD: ALL
107 bitbake tar-replacement-native
109 # Build the Tizen Common image
111 bitbake -kv tizen-common-core-image-minimal-dev
113 The generated image can be found in tmp/deploy/images/${MACHINE}
115 If you made a qemu image you can run it with:
117 runqemu qemux86-64 tizen-common-core-image-minimal-dev