summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Calianu <adrian.calianu@enea.com>2017-12-18 10:18:11 +0100
committerAdrian Calianu <adrian.calianu@enea.com>2017-12-18 10:18:11 +0100
commit7d22f83f0b3af1a5a93cd7d1775601297c96e89f (patch)
tree614215fff8c9f8f434e6834262330bbe1cee2ee0
parentc6967b56e4dc80636dab20be80b3b9be301ea6ee (diff)
downloadnfv-access-documentation-7d22f83f0b3af1a5a93cd7d1775601297c96e89f.tar.gz
book-enea-nfv-access-guide: unhide docker installer chapter
Signed-off-by: Adrian Calianu <adrian.calianu@enea.com>
-rw-r--r--doc/book-enea-nfv-access-guide/doc/getting_started.xml19
1 files changed, 11 insertions, 8 deletions
diff --git a/doc/book-enea-nfv-access-guide/doc/getting_started.xml b/doc/book-enea-nfv-access-guide/doc/getting_started.xml
index 6c3db86..cb1de6d 100644
--- a/doc/book-enea-nfv-access-guide/doc/getting_started.xml
+++ b/doc/book-enea-nfv-access-guide/doc/getting_started.xml
@@ -96,14 +96,14 @@
96 /* GRUB EFI file */</programlisting> 96 /* GRUB EFI file */</programlisting>
97 </section> 97 </section>
98 98
99 <section condition="hidden" id="prebuilt-artifacts"> 99 <section condition="" id="prebuilt-artifacts">
100 <title>How to use the Prebuilt Artifacts</title> 100 <title>How to use the Prebuilt Artifacts</title>
101 101
102 <section id="sysshell_config"> 102 <section id="sysshell_config">
103 <title>Booting NFV Access to RAM</title> 103 <title>Booting NFV Access to RAM</title>
104 104
105 <para>NFV Access can be booted on target using the RAMDISK images. 105 <para>NFV Access can be booted on target using the RAMDISK images.
106 Following is described how to prepare the environment and configure 106 Following is described how to set the environment, configure the
107 bootloader(U-Boot), load and boot the NFV Access on target. Please check 107 bootloader(U-Boot), load and boot the NFV Access on target. Please check
108 the <link linkend="boot_prereq">Prerequisites</link> subchapter before 108 the <link linkend="boot_prereq">Prerequisites</link> subchapter before
109 starting boot process.</para> 109 starting boot process.</para>
@@ -127,7 +127,8 @@
127&gt; setenv rootfs_addr 0x60000000 127&gt; setenv rootfs_addr 0x60000000
128&gt; tftpboot $rootfs_addr enea-nfv-access-cn8304.ext4.gz.u-boot 128&gt; tftpboot $rootfs_addr enea-nfv-access-cn8304.ext4.gz.u-boot
129&gt; booti $kernel_addr $rootfs_addr $fdtcontroladdr 129&gt; booti $kernel_addr $rootfs_addr $fdtcontroladdr
130&gt; setenv bootargs root=/dev/ram0 rw ramdisk_size=1000000 console=ttyAMA0,115200n8 earlycon=pl011,0x87e028000000 coherent_pool=16M</programlisting> 130&gt; setenv bootargs root=/dev/ram0 rw ramdisk_size=1000000 console=ttyAMA0,115200n8 \
131 earlycon=pl011,0x87e028000000 coherent_pool=16M</programlisting>
131 132
132 <section id="boot_prereq"> 133 <section id="boot_prereq">
133 <title>Prerequisites:</title> 134 <title>Prerequisites:</title>
@@ -175,25 +176,27 @@
175 servers will be installed and configured in order to facilitate a 176 servers will be installed and configured in order to facilitate a
176 RAMDISK boot process on the target. Following is an example of how to 177 RAMDISK boot process on the target. Following is an example of how to
177 build and run Enea provided docker image. In this case host is 178 build and run Enea provided docker image. In this case host is
178 directly connected to target on eth1. For more details please see 179 directly connected to target on eth1. For more details about docker
179 README file from docker installater folder.</para> 180 installer please see README file from docker installater
181 folder.</para>
180 182
181 <programlisting>&gt; cd nfv-access-tools/nfv-installer/docker-pxe-ramboot/ 183 <programlisting>&gt; cd nfv-access-tools/nfv-installer/docker-pxe-ramboot/
182&gt; mkdir -p ./images 184&gt; mkdir -p ./images
183&gt; cp &lt;NFVAccessReleasePath&gt;/Image $(pwd)/images/Image 185&gt; cp &lt;NFVAccessReleasePath&gt;/Image $(pwd)/images/Image
184&gt; cp &lt;NFVAccessReleasePath&gt;/enea-nfv-access-cn8304.ext4.gz.u-boot $(pwd)/images/enea-nfv-access-cn8304.ext4.gz.u-boot</programlisting> 186&gt; cp &lt;NFVAccessReleasePath&gt;/enea-nfv-access-cn8304.ext4.gz.u-boot \
187 $(pwd)/images/enea-nfv-access.ext4.gz.u-boot</programlisting>
185 188
186 <programlisting>&gt; docker build . -t el_installer</programlisting> 189 <programlisting>&gt; docker build . -t el_installer</programlisting>
187 190
188 <programlisting>&gt; docker run -it --net=host --privileged \ 191 <programlisting>&gt; docker run -it --net=host --privileged \
189-v $(pwd)/dhcpd.conf:/etc/dhcp/dhcpd.conf \ 192-v $(pwd)/dhcpd.conf:/etc/dhcp/dhcpd.conf \
190-v $(pwd)/images/Image:/var/lib/tftpboot/Image \ 193-v $(pwd)/images/Image:/var/lib/tftpboot/Image \
191-v $(pwd)/images/enea-nfv-access-cn8304.ext4.gz.u-boot:/var/lib/tftpboot/enea-nfv-access-cn8304.ext4.gz.u-boot \ 194-v $(pwd)/images/enea-nfv-access.ext4.gz.u-boot:/var/lib/tftpboot/enea-nfv-access.ext4.gz.u-boot \
192el_installer eth1</programlisting> 195el_installer eth1</programlisting>
193 196
194 <para>Using this setup, on target side, U-Boot need to be configured 197 <para>Using this setup, on target side, U-Boot need to be configured
195 as following before starting to boot Linux. It was considered that the 198 as following before starting to boot Linux. It was considered that the
196 first eth port(vnic0) is connected to host:</para> 199 first eth port(vnic0) is connected to network:</para>
197 200
198 <programlisting>&gt; setenv ethact vnic0 201 <programlisting>&gt; setenv ethact vnic0
199&gt; setenv gatewayip 192.168.1.1 202&gt; setenv gatewayip 192.168.1.1