On Mon, Oct 17, 2016 at 5:51 AM, Robert Nelson <robertcnel...@gmail.com> wrote:
> On Oct 17, 2016 2:43 AM, "Matteo Facchinetti"
> <matteo.facchine...@sirius-es.it> wrote:
>>
>>
>>> >
>>> > How was this module built?
>>>
>>> https://github.com/rcn-ee/ti-sgx-omap5/blob/master/build-ti335x-4.4.x.sh
>>>
>>
>> I belive to have discovered what is the problem:
>>
>> in build-ti335x-4.4.x.sh script, when specify make_options, there isn't
>> "TARGET_PRODUCT=ti335x" option.
>>
>> If not specify TARGET_PRODUCT, makefile compiles this module for the
>> Jacinto SoC as default.
>
> Nice find Matteo, I missed that the makefile grew a device option..

That worked awesome, pvr's now talking:

[  188.742066] [drm] Initialized pvr 1.14.3699939 20110701 on minor 1
[  398.460105] PVR_K: UM DDK-(3699939) and KM DDK-(3699939) match. [ OK ]

tagging and pushing out:

4.4.24-ti-r56 with sgx module build fix..

#one line:
git clone -b ti-img-sgx/1.14.3699939
git://git.ti.com/graphics/omap5-sgx-ddk-um-linux.git --depth=1

cd omap5-sgx-ddk-um-linux/

sudo su
export DISCIMAGE=/
export TARGET_PRODUCT=ti335x
make install
exit

#fix: libgbm.so.2 (one line:)
sudo ln -s /usr/lib/arm-linux-gnueabihf/libgbm.so.1
/usr/lib/arm-linux-gnueabihf/libgbm.so.2

sudo modprobe pvrsrvkm
sudo /usr/bin/pvrsrvctl --start --no-module

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgDbcmeN2ThiVu-nvOkN%3Dh8Jtw3hHP-7dWb0k3S9isLbQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to