[beagleboard] Kernel 3.165 with SGX libs build trouble

2014-08-03 Thread Cedric Malitte
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

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Kernel 3.165 with SGX libs build trouble

2014-08-04 Thread Robert Nelson
On Mon, Aug 4, 2014 at 1:29 AM, Cedric Malitte  wrote:
> 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 ?

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/

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Kernel 3.165 with SGX libs build trouble

2014-08-04 Thread Cedric Malitte
Thanks Robert,

Weird as I pulled the branch sunday

will test that right away on a clean system.

Regards,

Cedric
 

> 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/ 
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Kernel 3.165 with SGX libs build trouble

2014-08-04 Thread Cédric Malitte
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

> Le 2014-08-04 à 09:54, Cedric Malitte  a écrit :
> 
> Thanks Robert,
> 
> Weird as I pulled the branch sunday
> 
> will test that right away on a clean system.
> 
> Regards,
> 
> Cedric
>  
>> 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/
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Kernel 3.165 with SGX libs build trouble

2014-08-04 Thread Robert Nelson
On Mon, Aug 4, 2014 at 1:09 PM, Cédric Malitte  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. ;)

Regards,

-- 
Robert Nelson
http://www.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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Kernel 3.165 with SGX libs build trouble

2014-08-04 Thread William Hermans
Why minecraft ?


On Mon, Aug 4, 2014 at 11:16 AM, Robert Nelson 
wrote:

> On Mon, Aug 4, 2014 at 1:09 PM, Cédric Malitte 
> 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. ;)
>
> Regards,
>
> --
> Robert Nelson
> http://www.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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Kernel 3.165 with SGX libs build trouble

2014-08-04 Thread Robert Nelson
On Mon, Aug 4, 2014 at 1:50 PM, William Hermans  wrote:
> Why minecraft ?

People have been privately asking about it.

Regards,

-- 
Robert Nelson
http://www.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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Kernel 3.165 with SGX libs build trouble

2014-08-04 Thread Cédric Malitte
Ahaha ;)

You deserve one anyway.

Cheers,

Cédric Malitte

> Le 2014-08-04 à 14:16, Robert Nelson  a écrit :
> 
>> On Mon, Aug 4, 2014 at 1:09 PM, Cédric Malitte  
>> 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. ;)
> 
> Regards,
> 
> -- 
> Robert Nelson
> http://www.rcn-ee.com/
> 
> -- 
> 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+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Kernel 3.165 with SGX libs build trouble

2014-08-04 Thread William Hermans
>
>  *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 . . .


On Mon, Aug 4, 2014 at 1:03 PM, Cédric Malitte 
wrote:

> Ahaha ;)
>
> You deserve one anyway.
>
> Cheers,
>
> Cédric Malitte
>
> > Le 2014-08-04 à 14:16, Robert Nelson  a écrit :
> >
> >> On Mon, Aug 4, 2014 at 1:09 PM, Cédric Malitte <
> cedric.mali...@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. ;)
> >
> > Regards,
> >
> > --
> > Robert Nelson
> > http://www.rcn-ee.com/
> >
> > --
> > 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+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Kernel 3.165 with SGX libs build trouble

2014-08-05 Thread Cedric Malitte


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 

-- 
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.
For more options, visit https://groups.google.com/d/optout.