Kernel 3.165 with SGX libs build trouble

138 views
Skip to first unread message

Cedric Malitte

unread,
Aug 4, 2014, 2:29:10 AM8/4/14
to beagl...@googlegroups.com
Hi,

quite like back to march 28th report , I have trouble building sgx librairies against kernel 3.15.6-bone5 from bb-kernel repo.

 Building modules, stage 2.
  MODPOST 3 modules
WARNING: "unregister_vsync_cb" [/home/cedric/test-3.8/bb-kernel/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb.ko] undefined!
WARNING: "register_vsync_cb" [/home/cedric/test-3.8/bb-kernel/ignore/ti-sdk-pvr/Graphics_SDK/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb.ko] undefined!

It builds but on the BBB:

modprobe -v omaplfb
insmod /lib/modules/3.15.6-bone5/extra/omaplfb.ko 
ERROR: could not insert 'omaplfb': Unknown symbol in module, or unknown parameter (see dmesg)

dmesg: 
[ 1268.469257] omaplfb: Unknown symbol register_vsync_cb (err 0)
[ 1268.469457] omaplfb: Unknown symbol unregister_vsync_cb (err 0)

I had the same error for  pvrsrvkm, but added CONFIG_FB_DA8XX=y to config
Then I patched arch/arm/kernel/setup.c by adding at the end
#ifndef MULTI_CACHE EXPORT_SYMBOL(__glue(_CACHE,_dma_map_area)); EXPORT_SYMBOL(__glue(_CACHE,_dma_unmap_area)); EXPORT_SYMBOL(__glue(_CACHE,_dma_flush_range)); #endif

This patch solves
pvrsrvkm: Unknown symbol register_vsync_cb (err 0)
pvrsrvkm: Unknown symbol unregister_vsync_cb (err 0)

Any clue ?

Regards,

Cedric

Robert Nelson

unread,
Aug 4, 2014, 9:19:33 AM8/4/14
to Beagle Board
Fixed on friday afternoon:

https://github.com/RobertCNelson/bb-kernel/commit/181731e134d23a0fd8275db32fc085f7502d0437

sgx works fine, head of am33x-v3.15 branch..

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Cedric Malitte

unread,
Aug 4, 2014, 9:54:32 AM8/4/14
to beagl...@googlegroups.com
Thanks Robert,

Weird as I pulled the branch sunday....

will test that right away on a clean system.

Regards,

Cedric

Cédric Malitte

unread,
Aug 4, 2014, 2:09:30 PM8/4/14
to beagl...@googlegroups.com
Ok, 
I did a build, sgx build and kernel rebuild then kernel-install.

Installed all the libs and yeepaa !!!

Got it working fine on lcd.

I owe you a beer Robert ;)

Cheers,

Cédric Malitte
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/vbtiVatG6HA/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Nelson

unread,
Aug 4, 2014, 2:16:50 PM8/4/14
to Beagle Board
On Mon, Aug 4, 2014 at 1:09 PM, Cédric Malitte <cedric....@gmail.com> wrote:
> Ok,
> I did a build, sgx build and kernel rebuild then kernel-install.
>
> Installed all the libs and yeepaa !!!
>
> Got it working fine on lcd.
>
> I owe you a beer Robert ;)

You gota save that beer for the one that gets minecraft working next. ;)

William Hermans

unread,
Aug 4, 2014, 2:50:44 PM8/4/14
to beagl...@googlegroups.com
Why minecraft ?


--
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...@googlegroups.com.

Robert Nelson

unread,
Aug 4, 2014, 2:53:06 PM8/4/14
to Beagle Board
On Mon, Aug 4, 2014 at 1:50 PM, William Hermans <yyr...@gmail.com> wrote:
> Why minecraft ?

People have been privately asking about it.

Cédric Malitte

unread,
Aug 4, 2014, 4:03:48 PM8/4/14
to beagl...@googlegroups.com
Ahaha ;)

You deserve one anyway.

Cheers,

Cédric Malitte

William Hermans

unread,
Aug 4, 2014, 7:58:22 PM8/4/14
to beagl...@googlegroups.com
 People have been privately asking about it.

What an incredible waste of such fine embedded hardware. To each his / her own though, and the toy project I'm writing here in my spare time is probably equally wasteful. heh.

Basically, I'm using my BBB as an alarm clock / MP3 player while learning Nodejs / javascript better. Works good though . . .


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...@googlegroups.com.

Cedric Malitte

unread,
Aug 5, 2014, 8:59:30 AM8/5/14
to beagl...@googlegroups.com


Le lundi 4 août 2014 19:58:22 UTC-4, William Hermans a écrit :
 People have been privately asking about it.

What an incredible waste of such fine embedded hardware. To each his / her own though, and the toy project I'm writing here in my spare time is probably equally wasteful. heh.

Basically, I'm using my BBB as an alarm clock / MP3 player while learning Nodejs / javascript better. Works good though . . .
 
My plan is to pilot my femto brewery.... ;)
Nothing is useless or time wasting  as long as you enjoy it !

Cedric 
Reply all
Reply to author
Forward
0 new messages