summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiruna Paun <Miruna.Paun@enea.com>2017-03-28 18:13:51 +0200
committerMiruna Paun <Miruna.Paun@enea.com>2017-03-28 18:13:51 +0200
commit2fe27d1b6e900c22c36d251e2e61fb1ceb6a5616 (patch)
tree0ac0e6aa80d6de54231185a533a6d981acf4018d
parent90a9ac22128d68f85862b2e5155af81e60904391 (diff)
downloadel_releases-standard-2fe27d1b6e900c22c36d251e2e61fb1ceb6a5616.tar.gz
Update prerequisities with sys req inclusion
LXCR-7634 LXCR 7377 Also updated the book with reference to eltf updated parameters. Signed-off-by: Miruna Paun <Miruna.Paun@enea.com>
-rw-r--r--doc/book-enea-linux-release-info/doc/prerequisites.xml3
-rw-r--r--doc/book-enea-linux-release-info/doc/system_requirements.xml138
2 files changed, 140 insertions, 1 deletions
diff --git a/doc/book-enea-linux-release-info/doc/prerequisites.xml b/doc/book-enea-linux-release-info/doc/prerequisites.xml
index 88d53ae..bd37e85 100644
--- a/doc/book-enea-linux-release-info/doc/prerequisites.xml
+++ b/doc/book-enea-linux-release-info/doc/prerequisites.xml
@@ -28,4 +28,5 @@ $ git config --global user.email johndoe@example.com</programlisting>
28 <xi:include href="eltf_params_updated.xml" 28 <xi:include href="eltf_params_updated.xml"
29 xmlns:xi="http://www.w3.org/2001/XInclude" 29 xmlns:xi="http://www.w3.org/2001/XInclude"
30 xpointer="element(eltf-prereq-apt-get-commands-host/1)" /> 30 xpointer="element(eltf-prereq-apt-get-commands-host/1)" />
31</chapter> \ No newline at end of file 31 <xi:include href="system_requirements.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
32</chapter>
diff --git a/doc/book-enea-linux-release-info/doc/system_requirements.xml b/doc/book-enea-linux-release-info/doc/system_requirements.xml
new file mode 100644
index 0000000..d0a8633
--- /dev/null
+++ b/doc/book-enea-linux-release-info/doc/system_requirements.xml
@@ -0,0 +1,138 @@
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
3"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
4<section id="enea-linux-sysreq">
5 <title>System Requirements</title>
6 <para>The host requirements listed below are extensive to allow for the building of
7Linux images via the Yocto system, and not just applications.</para>
8
9 <para>Please also see the system requirements in the Yocto 2.1 documents: Yocto Project Start <ulink
10 url="http://www.yoctoproject.org/docs/2.1/yocto-project-qs/yocto-project-qs.html#yp-resources">
11 http://www.yoctoproject.org/docs/2.1/yocto-project-qs/yocto-project-qs.html#yp-resources</ulink>
12 and the Yocto Project Reference Manual <ulink
13 url="http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#intro-requirements">
14 http://www.yoctoproject.org/docs/2.1/ref-manual/ref-manual.html#intro-requirements</ulink>.
15 If needed, replace the Yocto version in the links provided with a more recent version.</para>
16
17 <informaltable>
18 <tgroup cols="2">
19 <colspec align="left" colname="1" colwidth="1*" />
20 <colspec align="left" colname="2" colwidth="3*" />
21 <spanspec nameend="2" namest="1" spanname="onetwo" />
22
23 <tbody>
24 <row>
25 <entry spanname="onetwo"><emphasis role="bold">
26 Build host requirements<indexterm>
27 <primary>system requirements</primary>
28 </indexterm></emphasis></entry>
29 </row>
30
31 <row>
32 <entry>Linux distribution</entry>
33
34 <entry>The downloaded code shall be built on a Linux host to generate images for your
35 target or for emulation in QEMU. For information about the supported hosts and targets, see the
36 <emphasis role="bold">Enea Linux Release Information</emphasis> in your Enea Linux distribution.</entry>
37 </row>
38
39 <row>
40 <entry>Internet access</entry>
41
42 <entry>Internet access must be available when building an image, since bitbake downloads
43 source files from various servers during the build.</entry>
44 </row>
45
46 <row>
47 <entry>Packages</entry>
48
49 <entry>Depending on the Linux distribution and version on host, some packages may be required,
50 by bitbake for example. You will install any required packages while following the installation
51 instructions.</entry>
52 </row>
53
54 <row>
55 <entry>Targets</entry>
56
57 <entry>Images can be built or downloaded for any of the targets supported in this release,
58 as specified in the <emphasis role="bold">Enea Linux Release Information</emphasis>.</entry>
59 </row>
60
61 <row>
62 <entry>Disk space</entry>
63
64 <entry><para>Your system should have at least 50 GB of free disk space when bitbaking the
65 basic enea-image-name kernel image.</para>
66 <para>For larger images and to allow for future package extensions and variations
67 in the build process, a minimum of 100 GB free disk space is recommended.</para></entry>
68 </row>
69
70 <row>
71 <entry>Recommended RAM</entry>
72
73 <entry><para>Your system must have at least 4 GB available RAM.</para>
74 <para>It is recommended to have 8 GB RAM available for parallel build jobs.</para></entry>
75 </row>
76
77 <row>
78 <entry>Java</entry>
79
80 <entry>Java <indexterm>
81 <primary>java</primary>
82 </indexterm>is required to run Eclipse. Currenly, Eclipse generally recommends at least
83 Java 6 JRE/JDK. More information regarding operating environments for Eclipse, is provided in the
84 <emphasis>Eclipse Project Release Notes</emphasis> for the version
85 used. This can usually be found via http://www.eclipse.org/eclipse/development/readme_eclipse_version.
86 See the <emphasis role="bold">Enea Linux Release Information
87 </emphasis>for the Eclipse Version.</entry>
88 </row>
89 </tbody>
90 </tgroup>
91 </informaltable>
92
93 <para>The build time depends on the capacity of the processor and other hardware, available resources,
94 speed of internet connection, load situation, etc. E.g: on a fast 16 core machine with 16 GB RAM and
95 SSD disks, a complete build from source could take about two hours.</para>
96
97 <informaltable>
98 <tgroup cols="2">
99 <colspec align="left" colname="1" colwidth="1*" />
100 <colspec align="left" colname="2" colwidth="3*" />
101 <spanspec nameend="2" namest="1" spanname="onetwo" />
102
103 <tbody>
104 <row>
105 <entry spanname="onetwo"><emphasis role="bold">Target Requirements</emphasis></entry>
106 </row>
107
108 <row>
109 <entry>External memory</entry>
110
111 <entry>To boot a CGL<indexterm>
112 <primary>CGL</primary>
113 </indexterm> image, you need at least 16 GB on a hard-disk drive<indexterm>
114 <primary>HDD</primary>
115 </indexterm> on eSATA, USB drive, or SD card.<remark>INFO: (packed rootfs 4.5 GB + unpacked
116 rootfs 1.5 GB + good margins)</remark><remark>INFO: NFS does not support SELinux. In
117 order to have a security-enhanced Linux, one must take off from an NFS-booted system and
118 proceed with boot from external memory.</remark></entry>
119 </row>
120 </tbody>
121 </tgroup>
122 </informaltable>
123
124 <section id="ensure-bash">
125 <title>System Shell Configuration</title>
126
127 <para>Before installing Enea Linux, ensure that bash is the default shell.</para>
128
129 <para>If your system runs Ubuntu, you can use ls -l to ensure <filename>/usr/bin</filename> is a
130 symbolic link to bash. In case the link points to dash, which is default in some Ubuntu versions,
131 change it to bash by running <emphasis role="bold">sudo dpkg-reconfigure dash</emphasis> and answer
132 <emphasis role="bold">No</emphasis> to the question "Use dash as the default system shell (/bin/sh)?":
133 </para>
134
135 <programlisting># ls -l /bin/sh
136 lrwxrwxrwx 1 root root 4 2012-03-02 11:53 /bin/sh -&gt; bash</programlisting>
137 </section>
138</section> \ No newline at end of file