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 (tmp fork, poky is 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 ssh://${YOURID}@review.tizen.org:29418/scm/bb/meta-tizen
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-openembedded/meta-efl \
63 ${WORKINGDIR}/meta-openembedded/meta-oe \
64 ${WORKINGDIR}/meta-openembedded/meta-multimedia \
65 ${WORKINGDIR}/meta-openembedded/meta-ruby \
66 ${WORKINGDIR}/meta-openembedded/meta-systemd \
67 ${WORKINGDIR}/meta-tizen \
70 #BBLAYERS_append = "${WORKINGDIR}/meta-intel/meta-isg/meta-haswell-wc "
72 BBLAYERS_append = "${WORKINGDIR}/meta-intel/meta-romley "
76 Most of default values can be kept. The one that needs to be changed is:
79 MACHINE ?= "qemux86-64"
81 MACHINE ?= "haswell-wc"
83 MACHINE ?= "romley-ivb"
85 Other useful option to set:
89 DL_DIR ?= "${WORKINGDIR}/downloads"
91 Setting the download directory DL_DIR to a directory shared amongst
92 projects prevents common data from being downloaded for each project.
96 OE_TERMINAL = "screen"
98 The terminal emulator you want to use.
100 # WARNING' tmp add to /etc/sudoers 'WARNING
103 sudoedit /etc/sudoers
104 alice ALL=(ALL) NOPASSWD: ALL
108 bitbake tar-replacement-native
110 # Build the Tizen Common image
112 bitbake -kv tizen-common-core-image-minimal-dev
114 The generated image can be found in tmp/deploy/images/${MACHINE}
116 If you made a qemu image you can run it with:
118 runqemu qemux86-64 tizen-common-core-image-minimal-dev