* Fwd: Error opening framebuffer device
[not found] <eea8a9c90710082258y5bbfc987h83f00d2b48d96fc6@mail.gmail.com>
@ 2007-10-09 6:44 ` kaka
2007-10-09 9:18 ` Geert Uytterhoeven
2007-10-09 11:00 ` Ralf Baechle
2007-10-09 8:45 ` kaka
1 sibling, 2 replies; 5+ messages in thread
From: kaka @ 2007-10-09 6:44 UTC (permalink / raw)
To: linux-mips, linux-git
[-- Attachment #1: Type: text/plain, Size: 3355 bytes --]
*Hi All,*
*While running the cross compiled directFB example on MIPS chip,*
*
We tried to install the framebuffer driver(command given below) and we
have already created the node fb0.*
*We are getting the following error, *
*Can anybody throw some light on it?*
*Thanks in Advance.*
*While running the following command in MIPS chip, we are getting the
following error.*
# insmod brcmstfb.ko
brcmstfb: Unknown symbol unregister_framebuffer
brcmstfb: Unknown symbol BKNI_EnterCriticalSection_tagged
brcmstfb: Unknown symbol printf
brcmstfb: Unknown symbol BKNI_DestroyEventGroup
brcmstfb: Unknown symbol BKNI_WaitForEvent_tagged
brcmstfb: Unknown symbol BKNI_Printf
brcmstfb: Unknown symbol __divsf3
brcmstfb: Unknown symbol BKNI_Vprintf
brcmstfb: Unknown symbol BKNI_Memset
brcmstfb: Unknown symbol bnetif_dma_data
brcmstfb: Unknown symbol bnetif_dma_delete_filter
brcmstfb: Unknown symbol cleanup_bnetif_dma
brcmstfb: Unknown symbol BKNI_AcquireMutex_tagged
brcmstfb: Unknown symbol malloc
brcmstfb: Unknown symbol BKNI_DestroyMutex
brcmstfb: Unknown symbol framebuffer_alloc
brcmstfb: Unknown symbol BKNI_RemoveEventGroup
brcmstfb: Unknown symbol BKNI_Malloc_tagged
brcmstfb: Unknown symbol BKNI_CreateEventGroup
brcmstfb: Unknown symbol BKNI_WaitForGroup
brcmstfb: Unknown symbol __extendsfdf2
brcmstfb: Unknown symbol BKNI_SetEvent_tagged
brcmstfb: Unknown symbol BKNI_Memcpy
brcmstfb: Unknown symbol BKNI_LinuxKernel_SetIsrTasklet
brcmstfb: Unknown symbol BKNI_Memcmp
brcmstfb: Unknown symbol fb_find_mode
brcmstfb: Unknown symbol fb_dealloc_cmap
brcmstfb: Unknown symbol bnetif_dma_stop
brcmstfb: Unknown symbol BKNI_ResetEvent_tagged
brcmstfb: Unknown symbol BKNI_CreateMutex
brcmstfb: Unknown symbol BKNI_CreateEvent_tagged
brcmstfb: Unknown symbol __floatsisf
brcmstfb: Unknown symbol brcm_dir_entry
brcmstfb: Unknown symbol register_framebuffer
brcmstfb: Unknown symbol BKNI_Fail
brcmstfb: Unknown symbol fb_alloc_cmap
brcmstfb: Unknown symbol BKNI_Snprintf
brcmstfb: Unknown symbol BKNI_Delay_tagged
brcmstfb: Unknown symbol BKNI_LeaveCriticalSection_tagged
brcmstfb: Unknown symbol BKNI_Sleep_tagged
brcmstfb: Unknown symbol bnetif_dma_add_filter
brcmstfb: Unknown symbol BKNI_Free_tagged
brcmstfb: Unknown symbol BKNI_DestroyEvent_tagged
brcmstfb: Unknown symbol init_bnetif_dma
brcmstfb: Unknown symbol framebuffer_release
brcmstfb: Unknown symbol BKNI_AddEventGroup
brcmstfb: Unknown symbol BKNI_ReleaseMutex_tagged
brcmstfb: Unknown symbol __addsf3
brcmstfb: Unknown symbol free
insmod: cannot insert `brcmstfb.ko': Unknown symbol in module (2): No
such file or directory
#
# ../../cross_directfb/simple_mips
=======================| DirectFB 1.0.0 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2007-10-05 14:17)
(!) Direct/Util: opening '/dev/fb0' failed
--> No such device or address
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!simple.c <96>:
(#) DirectFBError [DirectFBCreate (&dfb)]: Initialization error!
#
#
[-- Attachment #2: Type: text/html, Size: 4238 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Error opening framebuffer device
[not found] <eea8a9c90710082258y5bbfc987h83f00d2b48d96fc6@mail.gmail.com>
2007-10-09 6:44 ` Fwd: Error opening framebuffer device kaka
@ 2007-10-09 8:45 ` kaka
2007-10-09 9:07 ` Florian Fainelli
1 sibling, 1 reply; 5+ messages in thread
From: kaka @ 2007-10-09 8:45 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 3362 bytes --]
*Hi All,*
*While running the cross compiled directFB example on MIPS chip,*
*
We tried to install the framebuffer driver(command given at the
bottom) and we have already created the node fb0.*
*We are getting the following error, *
*Can anybody throw some light on it?*
*Thanks in Advance.*
# ../../cross_directfb/simple_mips
=======================| DirectFB 1.0.0 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------
(*) DirectFB/Core: Single Application Core. (2007-10-05 14:17)
(!) Direct/Util: opening '/dev/fb0' failed
--> No such device or address
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!simple.c <96>:
(#) DirectFBError [DirectFBCreate (&dfb)]: Initialization error!
#
*While running the following command in MIPS chip, we are getting the
following error.*
# insmod brcmstfb.ko
brcmstfb: Unknown symbol unregister_framebuffer
brcmstfb: Unknown symbol BKNI_EnterCriticalSection_tagged
brcmstfb: Unknown symbol printf
brcmstfb: Unknown symbol BKNI_DestroyEventGroup
brcmstfb: Unknown symbol BKNI_WaitForEvent_tagged
brcmstfb: Unknown symbol BKNI_Printf
brcmstfb: Unknown symbol __divsf3
brcmstfb: Unknown symbol BKNI_Vprintf
brcmstfb: Unknown symbol BKNI_Memset
brcmstfb: Unknown symbol bnetif_dma_data
brcmstfb: Unknown symbol bnetif_dma_delete_filter
brcmstfb: Unknown symbol cleanup_bnetif_dma
brcmstfb: Unknown symbol BKNI_AcquireMutex_tagged
brcmstfb: Unknown symbol malloc
brcmstfb: Unknown symbol BKNI_DestroyMutex
brcmstfb: Unknown symbol framebuffer_alloc
brcmstfb: Unknown symbol BKNI_RemoveEventGroup
brcmstfb: Unknown symbol BKNI_Malloc_tagged
brcmstfb: Unknown symbol BKNI_CreateEventGroup
brcmstfb: Unknown symbol BKNI_WaitForGroup
brcmstfb: Unknown symbol __extendsfdf2
brcmstfb: Unknown symbol BKNI_SetEvent_tagged
brcmstfb: Unknown symbol BKNI_Memcpy
brcmstfb: Unknown symbol BKNI_LinuxKernel_SetIsrTasklet
brcmstfb: Unknown symbol BKNI_Memcmp
brcmstfb: Unknown symbol fb_find_mode
brcmstfb: Unknown symbol fb_dealloc_cmap
brcmstfb: Unknown symbol bnetif_dma_stop
brcmstfb: Unknown symbol BKNI_ResetEvent_tagged
brcmstfb: Unknown symbol BKNI_CreateMutex
brcmstfb: Unknown symbol BKNI_CreateEvent_tagged
brcmstfb: Unknown symbol __floatsisf
brcmstfb: Unknown symbol brcm_dir_entry
brcmstfb: Unknown symbol register_framebuffer
brcmstfb: Unknown symbol BKNI_Fail
brcmstfb: Unknown symbol fb_alloc_cmap
brcmstfb: Unknown symbol BKNI_Snprintf
brcmstfb: Unknown symbol BKNI_Delay_tagged
brcmstfb: Unknown symbol BKNI_LeaveCriticalSection_tagged
brcmstfb: Unknown symbol BKNI_Sleep_tagged
brcmstfb: Unknown symbol bnetif_dma_add_filter
brcmstfb: Unknown symbol BKNI_Free_tagged
brcmstfb: Unknown symbol BKNI_DestroyEvent_tagged
brcmstfb: Unknown symbol init_bnetif_dma
brcmstfb: Unknown symbol framebuffer_release
brcmstfb: Unknown symbol BKNI_AddEventGroup
brcmstfb: Unknown symbol BKNI_ReleaseMutex_tagged
brcmstfb: Unknown symbol __addsf3
brcmstfb: Unknown symbol free
insmod: cannot insert `brcmstfb.ko': Unknown symbol in module (2): No
such file or directory
#
#
[-- Attachment #2: Type: text/html, Size: 4186 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Error opening framebuffer device
2007-10-09 8:45 ` kaka
@ 2007-10-09 9:07 ` Florian Fainelli
0 siblings, 0 replies; 5+ messages in thread
From: Florian Fainelli @ 2007-10-09 9:07 UTC (permalink / raw)
To: kaka; +Cc: linux-mips
Hi,
On Tuesday 09 October 2007 10:45:43 kaka wrote:
> *Hi All,*
>
> *While running the cross compiled directFB example on MIPS chip,*
>
> *
> We tried to install the framebuffer driver(command given at the
> bottom) and we have already created the node fb0.*
Looking at the insmod below, I think the framebuffer did not register
correctly, so creating the device will not help if the driver is not
registered.
> # insmod brcmstfb.ko
> brcmstfb: Unknown symbol unregister_framebuffer
> brcmstfb: Unknown symbol BKNI_EnterCriticalSection_tagged
> brcmstfb: Unknown symbol printf
> brcmstfb: Unknown symbol BKNI_DestroyEventGroup
> brcmstfb: Unknown symbol BKNI_WaitForEvent_tagged
> brcmstfb: Unknown symbol BKNI_Printf
> brcmstfb: Unknown symbol __divsf3
> brcmstfb: Unknown symbol BKNI_Vprintf
> brcmstfb: Unknown symbol BKNI_Memset
> brcmstfb: Unknown symbol bnetif_dma_data
> brcmstfb: Unknown symbol bnetif_dma_delete_filter
> brcmstfb: Unknown symbol cleanup_bnetif_dma
> brcmstfb: Unknown symbol BKNI_AcquireMutex_tagged
> brcmstfb: Unknown symbol malloc
> brcmstfb: Unknown symbol BKNI_DestroyMutex
> brcmstfb: Unknown symbol framebuffer_alloc
> brcmstfb: Unknown symbol BKNI_RemoveEventGroup
> brcmstfb: Unknown symbol BKNI_Malloc_tagged
> brcmstfb: Unknown symbol BKNI_CreateEventGroup
> brcmstfb: Unknown symbol BKNI_WaitForGroup
> brcmstfb: Unknown symbol __extendsfdf2
> brcmstfb: Unknown symbol BKNI_SetEvent_tagged
> brcmstfb: Unknown symbol BKNI_Memcpy
> brcmstfb: Unknown symbol BKNI_LinuxKernel_SetIsrTasklet
> brcmstfb: Unknown symbol BKNI_Memcmp
> brcmstfb: Unknown symbol fb_find_mode
> brcmstfb: Unknown symbol fb_dealloc_cmap
> brcmstfb: Unknown symbol bnetif_dma_stop
> brcmstfb: Unknown symbol BKNI_ResetEvent_tagged
> brcmstfb: Unknown symbol BKNI_CreateMutex
> brcmstfb: Unknown symbol BKNI_CreateEvent_tagged
> brcmstfb: Unknown symbol __floatsisf
> brcmstfb: Unknown symbol brcm_dir_entry
> brcmstfb: Unknown symbol register_framebuffer
> brcmstfb: Unknown symbol BKNI_Fail
> brcmstfb: Unknown symbol fb_alloc_cmap
> brcmstfb: Unknown symbol BKNI_Snprintf
> brcmstfb: Unknown symbol BKNI_Delay_tagged
> brcmstfb: Unknown symbol BKNI_LeaveCriticalSection_tagged
> brcmstfb: Unknown symbol BKNI_Sleep_tagged
> brcmstfb: Unknown symbol bnetif_dma_add_filter
> brcmstfb: Unknown symbol BKNI_Free_tagged
> brcmstfb: Unknown symbol BKNI_DestroyEvent_tagged
> brcmstfb: Unknown symbol init_bnetif_dma
> brcmstfb: Unknown symbol framebuffer_release
> brcmstfb: Unknown symbol BKNI_AddEventGroup
> brcmstfb: Unknown symbol BKNI_ReleaseMutex_tagged
> brcmstfb: Unknown symbol __addsf3
> brcmstfb: Unknown symbol free
> insmod: cannot insert `brcmstfb.ko': Unknown symbol in module (2): No
> such file or directory
> #
Did you compile framebuffer support for your kernel ? Because if yes, most
symbols (I did not check all) used by your drivers seems to be exported with
EXPORT_SYMBOL, and not EXPORT_SYMBOL_GPL, so your driver, even with a
proprietary license should be able to access them.
I would recommend you mention your linux version, and the relevant kernel
configuration parts.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fwd: Error opening framebuffer device
2007-10-09 6:44 ` Fwd: Error opening framebuffer device kaka
@ 2007-10-09 9:18 ` Geert Uytterhoeven
2007-10-09 11:00 ` Ralf Baechle
1 sibling, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2007-10-09 9:18 UTC (permalink / raw)
To: kaka; +Cc: linux-mips, linux-git
On Tue, 9 Oct 2007, kaka wrote:
> # insmod brcmstfb.ko
> brcmstfb: Unknown symbol unregister_framebuffer
Try `modprobe brcmstfb', which will also load the modules it depends on.
> brcmstfb: Unknown symbol printf
Ugh, printf()? There's no printf() in our kernel.
> brcmstfb: Unknown symbol malloc
There's no malloc() in our kernel.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Fwd: Error opening framebuffer device
2007-10-09 6:44 ` Fwd: Error opening framebuffer device kaka
2007-10-09 9:18 ` Geert Uytterhoeven
@ 2007-10-09 11:00 ` Ralf Baechle
1 sibling, 0 replies; 5+ messages in thread
From: Ralf Baechle @ 2007-10-09 11:00 UTC (permalink / raw)
To: kaka; +Cc: linux-mips, linux-git
On Tue, Oct 09, 2007 at 12:14:46PM +0530, kaka wrote:
> # insmod brcmstfb.ko
> brcmstfb: Unknown symbol unregister_framebuffer
It would help tremendously to enable framebuffer support.
> brcmstfb: Unknown symbol BKNI_EnterCriticalSection_tagged
> brcmstfb: Unknown symbol printf
> brcmstfb: Unknown symbol BKNI_DestroyEventGroup
> brcmstfb: Unknown symbol BKNI_WaitForEvent_tagged
> brcmstfb: Unknown symbol BKNI_Printf
> brcmstfb: Unknown symbol __divsf3
Floating point in the kernel that doesn't quite fly - unless you do
softfloat.
Ralf
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2007-10-09 11:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <eea8a9c90710082258y5bbfc987h83f00d2b48d96fc6@mail.gmail.com>
2007-10-09 6:44 ` Fwd: Error opening framebuffer device kaka
2007-10-09 9:18 ` Geert Uytterhoeven
2007-10-09 11:00 ` Ralf Baechle
2007-10-09 8:45 ` kaka
2007-10-09 9:07 ` Florian Fainelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox