by PedroR » Wed Sep 21, 2011 1:33 pm
by PedroR
Wed Sep 21, 2011 1:33 pm
Preface:
This Guide is a compilation of all the information RoboSavvy collected on the installation of Linux on eBox 33xx
MX series and Keyboard PC.
Warning 1: There are a few Linux installation guides on the Internet for eBox 33xx Series (including the manufacturer's website) but most of them are for 33xx
A which is an older model and uses a very different architecture.
Therefore many of these guides will not work with the newer eBox 33xx
MX series.
Warning 2: KeyboardPC, eBox of 33xxMX series are based on the Vortex86MX/Vortex86MX+ processors.
These processors do not support the full i686 instruction set (they are i586). This means, for example, that Ubuntu versions after 10.04 don't work
This also means there is no support for CMOV or SSE/SSE2.
Step 1: Choosing your HDD / SD card
All eBox models can use an SD card as their HDD.
This is the only option available in the case of eBox 3350MX and in the case of eBox 3310MX you can choose either SD card or instal a 2.5" SATA HDD.
- If you have an
eBox 3310MX (which supports SATA HDDs), and you're looking for
maximum maximum performance we recommend using a good 2.5" SATA HDD (5 400rpm at least).
You can also go with a 2.5" SATA Solid State drives although a regular HDD offers a good performance already.
- If you're using a KeyboardPC your unit may have come with a SATA DOM pre installed.
You can install to this SATA DOM or otherwise install and boot from SD card just like on eBox models.
- If you prefer to use an SD card as HDD please observe the following:
a) Choose a card that is at least Class 6 or Class 10 SD
from a reputable vendor.
A Class 4 SD card from Sandisk can often be faster than a class 10 from an unknown vendor.
Choosing SD cards from a reputable vendor also improves overall reliability.
b) Use Full Size SD cards and NOT microSD cards with adapters to full size SD.
Using MicroSD cards has proven unreliable and may results in random errors or intermittent failure.
There are plenty of reasons to prefer the use of an SD card as HDD: applications subject to vibration work better with an SD card; using SD cards lets you have multiple OS'es (one on each card) and quickly switch between OS'es; if you have an eBox 3350MX SD card is the only available option for HDD, ...
The quality of the SD card has a huge impact on the performance of your eBox. Therefore make sure to follow the guidelines above.
Preparation:
Our recommended OS for eBox is Ubuntu 10.04 LTS due to the ease of installation and wide range of software available.
(you may also use Lubuntu 10.04 which is a Ubuntu fine tuned to be Lightweight)
We'll be using version 10.04 LTS as Vortex86MX/Vortex86MX+ processors are recognized as i586 meaning that the latest Ubuntu version that is supported is 10.04 LTS (for i386).
All later versions of Ubuntu are optimized for i686 as they make use of the CMOV instruction which is not present on the Vortex86MX and therefore won't work.
We've downloaded Ubuntu 10.04 LTS (LTS stands for Long Term Support which means system and apps will be maintained for a long time) and burned it onto a CD.
If using SD card as your HDD insert it now, before turning the machine on.
Make sure you use a full size SD and
stay away of MicroSD -> Full SD adapters!
Connected all USB peripherals (CD Rom, Keyboard and mouse) and turn the box on.
Warning: if you're using eBox 3350MX, make sure your Power Adapter is able to supply a steady 5V 2A.
Insufficient power or lower quality power adapters may cause intermittent failures such as: no VGA, Reset during the boot process, date reverting to 2008 or not booting at all; if you experience any of these symptoms on the eBox 3350MX please be advised they're caused by insufficient power supply; try using different adapters rated 5V 1A at least (ideally 2A).
We're now supplying the Official eBox 3350MX Power Adapters from DMP which offer the full 5V 2A.
After turning the box on:
- Enter Setup
- chose "Load Failsafe Defaults" (just to ensure everything was going to work smoothly)
- set the CD ROM as the first boot device.
Installation Process:
The installation process is straightforward. Just boot from CD and follow the installation steps.
There are
a couple of recommendations from DMP but essentially during the Setup process you need to do this:
- Choose to manually partition the HDD.
- Create a main partition for the OS (
with mount point /) with
filesystem ext3
- Create a partition of 750Mb or 1.25GB for SWAP (depending if your box has 512Mb or 1Gb RAM)
Follow the standard installation routine (setting keyboard layout, locale settings, machine name, ...) and wait for setup to finish.
First boot:
On first boot, you'll get a
fully functional desktop but you won't have Network access.
This is because you're using the default kernel of Ubuntu which doesn't include the drivers for the Ethernet port and HD Audio built onto the SoC.
To fix this (and get maximum performance) you need to install a custom kernel from DMP.
At the time of writing, the
latest, recommended Kernel is version 2.6.34.10 released by DMP.
Installing the DMP Kernel:
Download the DMP kernel file to a USB thumb drive from the following location:
-
http://robosavvy.com/RoboSavvyPages/DMP ... 2_i386.zip .
The kernel comes as a DEB package which is very straightforward to install.
The
kernel DEB package can't be installed through Graphical Package managers. You must to install it from the command line following the instructions on one of the following locations:
. If the ZIP file with the Kernel packages includes a PDF with installation instructions, follow the instructions on that document.
. If the ZIP file with the kernel DEB package does _not_ include installation instructions then you must follow the default instructions for DMP kernels available on this page
http://robosavvy.com/RoboSavvyPages/DMP ... NSTALL.htm
When installing the new kernel you may see some warnings about symbolic links but these can be safely ignored.
Booting with the new kernel:
When booting Ubuntu with the new kernel you may see some Warnings being thrown by Linux because the Vortex86 architecture is considered "unkown".
These can also be safely ignored; just wait for the eBox to finish booting and you'll get into the Graphical Desktop.
Option: Installing the WiFi Drivers
After completing all the steps above and depending on your model (and the extras chosen) your unit may come with an internal WiFi dongle from DMP.
(KeyboardPC includes it by default but it's usually NOT included with eBox models).
The drivers for the WiFi module can be obtained at the following location:
-
http://robosavvy.com/RoboSavvyPages/DMP ... rtex86MX+/
The file is named
rtl8188_8192.zip
You should extract the file on your KeyboardPC/eBox and follow the included instructions.
The instructions include a comprehensive set of steps that need to be performed as root, for compiling the driver and also setting up the WiFi connection.
Tips for Advanced Users: the Custom DMP VGA driver
By now you should have a fully functional Ubuntu Linux Desktop. If you're happy with your installation you can safely stop reading and enjoy your eBox
X windows will be running using a standard VESA based VGA driver. This is enough for everyday applications and for the majority of users.
Still if you'd like to optimize your system a little more, you can install DMP's VGA driver. This procedure is only recommended for users comfortable with working on the Console.
DMP's VGA drivers improve the 2D performance and can also enable higher resolutions if you need them (X windows will be smoother when drawing and moving windows for example).
The installation procedure is very well documented by user
Linx on this post.
In summary this is what you'll need to do:
- Download location for VGA drivers:
http://robosavvy.com/RoboSavvyPages/DMP/LinuxDrivers/
(select the folder Vortex86MX if you have an eBox 3350MX or the folder Vortex86MX
+ if you have an eBox 3310MX or KeyboardPC)
To install the VGA driver itself open a console Window and type the following:
# cp rdc_drv.so /usr/lib/xorg/modules/drivers/.
- Use the newest version of the drivers, the 1.7.5 that comes in the ZIP file.
# gdm-stop
- Type this from a terminal. This will stop the X windows system and send you to text mode. This takes a few seconds.
# (enter Login & passwd)
# sudo su
# (enter passwd again)
# Xorg-configure
- For a few seconds we lose the screen and the program writes the file /root/xorg.conf.new.
# cp /root/xorg.conf.new /etc/X11/xorg.conf
# reboot
For more details on installing the VGA driver refer to
Linx's post
Again, it is important to stress that
installing custom VGA drivers on X windows is optional and is aimed at users comfortable with working on the Console.
The eBox works well with the standard VESA drivers that ship with Ubuntu.
Regards
Pedro
[Revision History:
Sept 21st:
- Revised and added information about installing DMP's VGA drivers
Nov 14th:
- Added instructions for KeyboardPC
- Added information about WiFi drivers
- Added link to DMP Power Adapter for eBox 3350MX ]
Preface:
This Guide is a compilation of all the information RoboSavvy collected on the installation of Linux on eBox 33xx
MX series and Keyboard PC.
Warning 1: There are a few Linux installation guides on the Internet for eBox 33xx Series (including the manufacturer's website) but most of them are for 33xx
A which is an older model and uses a very different architecture.
Therefore many of these guides will not work with the newer eBox 33xx
MX series.
Warning 2: KeyboardPC, eBox of 33xxMX series are based on the Vortex86MX/Vortex86MX+ processors.
These processors do not support the full i686 instruction set (they are i586). This means, for example, that Ubuntu versions after 10.04 don't work
This also means there is no support for CMOV or SSE/SSE2.
Step 1: Choosing your HDD / SD card
All eBox models can use an SD card as their HDD.
This is the only option available in the case of eBox 3350MX and in the case of eBox 3310MX you can choose either SD card or instal a 2.5" SATA HDD.
- If you have an
eBox 3310MX (which supports SATA HDDs), and you're looking for
maximum maximum performance we recommend using a good 2.5" SATA HDD (5 400rpm at least).
You can also go with a 2.5" SATA Solid State drives although a regular HDD offers a good performance already.
- If you're using a KeyboardPC your unit may have come with a SATA DOM pre installed.
You can install to this SATA DOM or otherwise install and boot from SD card just like on eBox models.
- If you prefer to use an SD card as HDD please observe the following:
a) Choose a card that is at least Class 6 or Class 10 SD
from a reputable vendor.
A Class 4 SD card from Sandisk can often be faster than a class 10 from an unknown vendor.
Choosing SD cards from a reputable vendor also improves overall reliability.
b) Use Full Size SD cards and NOT microSD cards with adapters to full size SD.
Using MicroSD cards has proven unreliable and may results in random errors or intermittent failure.
There are plenty of reasons to prefer the use of an SD card as HDD: applications subject to vibration work better with an SD card; using SD cards lets you have multiple OS'es (one on each card) and quickly switch between OS'es; if you have an eBox 3350MX SD card is the only available option for HDD, ...
The quality of the SD card has a huge impact on the performance of your eBox. Therefore make sure to follow the guidelines above.
Preparation:
Our recommended OS for eBox is Ubuntu 10.04 LTS due to the ease of installation and wide range of software available.
(you may also use Lubuntu 10.04 which is a Ubuntu fine tuned to be Lightweight)
We'll be using version 10.04 LTS as Vortex86MX/Vortex86MX+ processors are recognized as i586 meaning that the latest Ubuntu version that is supported is 10.04 LTS (for i386).
All later versions of Ubuntu are optimized for i686 as they make use of the CMOV instruction which is not present on the Vortex86MX and therefore won't work.
We've downloaded Ubuntu 10.04 LTS (LTS stands for Long Term Support which means system and apps will be maintained for a long time) and burned it onto a CD.
If using SD card as your HDD insert it now, before turning the machine on.
Make sure you use a full size SD and
stay away of MicroSD -> Full SD adapters!
Connected all USB peripherals (CD Rom, Keyboard and mouse) and turn the box on.
Warning: if you're using eBox 3350MX, make sure your Power Adapter is able to supply a steady 5V 2A.
Insufficient power or lower quality power adapters may cause intermittent failures such as: no VGA, Reset during the boot process, date reverting to 2008 or not booting at all; if you experience any of these symptoms on the eBox 3350MX please be advised they're caused by insufficient power supply; try using different adapters rated 5V 1A at least (ideally 2A).
We're now supplying the Official eBox 3350MX Power Adapters from DMP which offer the full 5V 2A.
After turning the box on:
- Enter Setup
- chose "Load Failsafe Defaults" (just to ensure everything was going to work smoothly)
- set the CD ROM as the first boot device.
Installation Process:
The installation process is straightforward. Just boot from CD and follow the installation steps.
There are
a couple of recommendations from DMP but essentially during the Setup process you need to do this:
- Choose to manually partition the HDD.
- Create a main partition for the OS (
with mount point /) with
filesystem ext3
- Create a partition of 750Mb or 1.25GB for SWAP (depending if your box has 512Mb or 1Gb RAM)
Follow the standard installation routine (setting keyboard layout, locale settings, machine name, ...) and wait for setup to finish.
First boot:
On first boot, you'll get a
fully functional desktop but you won't have Network access.
This is because you're using the default kernel of Ubuntu which doesn't include the drivers for the Ethernet port and HD Audio built onto the SoC.
To fix this (and get maximum performance) you need to install a custom kernel from DMP.
At the time of writing, the
latest, recommended Kernel is version 2.6.34.10 released by DMP.
Installing the DMP Kernel:
Download the DMP kernel file to a USB thumb drive from the following location:
-
http://robosavvy.com/RoboSavvyPages/DMP ... 2_i386.zip .
The kernel comes as a DEB package which is very straightforward to install.
The
kernel DEB package can't be installed through Graphical Package managers. You must to install it from the command line following the instructions on one of the following locations:
. If the ZIP file with the Kernel packages includes a PDF with installation instructions, follow the instructions on that document.
. If the ZIP file with the kernel DEB package does _not_ include installation instructions then you must follow the default instructions for DMP kernels available on this page
http://robosavvy.com/RoboSavvyPages/DMP ... NSTALL.htm
When installing the new kernel you may see some warnings about symbolic links but these can be safely ignored.
Booting with the new kernel:
When booting Ubuntu with the new kernel you may see some Warnings being thrown by Linux because the Vortex86 architecture is considered "unkown".
These can also be safely ignored; just wait for the eBox to finish booting and you'll get into the Graphical Desktop.
Option: Installing the WiFi Drivers
After completing all the steps above and depending on your model (and the extras chosen) your unit may come with an internal WiFi dongle from DMP.
(KeyboardPC includes it by default but it's usually NOT included with eBox models).
The drivers for the WiFi module can be obtained at the following location:
-
http://robosavvy.com/RoboSavvyPages/DMP ... rtex86MX+/
The file is named
rtl8188_8192.zip
You should extract the file on your KeyboardPC/eBox and follow the included instructions.
The instructions include a comprehensive set of steps that need to be performed as root, for compiling the driver and also setting up the WiFi connection.
Tips for Advanced Users: the Custom DMP VGA driver
By now you should have a fully functional Ubuntu Linux Desktop. If you're happy with your installation you can safely stop reading and enjoy your eBox
X windows will be running using a standard VESA based VGA driver. This is enough for everyday applications and for the majority of users.
Still if you'd like to optimize your system a little more, you can install DMP's VGA driver. This procedure is only recommended for users comfortable with working on the Console.
DMP's VGA drivers improve the 2D performance and can also enable higher resolutions if you need them (X windows will be smoother when drawing and moving windows for example).
The installation procedure is very well documented by user
Linx on this post.
In summary this is what you'll need to do:
- Download location for VGA drivers:
http://robosavvy.com/RoboSavvyPages/DMP/LinuxDrivers/
(select the folder Vortex86MX if you have an eBox 3350MX or the folder Vortex86MX
+ if you have an eBox 3310MX or KeyboardPC)
To install the VGA driver itself open a console Window and type the following:
# cp rdc_drv.so /usr/lib/xorg/modules/drivers/.
- Use the newest version of the drivers, the 1.7.5 that comes in the ZIP file.
# gdm-stop
- Type this from a terminal. This will stop the X windows system and send you to text mode. This takes a few seconds.
# (enter Login & passwd)
# sudo su
# (enter passwd again)
# Xorg-configure
- For a few seconds we lose the screen and the program writes the file /root/xorg.conf.new.
# cp /root/xorg.conf.new /etc/X11/xorg.conf
# reboot
For more details on installing the VGA driver refer to
Linx's post
Again, it is important to stress that
installing custom VGA drivers on X windows is optional and is aimed at users comfortable with working on the Console.
The eBox works well with the standard VESA drivers that ship with Ubuntu.
Regards
Pedro
[Revision History:
Sept 21st:
- Revised and added information about installing DMP's VGA drivers
Nov 14th:
- Added instructions for KeyboardPC
- Added information about WiFi drivers
- Added link to DMP Power Adapter for eBox 3350MX ]
Last edited by
PedroR on Fri Sep 21, 2012 6:39 pm, edited 17 times in total.