BBB is currently running Ubuntu 14.04 with the 3.13 kernel. Is it possible
to just install the SGX module to the BBB once the module is built?


On 17 June 2014 13:13, Robert Nelson <robertcnel...@gmail.com> wrote:

> On Mon, Jun 16, 2014 at 8:10 PM, Nick <napper...@gmail.com> wrote:
> > Thanks. Encountered errors when trying to build the video driver using
> make
> > BUILD=release OMAPES=8.x PM_RUNTIME=1 all. Below is the output:
> >
> > building the sgx kernel modules...
> > make[1]: Entering directory
> > `/home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM'
> > make[1]: Leaving directory
> > `/home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM'
> > make[1]: Entering directory
> > `/home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM'
> > make -C /home/a_user/repos/bbb_kernel/kernel M=`pwd`
> > make[2]: Entering directory `/home/a_user/repos/bbb_kernel/kernel'
> >   LD
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/built-in.o
> >   CC [M]
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bc_cat.o
> >   LD [M]
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/bufferclass_ti/bufferclass_ti.o
> >   LD
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/built-in.o
> >   CC [M]
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_displayclass.o
> >   CC [M]
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.o
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:
> > In function ‘OMAPLFBWaitForVSync’:
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:710:7:
> > error: implicit declaration of function ‘register_vsync_cb’
> > [-Werror=implicit-function-declaration]
> >        if (register_vsync_cb((vsync_callback_t)grpx_irq_wait_handler,
> > &completion, psDevInfo->uiFBDevID) != 0)
> >        ^
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:710:30:
> > error: ‘vsync_callback_t’ undeclared (first use in this function)
> >        if (register_vsync_cb((vsync_callback_t)grpx_irq_wait_handler,
> > &completion, psDevInfo->uiFBDevID) != 0)
> >                               ^
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:710:30:
> > note: each undeclared identifier is reported only once for each function
> it
> > appears in
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:710:47:
> > error: expected ‘)’ before ‘grpx_irq_wait_handler’
> >        if (register_vsync_cb((vsync_callback_t)grpx_irq_wait_handler,
> > &completion, psDevInfo->uiFBDevID) != 0)
> >                                                ^
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:716:7:
> > error: implicit declaration of function ‘unregister_vsync_cb’
> > [-Werror=implicit-function-declaration]
> >        if (unregister_vsync_cb((vsync_callback_t)grpx_irq_wait_handler ,
> > &completion, psDevInfo->uiFBDevID) != 0)
> >        ^
> >
> /home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.c:716:49:
> > error: expected ‘)’ before ‘grpx_irq_wait_handler’
> >        if (unregister_vsync_cb((vsync_callback_t)grpx_irq_wait_handler ,
> > &completion, psDevInfo->uiFBDevID) != 0)
> >                                                  ^
> > cc1: some warnings being treated as errors
> > make[4]: ***
> >
> [/home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux/omaplfb_linux.o]
> > Error 1
> > make[3]: ***
> >
> [/home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM/services4/3rdparty/dc_ti335x_linux]
> > Error 2
> > make[2]: *** [_module_/home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM]
> > Error 2
> > make[2]: Leaving directory `/home/a_user/repos/bbb_kernel/kernel'
> > make[1]: *** [all] Error 2
> > make[1]: Leaving directory
> > `/home/a_user/Graphics_SDK_5_01_00_01/GFX_Linux_KM'
> > make: *** [buildkernel] Error 2
>
> Fixed that in my v3.13.x tree:
>
>
> https://github.com/RobertCNelson/bb-kernel/blob/am33x-v3.13/patches/sgx/0005-hack-port-da8xx-changes-from-ti-3.12-repo.patch
>
> 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/vHmA5ZuYoHw/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.

Reply via email to