Lx-Soft.com is still alive!

Vink's EPIA Story: Linux install

At the beginning, my linux box was used as a normal PC. The first distribution I used with this motherboard was Debian. Due to many re-install to get the system stabilised, I tried Ubuntu. Ubuntu works almost fine.
That's why I still using Ubuntu on this media Box.

The config files:

The openchrome site explains that VIA cn700 do not support HDTV, but, using the DVI output, with an DVI-to-HDMI cable, it works perfectly (*).
(*) Perfectly, yes, but I got a strange issue: I've to launch X with a dummy config file, to "init" the VIA CHiP (you have to use openchrome SVN rev. 592. Since SVN rev. 594, this is no more working). Then, it works perfectly.
I've modified my /etc/init.d/gdm with these instructions to do the hack automatically:

 start)
+/usr/bin/Xorg -config /etc/X11/dummy.conf &
+sleep 3
+killall Xorg
+sleep 2
 if [ ... ] then ...

Fetching the source code

mkdir openchrome
cd openchrome
svn co http://svn.openchrome.org/svn/trunk
git clone git://anongit.freedesktop.org/git/mesa/drm
git://people.freedesktop.org/~libv/xf86-video-unichrome
hg clone http://linuxtv.org/hg/v4l-dvb
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

3 sources, 3 ways to fetch source code... I've added 2 usefull svn for mplayer. Where is gone my old 'cvs co' command? lol

Compiling Openchrome driver

cd trunk
./autogen.sh --prefix=/usr
make
make install

Compiling DRM libraries

cd drm
./autogen.sh
make
make install

Compiling VIA DRM kernel modules

cd drm/linux-core
make LINUXDIR=/lib/modules/uname -r/build DRM_MODULES=via
cp *.ko /lib/modules/uname -r/kernel/drivers/char/drm/
depmod -ae

Compiling Video 4 Linux DVB kernel modules

cd v4l-dvb
make menuconfig # Choose your videocard
make
make install

Okay, let's install MythTV...