Linux Desktop image for Wandboard Quad?

Discuss Ubuntu related items.

Linux Desktop image for Wandboard Quad?

Postby martin » Fri Jan 02, 2015 7:48 pm

Hello,

recently someone asked for "Ubuntu 14.04 Desktop" (gabitmiranda on Tue Oct 07, 2014) but didn't get an answer. So this question will be more general...

Background:
My Wandboard Quad (Rev C1?) is connected to the TV in the living room to serve (with a small wireless touch keyboard) as a simple desktop computer
focused on WWW browsing and checking emails (like a "Smart TV"). So I'm looking for a desktop linux distribution...
I also tested Android for a short time, but didn't like it.
Android was quite fast compared to the Ubuntu 12.04.3 armel image, but I have the impression that it is optimized for touchscreen
and not for keyboard+touchpad usage. I also want to run the familiar linux applications like on all the other PCs and notebooks.

Looking at http://www.wandboard.org/downloads Ubuntu 12.04.* armel SD card images for "WB Q/DL" and "WB All (not rev C1)" are available.
BTW, how can the board revision be identified?
AFAIK there is some labeling on the board, but is it also possible to get that information via a linux command?
Regarding the official Linux downloads it's not easy to understand

Why are there (only) "armel" images available for an armhf hardware? (hardware floating point support should not be emulated.)
And when will 12.04 "Precise Pangolin" be upgraded to the next LTS release 14.04 "Trusty Tahr" in the *near* future?

These are also issues for a server image...


http://wiki.wandboard.org/Main_Page#Lin ... _Wandboard lists Archlinux and Fedora,
but there seems to be no information about the scope of application. (Are these only server images?)
IMHO there also should be further information and more links added like e.g.
http://www.armhf.com/boards/wandboard/ or https://www.eewiki.net/display/linuxonarm/Wandboard
It's not that important for me which linux distribution I (have to) use.
It's more important for me that the image will run stable and fast.
I'm not sure if e.g. Yocto might be an alternative. This seems to be the base for other desktop like systems
like a XBMC/Kodi distribution, which even seems to support HDMI CEC. (http://stephan-rafin.net/blog/2014/01/2 ... cto-image/)
But is it also a good starting point for a linux desktop like Ubuntu, OpenSUSE etc.
Where do I get some information about how to set up a Yocto desktop system?

In contrast to server images (these usually run headless), a major problem seem to be the Vivante GC 2000/355/320 GPU drivers,
which seem not to be available for all linux kernels.
Looking at https://wiki.ubuntu.com/Kernel/LTSEnabl ... e_Schedule
Ubuntu 12.04LTS is build upon Linux >=v3.2 (12.04.2: v3.5, 12.04.3: v3.8; maintained until Aug. 2014) and 14.04LTS upon >=v3.13 kernels.
So a driver for v3.10 (http://wiki.wandboard.org/index.php/Wan ... .17_Status) or
v3.17 (viewtopic.php?f=12&t=620) probably won't work with Ubuntu 14.04...
But there seems to be also work be done on e.g. v3.13 (https://github.com/RobertCNelson/armv7- ... /issues/19)
or Ubuntu 13.04 (https://groups.google.com/forum/#!topic ... sEHFj6PMds)...


Is there an up-to-date "armhf+Vivante" Linux desktop image for the Wandboard Quad available? Where?
How about future (security) updates?


Thank you,
Martin


P.S.:
Since there are still a lot of websites using Adobe flash and there's no ARM version of the Adobe flash player alternatives
like gnash (https://www.gnu.org/software/gnash/) or Lightspark (http://lightspark.github.io/) have to be used.
I already have a cubietruck desktop system running and here gnash runs quite unstable...
The Adobe Flash player v11.2 is also the last version for the actual supported Linux platforms so this might also be
problematic for all Linux desktop users if flash is not replaced or gnash is getting more stable...
martin
 
Posts: 6
Joined: Fri Apr 04, 2014 6:44 pm

Re: Linux Desktop image for Wandboard Quad?

Postby jason » Sun Jan 04, 2015 6:12 am

Just do yourself a favor and get images from armhf.com. Wandboard and RCN images are crap.
jason
 
Posts: 43
Joined: Sun Jan 04, 2015 5:22 am

Re2: Linux Desktop image for Wandboard Quad?

Postby martin » Tue Jan 06, 2015 5:46 pm

jason wrote:Just do yourself a favor and get images from armhf.com. Wandboard and RCN images are crap.

How about support of the Vivante GPU?

If I take the "official" Ubuntu image, extract the first partition, mount it (as root) and search for e.g. "viv"

$ dd if=ubuntu-wandboard-20140516.img of=ubuntu-wandboard-20140516.img1 skip=16384 count=7170048 bs=512
$ mkdir mnt; mount ubuntu-wandboard-20140516.img1 mnt; cd mnt
$ find . -iname "*viv*"

I'll get a lot of hits e.g.
[...]
./usr/lib/libVIVANTE-dfb.so
./usr/lib/libVIVANTE-fb.so
./usr/lib/xorg/modules/drivers/vivante_drv.la
./usr/lib/xorg/modules/drivers/vivante_drv.so
./usr/lib/xorg/modules/extensions/libdriviv.so
./usr/lib/dri/vivante_dri.so
./usr/lib/libVIVANTE-x11.so
./usr/lib/libwayland-viv.a
./usr/lib/arm-linux-gnueabi/vivante
./usr/lib/arm-linux-gnueabi/dri/vivante_dri.so
./usr/lib/libVIVANTE-wl.so
./usr/lib/libwayland-viv.so
./usr/lib/libVIVANTE.so
./usr/lib/libwayland-viv.so.0
./usr/lib/libwayland-viv.la
./usr/lib/libwayland-viv.so.0.0.0
[...]

Looking at the armhf root file system found at http://www.armhf.com/boards/wandboard/#trusty
$ tar tJf ubuntu-trusty-14.04-rootfs-3.10.17.1-wand-armhf.com.tar.xz | grep -i viv
shows nothing relevant, as well as for http://www.armhf.com/boards/wandboard/#precise
$ tar tJf ubuntu-precise-12.04.4-rootfs-3.10.17.1-wand-armhf.com.tar.xz | grep -i viv
Where can I get the missing VIVANTE armhf parts?


I saw that someone added VIVANTE support to a 3.10.9 linux kernel debian image
(http://jas-hacks.blogspot.it/2013/12/im ... 9-100.html ->
http://stende.no-ip.info/imx6/jessie-lxde.tar.xz, http://stende.no-ip.info/jas/debian/jessie-xfce.tar.gz)
following http://jas-hacks.blogspot.co.uk/2013/10 ... ation.html,
which was based on an older 3.5.7 Linux kernel.
$ tar tJf jessie-lxde.tar.xz| grep -i viv
[...]
./usr/lib/dri/vivante_dri.so
./usr/lib/xorg/modules/drivers/vivante_drv.so
./usr/lib/libVIVANTE.so
./usr/lib/arm-linux-gnueabihf/gstreamer-1.0/libgstimxeglvivsink.so
./usr/lib/libVIVANTE-x11.so
./usr/lib/libVIVANTE-fb.so
[...]
I hope that these images will work quite well.
This might also be a source to enhance the armhf.com Ubuntu trusty image,
which is obviously using linux kernel 3.10.17 (quite close to 3.10.9).


http://en.wikipedia.org/wiki/Free_and_o ... er#Vivante
mentions a user space driver etna_viv (https://github.com/laanwj/etna_viv).
Is there a Wandboard Quad linux (armhf) image already including this driver?

Thanks,
Martin

Remember: I'm looking for a linux image for a DESKTOP system...
(and it would be great to have an upgraded official Wandboard linux armhf image still including Vivante drivers.)
martin
 
Posts: 6
Joined: Fri Apr 04, 2014 6:44 pm

Re: Linux Desktop image for Wandboard Quad?

Postby jason » Tue Jan 06, 2015 5:55 pm

I built a Debian 8 image yesterday: viewtopic.php?f=3&t=805

Install it first and check everything else works, install all other packages you need.

In the meantime I am compiling the 3.10.17 kernel from wandboard.org's GIT hub with all official drivers included. Once its ready, you can replace the kernel with the new one I'm building. I'll post an update soon.
jason
 
Posts: 43
Joined: Sun Jan 04, 2015 5:22 am

Re: Linux Desktop image for Wandboard Quad?

Postby martin » Thu Jan 08, 2015 9:25 pm

Hello Jason,

jason wrote:I built a Debian 8 image yesterday: viewtopic.php?f=3&t=805

Install it first and check everything else works, install all other packages you need.

In the meantime I am compiling the 3.10.17 kernel from wandboard.org's GIT hub with all official drivers included. Once its ready, you can replace the kernel with the new one I'm building. I'll post an update soon.


Thank you for the replies and the image.

I downloaded debian8wand2.img.7z from http://www47.zippyshare.com/v/43148017/file.html and...

$ 7z e debian8wand2.img.7z
$ dd if=debian8wand.img of=debian8wand.img2 skip=206848 count=819200 bs=512
$ mkdir mnt; mount debian8wand.img2 mnt
$ cd mnt; find . -iname "*viv*"
./lib/modules/3.10.17.1-wand-armhf.com/kernel/drivers/usb/serial/vivopay-serial.ko
./usr/share/zoneinfo/right/Asia/Tel_Aviv
./usr/share/zoneinfo/posix/Asia/Tel_Aviv
./usr/share/zoneinfo/Asia/Tel_Aviv

The VIVANTE drivers (for the Vivante GC 2000/355/320 GPUs) seem not yet to be included.
Are you sure they are part of the official 3.10.17 kernel drivers?

A X-Server with proper GPU support is an important part for a Desktop image.
I'm curious about the update...
martin
 
Posts: 6
Joined: Fri Apr 04, 2014 6:44 pm

Re: Linux Desktop image for Wandboard Quad?

Postby jason » Sat Jan 10, 2015 10:02 pm

martin wrote:Hello Jason,

jason wrote:I built a Debian 8 image yesterday: viewtopic.php?f=3&t=805

Install it first and check everything else works, install all other packages you need.

In the meantime I am compiling the 3.10.17 kernel from wandboard.org's GIT hub with all official drivers included. Once its ready, you can replace the kernel with the new one I'm building. I'll post an update soon.


Thank you for the replies and the image.

I downloaded debian8wand2.img.7z from http://www47.zippyshare.com/v/43148017/file.html and...

$ 7z e debian8wand2.img.7z
$ dd if=debian8wand.img of=debian8wand.img2 skip=206848 count=819200 bs=512
$ mkdir mnt; mount debian8wand.img2 mnt
$ cd mnt; find . -iname "*viv*"
./lib/modules/3.10.17.1-wand-armhf.com/kernel/drivers/usb/serial/vivopay-serial.ko
./usr/share/zoneinfo/right/Asia/Tel_Aviv
./usr/share/zoneinfo/posix/Asia/Tel_Aviv
./usr/share/zoneinfo/Asia/Tel_Aviv

The VIVANTE drivers (for the Vivante GC 2000/355/320 GPUs) seem not yet to be included.
Are you sure they are part of the official 3.10.17 kernel drivers?

A X-Server with proper GPU support is an important part for a Desktop image.
I'm curious about the update...


The module is built-in, it is not loadable, its compiled into the kernel. The best way to check is to either extract the config from the kernel or dump /proc/config.gz from a running kernel.
jason
 
Posts: 43
Joined: Sun Jan 04, 2015 5:22 am

Re: Linux Desktop image for Wandboard Quad?

Postby martin » Sun Feb 22, 2015 5:15 pm

Hi Jason,

jason wrote:The module is built-in, it is not loadable, its compiled into the kernel. The best way to check is to either extract the config from the kernel or dump /proc/config.gz from a running kernel.


What about the userspace Xorg part of the Vivante driver?

I put your Debian8 image on a SD card, enlarged the partition with gparted, added
Code: Select all
auto eth0
iface eth0 inet dhcp

to /etc/network/interfaces for a working wired network,
replaced the debian server in /etc/apt/sources.list with a local mirror from
https://www.debian.org/mirror/list (which also offers armhf)
and installed some packages like lxde, mesa-utils and some more.

The image works quite well, but e.g. glxgears runs quite slow with a large window. (I'm using a FullHD TV.)
Looking at /var/log/Xorg.0.log, I don't think the vivante X11 driver is loaded and video acceleration
is probably not working.
(II) AIGLX: Screen 0 is not DRI2 capable
(EE) AIGLX: reverting to software rendering
(II) AIGLX: Loaded and initialized swrast

Like I already mentioned there's also no e.g. /usr/lib/xorg/modules/drivers/vivante_drv.so
Which packages do I have to install? (I didn't see anything related to "vivante"...)

Thank you,
Martin

P.S.:
The sound is also not working very well, but I think this is just a configuration issue
to set the HDMI sound card as main device...
martin
 
Posts: 6
Joined: Fri Apr 04, 2014 6:44 pm

Re: Linux Desktop image for Wandboard Quad?

Postby Jim255 » Thu Feb 26, 2015 10:45 pm

I'd like to note that without the Vivante drivers, this image will not even operate as a headless X server with the dummy (armhf) video driver installed.
Jim255
 
Posts: 16
Joined: Fri Aug 30, 2013 8:23 pm


Return to Software - Ubuntu

Who is online

Users browsing this forum: Google [Bot] and 14 guests

cron