Re: PowerVR SGX540 drivers for PandaBoard(OMAP4460) on vanilla kernel

2015-09-03 Thread Tony Lindgren
* Sedat Marangoz  [150902 01:24]:
> Tried hard but nothing available my hands except my experiences. I
> gave up trying custom kernel due to lots of error, and instead tried
> Ubuntu precise 3.2.0-1412-omap4 kernel which is one of the working
> kernel with SGX540 driver module. I built "omapdrm_pvr.ko" and load
> this module without error. Beside kernel module, user space libraries
> are needed for running with hardware acceleration. However these user
> space libraries also depends on X11, and  my file system does not
> contain any library related X11. Even if kernel module loaded
> successfully, it seems it is impossible to use PVR without X11
> libraries(mentioned here:
> http://pandaboard.org/pbirclogs/index.php?date=2011-12-29 )
> 
> Dependency tree:
> 
> libpvrPVR2D_DRIWSEGL.so.1.7.10.0
> -> [libpvr2d.so]
> -> [libdl.so.2]
> -> [libdrm.so.2]
> -> [libX11.so.6]
> -> [libxcb.so.1]
>  -> [libXau.so.6]
>  -> [libXdmcp.so.6]
>  -> [libc.so.6]
>  -> [ld-linux.so.3]
> -> [libdl.so.2]
> -> [libc.so.6]
> -> [ld-linux.so.3]
> -> [libXext.so.6]
>  -> [libX11.so.6]
>  -> [libc.so.6]
>  -> [ld-linux.so.3]
> 
>  -> [libXfixes.so.3]
>  -> [libX11.so.6]
>  -> [libc.so.6]
> 
> So, it seems currently there is no way to install SGX540 driver to
> Pandaboard ES (OMAP4460) which has custom kernel such as version
> 3.10.80 and small filesystem(without X11)  :(

Sorry no idea why the libX11 dependency is there.. I was mostly
thinking if there's something we should patch in the mainline
kernel to make things easier.

> In my opinion, another platform such as BeagleBone Black which has
> SGX530 is more appropriate for my needs, I have already used modules
> and libraries for hardware acceleration without x11.

OK that sounds right to me.

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: PowerVR SGX540 drivers for PandaBoard(OMAP4460) on vanilla kernel

2015-09-02 Thread Sedat Marangoz
Tried hard but nothing available my hands except my experiences. I
gave up trying custom kernel due to lots of error, and instead tried
Ubuntu precise 3.2.0-1412-omap4 kernel which is one of the working
kernel with SGX540 driver module. I built "omapdrm_pvr.ko" and load
this module without error. Beside kernel module, user space libraries
are needed for running with hardware acceleration. However these user
space libraries also depends on X11, and  my file system does not
contain any library related X11. Even if kernel module loaded
successfully, it seems it is impossible to use PVR without X11
libraries(mentioned here:
http://pandaboard.org/pbirclogs/index.php?date=2011-12-29 )

Dependency tree:

libpvrPVR2D_DRIWSEGL.so.1.7.10.0
-> [libpvr2d.so]
-> [libdl.so.2]
-> [libdrm.so.2]
-> [libX11.so.6]
-> [libxcb.so.1]
 -> [libXau.so.6]
 -> [libXdmcp.so.6]
 -> [libc.so.6]
 -> [ld-linux.so.3]
-> [libdl.so.2]
-> [libc.so.6]
-> [ld-linux.so.3]
-> [libXext.so.6]
 -> [libX11.so.6]
 -> [libc.so.6]
 -> [ld-linux.so.3]

 -> [libXfixes.so.3]
 -> [libX11.so.6]
 -> [libc.so.6]

So, it seems currently there is no way to install SGX540 driver to
Pandaboard ES (OMAP4460) which has custom kernel such as version
3.10.80 and small filesystem(without X11)  :(
In my opinion, another platform such as BeagleBone Black which has
SGX530 is more appropriate for my needs, I have already used modules
and libraries for hardware acceleration without x11.

2015-09-01 18:26 GMT+03:00 Tony Lindgren :
> * Sedat Marangoz  [150813 05:14]:
>> Hi all,
>>
>> Is there a way to install PVR SGX540 driver to my PandaBoard
>> ES(OMAP4460) which runs on vanilla kernel and small filesystem.
>> The latest Graphics SDK does not have support for OMAP4.
>> I searched and found pvr_omap is available for Ubuntu 12.04 via
>> installing omap4-extras package.
>> Also, there is similar issue here:
>> https://e2e.ti.com/support/omap/f/849/t/287992 which advices to use
>> GLSDK.
>>
>> But in our project we are not using Ubuntu, instead there is small
>> ROOTFS and the kernel version is 3.10.80 (because of some specific
>> project reasons).
>> I found some packages here:
>> https://launchpad.net/~tiomap-dev/+archive/ubuntu/release/+packages .
>> And tried to build source package of
>> "pvr-omap4-dkms_1.9.0.7.1.1-1_armhf.deb" according to below
>> instructions, but I got lots of errors.
>>
>> export ARCH=arm
>> export CROSS_COMPILE=
>> export DISCIMAGE=
>> export KERNELDIR= (I tried both 3.8 and 3.10.80 kernel
>> versions source code)
>> cd eurasiacon/build/linux2/omap4430_linux/
>> make
>>
>> I do not think pvr_omap4 source code has proper header and source
>> files for my kernel, am I wrong?
>
> Hmm would be nice to get this usable with mainline kernel.. Do you
> have a diffstat of what's missing for the headers and other things
> that could be in the mainline kernel?
>
>> Is there a way to install SGX540 driver to my Pandaboard ES (OMAP4460)
>> which has custom kernel such as version 3.10.80?
>
> Probably best to get it working with mainline kernel, 3.10 is
> getting kind of old :)
>
> Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: PowerVR SGX540 drivers for PandaBoard(OMAP4460) on vanilla kernel

2015-09-01 Thread Tony Lindgren
* Sedat Marangoz  [150813 05:14]:
> Hi all,
> 
> Is there a way to install PVR SGX540 driver to my PandaBoard
> ES(OMAP4460) which runs on vanilla kernel and small filesystem.
> The latest Graphics SDK does not have support for OMAP4.
> I searched and found pvr_omap is available for Ubuntu 12.04 via
> installing omap4-extras package.
> Also, there is similar issue here:
> https://e2e.ti.com/support/omap/f/849/t/287992 which advices to use
> GLSDK.
> 
> But in our project we are not using Ubuntu, instead there is small
> ROOTFS and the kernel version is 3.10.80 (because of some specific
> project reasons).
> I found some packages here:
> https://launchpad.net/~tiomap-dev/+archive/ubuntu/release/+packages .
> And tried to build source package of
> "pvr-omap4-dkms_1.9.0.7.1.1-1_armhf.deb" according to below
> instructions, but I got lots of errors.
> 
> export ARCH=arm
> export CROSS_COMPILE=
> export DISCIMAGE=
> export KERNELDIR= (I tried both 3.8 and 3.10.80 kernel
> versions source code)
> cd eurasiacon/build/linux2/omap4430_linux/
> make
> 
> I do not think pvr_omap4 source code has proper header and source
> files for my kernel, am I wrong?

Hmm would be nice to get this usable with mainline kernel.. Do you
have a diffstat of what's missing for the headers and other things
that could be in the mainline kernel?
 
> Is there a way to install SGX540 driver to my Pandaboard ES (OMAP4460)
> which has custom kernel such as version 3.10.80?

Probably best to get it working with mainline kernel, 3.10 is
getting kind of old :)

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


PowerVR SGX540 drivers for PandaBoard(OMAP4460) on vanilla kernel

2015-08-13 Thread Sedat Marangoz
Hi all,

Is there a way to install PVR SGX540 driver to my PandaBoard
ES(OMAP4460) which runs on vanilla kernel and small filesystem.
The latest Graphics SDK does not have support for OMAP4.
I searched and found pvr_omap is available for Ubuntu 12.04 via
installing omap4-extras package.
Also, there is similar issue here:
https://e2e.ti.com/support/omap/f/849/t/287992 which advices to use
GLSDK.

But in our project we are not using Ubuntu, instead there is small
ROOTFS and the kernel version is 3.10.80 (because of some specific
project reasons).
I found some packages here:
https://launchpad.net/~tiomap-dev/+archive/ubuntu/release/+packages .
And tried to build source package of
pvr-omap4-dkms_1.9.0.7.1.1-1_armhf.deb according to below
instructions, but I got lots of errors.

export ARCH=arm
export CROSS_COMPILE=cros compiler prefix
export DISCIMAGE=path to filesystem
export KERNELDIR=path to kernel (I tried both 3.8 and 3.10.80 kernel
versions source code)
cd eurasiacon/build/linux2/omap4430_linux/
make

I do not think pvr_omap4 source code has proper header and source
files for my kernel, am I wrong?

Is there a way to install SGX540 driver to my Pandaboard ES (OMAP4460)
which has custom kernel such as version 3.10.80?

Regards
Sedat
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html