Vivante GC320 support

This forum is for supported devices using an ARMv7 Freescale SoC.

Re: Vivante GC320 support

Postby pepedog » Mon Apr 14, 2014 6:58 pm

Nice.
Maybe post your experience with movie playing, once you have spent time on it.
It's a utilite, isn't it?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Vivante GC320 support

Postby tobbebobbe » Tue Apr 15, 2014 5:51 am

Yes, it´s a Utilite (pro). I will post some experience when I´ve had time to watch some stuff. But so far the picture looks good, sharp, no real lag and the utilite does not feel hot.
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

Re: Vivante GC320 support

Postby derpuma » Tue Apr 15, 2014 8:56 am

Hi tobbebobbe,

i read that you are successfully running an xbmc under archlinux.
any chance to get an image of your installation to make a bootable sd card?
i would like to test it...

so far i used geexbox for utilite, unfortunately a lot of freezes with my little utilite...

I have an installation of Archlinux (latest Verison) installed today on SD wich boots fine into terminal!
But not really a cloy how to install all the rest of the Archlinux to get XBMC working and boot up into XBMC.

Wich are the best graphic drivers, what else to have a special look at?
Any help? An image to flash for testing would be perfect...

BR,
derpuma
derpuma
 
Posts: 8
Joined: Tue Apr 15, 2014 6:50 am

Re: Vivante GC320 support

Postby tobbebobbe » Tue Apr 15, 2014 9:50 am

Hi derpuma,

A few weeks ago I was the one hoping someone would make an arch-image with working xbmc pre-installed! ;)
If I were to make an image of my working install I would have to put lots of effort deleting my personal stuff and passwords etc for other software I installed, so I would prefer to just help you out getting xbmc to work on your current Arch image.

I know this thread is long, but basically all the information is in here to get it to work. All the packages needed are in the official repos except the kernel, which needs to be custom made with support for the Vivante graphic chip.

1. Get Ralix utilite kernel from earlier in the thread. (I can perhaps host it for you if you give me some time)

2. Create the boot.scr in /boot as described by me in post from yesterday

3. Install xbmc-imx-git from official repo. This should pull in some other packages like imx-vpu, firmware-imx, gpu-viv-bin-mx6q-fb etc. Xbmc should work out of the box, but the file permissions are still set up wrong for the HDMI-CEC so If you use that you need to run xbmc as root.

And I think this is it actually, or did I forget something?
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

Re: Vivante GC320 support

Postby derpuma » Tue Apr 15, 2014 12:20 pm

Thx for your quick answer.

1) Hosting me the right kernel for me would be perfect! No Problem, take your time...

2) You mean I have to:

$this->bbcode_second_pass_code('', 'sata dev 0
setenv bootargs console=ttymxc3,115200 root=/dev/sda2 rw rootwait consoleblank=0
fatload sata 0 0x10800000 uImage
bootm')

then:

$ mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Utilite boot" -d kernelargs.txt boot.scr

and i get this:

$this->bbcode_second_pass_quote('', '$') cat /proc/cmdline
console=ttymxc3,115200 root=/dev/sda2 rw rootwait consoleblank=0


3)
I am an newbie in installing linux from terminal. how do I install xbmc and other packages in archlinux?
Where do I found those?
A short explanation would be great!

I do not need CEC.

I think I will give it a try.

My Arcklinux Installation was done with this tutorial:

http://archlinuxarm.org/platforms/armv7 ... le/utilite

BR
derpuma
derpuma
 
Posts: 8
Joined: Tue Apr 15, 2014 6:50 am

Re: Vivante GC320 support

Postby tobbebobbe » Tue Apr 15, 2014 2:16 pm

The "sata dev 0..." quoted in the code should be in the file kernelargs.txt.

Here is the arch wiki: https://wiki.archlinux.org/index.php/Main_page
You can read some general guides for Arch Linux there. Pacman is the package manager for installing software. You should set up a user apart from root, and get familiar with basic command line commands. Arch linux requires some dedication but is a great way to learn Linux if you are willing. But having a rolling release distro like Arch. You need to keep the software upto date or run into problems when trying to install something further down the line

If you just want a working image for xbmc perhaps have a look at Stephans images: https://stephan-rafin.net/blog/2014/01/ ... cto-image/ . They worked well for me. Otherwise I guess it´s just a matter of time until xbmc will work/install easy on the standard ubuntu image.
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

Re: Vivante GC320 support

Postby derpuma » Tue Apr 15, 2014 3:44 pm

Unfortunatly yocto doesn't do it for me. I tested that already.
Some missing codecs doesn't let me play Live TV HD Video Content! (MPEG2)...

The compulab Ubuntu with XBMC has not NFS support implemented in Kernel.
And Geexbox gives me freezes in GUI and complete system hangups...

:-/ So I thought about Acrchlinux....
I am pretty sure with a little help I can manage an installation...

I am a little bit familiar with ubuntu...
derpuma
 
Posts: 8
Joined: Tue Apr 15, 2014 6:50 am

Re: Vivante GC320 support

Postby pepedog » Tue Apr 15, 2014 5:33 pm

Look,
The arch kernel that comes with the rootfs, and subsequent updates, does xbmc just fine.
To install and run xbmc
pacman -Syu
pacman -S xbmc-imx-git
To start on boot
systemctl enable xbmc
Modify or create the boot.scr file, main purpose is to get consoleblank=0 into it

If you tell me what file permissions to fix cec it will be included, I don't have fiddling time at the mo
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Vivante GC320 support

Postby derpuma » Tue Apr 15, 2014 9:36 pm

XBMC runs under Archlinux. Many thanks so far...

Only some little help.

1) I made the /kernelargs.txt File but yours is for sad:

Now I have to add it to boot.scr? with:
$ mkimage -A arm -O linux -T script -C none -a 0 -e 0 -n "Utilite boot" -d kernelargs.txt boot.scr

I have a Utilite Standard and boot from SD!!!

Update! Think I solved that too with this kernelargs.txt:

$this->bbcode_second_pass_code('', 'mmc dev 0
setenv bootargs console=ttymxc3,115200 root=/dev/mmcblk0p2 rw rootwait consoleblank=0
fatload mmc 0 0x10800000 uImage
bootm')


2) Network Infos shows me connected to the internet with correct IP and DNS Servers.
Loading Addons from Repo works.

But I cannot connect via NFS to my fileserver.

So far I tested:
Tried to pacman -S nfs-utils
That worked but i am not able to start nfs

[root@alarm etc]# systemctl status nfsd.service
● nfsd.service - NFS Server Daemon
Loaded: loaded (/usr/lib/systemd/system/nfsd.service; enabled)
Active: failed (Result: exit-code) since Tue 2014-04-15 16:00:06 MDT; 51s ago
Docs: man:rpc.nfsd(8)
Process: 911 ExecStart=/usr/bin/rpc.nfsd $NFSD_OPTS $NFSD_COUNT (code=exited, status=1/FAILURE)
Main PID: 911 (code=exited, status=1/FAILURE)

Apr 15 16:00:06 alarm rpc.nfsd[911]: rpc.nfsd: Unable to access /proc/fs/nfsd errno 2 (No such file or directory).
Apr 15 16:00:06 alarm rpc.nfsd[911]: Please try, as root, 'mount -t nfsd nfsd /proc/fs/nfsd' and then restart rpc.nf...roblem
Apr 15 16:00:06 alarm systemd[1]: nfsd.service: main process exited, code=exited, status=1/FAILURE
Apr 15 16:00:07 alarm systemd[1]: Failed to start NFS Server Daemon.
Apr 15 16:00:07 alarm systemd[1]: Unit nfsd.service entered failed state.
Hint: Some lines were ellipsized, use -l to show in full.
[root@alarm etc]#


Any help for that?

That would be great.

BR,
derpuma
derpuma
 
Posts: 8
Joined: Tue Apr 15, 2014 6:50 am

Re: Vivante GC320 support

Postby derpuma » Wed Apr 16, 2014 5:51 pm

So thanks so far for helping!

I managed to get a stable XBMC Installation on Utilite with this help here.

Unfortunately I was not able to get NFS working under libnfs-1.9.3-1 package.

Downgrading the libnfs to an older Version like mentioned here did not help me to get it fixed:

https://bbs.archlinux.org/viewtopic.php?pid=1404731

Maybe I did something wrong...

If someone knows a solution, help would be nice...
derpuma
 
Posts: 8
Joined: Tue Apr 15, 2014 6:50 am

PreviousNext

Return to Freescale

Who is online

Users browsing this forum: No registered users and 0 guests

cron