X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=README.md;h=f8bf8035e68d604e20a4f0d919da8920544eb831;hb=67e649413fa94985bf713124f0e40cf385a88ea8;hp=32c5a7a7c74a44ae511e21cd2059cad1265968f5;hpb=04913ce04737aba60e28d5b6faf29776fe62611b;p=scm%2Fbb%2Fmeta-tizen.git diff --git a/README.md b/README.md index 32c5a7a..f8bf803 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,9 @@ Create a Tizen Common x86_64 image with Yocto 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} @@ -16,10 +18,12 @@ directory amongst projects: # 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: @@ -28,11 +32,12 @@ 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} @@ -47,14 +52,13 @@ for the recipes. 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 \ @@ -63,7 +67,7 @@ for the recipes. ${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 " @@ -79,30 +83,36 @@ Most of default values can be kept. The one that needs to be changed is: 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