Vivante GC320 support

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

Re: Vivante GC320 support

Postby pepedog » Fri Apr 11, 2014 5:25 pm

I will power up my utilite see if mine can work more than a few minutes.
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Vivante GC320 support

Postby pepedog » Fri Apr 11, 2014 8:00 pm

Do you have consoleblank=0 in your bootargs? Also I have to use inner Ethernet port, PCI one is flaky
been playing for 13 minutes no problems
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Vivante GC320 support

Postby tobbebobbe » Sat Apr 12, 2014 7:08 am

I have done "echo 0 > /sys/class/graphics/fbcon/cursor_blink" instead. Would that matter?

Using the middle ethernet, the connection is not the problem.
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

Re: Vivante GC320 support

Postby tobbebobbe » Sat Apr 12, 2014 8:17 am

As for the permission problem:

$this->bbcode_second_pass_code('', '/root/.xbmc/userdata/peripheral_data/cec_0471_1001.xml:root:root:-rw-r--r--
/root/.xbmc/userdata/Thumbnails/a/a0b11cec.jpg:root:root:-rw-r--r--
/opt/couchpotato/data/cache/python/4157bb1abcbf99919a3912cecb000390:couchpotato:couchpotato:-rw-------
/opt/couchpotato/data/cache/python/02e45e5f7eac9c153c1acec5032c3cdf:couchpotato:couchpotato:-rw-------
/opt/couchpotato/data/cache/python/ac33bebcaf614ebcec7b2ac7a03700f3:couchpotato:couchpotato:-rw-------
/opt/couchpotato/data/cache/python/be967db937ddaececbbefc41f815b22e:couchpotato:couchpotato:-rw-------
/opt/couchpotato/data/cache/python/3dd1c5fbaacf16f4bb2fa0477b7cec6c:couchpotato:couchpotato:-rw-------
/opt/couchpotato/data/cache/fcec6d6f0ae0c6c8de459b8d4fe2bbb2.jpg:couchpotato:couchpotato:-rwxr-xr-x
/sys/devices/platform/mxc_hdmi_cec.0:root:root:drwxr-xr-x
/sys/devices/virtual/mxc_hdmi_cec:root:root:drwxr-xr-x
/sys/devices/virtual/mxc_hdmi_cec/mxc_hdmi_cec:root:root:drwxr-xr-x
/sys/bus/platform/devices/mxc_hdmi_cec.0:root:root:lrwxrwxrwx
/sys/bus/platform/drivers/mxc_hdmi_cec:root:root:drwxr-xr-x
/sys/bus/platform/drivers/mxc_hdmi_cec/mxc_hdmi_cec.0:root:root:lrwxrwxrwx
/sys/class/mxc_hdmi_cec:root:root:drwxr-xr-x
/sys/class/mxc_hdmi_cec/mxc_hdmi_cec:root:root:lrwxrwxrwx
/proc/irq/147/mxc_hdmi_cec:root:root:dr-xr-xr-x
/dev/mxc_hdmi_cec:root:root:crw-------
/var/cache/pacman/pkg/libcec-imx6-13.20130928-1-armv7h.pkg.tar.xz:root:root:-rw-r--r--
/var/cache/pacman/pkg/libcec-imx6-13.20140324-1-armv7h.pkg.tar.xz:root:root:-rw-r--r--
/var/lib/pacman/local/libcec-imx6-13.20140324-1:root:root:drwxr-xr-x
/var/lib/xbmc/.xbmc/userdata/peripheral_data/cec_0471_1001.xml:xbmc:xbmc:-rw-r--r--
/usr/include/libcec:root:root:drwxr-xr-x
/usr/include/libcec/cec.h:root:root:-rw-r--r--
/usr/include/libcec/cecloader.h:root:root:-rw-r--r--
/usr/include/libcec/cectypes.h:root:root:-rw-r--r--
/usr/include/libcec/cecc.h:root:root:-rw-r--r--
/usr/include/glib-2.0/gobject/gsourceclosure.h:root:root:-rw-r--r--
/usr/lib/pkgconfig/libcec.pc:root:root:-rw-r--r--
/usr/lib/libcec.so.2:root:root:lrwxrwxrwx
/usr/lib/libcec.so.2.0.1:root:root:-rwxr-xr-x
/usr/lib/libcec.so:root:root:lrwxrwxrwx
/usr/bin/cec-client:root:root:-rwxr-xr-x
/usr/share/man/man3/_tracechtype2.3x.gz:root:root:lrwxrwxrwx
/usr/share/man/man3/_tracecchar_t.3x.gz:root:root:lrwxrwxrwx
/usr/share/man/man3/_tracechtype.3x.gz:root:root:lrwxrwxrwx
/usr/share/man/man3/_tracecchar_t2.3x.gz:root:root:lrwxrwxrwx
/usr/share/man/man3/_tracechar.3x.gz:root:root:lrwxrwxrwx
')
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

Re: Vivante GC320 support

Postby pepedog » Sat Apr 12, 2014 2:22 pm

You need consoleblank=0
viewtopic.php?f=45&t=7107
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Vivante GC320 support

Postby tobbebobbe » Sun Apr 13, 2014 6:49 pm

When I do:
CM-FX6 # printenv
Consoleblank=0 is set. But I guess I have to make a boot.scr. I try to do it with:

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

Where I have tried a load of different things in kernelargs.txt but I wont get it to boot. What should I put in kernelargs.txt?
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

Re: Vivante GC320 support

Postby pepedog » Sun Apr 13, 2014 8:43 pm

Show your kernelargs.txt and we can advise
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Vivante GC320 support

Postby tobbebobbe » Mon Apr 14, 2014 6:26 am

I tried the adviced settings for SATA from this site: http://www.utilite-computer.com/wiki/in ... nux_Kernel

$this->bbcode_second_pass_quote('', 'c')onsole=ttymxc3,115200 root=/dev/sda2 rw rootwait consoleblank=0


Trying to boot that it said that "rw" is an unknown command. Removing it did not help.

I also found this document: http://archlinuxarm.org/static/devices/ ... -scr-howto for the Trimslice which gives me the idea I need to put more stuff in the kernelargs.txt, but I don´t find any resource explaining what need to /can go in there.
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

Re: Vivante GC320 support

Postby pepedog » Mon Apr 14, 2014 8:06 am

The way you wrote it is wrong for boot.scr, it should look like this (as txt before you wrap with mkima)
setenv console ttymxc3,115200 root=/dev/sda2 rw rootwait consoleblank=0

It's a script remember, you probably need other stuff ending in bootm
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Vivante GC320 support

Postby tobbebobbe » Mon Apr 14, 2014 5:06 pm

I managed to solve it!

kernelargs.txt as this:

$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')

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

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


And movies works for more than 10 minutes now! :)
tobbebobbe
 
Posts: 65
Joined: Thu Jan 30, 2014 12:00 pm

PreviousNext

Return to Freescale

Who is online

Users browsing this forum: No registered users and 17 guests