summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-02-08 09:47:11 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-08 12:07:53 -0800
commit7e23cd115c4ceca0b1cca78898b824472091813b (patch)
treee43f29f5ae38a305ba7376e84c06250d2776f80b /documentation/dev-manual
parenteed16096e625d533d7cf19db3a459260aca25f01 (diff)
downloadpoky-7e23cd115c4ceca0b1cca78898b824472091813b.tar.gz
documentation/dev-manual/dev-manual-common-tasks.xml: Writer notes added.
(From yocto-docs rev: 40d00bde1585dbd0d23bf999e70940e15d52d74f) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml46
1 files changed, 46 insertions, 0 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 06aa99b7bf..1c89550c01 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -561,6 +561,52 @@
561 <section id="platdev-newmachine"> 561 <section id="platdev-newmachine">
562 <title>Porting the Yocto Project to a New Machine</title> 562 <title>Porting the Yocto Project to a New Machine</title>
563 563
564<!--
565WRITER NOTES:
566
567I had this chat with Richard:
568
569scottrif: Terminology question: We speak of "New Machines" or "Adding a New Machine"
570 in YP. Are "Machines" restricted to architectures? In poky/meta/conf/machine we have .conf
571 files for the five architectures. What exactly does the term "Machine" mean?
572
573 RP: no, each architecture has multiple different machines. A "machine" can correspond
574 to a particular reference board or hardware product
575 we just have one reference machine per architecture
576 We're a little vague sometimes as "machine" can refer to either an individual platform,
577 or in some cases a set of different platforms with common structure
578 (e.g. netbooks)
579
580scottrif: So our reference machines we supply are the five qemu* machines?
581
582 RP: in oe-core, plus one "real" target in meta-yocto
583 (per arch)
584
585scottrif: I see four in meta-yocto/conf/machine. Shouldn't there be five if there is one
586 "real" target per architecture?
587
588 RP: yes, we don't have one for x86_64 :/
589
590scottrif: I think it is a bit difficult to map our four poky/meta-yocto/conf/machines to one of our
591 five architectures. Some have key words in there that identify the architecture but
592 beagleboard and atom-pc don't.
593 We have a section that describes adding a Machine Configuration file to Yocto and
594 it states that TARGET_ARCH is one of the most important variables that need to be
595 set in the .conf file. The four I am looking at don't have that variable.
596
597 RP: That has changed a little now. You need to include the appropriate tune file
598 which will set it for you
599 People had a tendency not to set all the right pieces so it got abstracted
600
601scottrif: Got it. I see them in poky/meta/conf/machine/include.
602
603SOME CONCLUSIONS:
604
605I need to define the term machine. It is confusing. Then, this section needs to be cleared up
606so that there are some definite steps on how to do this. I need more detail here.
607
608-->
609
564 <para> 610 <para>
565 Adding a new machine to the Yocto Project is a straightforward process. 611 Adding a new machine to the Yocto Project is a straightforward process.
566 This section provides information that gives you an idea of the changes you must make. 612 This section provides information that gives you an idea of the changes you must make.