nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject: Re: Work on ARM?
From: Greg Haerr
Date: Sat, 19 Feb 2000 13:29:11 -0700

:   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


nanogui@linuxhacker.org