Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: at91sam9263ek framebuffer - opening '/dev/fb0' failed
PostPosted: Tue Jul 15, 2008 6:18 pm 
Offline

Joined: Thu May 22, 2008 2:56 pm
Posts: 1
Hi,
I hope someone might be able to help me. I have built a working linux kernel for the at91sam9263ek using buildroot. This is kernel version 2.6.22 with additional atmel patches.

I have then cross-compiled a package called ffmpeg, which, indirectly, uses directfb.

I want to run an application called ffplay to write the the framebuffer. However, when I run it, I get an error (see output below).

Code:
FFplay version SVN-r13835, Copyright (c) 2003-2008 Fabrice Bellard, et al.
  configuration: --enable-cross-compile --cross-prefix=/home/richardh/AT91SAM9263/buildroot/build_arm/staging_dir/usr/bin/arm-linux- --prefix=/usr --arch=armv4l --disable-mmx --enable-shared
  libavutil version: 49.7.0
  libavcodec version: 51.57.2
  libavformat version: 52.16.0
  libavdevice version: 52.0.0
  built on Jul  8 2008 09:58:00, gcc: 4.2.1

     =======================|  DirectFB 1.0.1  |=======================
          (c) 2001-2007  The DirectFB Organization (directfb.org)
          (c) 2000-2004  Convergence (integrated media) GmbH
        ------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2008-05-13 21:08)
(!) Direct/Util: opening '/dev/fb0' failed
    --> No such device
(!) 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!
Could not initialize SDL - DirectFBCreate: Initialization error!


As shown above, it seems that the /dev/fb0 device cannot be opened. My question is why?

The /dev/fb0 file exists, and I think that I have selected all of the correct kernel options necessary when building the kernel.

I have also read elsewhere to check in the /proc directory, but I cannot see anything fb related in that directory.

Can anyone tell me if there is any other framebuffer configuration that is necessary to use the /dev/fb0 device (e.g. boot args?), or if not, what the problem could possibly be?

I don't have any previous experience of framebuffers, so I am walking around in the dark at the moment.

Thanks in advance,
Richard.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: