summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2016-04-05 13:02:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-11 22:02:05 +0100
commitbb5e264604faf4892faa3987c9fdf3b52ed35fa7 (patch)
tree726d88d103768f499048727ce1a80e78998618e3 /documentation
parent2d452b19d6da0a42c37753b478457968454abecb (diff)
downloadpoky-bb5e264604faf4892faa3987c9fdf3b52ed35fa7.tar.gz
yocto-project-qs: Updated the minnowboard example.
Fixes [YOCTO #9386] Added some missing information: * Added instruction to be in the poky directory before cloning the meta-intel repository. * Removed the "source" part of the string for the bitbake-layer command. * Added text to describe that the user needs to be sure that the same branches are in play for poky and meta-intel before they launch the build. (From yocto-docs rev: a9b85623b1aa30362e9c38ea8f4fd38f35798f67) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/yocto-project-qs/yocto-project-qs.xml36
1 files changed, 28 insertions, 8 deletions
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml
index 5315dfec6c..1bd68cf251 100644
--- a/documentation/yocto-project-qs/yocto-project-qs.xml
+++ b/documentation/yocto-project-qs/yocto-project-qs.xml
@@ -587,7 +587,7 @@
587 </orderedlist> 587 </orderedlist>
588 </para> 588 </para>
589 589
590 <para> 590 <para id='qs-minnowboard-example'>
591 The following steps show how easy it is to set up to build an 591 The following steps show how easy it is to set up to build an
592 image for a new machine. 592 image for a new machine.
593 These steps build an image for the MinnowBoard MAX, which is 593 These steps build an image for the MinnowBoard MAX, which is
@@ -610,17 +610,36 @@
610 Building an image for the MinnowBoard MAX requires the 610 Building an image for the MinnowBoard MAX requires the
611 <filename>meta-intel</filename> layer. 611 <filename>meta-intel</filename> layer.
612 Use the <filename>git clone</filename> command to create 612 Use the <filename>git clone</filename> command to create
613 a local copy of the repository: 613 a local copy of the repository inside your
614 <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>,
615 which is <filename>poky</filename> in this example:
614 <literallayout class='monospaced'> 616 <literallayout class='monospaced'>
617 $ cd $HOME/poky
615 $ git clone git://git.yoctoproject.org/meta-intel 618 $ git clone git://git.yoctoproject.org/meta-intel
616 Cloning into 'meta-intel'... 619 Cloning into 'meta-intel'...
617 remote: Counting objects: 10824, done. 620 remote: Counting objects: 11988, done.
618 remote: Compressing objects: 100% (3508/3508), done. 621 remote: Compressing objects: 100% (3884/3884), done.
619 remote: Total 10824 (delta 6219), reused 10580 (delta 5975) 622 Receiving objects: 100% (11988/11988), 2.93 MiB | 2.51 MiB/s, done.
620 Receiving objects: 100% (10824/10824), 2.72 MiB | 482.00 KiB/s, done. 623 remote: Total 11988 (delta 6881), reused 11752 (delta 6645)
621 Resolving deltas: 100% (6219/6219), done. 624 Resolving deltas: 100% (6881/6881), done.
622 Checking connectivity... done. 625 Checking connectivity... done.
623 </literallayout> 626 </literallayout>
627 By default when you clone a Git repository, the
628 "master" branch is checked out.
629 Before you build your image that uses the
630 <filename>meta-intel</filename> layer, you must be
631 sure that both repositories
632 (<filename>meta-intel</filename> and
633 <filename>poky</filename>) are using the same releases.
634 Consequently, you need to checkout out the
635 "&DISTRO_NAME_NO_CAP;" release after cloning
636 <filename>meta-intel</filename>:
637 <literallayout class='monospaced'>
638 $ cd $HOME/poky/meta-intel
639 $ git checkout &DISTRO_NAME_NO_CAP;
640 Branch &DISTRO_NAME_NO_CAP; set up to track remote branch &DISTRO_NAME_NO_CAP; from origin.
641 Switched to a new branch '&DISTRO_NAME_NO_CAP;'
642 </literallayout>
624 </para></listitem> 643 </para></listitem>
625 <listitem><para><emphasis>Configure the Build:</emphasis> 644 <listitem><para><emphasis>Configure the Build:</emphasis>
626 To configure the build, you edit the 645 To configure the build, you edit the
@@ -639,7 +658,8 @@
639 <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink> 658 <ulink url='&YOCTO_DOCS_REF_URL;#var-MACHINE'><filename>MACHINE</filename></ulink>
640 variable. 659 variable.
641 <literallayout class='monospaced'> 660 <literallayout class='monospaced'>
642 $ bitbake-layers add-layer "$HOME/source/poky/meta-intel" 661 $ cd $HOME/poky/build
662 $ bitbake-layers add-layer "$HOME/poky/meta-intel"
643 $ echo 'MACHINE = "intel-corei7-64"' >> conf/local.conf 663 $ echo 'MACHINE = "intel-corei7-64"' >> conf/local.conf
644 </literallayout> 664 </literallayout>
645 <note><title>Notes</title> 665 <note><title>Notes</title>