nanogui: Thread: Microwindows on SuperH


[<<] [<] Page 2 of 3 [>] [>>]
Subject: Re: Microwindows on SuperH
From: Masanori TOKUNAGA ####@####.####
Date: 19 Oct 2000 04:12:39 -0000
Message-Id: <39EE7506.25E14B0D@nsc.mci.mei.co.jp>

Hi,

"KIM,KYOUNG-IL (HP-Cupertino,ex1)" wrote:

> Hi,
>
> 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.

Well,,,
I use 16bpp display.
So I have to check fblin16.c

Regards.

Masanori.



Subject: Re: Microwindows on SuperH
From: "Greg Haerr" ####@####.####
Date: 12 Nov 2000 19:19:45 -0000
Message-Id: <00ce01c04cdd$a0478920$15320cd0@gregh>

: 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






: 
: BigEndian (original fblin4.c)
:         32                 16 15                0
:         -----------------------------------------
:         | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
:         -----------------------------------------
: 
: LittleEndian (My SH3 target, attatched file, fblin4.c) 
: 
:         32                 16 15                0
:         -----------------------------------------
:         | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 |
:         -----------------------------------------
: You'd better check how pixels are allocated in
: your frame buffer memory.
: 
: Good Luck, 
: Kyoung Kim
: 
: -----Original Message-----
: From: Masanori TOKUNAGA
: To: Greg Haerr; ####@####.####
: Sent: 10/18/00 3:47 AM
: Subject: Re: Microwindows on SuperH
: 
: Hi..
: I succedded to excute 'mdemo' on SuperH .
: But outputs is strange...
: It seems that bitmaps is reversed.
: I suspect there is a endian problerm...
: Linux-sh is running little endian.
: 
: Is this a framebuffer driver bug or a microwindow bug ?
: 
: Greg Haerr wrote:
: 
: > : bash-2.04#./mdemo
: > :                         <-- screen cleared and no output
: > : bash-2.04#
: > :
: >
: > Lineo has performed a SuperH port of Microwindows, but
: > I have not received it.  I suspect there is a porting problem, or
: > that your framebuffer is not setup properly.  I will try to
: > find the guy's name at Lineo that ported SH and get
: > the information to you...
: >
: > Regards,
: >
: > Greg
: >
: > : Uhmm..
: > :
: > :
: > : > ----- Original Message -----
: > : > From: Masanori TOKUNAGA ####@####.####
: > : > To: ####@####.####
: > : > Sent: Tuesday, October 17, 2000 6:01 AM
: > : > Subject: Microwindows on SuperH
: > : >
: > : > : Hi,
: > : > : I try to compile microwindow for framebuffer device on SuperH.
: > : > : I have errors.
: > : > : Please help me.
: > : > :
: > : > : Error:
: > : > : Compiling srvnet.c ...
: > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In function
: > : > : `ega_drawpixel':
: > : > : vgaplan4.o(.text+0x100): undefined reference to `outw'
: > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In function
: > : > : `ega_drawhorzline':
: > : > : vgaplan4.o(.text+0x2f8): undefined reference to `outw'
: > : > : vgaplan4.o(.text+0x304): undefined reference to `outb'
: > : > : vgaplan4.o(.text+0x37c): undefined reference to `outb'
: > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In function
: > : > : `ega_drawvertline':
: > : > : vgaplan4.o(.text+0x4f0): undefined reference to `outw'
: > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In function
: > : > : `ega_init':
: > : > : vgaplan4.o(.text+0x55c): undefined reference to `ioperm'
: > : > : ...
: > : > :
: > : > :
: > : > :
: > : > : --
: > : > : $ diff Makefile.rules.org Makefile.rules
: > : > : 129c129
: > : > : < CC = $(TOOLSPREFIX)$(COMPILER)
: > : > : ---
: > : > : > CC = $(TOOLSPREFIX)$(COMPILER) -ml -m3
: > : > :
: > : > : $ diff Arch.rules.org Arch.rules
: > : > : 32a33,41
: > : > : > ifeq ($(ARCH), LINUX-SH)
: > : > : > COMPILER = gcc
: > : > : > CXX_COMPILER = g++
: > : > : > TOOLSPREFIX = $(SHTOOLSPREFIX)
: > : > : > DEFINES += -DLINUX=1 -DUNIX=1
: > : > : > CFLAGS += -Wall $(OPTFLAGS)
: > : > : > LDFLAGS +=
: > : > : > endif
: > : > : >
: > : > :
: > : > : % diff config.org config
: > : > : 36a37
: > : > : > SHTOOLSPREFIX          = sh-linux-gnu-
: > : > : 241,242c242,243
: > : > : < TTYKBD                   = Y
: > : > : < NOKBD                    = N
: > : > : ---
: > : > : > TTYKBD                   = N
: > : > : > NOKBD                    = Y
: > : > :
: > : > : $ diff drivers/scr_fb.c.org  drivers/scr_fb.c
: > : > : 21c21
: > : > : < #include <sys/io.h>
: > : > : ---
: > : > : > #include <asm/io.h>
: > : > :
: > : > : $ diff drivers/vgaplan4.h drivers/vgaplan4.h.org
: > : > : 22,23c22,23
: > : > : < /* #include <sys/io.h> */             /* for outb def's,
: requires -O
: > : > : */
: > : > : < #include <asm/io.h>   /* for outb def's on 2.3.x*/
: > : > : ---
: > : > : > #include <sys/io.h>           /* for outb def's, requires -O
: */
: > : > : > /* #include <asm/io.h>        */ /* for outb def's on 2.3.x*/
: > : > :
: > : > :
: > : > : --
: > : > : TOKUNAGA ####@####.####
: > : > :
: > : > :
: > : > :
: > : > :
: ---------------------------------------------------------------------
: > : > : To unsubscribe, e-mail: ####@####.####
: > : > : For additional commands, e-mail: ####@####.####
: > : > :
: > : > :
: > :
: > : --
: > : TOKUNAGA ####@####.####
: > :
: > :
: > :
: >
: > ---------------------------------------------------------------------
: > To unsubscribe, e-mail: ####@####.####
: > For additional commands, e-mail: ####@####.####
: 
: --
: TOKUNAGA ####@####.####
: 
: 
: 
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
: 
: 

Subject: Re: Microwindows on SuperH
From: Jaswinder Singh ####@####.####
Date: 13 Nov 2000 08:15:25 -0000
Message-Id: <20001113081757.8216.qmail@web4003.mail.yahoo.com>

Dear Greg , Masanori-san and others ,

Thank you very much for adding support for the SH3
 compilation in microwindows.

But please make some changes :-
In config file :-
replace 
SHTOOLSPREFIX            = sh-linux-gnu
with
SHTOOLSPREFIX            = sh-linux-gnu-

and 

In Arch.rules file :-
replace
CFLAGS += -m1 -m3 -Wall $(OPTFLAGS)
with
CFLAGS += -ml -m3 -Wall $(OPTFLAGS)

It is ml (l means little-endian)

To build microwindows for SH :-
i also made changes in 
1. config file 
replace
ARCH                     = LINUX-NATIVE
with
ARCH                     = LINUX-SH

and

replace 
FBVGA                    = Y
with 
FBVGA                    = N

2. drivers/vgaplan4.h 
replace
#include <sys/io.h>		/* for outb def's, requires -O */
#include <asm/io.h>		/* for outb def's, requires -O */

3. drivers/scr_fb.c 
replace
#include <sys/io.h>
requires -O */
#include <asm/io.h>

Then i am able to build binary files and libraries of
microwindows.

but when i run ./mterm or ./mdemo
i get :-
Error opening /dev/fb0 , no such file or directory 
Cannnot initialize screen

Then i made in dev directory:-
mknod fb0 c 29 0 
ln -s fb fb0

Then i run again ./mterm or ./mdemo
i got "screen cleared and no output" same as
Masanori-san get .

Please tell me what i have to do , to rectify this
problem.

Thanks,

Jaswinder.


--- Greg Haerr ####@####.#### wrote:
> : 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
> 
> 
> 
> 
> 
> 
> : 
> : BigEndian (original fblin4.c)
> :         32                 16 15                0
> :         -----------------------------------------
> :         | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
> :         -----------------------------------------
> : 
> : LittleEndian (My SH3 target, attatched file,
> fblin4.c) 
> : 
> :         32                 16 15                0
> :         -----------------------------------------
> :         | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 |
> :         -----------------------------------------
> : You'd better check how pixels are allocated in
> : your frame buffer memory.
> : 
> : Good Luck, 
> : Kyoung Kim
> : 
> : -----Original Message-----
> : From: Masanori TOKUNAGA
> : To: Greg Haerr; ####@####.####
> : Sent: 10/18/00 3:47 AM
> : Subject: Re: Microwindows on SuperH
> : 
> : Hi..
> : I succedded to excute 'mdemo' on SuperH .
> : But outputs is strange...
> : It seems that bitmaps is reversed.
> : I suspect there is a endian problerm...
> : Linux-sh is running little endian.
> : 
> : Is this a framebuffer driver bug or a microwindow
> bug ?
> : 
> : Greg Haerr wrote:
> : 
> : > : bash-2.04#./mdemo
> : > :                         <-- screen cleared and
> no output
> : > : bash-2.04#
> : > :
> : >
> : > Lineo has performed a SuperH port of
> Microwindows, but
> : > I have not received it.  I suspect there is a
> porting problem, or
> : > that your framebuffer is not setup properly.  I
> will try to
> : > find the guy's name at Lineo that ported SH and
> get
> : > the information to you...
> : >
> : > Regards,
> : >
> : > Greg
> : >
> : > : Uhmm..
> : > :
> : > :
> : > : > ----- Original Message -----
> : > : > From: Masanori TOKUNAGA
> ####@####.####
> : > : > To: ####@####.####
> : > : > Sent: Tuesday, October 17, 2000 6:01 AM
> : > : > Subject: Microwindows on SuperH
> : > : >
> : > : > : Hi,
> : > : > : I try to compile microwindow for
> framebuffer device on SuperH.
> : > : > : I have errors.
> : > : > : Please help me.
> : > : > :
> : > : > : Error:
> : > : > : Compiling srvnet.c ...
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In function
> : > : > : `ega_drawpixel':
> : > : > : vgaplan4.o(.text+0x100): undefined
> reference to `outw'
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In function
> : > : > : `ega_drawhorzline':
> : > : > : vgaplan4.o(.text+0x2f8): undefined
> reference to `outw'
> : > : > : vgaplan4.o(.text+0x304): undefined
> reference to `outb'
> : > : > : vgaplan4.o(.text+0x37c): undefined
> reference to `outb'
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In function
> : > : > : `ega_drawvertline':
> : > : > : vgaplan4.o(.text+0x4f0): undefined
> reference to `outw'
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In function
> : > : > : `ega_init':
> : > : > : vgaplan4.o(.text+0x55c): undefined
> reference to `ioperm'
> : > : > : ...
> : > : > :
> : > : > :
> : > : > :
> : > : > : --
> : > : > : $ diff Makefile.rules.org Makefile.rules
> : > : > : 129c129
> : > : > : < CC = $(TOOLSPREFIX)$(COMPILER)
> : > : > : ---
> : > : > : > CC = $(TOOLSPREFIX)$(COMPILER) -ml -m3
> : > : > :
> : > : > : $ diff Arch.rules.org Arch.rules
> : > : > : 32a33,41
> : > : > : > ifeq ($(ARCH), LINUX-SH)
> : > : > : > COMPILER = gcc
> : > : > : > CXX_COMPILER = g++
> : > : > : > TOOLSPREFIX = $(SHTOOLSPREFIX)
> : > : > : > DEFINES += -DLINUX=1 -DUNIX=1
> : > : > : > CFLAGS += -Wall $(OPTFLAGS)
> : > : > : > LDFLAGS +=
> : > : > : > endif
> : > : > : >
> : > : > :
> : > : > : % diff config.org config
> : > : > : 36a37
> : > : > : > SHTOOLSPREFIX          = sh-linux-gnu-
> : > : > : 241,242c242,243
> : > : > : < TTYKBD                   = Y
> : > : > : < NOKBD                    = N
> : > : > : ---
> : > : > : > TTYKBD                   = N
> : > : > : > NOKBD                    = Y
> : > : > :
> : > : > : $ diff drivers/scr_fb.c.org 
> drivers/scr_fb.c
> : > : > : 21c21
> : > : > : < #include <sys/io.h>
> : > : > : ---
> : > : > : > #include <asm/io.h>
> : > : > :
> : > : > : $ diff drivers/vgaplan4.h
> drivers/vgaplan4.h.org
> : > : > : 22,23c22,23
> : > : > : < /* #include <sys/io.h> */             /*
> for outb def's,
> : requires -O
> : > : > : */
> : > : > : < #include <asm/io.h>   /* for outb def's
> on 2.3.x*/
> : > : > : ---
> : > : > : > #include <sys/io.h>           /* for
> outb def's, requires -O
> : */
> : > : > : > /* #include <asm/io.h>        */ /* for
> outb def's on 2.3.x*/
> : > : > :
> : > : > :
> : > : > : --
> : > : > : TOKUNAGA
> ####@####.####
> : > : > :
> : > : > :
> : > : > :
> : > : > :
> :
>
---------------------------------------------------------------------
> : > : > : To unsubscribe, e-mail:
> ####@####.####
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/
Subject: RE: Microwindows on SuperH
From: "KIM,KYOUNG-IL (HP-Cupertino,ex1)" ####@####.####
Date: 13 Nov 2000 22:24:41 -0000
Message-Id: <4341EF5F8B4AD311AB4B00902740B9F2018689F7@xcup02.cup.hp.com>

Hi, 

Where can I get Version.89pre6 ? 
The latest version in Microwidows web site is  0.89pre5.

Thank you, 
Kyoung Kim

-----Original Message-----
From: Greg Haerr
To: KIM,KYOUNG-IL (HP-Cupertino,ex1); 'Masanori TOKUNAGA ';
####@####.####
Sent: 11/12/00 11:20 AM
Subject: Re: Microwindows on SuperH

: 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






: 
: BigEndian (original fblin4.c)
:         32                 16 15                0
:         -----------------------------------------
:         | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
:         -----------------------------------------
: 
: LittleEndian (My SH3 target, attatched file, fblin4.c) 
: 
:         32                 16 15                0
:         -----------------------------------------
:         | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 |
:         -----------------------------------------
: You'd better check how pixels are allocated in
: your frame buffer memory.
: 
: Good Luck, 
: Kyoung Kim
: 
: -----Original Message-----
: From: Masanori TOKUNAGA
: To: Greg Haerr; ####@####.####
: Sent: 10/18/00 3:47 AM
: Subject: Re: Microwindows on SuperH
: 
: Hi..
: I succedded to excute 'mdemo' on SuperH .
: But outputs is strange...
: It seems that bitmaps is reversed.
: I suspect there is a endian problerm...
: Linux-sh is running little endian.
: 
: Is this a framebuffer driver bug or a microwindow bug ?
: 
: Greg Haerr wrote:
: 
: > : bash-2.04#./mdemo
: > :                         <-- screen cleared and no output
: > : bash-2.04#
: > :
: >
: > Lineo has performed a SuperH port of Microwindows, but
: > I have not received it.  I suspect there is a porting problem, or
: > that your framebuffer is not setup properly.  I will try to
: > find the guy's name at Lineo that ported SH and get
: > the information to you...
: >
: > Regards,
: >
: > Greg
: >
: > : Uhmm..
: > :
: > :
: > : > ----- Original Message -----
: > : > From: Masanori TOKUNAGA ####@####.####
: > : > To: ####@####.####
: > : > Sent: Tuesday, October 17, 2000 6:01 AM
: > : > Subject: Microwindows on SuperH
: > : >
: > : > : Hi,
: > : > : I try to compile microwindow for framebuffer device on SuperH.
: > : > : I have errors.
: > : > : Please help me.
: > : > :
: > : > : Error:
: > : > : Compiling srvnet.c ...
: > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In
function
: > : > : `ega_drawpixel':
: > : > : vgaplan4.o(.text+0x100): undefined reference to `outw'
: > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In
function
: > : > : `ega_drawhorzline':
: > : > : vgaplan4.o(.text+0x2f8): undefined reference to `outw'
: > : > : vgaplan4.o(.text+0x304): undefined reference to `outb'
: > : > : vgaplan4.o(.text+0x37c): undefined reference to `outb'
: > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In
function
: > : > : `ega_drawvertline':
: > : > : vgaplan4.o(.text+0x4f0): undefined reference to `outw'
: > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In
function
: > : > : `ega_init':
: > : > : vgaplan4.o(.text+0x55c): undefined reference to `ioperm'
: > : > : ...
: > : > :
: > : > :
: > : > :
: > : > : --
: > : > : $ diff Makefile.rules.org Makefile.rules
: > : > : 129c129
: > : > : < CC = $(TOOLSPREFIX)$(COMPILER)
: > : > : ---
: > : > : > CC = $(TOOLSPREFIX)$(COMPILER) -ml -m3
: > : > :
: > : > : $ diff Arch.rules.org Arch.rules
: > : > : 32a33,41
: > : > : > ifeq ($(ARCH), LINUX-SH)
: > : > : > COMPILER = gcc
: > : > : > CXX_COMPILER = g++
: > : > : > TOOLSPREFIX = $(SHTOOLSPREFIX)
: > : > : > DEFINES += -DLINUX=1 -DUNIX=1
: > : > : > CFLAGS += -Wall $(OPTFLAGS)
: > : > : > LDFLAGS +=
: > : > : > endif
: > : > : >
: > : > :
: > : > : % diff config.org config
: > : > : 36a37
: > : > : > SHTOOLSPREFIX          = sh-linux-gnu-
: > : > : 241,242c242,243
: > : > : < TTYKBD                   = Y
: > : > : < NOKBD                    = N
: > : > : ---
: > : > : > TTYKBD                   = N
: > : > : > NOKBD                    = Y
: > : > :
: > : > : $ diff drivers/scr_fb.c.org  drivers/scr_fb.c
: > : > : 21c21
: > : > : < #include <sys/io.h>
: > : > : ---
: > : > : > #include <asm/io.h>
: > : > :
: > : > : $ diff drivers/vgaplan4.h drivers/vgaplan4.h.org
: > : > : 22,23c22,23
: > : > : < /* #include <sys/io.h> */             /* for outb def's,
: requires -O
: > : > : */
: > : > : < #include <asm/io.h>   /* for outb def's on 2.3.x*/
: > : > : ---
: > : > : > #include <sys/io.h>           /* for outb def's, requires -O
: */
: > : > : > /* #include <asm/io.h>        */ /* for outb def's on
2.3.x*/
: > : > :
: > : > :
: > : > : --
: > : > : TOKUNAGA ####@####.####
: > : > :
: > : > :
: > : > :
: > : > :
: ---------------------------------------------------------------------
: > : > : To unsubscribe, e-mail: ####@####.####
: > : > : For additional commands, e-mail: ####@####.####
: > : > :
: > : > :
: > :
: > : --
: > : TOKUNAGA ####@####.####
: > :
: > :
: > :
: >
: >
---------------------------------------------------------------------
: > To unsubscribe, e-mail: ####@####.####
: > For additional commands, e-mail: ####@####.####
: 
: --
: TOKUNAGA ####@####.####
: 
: 
: 
: ---------------------------------------------------------------------
: To unsubscribe, e-mail: ####@####.####
: For additional commands, e-mail: ####@####.####
: 
: 


---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####
Subject: RE: Microwindows on SuperH
From: Jaswinder Singh ####@####.####
Date: 14 Nov 2000 00:39:48 -0000
Message-Id: <20001114004221.415.qmail@web4002.mail.yahoo.com>

Dear Kyoung Kim,

Please check this site :-
ftp://microwindows.org/pub/microwindows/microwindows-0.89pre6.tar.gz

Thanks,

Best Regards,

Jaswinder.

--- "KIM,KYOUNG-IL (HP-Cupertino,ex1)"
####@####.#### wrote:
> Hi, 
> 
> Where can I get Version.89pre6 ? 
> The latest version in Microwidows web site is 
> 0.89pre5.
> 
> Thank you, 
> Kyoung Kim
> 
> -----Original Message-----
> From: Greg Haerr
> To: KIM,KYOUNG-IL (HP-Cupertino,ex1); 'Masanori
> TOKUNAGA ';
> ####@####.####
> Sent: 11/12/00 11:20 AM
> Subject: Re: Microwindows on SuperH
> 
> : 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
> 
> 
> 
> 
> 
> 
> : 
> : BigEndian (original fblin4.c)
> :         32                 16 15                0
> :         -----------------------------------------
> :         | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
> :         -----------------------------------------
> : 
> : LittleEndian (My SH3 target, attatched file,
> fblin4.c) 
> : 
> :         32                 16 15                0
> :         -----------------------------------------
> :         | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 |
> :         -----------------------------------------
> : You'd better check how pixels are allocated in
> : your frame buffer memory.
> : 
> : Good Luck, 
> : Kyoung Kim
> : 
> : -----Original Message-----
> : From: Masanori TOKUNAGA
> : To: Greg Haerr; ####@####.####
> : Sent: 10/18/00 3:47 AM
> : Subject: Re: Microwindows on SuperH
> : 
> : Hi..
> : I succedded to excute 'mdemo' on SuperH .
> : But outputs is strange...
> : It seems that bitmaps is reversed.
> : I suspect there is a endian problerm...
> : Linux-sh is running little endian.
> : 
> : Is this a framebuffer driver bug or a microwindow
> bug ?
> : 
> : Greg Haerr wrote:
> : 
> : > : bash-2.04#./mdemo
> : > :                         <-- screen cleared and
> no output
> : > : bash-2.04#
> : > :
> : >
> : > Lineo has performed a SuperH port of
> Microwindows, but
> : > I have not received it.  I suspect there is a
> porting problem, or
> : > that your framebuffer is not setup properly.  I
> will try to
> : > find the guy's name at Lineo that ported SH and
> get
> : > the information to you...
> : >
> : > Regards,
> : >
> : > Greg
> : >
> : > : Uhmm..
> : > :
> : > :
> : > : > ----- Original Message -----
> : > : > From: Masanori TOKUNAGA
> ####@####.####
> : > : > To: ####@####.####
> : > : > Sent: Tuesday, October 17, 2000 6:01 AM
> : > : > Subject: Microwindows on SuperH
> : > : >
> : > : > : Hi,
> : > : > : I try to compile microwindow for
> framebuffer device on SuperH.
> : > : > : I have errors.
> : > : > : Please help me.
> : > : > :
> : > : > : Error:
> : > : > : Compiling srvnet.c ...
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In
> function
> : > : > : `ega_drawpixel':
> : > : > : vgaplan4.o(.text+0x100): undefined
> reference to `outw'
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In
> function
> : > : > : `ega_drawhorzline':
> : > : > : vgaplan4.o(.text+0x2f8): undefined
> reference to `outw'
> : > : > : vgaplan4.o(.text+0x304): undefined
> reference to `outb'
> : > : > : vgaplan4.o(.text+0x37c): undefined
> reference to `outb'
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In
> function
> : > : > : `ega_drawvertline':
> : > : > : vgaplan4.o(.text+0x4f0): undefined
> reference to `outw'
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In
> function
> : > : > : `ega_init':
> : > : > : vgaplan4.o(.text+0x55c): undefined
> reference to `ioperm'
> : > : > : ...
> : > : > :
> : > : > :
> : > : > :
> : > : > : --
> : > : > : $ diff Makefile.rules.org Makefile.rules
> : > : > : 129c129
> : > : > : < CC = $(TOOLSPREFIX)$(COMPILER)
> : > : > : ---
> : > : > : > CC = $(TOOLSPREFIX)$(COMPILER) -ml -m3
> : > : > :
> : > : > : $ diff Arch.rules.org Arch.rules
> : > : > : 32a33,41
> : > : > : > ifeq ($(ARCH), LINUX-SH)
> : > : > : > COMPILER = gcc
> : > : > : > CXX_COMPILER = g++
> : > : > : > TOOLSPREFIX = $(SHTOOLSPREFIX)
> : > : > : > DEFINES += -DLINUX=1 -DUNIX=1
> : > : > : > CFLAGS += -Wall $(OPTFLAGS)
> : > : > : > LDFLAGS +=
> : > : > : > endif
> : > : > : >
> : > : > :
> : > : > : % diff config.org config
> : > : > : 36a37
> : > : > : > SHTOOLSPREFIX          = sh-linux-gnu-
> : > : > : 241,242c242,243
> : > : > : < TTYKBD                   = Y
> : > : > : < NOKBD                    = N
> : > : > : ---
> : > : > : > TTYKBD                   = N
> : > : > : > NOKBD                    = Y
> : > : > :
> : > : > : $ diff drivers/scr_fb.c.org 
> drivers/scr_fb.c
> : > : > : 21c21
> : > : > : < #include <sys/io.h>
> : > : > : ---
> : > : > : > #include <asm/io.h>
> : > : > :
> : > : > : $ diff drivers/vgaplan4.h
> drivers/vgaplan4.h.org
> : > : > : 22,23c22,23
> : > : > : < /* #include <sys/io.h> */             /*
> for outb def's,
> : requires -O
> : > : > : */
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/
Subject: Re: Microwindows on SuperH
From: Masanori TOKUNAGA ####@####.####
Date: 14 Nov 2000 00:53:01 -0000
Message-Id: <3A108DA3.DF46B8B3@nsc.mci.mei.co.jp>

Dear Kim,

"KIM,KYOUNG-IL (HP-Cupertino,ex1)" wrote:

> Hi,
>
> Where can I get Version.89pre6 ?
> The latest version in Microwidows web site is  0.89pre5.

You can get version89pre6 from
ftp://microwindows.org/pub/microwindows/microwindows-0.89pre6.tar.gz

I will test version89pre6 after several days.

Regards,

Masanori.



>
>
> Thank you,
> Kyoung Kim
>
> -----Original Message-----
> From: Greg Haerr
> To: KIM,KYOUNG-IL (HP-Cupertino,ex1); 'Masanori TOKUNAGA ';
> ####@####.####
> Sent: 11/12/00 11:20 AM
> Subject: Re: Microwindows on SuperH
>
> : 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
>
> :
> : BigEndian (original fblin4.c)
> :         32                 16 15                0
> :         -----------------------------------------
> :         | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
> :         -----------------------------------------
> :
> : LittleEndian (My SH3 target, attatched file, fblin4.c)
> :
> :         32                 16 15                0
> :         -----------------------------------------
> :         | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 |
> :         -----------------------------------------
> : You'd better check how pixels are allocated in
> : your frame buffer memory.
> :
> : Good Luck,
> : Kyoung Kim
> :
> : -----Original Message-----
> : From: Masanori TOKUNAGA
> : To: Greg Haerr; ####@####.####
> : Sent: 10/18/00 3:47 AM
> : Subject: Re: Microwindows on SuperH
> :
> : Hi..
> : I succedded to excute 'mdemo' on SuperH .
> : But outputs is strange...
> : It seems that bitmaps is reversed.
> : I suspect there is a endian problerm...
> : Linux-sh is running little endian.
> :
> : Is this a framebuffer driver bug or a microwindow bug ?
> :
> : Greg Haerr wrote:
> :
> : > : bash-2.04#./mdemo
> : > :                         <-- screen cleared and no output
> : > : bash-2.04#
> : > :
> : >
> : > Lineo has performed a SuperH port of Microwindows, but
> : > I have not received it.  I suspect there is a porting problem, or
> : > that your framebuffer is not setup properly.  I will try to
> : > find the guy's name at Lineo that ported SH and get
> : > the information to you...
> : >
> : > Regards,
> : >
> : > Greg
> : >
> : > : Uhmm..
> : > :
> : > :
> : > : > ----- Original Message -----
> : > : > From: Masanori TOKUNAGA ####@####.####
> : > : > To: ####@####.####
> : > : > Sent: Tuesday, October 17, 2000 6:01 AM
> : > : > Subject: Microwindows on SuperH
> : > : >
> : > : > : Hi,
> : > : > : I try to compile microwindow for framebuffer device on SuperH.
> : > : > : I have errors.
> : > : > : Please help me.
> : > : > :
> : > : > : Error:
> : > : > : Compiling srvnet.c ...
> : > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In
> function
> : > : > : `ega_drawpixel':
> : > : > : vgaplan4.o(.text+0x100): undefined reference to `outw'
> : > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In
> function
> : > : > : `ega_drawhorzline':
> : > : > : vgaplan4.o(.text+0x2f8): undefined reference to `outw'
> : > : > : vgaplan4.o(.text+0x304): undefined reference to `outb'
> : > : > : vgaplan4.o(.text+0x37c): undefined reference to `outb'
> : > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In
> function
> : > : > : `ega_drawvertline':
> : > : > : vgaplan4.o(.text+0x4f0): undefined reference to `outw'
> : > : > : /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o): In
> function
> : > : > : `ega_init':
> : > : > : vgaplan4.o(.text+0x55c): undefined reference to `ioperm'
> : > : > : ...
> : > : > :
> : > : > :
> : > : > :
> : > : > : --
> : > : > : $ diff Makefile.rules.org Makefile.rules
> : > : > : 129c129
> : > : > : < CC = $(TOOLSPREFIX)$(COMPILER)
> : > : > : ---
> : > : > : > CC = $(TOOLSPREFIX)$(COMPILER) -ml -m3
> : > : > :
> : > : > : $ diff Arch.rules.org Arch.rules
> : > : > : 32a33,41
> : > : > : > ifeq ($(ARCH), LINUX-SH)
> : > : > : > COMPILER = gcc
> : > : > : > CXX_COMPILER = g++
> : > : > : > TOOLSPREFIX = $(SHTOOLSPREFIX)
> : > : > : > DEFINES += -DLINUX=1 -DUNIX=1
> : > : > : > CFLAGS += -Wall $(OPTFLAGS)
> : > : > : > LDFLAGS +=
> : > : > : > endif
> : > : > : >
> : > : > :
> : > : > : % diff config.org config
> : > : > : 36a37
> : > : > : > SHTOOLSPREFIX          = sh-linux-gnu-
> : > : > : 241,242c242,243
> : > : > : < TTYKBD                   = Y
> : > : > : < NOKBD                    = N
> : > : > : ---
> : > : > : > TTYKBD                   = N
> : > : > : > NOKBD                    = Y
> : > : > :
> : > : > : $ diff drivers/scr_fb.c.org  drivers/scr_fb.c
> : > : > : 21c21
> : > : > : < #include <sys/io.h>
> : > : > : ---
> : > : > : > #include <asm/io.h>
> : > : > :
> : > : > : $ diff drivers/vgaplan4.h drivers/vgaplan4.h.org
> : > : > : 22,23c22,23
> : > : > : < /* #include <sys/io.h> */             /* for outb def's,
> : requires -O
> : > : > : */
> : > : > : < #include <asm/io.h>   /* for outb def's on 2.3.x*/
> : > : > : ---
> : > : > : > #include <sys/io.h>           /* for outb def's, requires -O
> : */
> : > : > : > /* #include <asm/io.h>        */ /* for outb def's on
> 2.3.x*/
> : > : > :
> : > : > :
> : > : > : --
> : > : > : TOKUNAGA ####@####.####
> : > : > :
> : > : > :
> : > : > :
> : > : > :
> : ---------------------------------------------------------------------
> : > : > : To unsubscribe, e-mail: ####@####.####
> : > : > : For additional commands, e-mail: ####@####.####
> : > : > :
> : > : > :
> : > :
> : > : --
> : > : TOKUNAGA ####@####.####
> : > :
> : > :
> : > :
> : >
> : >
> ---------------------------------------------------------------------
> : > To unsubscribe, e-mail: ####@####.####
> : > For additional commands, e-mail: ####@####.####
> :
> : --
> : TOKUNAGA ####@####.####
> :
> :
> :
> : ---------------------------------------------------------------------
> : To unsubscribe, e-mail: ####@####.####
> : For additional commands, e-mail: ####@####.####
> :
> :
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####

--
�������M�H��(��) �Z�p�{�� �\�t�g�E�F�A�J���Z���^�[
             �R�A�\�t�g�E�F�A�J���O���[�v
                          ���i ���T
TEL:(045)939-1985 FAX:(045)939-1417 Pana-Van:7-352-6278
####@####.####


Subject: Re: Microwindows on SuperH
From: Jaswinder Singh ####@####.####
Date: 14 Nov 2000 08:34:05 -0000
Message-Id: <20001114083638.4564.qmail@web4002.mail.yahoo.com>

Dear Jordan and others,

I am attaching some part of my autoconf.h

But i am having two doubts .

When i build Linux (with framebuffer) for my laptop i
do not create framebuffer devices by my hand (as far
as i remember).

1. Who made /dev/fb0 and so on ?

2. Is pty also effect it ?

Thanks ,

Best Regards and very happy hacking :)

Jaswinder.

In my case :-

#
# Console drivers
#
# CONFIG_VGA_CONSOLE is not set
# CONFIG_VIDEO_SELECT is not set
# CONFIG_MDA_CONSOLE is not set

#
# Frame-buffer support
#
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FB_HIT=y
# CONFIG_FB_VIRTUAL is not set
CONFIG_FBCON_ADVANCED=y
# CONFIG_FBCON_MFB is not set
# CONFIG_FBCON_CFB2 is not set
# CONFIG_FBCON_CFB4 is not set
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
# CONFIG_FBCON_CFB24 is not set
# CONFIG_FBCON_CFB32 is not set
# CONFIG_FBCON_AFB is not set
# CONFIG_FBCON_ILBM is not set
# CONFIG_FBCON_IPLAN2P2 is not set
# CONFIG_FBCON_IPLAN2P4 is not set
# CONFIG_FBCON_IPLAN2P8 is not set
# CONFIG_FBCON_MAC is not set
# CONFIG_FBCON_VGA_PLANES is not set
# CONFIG_FBCON_VGA is not set
# CONFIG_FBCON_HGA is not set
# CONFIG_FBCON_FONTWIDTH8_ONLY is not set
# CONFIG_FBCON_FONTS is not set
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

and

#
# Unix 98 PTY support
#
# CONFIG_UNIX98_PTYS is not set

--- Jordan Crouse ####@####.#### wrote:
> You need to make sure that you have framebuffer
> support built into your
> kernel, and that your framebuffer driver is working
> correctly.  Most
> framebuffer drivers put the linux logo on the
> graphics screen while you
> are booting up.  If thats not there, then there may
> be a good chance
> that you don't have framebuffer support enabled. 
> Check your kernel
> config:  On v2.4.0-test4-pre3, its in the menuconfig
> under "console
> drivers".
> 
> Happy hacking,
> Jordan
> 
>  Jaswinder Singh wrote:
> > 
> > Dear Greg , Masanori-san and others ,
> > 
> > Thank you very much for adding support for the SH3
> >  compilation in microwindows.
> > 
> > But please make some changes :-
> > In config file :-
> > replace
> > SHTOOLSPREFIX            = sh-linux-gnu
> > with
> > SHTOOLSPREFIX            = sh-linux-gnu-
> > 
> > and
> > 
> > In Arch.rules file :-
> > replace
> > CFLAGS += -m1 -m3 -Wall $(OPTFLAGS)
> > with
> > CFLAGS += -ml -m3 -Wall $(OPTFLAGS)
> > 
> > It is ml (l means little-endian)
> > 
> > To build microwindows for SH :-
> > i also made changes in
> > 1. config file
> > replace
> > ARCH                     = LINUX-NATIVE
> > with
> > ARCH                     = LINUX-SH
> > 
> > and
> > 
> > replace
> > FBVGA                    = Y
> > with
> > FBVGA                    = N
> > 
> > 2. drivers/vgaplan4.h
> > replace
> > #include <sys/io.h>             /* for outb def's,
> requires -O */
> > #include <asm/io.h>             /* for outb def's,
> requires -O */
> > 
> > 3. drivers/scr_fb.c
> > replace
> > #include <sys/io.h>
> > requires -O */
> > #include <asm/io.h>
> > 
> > Then i am able to build binary files and libraries
> of
> > microwindows.
> > 
> > but when i run ./mterm or ./mdemo
> > i get :-
> > Error opening /dev/fb0 , no such file or directory
> > Cannnot initialize screen
> > 
> > Then i made in dev directory:-
> > mknod fb0 c 29 0
> > ln -s fb fb0
> > 
> > Then i run again ./mterm or ./mdemo
> > i got "screen cleared and no output" same as
> > Masanori-san get .
> > 
> > Please tell me what i have to do , to rectify this
> > problem.
> > 
> > Thanks,
> > 
> > Jaswinder.
> > 
> > --- Greg Haerr ####@####.#### wrote:
> > > : 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
> > >
> > >
> > >
> > >
> > >
> > >
> > > :
> > > : BigEndian (original fblin4.c)
> > > :         32                 16 15              
>  0
> > > :        
> -----------------------------------------
> > > :         | P7 | P6 | P5 | P4 | P3 | P2 | P1 |
> P0 |
> > > :        
> -----------------------------------------
> > > :
> > > : LittleEndian (My SH3 target, attatched file,
> > > fblin4.c)
> > > :
> > > :         32                 16 15              
>  0
> > > :        
> -----------------------------------------
> > > :         | P0 | P1 | P2 | P3 | P4 | P5 | P6 |
> P7 |
> > > :        
> -----------------------------------------
> > > : You'd better check how pixels are allocated in
> > > : your frame buffer memory.
> > > :
> > > : Good Luck,
> > > : Kyoung Kim
> > > :
> > > : -----Original Message-----
> > > : From: Masanori TOKUNAGA
> > > : To: Greg Haerr; ####@####.####
> > > : Sent: 10/18/00 3:47 AM
> > > : Subject: Re: Microwindows on SuperH
> > > :
> > > : Hi..
> > > : I succedded to excute 'mdemo' on SuperH .
> > > : But outputs is strange...
> > > : It seems that bitmaps is reversed.
> > > : I suspect there is a endian problerm...
> > > : Linux-sh is running little endian.
> > > :
> > > : Is this a framebuffer driver bug or a
> microwindow
> > > bug ?
> > > :
> > > : Greg Haerr wrote:
> > > :
> > > : > : bash-2.04#./mdemo
> > > : > :                         <-- screen cleared
> and
> > > no output
> > > : > : bash-2.04#
> > > : > :
> > > : >
> > > : > Lineo has performed a SuperH port of
> > > Microwindows, but
> > > : > I have not received it.  I suspect there is
> a
> > > porting problem, or
> > > : > that your framebuffer is not setup properly.
>  I
> > > will try to
> > > : > find the guy's name at Lineo that ported SH
> and
> > > get
> > > : > the information to you...
> > > : >
> > > : > Regards,
> > > : >
> > > : > Greg
> > > : >
> > > : > : Uhmm..
> > > : > :
> > > : > :
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/
Subject: RE: Microwindows on SuperH
From: "KIM,KYOUNG-IL (HP-Cupertino,ex1)" ####@####.####
Date: 15 Nov 2000 00:23:54 -0000
Message-Id: <4341EF5F8B4AD311AB4B00902740B9F2018689FC@xcup02.cup.hp.com>

Hi, 

To build Shared library/ Little Endian, you should use
'-EL' options for linker.
In Makefile.rules(line 289...), add -EL options to line, 
$(LD) -shared -o $@ --whole-archive $^ .

For Static linking, I think LDFLAGS should have '-static'
option as well as SHAREDLIB =Y.  In the original 'config'
file, I don't see '-static' option even if SHAREDLIB =N. 


Thank you, 
Kyoung Kim

-----Original Message-----
From: Jaswinder Singh
To: Greg Haerr
Cc: ####@####.#### ####@####.####
####@####.####
Sent: 11/13/00 12:17 AM
Subject: Re: Microwindows on SuperH

Dear Greg , Masanori-san and others ,

Thank you very much for adding support for the SH3
 compilation in microwindows.

But please make some changes :-
In config file :-
replace 
SHTOOLSPREFIX            = sh-linux-gnu
with
SHTOOLSPREFIX            = sh-linux-gnu-

and 

In Arch.rules file :-
replace
CFLAGS += -m1 -m3 -Wall $(OPTFLAGS)
with
CFLAGS += -ml -m3 -Wall $(OPTFLAGS)

It is ml (l means little-endian)

To build microwindows for SH :-
i also made changes in 
1. config file 
replace
ARCH                     = LINUX-NATIVE
with
ARCH                     = LINUX-SH

and

replace 
FBVGA                    = Y
with 
FBVGA                    = N

2. drivers/vgaplan4.h 
replace
#include <sys/io.h>		/* for outb def's, requires -O */
#include <asm/io.h>		/* for outb def's, requires -O */

3. drivers/scr_fb.c 
replace
#include <sys/io.h>
requires -O */
#include <asm/io.h>

Then i am able to build binary files and libraries of
microwindows.

but when i run ./mterm or ./mdemo
i get :-
Error opening /dev/fb0 , no such file or directory 
Cannnot initialize screen

Then i made in dev directory:-
mknod fb0 c 29 0 
ln -s fb fb0

Then i run again ./mterm or ./mdemo
i got "screen cleared and no output" same as
Masanori-san get .

Please tell me what i have to do , to rectify this
problem.

Thanks,

Jaswinder.


--- Greg Haerr ####@####.#### wrote:
> : 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
> 
> 
> 
> 
> 
> 
> : 
> : BigEndian (original fblin4.c)
> :         32                 16 15                0
> :         -----------------------------------------
> :         | P7 | P6 | P5 | P4 | P3 | P2 | P1 | P0 |
> :         -----------------------------------------
> : 
> : LittleEndian (My SH3 target, attatched file,
> fblin4.c) 
> : 
> :         32                 16 15                0
> :         -----------------------------------------
> :         | P0 | P1 | P2 | P3 | P4 | P5 | P6 | P7 |
> :         -----------------------------------------
> : You'd better check how pixels are allocated in
> : your frame buffer memory.
> : 
> : Good Luck, 
> : Kyoung Kim
> : 
> : -----Original Message-----
> : From: Masanori TOKUNAGA
> : To: Greg Haerr; ####@####.####
> : Sent: 10/18/00 3:47 AM
> : Subject: Re: Microwindows on SuperH
> : 
> : Hi..
> : I succedded to excute 'mdemo' on SuperH .
> : But outputs is strange...
> : It seems that bitmaps is reversed.
> : I suspect there is a endian problerm...
> : Linux-sh is running little endian.
> : 
> : Is this a framebuffer driver bug or a microwindow
> bug ?
> : 
> : Greg Haerr wrote:
> : 
> : > : bash-2.04#./mdemo
> : > :                         <-- screen cleared and
> no output
> : > : bash-2.04#
> : > :
> : >
> : > Lineo has performed a SuperH port of
> Microwindows, but
> : > I have not received it.  I suspect there is a
> porting problem, or
> : > that your framebuffer is not setup properly.  I
> will try to
> : > find the guy's name at Lineo that ported SH and
> get
> : > the information to you...
> : >
> : > Regards,
> : >
> : > Greg
> : >
> : > : Uhmm..
> : > :
> : > :
> : > : > ----- Original Message -----
> : > : > From: Masanori TOKUNAGA
> ####@####.####
> : > : > To: ####@####.####
> : > : > Sent: Tuesday, October 17, 2000 6:01 AM
> : > : > Subject: Microwindows on SuperH
> : > : >
> : > : > : Hi,
> : > : > : I try to compile microwindow for
> framebuffer device on SuperH.
> : > : > : I have errors.
> : > : > : Please help me.
> : > : > :
> : > : > : Error:
> : > : > : Compiling srvnet.c ...
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In function
> : > : > : `ega_drawpixel':
> : > : > : vgaplan4.o(.text+0x100): undefined
> reference to `outw'
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In function
> : > : > : `ega_drawhorzline':
> : > : > : vgaplan4.o(.text+0x2f8): undefined
> reference to `outw'
> : > : > : vgaplan4.o(.text+0x304): undefined
> reference to `outb'
> : > : > : vgaplan4.o(.text+0x37c): undefined
> reference to `outb'
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In function
> : > : > : `ega_drawvertline':
> : > : > : vgaplan4.o(.text+0x4f0): undefined
> reference to `outw'
> : > : > :
> /tmp/a/microwin/src/lib/libmwdrivers.a(vgaplan4.o):
> In function
> : > : > : `ega_init':
> : > : > : vgaplan4.o(.text+0x55c): undefined
> reference to `ioperm'
> : > : > : ...
> : > : > :
> : > : > :
> : > : > :
> : > : > : --
> : > : > : $ diff Makefile.rules.org Makefile.rules
> : > : > : 129c129
> : > : > : < CC = $(TOOLSPREFIX)$(COMPILER)
> : > : > : ---
> : > : > : > CC = $(TOOLSPREFIX)$(COMPILER) -ml -m3
> : > : > :
> : > : > : $ diff Arch.rules.org Arch.rules
> : > : > : 32a33,41
> : > : > : > ifeq ($(ARCH), LINUX-SH)
> : > : > : > COMPILER = gcc
> : > : > : > CXX_COMPILER = g++
> : > : > : > TOOLSPREFIX = $(SHTOOLSPREFIX)
> : > : > : > DEFINES += -DLINUX=1 -DUNIX=1
> : > : > : > CFLAGS += -Wall $(OPTFLAGS)
> : > : > : > LDFLAGS +=
> : > : > : > endif
> : > : > : >
> : > : > :
> : > : > : % diff config.org config
> : > : > : 36a37
> : > : > : > SHTOOLSPREFIX          = sh-linux-gnu-
> : > : > : 241,242c242,243
> : > : > : < TTYKBD                   = Y
> : > : > : < NOKBD                    = N
> : > : > : ---
> : > : > : > TTYKBD                   = N
> : > : > : > NOKBD                    = Y
> : > : > :
> : > : > : $ diff drivers/scr_fb.c.org 
> drivers/scr_fb.c
> : > : > : 21c21
> : > : > : < #include <sys/io.h>
> : > : > : ---
> : > : > : > #include <asm/io.h>
> : > : > :
> : > : > : $ diff drivers/vgaplan4.h
> drivers/vgaplan4.h.org
> : > : > : 22,23c22,23
> : > : > : < /* #include <sys/io.h> */             /*
> for outb def's,
> : requires -O
> : > : > : */
> : > : > : < #include <asm/io.h>   /* for outb def's
> on 2.3.x*/
> : > : > : ---
> : > : > : > #include <sys/io.h>           /* for
> outb def's, requires -O
> : */
> : > : > : > /* #include <asm/io.h>        */ /* for
> outb def's on 2.3.x*/
> : > : > :
> : > : > :
> : > : > : --
> : > : > : TOKUNAGA
> ####@####.####
> : > : > :
> : > : > :
> : > : > :
> : > : > :
> :
>
---------------------------------------------------------------------
> : > : > : To unsubscribe, e-mail:
> ####@####.####
> 
=== message truncated ===


__________________________________________________
Do You Yahoo!?
Yahoo! Calendar - Get organized for the holidays!
http://calendar.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####
Subject: Re: Microwindows on SuperH
From: Jaswinder Singh ####@####.####
Date: 21 Nov 2000 06:15:22 -0000
Message-Id: <20001121061800.941.qmail@web4003.mail.yahoo.com>

Dear Greg and others,

Thank you very much for providing SH3 support in
micro-windows  :-)

I am able to see microwindows demos but nano-x is not
working at all.

I am facing some problem in mterm microwindows demo .
I build my kernel with PTY support , when i do not
provide /dev/ptyp0 , /dev/ptyp1 , and so on .
mterm shows one window and i am able to use mterm but
whatever i type it just get echoed but no bash shell.

And if i do not provide /dev/ptyp0 , /dev/ptyp1 , and
so on , i get multiple windows and my machine hanged.

Please give me some hint to get out from this problem
.

Thanks ,

Best Regards,

Jaswinder.

--- Greg Haerr ####@####.#### wrote:
> 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
> 



__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
Subject: Re: Microwindows on SuperH
From: Jaswinder Singh ####@####.####
Date: 27 Nov 2000 07:17:53 -0000
Message-Id: <20001127072038.26095.qmail@web4004.mail.yahoo.com>

Dear Masanori-san , Greg and others,

--- Masanori TOKUNAGA ####@####.####
wrote:
> How do you change focusing window without pointing
> device
> (touchpanel devicer or mouse device)?
>

We can change focusing window with keyboard by
pressing tab key.

Dear Greg , are  you providing tab feature in
MicroWindows .

Thanks, 

Best Regards,

Jaswinder.

> 
> Thank you
> Masanori.
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/
[<<] [<] Page 2 of 3 [>] [>>]


Powered by ezmlm-browse 0.20.