nanogui: Pb to configure and use default Microwindows demo


Previous by date: 26 Sep 2000 17:23:16 -0000 Re: Problems building FLTK for Nano-x, Murphy C. Chen
Next by date: 26 Sep 2000 17:23:16 -0000 Demos on 320x240, 4bpp, grayscale, framebuffer, KIM,KYOUNG-IL (HP-Cupertino,ex1)
Previous in thread:
Next in thread: 26 Sep 2000 17:23:16 -0000 Re: Pb to configure and use default Microwindows demo, Greg's email

Subject: Pb to configure and use default Microwindows demo
From: Philippe Baronnet ####@####.####
Date: 26 Sep 2000 17:23:16 -0000
Message-Id: <39D0DC9A.330D723@mvista.com>

Hi,

I have an embedded planet RPXLITE PPC823 board with a LCD screen. I
can launch the binary demo application on my target with Haed Hat Linux,
but i still have this error :

sh-2.03# ./mtest
Error can't open /dev/tty0: No such device
Cannot initialise screen
sh-2.03#  

I join my config file to this email. If you can look into it
and discover what is wrong, it could help me. Or if you have
the a config file that works also for this board, i'm interreting
too.

TIA.

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Philippe Baronnet, Consultant/Support Engr  -- MontaVista Software 
+                 -- The Embedded Linux Experts --
+         6 rue Jean Pierre Timbaud, Bâtiment A1 - Le Campus
+                    78180 Montigny Le Bretonneux
+                    + 33 1 30 07 13 95 (direct) 
+                    + 33 1 30 07 13 83 (standard) 
+                    + 33 1 30 07 13 99 (fax)
+   http://www.mvista.com  mailto: ####@####.####
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

####################################################################
# Microwindows and Nano-X configuration file
#
# This package can be configured to run on Linux (MIPS, ARM, x86)
# UNIX, ELKS, DJGPP, or RTEMS.
# On Linux, we've got drivers for Linux 2.x framebuffers, X11, or,
# svgalib for VGA hardware.
# In addition, a gpm or direct serial mouse driver can be configured.
# On ELKS, the bios screen driver and serial mouse driver are always used.
#
# Either Microwindows and/or Nano-X can be built.
# Microwindows and Nano-X have several demos.
#
# For MSDOS makes, see mcmwin.mak and mcnanox.mak
####################################################################

####################################################################
#
# build target platform
#
# Valid ARCH values are:
#
# LINUX-NATIVE
# LINUX-ARM
# LINUX-MIPS
# LINUX-POWERPC
# SOLARIS
# RTEMS
# DJGPP
# ELKS
#
# note: ELKS can't build client/server nano-X, nor widget lib
#
####################################################################
ARCH                     = LINUX-POWERPC
ARMTOOLSPREFIX           = arm-linux-
MIPSTOOLSPREFIX          = mipsel-linux-
POWERPCTOOLSPREFIX       = ppc_8xx-
RTEMSTOOLSPREFIX         = i386-rtemself-

####################################################################
#
# Compiling options
#
####################################################################
OPTIMIZE                 = Y
DEBUG                    = Y
VERBOSE                  = Y

####################################################################
#
# Libraries to build: microwin, nano-X, nanowidget, object frameworks
#
####################################################################
MICROWIN                 = Y
NANOX                    = N
SHAREDLIBS               = Y
NWIDGET                  = Y
OBJFRAMEWORK             = N


####################################################################
#
# Demos to build
#
####################################################################
MICROWINDEMO             = Y
NANOXDEMO                = N

####################################################################
#
# Applications to build
#
####################################################################
NANOWM                   = N

####################################################################
#
# The pixeltype of the native hardware or underlying graphics library.
# This definition defines the PIXELVAL to be 32, 16 or 8 bits wide.
# If using Linux framebuffer, set to MWPF_TRUECOLOR0888, and use fbset.
# It also enables GdArea/GrArea for this particular pixel packing format.
#
# define MWPF_PALETTE       /* pixel is packed 8 bits 1, 4 or 8 pal index*/
# define MWPF_TRUECOLOR0888 /* pixel is packed 32 bits 8/8/8 truecolor*/
# define MWPF_TRUECOLOR888  /* pixel is packed 24 bits 8/8/8 truecolor*/
# define MWPF_TRUECOLOR565  /* pixel is packed 16 bits 5/6/5 truecolor*/
# define MWPF_TRUECOLOR332  /* pixel is packed 8 bits 3/3/2 truecolor*/
#
####################################################################
SCREEN_PIXTYPE           = MWPF_TRUECOLOR0888

####################################################################
#
# NanoX: Put Y to the following line to link the nano-X application
# with the server.  This is required for ELKS, if no network is present,
# or for speed or debugging.  This affects the nano-X server only.
#
####################################################################
LINK_APP_INTO_SERVER     = N

####################################################################
#
# File I/O support
# Supporting either below drags in libc stdio, which may not be wanted
#
####################################################################
HAVE_FILEIO              = Y

####################################################################
# BMP reading support
####################################################################
HAVE_BMP_SUPPORT         = Y

####################################################################
# JPEG support through libjpeg, see README.txt in contrib/jpeg
####################################################################
HAVE_JPEG_SUPPORT        = N
INCJPEG                  = .
LIBJPEG                  = /usr/lib/libjpeg.a

####################################################################
# T1 adobe type1 font support thru t1lib
####################################################################
HAVE_T1LIB_SUPPORT       = N
INCT1LIB                 = /usr/include
LIBT1LIB                 = /usr/lib/libt1.a

####################################################################
# TrueType font support thru FreeType
####################################################################
HAVE_FREETYPE_SUPPORT    = N
INCFTLIB                 = /usr/include
LIBFTLIB                 = /usr/lib/libttf.so

####################################################################
# Shared memory support for Nano-X client/server protocol speedup
####################################################################
HAVE_SHAREDMEM_SUPPORT   = N

####################################################################
# Chinese Han Zi Ku font support
####################################################################
HAVE_HZK_SUPPORT         = N
HZK_FONT_DIR             = "fonts/chinese"

####################################################################
# Chinese GB2312 compiled in font support (gb2312font.c)
####################################################################
HAVE_GB2312_SUPPORT      = N

####################################################################
#
# Window move algorithms for Microwindows
# Change for tradeoff between cpu speed and looks
# ERASEMOVE repaints only backgrounds while window dragging, quicker.
# Otherwise an XOR redraw is used for window moves only after button up,
# quickest (should set for ELKS)
# UPDATEREGIONS paints in update clipping region only for better look and feel
#
####################################################################
ERASEMOVE                = Y
UPDATEREGIONS            = Y

####################################################################
#
# Use MS fonts (default no)
#
####################################################################
HAVEMSFONTS              = N

####################################################################
#
# Link with Gray Palette (valid only for 4bpp modes)
#
####################################################################
GRAYPALETTE              = N

####################################################################
#
# If the platform is running UNIX, Linux or RTEMS...
#
####################################################################
ifneq ($(ARCH), ELKS)

# X Window screen, mouse and kbd drivers
X11                      = N

ifeq ($(X11), Y)
# predefined model or select screen width, height, depth(palette mode only)
SCREEN_E15               = N
SCREEN_WIDTH             = 640
SCREEN_HEIGHT            = 480
SCREEN_DEPTH             = 4

else

# framebuffer screen driver (linear and/or vga 4 planes)
# set VTSWITCH to include virtual terminal switch code
FRAMEBUFFER              = Y
FBVGA                    = N
VTSWITCH                 = N
PORTRAIT_MODE            = N

HAVETEXTMODE             = N
LINUXPLANET              = Y
LINUXPLANETFB            = N
DATACHANGELIMIT          = 20

# svgalib screen driver
VGALIB                   = Y

# direct VGA hardware access screen driver
HWVGA                    = N

# gpm, serial, touch pad or null mouse driver
GPMMOUSE                 = N
SERMOUSE                 = N
TPMOUSE                  = N
TSMOUSE                  = Y
NOMOUSE                  = N

# keyboard or null kbd driver
TTYKBD                   = N
NOKBD			 = Y

endif

####################################################################
#
# If the platform is a LINUX-ARM box ....
#
####################################################################
ifeq ($(ARCH), LINUX-ARM)

# If 4bpp driver with arm SA1100 LCD controller is used ...
SA1100_LCD_LTLEND        = N

endif


####################################################################
#
# If the platform is a RTEMS box ....
#
####################################################################
ifeq ($(ARCH), RTEMS)

# Location & BSP information of the RTEMS build
RTEMS_BUILD              = /tools/build-i386-elf-rtems
RTEMS_BSP                = pc386
LINK_APP_INTO_SERVER     = Y

endif

endif

####################################################################
#
# If the platform is an ELKS box ...
#
####################################################################
ifeq ($(ARCH), ELKS)

# Higher speed asm driver, c driver of hercules screen driver
ASMVGADRIVER             = Y
CVGADRIVER               = N
HERCDRIVER               = N
DBGDRIVER                = N

# Mouse support
SERMOUSE                 = Y

endif

Previous by date: 26 Sep 2000 17:23:16 -0000 Re: Problems building FLTK for Nano-x, Murphy C. Chen
Next by date: 26 Sep 2000 17:23:16 -0000 Demos on 320x240, 4bpp, grayscale, framebuffer, KIM,KYOUNG-IL (HP-Cupertino,ex1)
Previous in thread:
Next in thread: 26 Sep 2000 17:23:16 -0000 Re: Pb to configure and use default Microwindows demo, Greg's email


Powered by ezmlm-browse 0.20.