nanogui: Work on ARM?


Previous by date: 21 Feb 2000 09:34:22 -0000 Re: Work on ARM?, Greg Haerr
Next by date: 21 Feb 2000 09:34:22 -0000 Re: Running standalone apps in MicroWin, Rob Taylor
Previous in thread: 21 Feb 2000 09:34:22 -0000 Re: Work on ARM?, Greg Haerr
Next in thread: 21 Feb 2000 09:34:22 -0000 Re: Work on ARM?, cm_lee.sina.com.tw

Subject: RE: Work on ARM?
From: Alexander Weir ####@####.####
Date: 21 Feb 2000 09:34:22 -0000
Message-Id: <B3141FC55138D311BE550090274DD78215BE06@svr6-livingston.Cadence.COM>

Eric,

I suspect your problem is even more straight forward than this. If you've
compiled your Kernel using the default configuration settings for the brutus
board;

ie. make brutus_config

then you will almost certainly have framebuffer suport.

What I suspect you need to do is create the framebuffer device before you
run your demos.

ie. mknod /dev/fb0 c 29 0

Of course, if you updated your Ramdisk you wouldn't need to do this each
time you want to use the framebuffer device. I would suggest you try this
before re-compiling your kernel.

Best Regards,

Sandy Weir

-----Original Message-----
From: Greg Haerr ####@####.####
Sent: Saturday, February 19, 2000 8:29 PM
To: ####@####.#### ####@####.####
Cc: ####@####.####
Subject: Re: Work on ARM?


:   And then I tried to run the bin/world directly('coz I opt
: LINK_SERVER_WITH_APP Y), it's also erro. It says:
: Error opening /dev/fb0: No such file or directory
: Cannot initialise screen: No such file or directory
: Cannot open graphics
: 
:   How to get a /dev/fb0??
: 
:   My arm linux version: 2.2.14, gcc-2.95.2, glibc-2.1.2,
: binutils-2.9.5.0.22. Hope anybody can give me some clues.

2.2.14 must be setup to support framebuffer.  The framebuffer
HOWTO is in microwin/src/INSTALL.  However, make sure
that you have the following set in your kernel .config, or /dev/fb0
can't be opened, which means you don't have a framebuffer:

CONFIG_FB=y
CONFIG_DUMMY_C ONSOLE=y
CONFIG_FB_xxx=y where xxx is your kernel hw for framebuffer support
CONFIG_FBCON_ADVANCED=y
and then the 
CONFIG_FBCON_CFB8=y and others to match your 
framebuffer resolution.

If your kernel isn't compiled right, /dev/fb0 open will fail,
just like you're getting.

Regards,

Greg


---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####


Previous by date: 21 Feb 2000 09:34:22 -0000 Re: Work on ARM?, Greg Haerr
Next by date: 21 Feb 2000 09:34:22 -0000 Re: Running standalone apps in MicroWin, Rob Taylor
Previous in thread: 21 Feb 2000 09:34:22 -0000 Re: Work on ARM?, Greg Haerr
Next in thread: 21 Feb 2000 09:34:22 -0000 Re: Work on ARM?, cm_lee.sina.com.tw


Powered by ezmlm-browse 0.20.