diff options
Diffstat (limited to 'documentation/ref-manual/eclipse/html/poky-ref-manual/using-x32-right-now.html')
| -rw-r--r-- | documentation/ref-manual/eclipse/html/poky-ref-manual/using-x32-right-now.html | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/documentation/ref-manual/eclipse/html/poky-ref-manual/using-x32-right-now.html b/documentation/ref-manual/eclipse/html/poky-ref-manual/using-x32-right-now.html new file mode 100644 index 0000000000..614b31ddaa --- /dev/null +++ b/documentation/ref-manual/eclipse/html/poky-ref-manual/using-x32-right-now.html | |||
| @@ -0,0 +1,70 @@ | |||
| 1 | <html> | ||
| 2 | <head> | ||
| 3 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | ||
| 4 | <title>3.3.3. Using x32 Right Now</title> | ||
| 5 | <link rel="stylesheet" type="text/css" href="../book.css"> | ||
| 6 | <meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> | ||
| 7 | <link rel="home" href="index.html" title="The Yocto Project Reference Manual"> | ||
| 8 | <link rel="up" href="x32.html" title="3.3. x32"> | ||
| 9 | <link rel="prev" href="future-development-and-limitations.html" title="3.3.2. Future Development and Limitations"> | ||
| 10 | <link rel="next" href="licenses.html" title="3.4. Licenses"> | ||
| 11 | </head> | ||
| 12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="3.3.3. Using x32 Right Now"> | ||
| 13 | <div class="titlepage"><div><div><h3 class="title"> | ||
| 14 | <a name="using-x32-right-now"></a>3.3.3. Using x32 Right Now</h3></div></div></div> | ||
| 15 | <p> | ||
| 16 | Despite the fact the x32 psABI support is in development state for this release of the | ||
| 17 | Yocto Project, you can follow these steps to use the x32 spABI: | ||
| 18 | </p> | ||
| 19 | <div class="itemizedlist"><ul class="itemizedlist" type="disc"> | ||
| 20 | <li class="listitem"><p>Add the <code class="filename">experimental/meta-x32</code> layer to your local | ||
| 21 | <a class="link" href="../dev-manual/build-directory.html" target="_self">Build Directory</a>. | ||
| 22 | You can find the <code class="filename">experimental/meta-x32</code> source repository at | ||
| 23 | <a class="ulink" href="http://git.yoctoproject.org" target="_self">http://git.yoctoproject.org</a>.</p></li> | ||
| 24 | <li class="listitem"> | ||
| 25 | <p>Edit your <code class="filename">conf/bblayers.conf</code> file so that it includes | ||
| 26 | the <code class="filename">meta-x32</code>. | ||
| 27 | Here is an example: | ||
| 28 | </p> | ||
| 29 | <pre class="literallayout"> | ||
| 30 | BBLAYERS ?= " \ | ||
| 31 | /home/nitin/prj/poky.git/meta \ | ||
| 32 | /home/nitin/prj/poky.git/meta-yocto \ | ||
| 33 | /home/nitin/prj/poky.git/meta-yocto-bsp \ | ||
| 34 | /home/nitin/prj/meta-x32.git \ | ||
| 35 | " | ||
| 36 | </pre> | ||
| 37 | </li> | ||
| 38 | <li class="listitem"> | ||
| 39 | <p>Enable the x32 psABI tuning file for <code class="filename">x86_64</code> | ||
| 40 | machines by editing the <code class="filename">conf/local.conf</code> like this: | ||
| 41 | </p> | ||
| 42 | <pre class="literallayout"> | ||
| 43 | MACHINE = "qemux86-64" | ||
| 44 | DEFAULTTUNE = "x86-64-x32" | ||
| 45 | baselib = "${@d.getVar('BASE_LIB_tune-' + (d.getVar('DEFAULTTUNE', True) \ | ||
| 46 | or 'INVALID'), True) or 'lib'}" | ||
| 47 | #MACHINE = "atom-pc" | ||
| 48 | #DEFAULTTUNE = "core2-64-x32" | ||
| 49 | </pre> | ||
| 50 | </li> | ||
| 51 | <li class="listitem"> | ||
| 52 | <p>As usual, use BitBake to build an image that supports the x32 psABI. | ||
| 53 | Here is an example: | ||
| 54 | </p> | ||
| 55 | <pre class="literallayout"> | ||
| 56 | $ bitake core-image-sato | ||
| 57 | </pre> | ||
| 58 | </li> | ||
| 59 | <li class="listitem"> | ||
| 60 | <p>As usual, run your image using QEMU: | ||
| 61 | </p> | ||
| 62 | <pre class="literallayout"> | ||
| 63 | $ runqemu qemux86-64 core-image-sato | ||
| 64 | </pre> | ||
| 65 | </li> | ||
| 66 | </ul></div> | ||
| 67 | <p> | ||
| 68 | </p> | ||
| 69 | </div></body> | ||
| 70 | </html> | ||
