nanogui: Re:Microwindows on SuperH
Subject:
Re:Microwindows on SuperH
From:
Jaswinder Singh ####@####.####
Date:
26 Nov 2000 09:49:19 -0000
Message-Id: <20001126095204.1214.qmail@web4001.mail.yahoo.com>
Dear Masanori-san and Greg,
--- Masanori TOKUNAGA ####@####.####
wrote:
> Dear Jaswinder and Greg,
>
> I am sorry to be late for reply.
> I made a patch of microwindows-0.89pre6.tar.gz for
> Jornada690(SH3).
>
> I succeedded to excute 'mdemo' (though i cannnot use
> mouse,touch
> -panel and keyboard on Microwindows.)
>
But i can use keyboard on HP690 with microwindows.
please check mterm application , you can type their .
> What do have any idea about this patch?
>
please make some changes with keyboard :-
> # keyboard or null kbd driver
> TTYKBD = Y
> PIPEKBD = N
> NOKBD = N
Rest is fine .
Best Regards,
Jaswinder.
> Regards,
> Masanori.
>
> --
> : Frame buffer drivers in /src/drivers/fblin4.c
> are
> : for big endian. I modified fblin4.c for my SH
> little
> : endian. You have to check bit pixels in
> frame buffer.
> : See comments in source file(fblin4.c) I
> attached.
> : This is 4bpp display.
>
> I have added drivers/fblin4sh3.c to the
> Microwindows 0.89pre6
> tree, as well as adding support for the SH3
> compilation. I
> wasn't able to test this, but it seems that
> there's already a
> reversed-nibble order 4bpp driver,
> drivers/fblin4rev.c in
> the distribution. Could you check to see
> whether both
> the fblin4sh3.c and fblin4rev.c are reqiured?
>
> Regards,
>
> Greg
>
>
>
> > diff -urN microwin/src/Arch.rules
> microwin-hp690/src/Arch.rules
> --- microwin/src/Arch.rules Mon Nov 13 04:10:18 2000
> +++ microwin-hp690/src/Arch.rules Sun Nov 26
> 17:48:40 2000
> @@ -62,7 +62,7 @@
> CXX_COMPILER = g++
> TOOLSPREFIX =$(SHTOOLSPREFIX)
> DEFINES += -DLINUX=1 -DUNIX=1
> -CFLAGS += -m1 -m3 -Wall $(OPTFLAGS)
> +CFLAGS += -ml -m3 -Wall $(OPTFLAGS)
> LDFLAGS +=
> endif
>
> diff -urN microwin/src/config
> microwin-hp690/src/config
> --- microwin/src/config Mon Nov 13 05:45:24 2000
> +++ microwin-hp690/src/config Sun Nov 26 16:00:47
> 2000
> @@ -34,11 +34,11 @@
> # note: ELKS can't build client/server nano-X, nor
> widget lib
> #
>
>
####################################################################
> -ARCH = LINUX-NATIVE
> +ARCH = LINUX-SH
> ARMTOOLSPREFIX = arm-linux-
> MIPSTOOLSPREFIX = mipsel-linux-
> POWERPCTOOLSPREFIX = powerpc-linux-
> -SHTOOLSPREFIX = sh-linux-gnu
> +SHTOOLSPREFIX = sh-linux-gnu-
> RTEMSTOOLSPREFIX = i386-rtemself-
>
>
>
####################################################################
> @@ -217,7 +217,7 @@
> # set FBREVERSE to reverse bit orders in 1,2,4 bpp
> # set FBVGA=N for all systems without VGA hardware
> (for MIPS must=N)
> FRAMEBUFFER = Y
> -FBVGA = Y
> +FBVGA = N
> VTSWITCH = Y
> PORTRAIT_MODE = N
> FBREVERSE = N
> @@ -237,7 +237,7 @@
> # HARRIERMOUSE for NEC Harrier
> # PSIONMOUSE for the Psion 5
>
>
####################################################################
> -GPMMOUSE = Y
> +GPMMOUSE = N
> SERMOUSE = N
> TPMOUSE = N
> TPHELIO = N
> @@ -245,12 +245,12 @@
> IPAQMOUSE = N
> HARRIERMOUSE = N
> PSIONMOUSE = N
> -NOMOUSE = N
> +NOMOUSE = Y
>
> # keyboard or null kbd driver
> -TTYKBD = Y
> +TTYKBD = N
> PIPEKBD = N
> -NOKBD = N
> +NOKBD = Y
>
> endif
>
> diff -urN microwin/src/drivers/scr_fb.c
> microwin-hp690/src/drivers/scr_fb.c
> --- microwin/src/drivers/scr_fb.c Mon Nov 13
> 04:07:22 2000
> +++ microwin-hp690/src/drivers/scr_fb.c Sun Nov 26
> 16:01:55 2000
> @@ -18,8 +18,8 @@
> #include <stdio.h>
> #include <stdlib.h>
> #ifndef ARCH_LINUX_POWERPPC
> -#include <sys/io.h>
> -/*#include <asm/io.h>*/
> +/* #include <sys/io.h> */
> +#include <asm/io.h>
> #endif
> #include <sys/ioctl.h>
> #include <sys/mman.h>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/