2008-09-22 15:19:32     framebuffer in BF548

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-09-22 15:19:32     framebuffer in BF548

damien OLLIVE (UNITED STATES)

Message: 62516   

 

hello,

 

I am on a BF548 and i use qt on it.

 

My LCD run well and my toush screen too, but i want to launch an application by an execlp and

 

I have this error:

 

mapping /dev/fb0: Operation not permitted

Error: failed to map framebuffer device to memory.

: driver cannot connect

 

I don't understand what i have to do to map the framebuffer.

 

if my lcd run that don't mean that the frambuffer is god?

 

could you help me

 

 

 

 

 

        [*] Backlight & LCD device support  --->                                         │ │

  │ │               Display device support  --->                                                 │ │

  │ │           <*> Support for frame buffer devices                                             │ │

  │ │           [*]   Enable firmware EDID                                                       │ │

  │ │           [ ]   Enable Video Mode Handling Helpers                                         │ │

  │ │           [ ]   Enable Tile Blitting Support                                               │ │

  │ │           ---   Frame buffer hardware drivers                                              │ │

  │ │           < >   Blackfin ADV7393 Video encoder on uClinux                                  │ │

  │ │           <*>   SHARP LQ043 TFT LCD (BF548 EZKIT)

 

 

QuoteReplyEditDelete

 

 

2008-09-23 04:30:33     Re: framebuffer in BF548

Yi Li (CHINA)

Message: 62542   

 

How about running the test program "video_test" on your board?

 

According to your description, it looks like the FB driver is already opened by QT, and your app want to open the driver again?

TranslateQuoteReplyEditDelete

 

 

2008-09-23 09:11:13     Re: framebuffer in BF548

damien OLLIVE (UNITED STATES)

Message: 62556   

 

the video_test running well.

 

If I understand, my first application use the framebufferand when i launch a new one, it whant to use this frambuffer also that isn't permitted.

 

Can i have two framebuffer for my board or i need to use the same for the two application?

QuoteReplyEditDelete

 

 

2008-09-23 11:58:28     Re: framebuffer in BF548

Mike Frysinger (UNITED STATES)

Message: 62565   

 

uhh, what two framebuffers ?  if there is one LCD, then there is only one framebuffer.  a second doesnt appear out of nowhere.  it is a shared resource.

QuoteReplyEditDelete

 

 

2008-09-23 12:37:19     Re: framebuffer in BF548

damien OLLIVE (UNITED STATES)

Message: 62571   

 

ok thanks, but if it's a shared resource why a second application can't access to it?

 

now i have stopped to use an execlp i just launch an exe without kill my first application and the first time i launch an application i have the same error but after the application can be launch but with another error :

 

 

root:/> ./pfV1-1 -qws

[9;0] [9;0]

//first try of ./my application

mapping /dev/fb0: Operation not permitted

Error: failed to map framebuffer device to memory.

: driver cannot connect

//second truy another error but the application running

[9;0][9;0]QServerSocket: failed to bind or listen to the socket

 

?????

 

 

 

 

 

QuoteReplyEditDelete

 

 

2008-10-02 09:50:11     Re: framebuffer in BF548

damien OLLIVE (UNITED STATES)

Message: 63032   

 

I can do an execlp if my frambuffer isn't open and launch an qtapplication. I think that when an QT app is launch it do an openfb and this one is already open i will do some close_framebuffer beffor launch the new application (i hope that i can and that will running).

 

thank you for the help in this thread

Attachments

    Outcomes