Vivante GC320 support

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

Re: Vivante GC320 support

Postby pepedog » Sat Mar 22, 2014 3:30 pm

For utilite the only thing missing for xbmc to run using official repo is the kernel. Was testing one yesterday and it looks real good.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Vivante GC320 support

Postby tobbebobbe » Sun Mar 23, 2014 4:10 pm

I install the custom kernel from Ralix git. For the rest I use the packages from the regular repo.

I have had problems when using this kernel that booting is not performing ok. After recompiling and running fsck a couple of times it seems to work.

Second problem is that xbmc segfaults when I try to run it.
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

Re: Vivante GC320 support

Postby ralix » Mon Mar 24, 2014 5:27 am

morning,

That with xbmc I had even after I have taken all the packages from the ArchRepo and have not rebuilt my kernel with this patch:

# Allow use of 3:10:17 gpu binaries
patch - ignore-whitespace-p1 <.. / ENGR00278350-gpu-viante-4.6.9p13-kernel-part integra.patch

That was not yet in my Git .. Sorry! Try it again ;)


Greetings Ralix
ralix
 
Posts: 19
Joined: Wed Feb 05, 2014 5:04 am

Re: Vivante GC320 support

Postby tobbebobbe » Tue Mar 25, 2014 7:33 am

Thanks a lot Ralix, that solved the problem!

Now the only thing that does not work for me is the HDMI-CEC. When I log in and start xbmc as root it works, but not when autostarting as xbmc user. I have followed the Arch xmbc howto and added the user xbmc to groups uucp and lock but the problem is still there. Obviously it has something to do with wrong permissions since it works for root user. I have found some information about similar issue where the solution was to set chmod 777 to directory /run/lock but this also did not solve the issue for me.
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

Re: Vivante GC320 support

Postby ralix » Mon Mar 31, 2014 5:18 am

Morning...

I'm a little confused ... Which package I need to install?

[root@mordor-dev ~]# pacman -Qe | grep linux
...
linux-utilite 3.0.35-10
linux-utilite-headers 3.0.35-10
...

[root@mordor-dev ~]# pacman -Suy
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...
:: linux-headers-imx6-cubox and linux-utilite-headers are in conflict (linux-headers-imx6). Remove linux-utilite-headers? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: linux-headers-imx6-cubox and linux-utilite-headers are in conflict

Cheers Ralix
ralix
 
Posts: 19
Joined: Wed Feb 05, 2014 5:04 am

Re: Vivante GC320 support

Postby pepedog » Mon Mar 31, 2014 8:11 am

pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Vivante GC320 support

Postby tobbebobbe » Mon Apr 07, 2014 11:15 am

I am also having issues with this. Did you manage to fix it? Which libraries should be installed?
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

Re: Vivante GC320 support

Postby pepedog » Mon Apr 07, 2014 12:37 pm

Headers shouldn't be an issue now, remove them
This should install libraries, if you are after xbmc
pacman -S xbmc-imx-git
And you might want this
$this->bbcode_second_pass_code('', '# cat /etc/udev/rules.d/99-imx.rules
# Create symlinks for i.mx keypads and touchscreens
SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mxckpd", SYMLINK+="input/keyboard0"
SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mxc_ts", SYMLINK+="input/ts0"
SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="imx_adc_ts", SYMLINK+="input/ts0"
SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mpr084", SYMLINK+="input/keyboard0"
SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="tsc2007", SYMLINK+="input/ts0"
SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="STMP3XXX touchscreen", SYMLINK+="input/ts0"
SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="MXS touchscreen", SYMLINK+="input/ts0"
SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="HannStar P1003 Touchscreen", SYMLINK+="input/ts0"
SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="eGalax Touch Screen", SYMLINK+="input/ts0"

# The long class name gets cut off to be mc13783_connectiv in
# /sys/class/mc13783_connectivity/mc13783_connectivit
KERNEL=="mc13783_connectiv*", NAME="mc13783_connectivity"
# Anyone has readonly permission to IIM device file
KERNEL=="mxc_iim", MODE="0666", SYMLINK+="mxc_mem"
KERNEL=="mxs_viim", MODE="0666", SYMLINK+="mxc_mem"
KERNEL=="mxc_ipu", MODE="0666"
KERNEL=="fb0", MODE="0666"
KERNEL=="fb1", MODE="0666"
KERNEL=="fb2", MODE="0666"
KERNEL=="mxc_vpu", MODE="0666"
SUBSYSTEM=="video", MODE="0666"
KERNEL=="gsl_kmod", MODE="0666"
KERNEL=="galcore", MODE="0666"
KERNEL=="mxc_galcore", MODE="0666"
KERNEL=="mxc_asrc", MODE="0666"
SUBSYSTEM=="video", MODE="0666"
SUBSYSTEM=="sound", MODE="0666"
SUBSYSTEM=="video4linux", MODE="0666"
KERNEL=="event*", NAME="input/%k", MODE="666"

# ALSA devices
SUBSYSTEM=="sound", GROUP="audio"
SUBSYSTEM=="snd", GROUP="audio"
KERNEL=="control*", NAME="snd/%k", MODE="0666"
KERNEL=="pcm*", NAME="snd/%k", MODE="0666"
KERNEL=="timer", NAME="snd/%k", MODE="0666"

# Set bluetooth power up
ACTION=="add", KERNEL=="hci0", RUN+="/usr/bin/hciconfig hci0 up"')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Vivante GC320 support

Postby tobbebobbe » Mon Apr 07, 2014 6:32 pm

Remove linux-headers-imx6-cubox or linux-utilite-headers? Surely the later ones are needed for the custom kernel?
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

Re: Vivante GC320 support

Postby pepedog » Mon Apr 07, 2014 7:01 pm

Only when building something that requires the headers.
I got a whisper, etnaviv may soon be working on mainline 3.14 soon, with dri
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

PreviousNext

Return to Freescale

Who is online

Users browsing this forum: No registered users and 4 guests