diff options
Diffstat (limited to 'docs/appendix')
| -rw-r--r-- | docs/appendix/vyos-on-baremetal.rst | 101 | 
1 files changed, 101 insertions, 0 deletions
| diff --git a/docs/appendix/vyos-on-baremetal.rst b/docs/appendix/vyos-on-baremetal.rst index bda81116..9ab527ce 100644 --- a/docs/appendix/vyos-on-baremetal.rst +++ b/docs/appendix/vyos-on-baremetal.rst @@ -70,3 +70,104 @@ Pictures  .. figure:: /_static/images/1u_vyos_front_10ge_open_4.jpg     :scale: 25 %     :alt: CSE-505-203B w/ 10GE Open + + +PC Engines APU +************** + +As this platform seems to be quiet common in terms of noise, cost, power and +performance it makes sense to write a small installation manual. + +This guide was developed using an APU4C4 board with the following specs: + +* AMD Embedded G series GX-412TC, 1 GHz quad Jaguar core with 64 bit and AES-NI +  support, 32K data + 32K instruction cache per core, shared 2MB L2 cache. +* 4 GB DDR3-1333 DRAM, with optional ECC support +* About 6 to 10W of 12V DC power depending on CPU load +* 2 miniPCI express (one with SIM socket for 3G modem). +* 4 Gigabit Ethernet channels using Intel i211AT NICs + +VyOS 1.2 (crux) +--------------- + +Depending on the VyOS versions you intend to install there is a difference in +the serial port settings (see https://phabricator.vyos.net/T1327). + +Create a bootable USB pendrive using e.g. Rufus_ on a Windows machine. + +Connect serial port to a PC through null modem cable (RXD / TXD crossed over). +Set terminal emulator to 115200 8N1. + +.. code-block:: sh + +  PC Engines apu4 +  coreboot build 20171130 +  BIOS version v4.6.4 +  4080 MB ECC DRAM +  SeaBIOS (version rel-1.11.0.1-0-g90da88d) + +  Press F10 key now for boot menu: + +  Select boot device: + +  1. ata0-0: KINGSTON SUV500MS120G ATA-11 Hard-Disk (111 GiBytes) +  2. USB MSC Drive Generic Flash Disk 8.07 +  3. Payload [memtest] +  4. Payload [setup] + +Now boot from the ``USB MSC Drive Generic Flash Disk 8.07`` media by pressing +``2``, the VyOS boot menu will appear, just wait 10 seconds or press ``Enter`` +to continue. + +.. code-block:: sh + +  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk +  x                      VyOS - Boot Menu                      x +  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu +  x Live (amd64-vyos)                                          x +  x Live (amd64-vyos failsafe)                                 x +  x                                                            x +  mqqqqqqPress ENAutomatic boot in 10 seconds...nu entryqqqqqqqj + +The image will be loaded and the last lines you will get will be: + +.. code-block:: sh + +  Loading /live/vmlinuz... ok +  Loading /live/initrd.img... + +The Kernel will now spin up using a different console setting. Set terminal +emulator to 9600 8N1 and after a while your console will show: + +.. code-block:: sh + +  Loading /live/vmlinuz... ok +  Loading /live/initrd.img... +  Welcome to VyOS - vyos ttyS0 + +  vyos login: + +You can now proceed with a regular image installation as described in +:ref:`installation`. + +As the APU board itself still used a serial setting of 115200 8N1 it is strongly +recommended that you change the VyOS serial interface settings after your first +successful boot. + +Use the following command to adjust the :ref:`serial-console` settings: + +.. code-block:: sh + +  set system console device ttyS0 speed 115200 + +.. note:: Once you ``commit`` the above changes access to the serial interface +   is lost until you set your terminal emulator to 115200 8N1 again. + +.. code-block:: sh + +  vyos@vyos# show system console +   device ttyS0 { +     speed 115200 +   } + +.. _Rufus: https://rufus.ie/ | 
