* Help Wanted: Floppy and CG3 Problems using Linux-2.6.8.1.
@ 2004-10-20 19:05 Mark Fortescue
2004-10-21 0:47 ` William Lee Irwin III
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Mark Fortescue @ 2004-10-20 19:05 UTC (permalink / raw)
To: sparclinux
Hi all,
I am having a lot of trouble getting things up and running on my sparc
clone. I have applied a patch to get the PROM Console working and I would
like some help getting the CGthree console up and running as the code has
changed substantially from the V2.2 kernels and I can't find the areas of
code to change.
In addition, it would be nice if the floppy was detected. The 2.2.x
kernels also fail to find it.
The console problems are:
1) The console blanks at the point then it switches from the prom console
to the frame buffer console. (There is an error in cg3.c as both blanking
and unblanking to the same thing. I thought that I had fixed this with the
patch below [based on the code from the 2.2.26 kernel] but this had no
effect. Maybe I changed the wrong case).
diff -ruNpd linux-2.6.8.1/drivers/video/cg3.c
linux-2.6.8.1-p02/drivers/video/cg
3.c
--- linux-2.6.8.1/drivers/video/cg3.c Sat Aug 14 11:55:35 2004
+++ linux-2.6.8.1-p02/drivers/video/cg3.c Wed Oct 20 16:57:10 2004
@@ -209,7 +209,7 @@ cg3_blank(int blank, struct fb_info *inf
case 3: /* VESA blank (hsync off) */
case 4: /* Poweroff */
val = sbus_readl(®s->control);
- val |= CG3_CR_ENABLE_VIDEO;
+ val &= ~CG3_CR_ENABLE_VIDEO;
sbus_writel(val, ®s->control);
par->flags |= CG3_FLAG_BLANKED;
break;
2) Using a serial console I managed to get a bit further and found thet
the frame buffer console is being set up to be 144x56. It should be 80x34
(same as the prom). What file is the setting fro this in as I would liek
to change it for my kernel.
3) The Zilog serial ports are aperaing in the frame buffer memory area
(0xFE000000 - 0xFEFFFFFF). They are at 0xfe007004 and 0xfe007000. Any
clues as to why the code has not allocated the frame buffer memory as per
the prom. According to the prom, they should be at:
reg: 00000001.f1000000.00000008
address: ffd02000
and
reg: 00000001.f0000000.00000008
address: ffd00000
According to the prom, the cgthree should be at:
reg: 00000001.fe000000.01000000
address: ffd80000
I have not found if the cgthree driver is getting the address from the
prom. If it does, can someone let me know so that I can add in some
debug printk's to verify that it is getting it right.
The floppy problem is a mistery to me.
The prom node entry is:
Node 0xffec0344
name: 'fd'
reg: 00000001.f7200000.00000008
address: ffd18000
intr: 0000000b.00000000
device_type: 'block'
SunOS 4.1.1 has no trouble locating it (in OBIO) so why does linux fail to
find it ? The controller (according to the SunOS man page) is an 82072 and
this FDC is supported in the driver code (drivers/block/floppy.c).
I am not a subscriber to the mailing list (yet) so could any one
responding please ensure that my email address is in the list of
recipients.
Help and advice regarding these and any other known sparc1
sun4c/linux-2.6.8 issues would be much appriciated.
Regards
Mark Fortescue.
mailto: mark@mtfhpc.demon.co.uk.
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Help Wanted: Floppy and CG3 Problems using Linux-2.6.8.1.
2004-10-20 19:05 Help Wanted: Floppy and CG3 Problems using Linux-2.6.8.1 Mark Fortescue
@ 2004-10-21 0:47 ` William Lee Irwin III
2004-10-21 1:21 ` C.Newport
2004-10-21 1:35 ` Mark Fortescue
2 siblings, 0 replies; 4+ messages in thread
From: William Lee Irwin III @ 2004-10-21 0:47 UTC (permalink / raw)
To: sparclinux
On Wed, Oct 20, 2004 at 08:05:10PM +0100, Mark Fortescue wrote:
> I am having a lot of trouble getting things up and running on my sparc
> clone. I have applied a patch to get the PROM Console working and I would
> like some help getting the CGthree console up and running as the code has
> changed substantially from the V2.2 kernels and I can't find the areas of
> code to change.
> In addition, it would be nice if the floppy was detected. The 2.2.x
> kernels also fail to find it.
> The console problems are:
> 1) The console blanks at the point then it switches from the prom console
> to the frame buffer console. (There is an error in cg3.c as both blanking
> and unblanking to the same thing. I thought that I had fixed this with the
> patch below [based on the code from the 2.2.26 kernel] but this had no
> effect. Maybe I changed the wrong case).
Okay, this is nasty. I don't have any ideas.
-- wli
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help Wanted: Floppy and CG3 Problems using Linux-2.6.8.1.
2004-10-20 19:05 Help Wanted: Floppy and CG3 Problems using Linux-2.6.8.1 Mark Fortescue
2004-10-21 0:47 ` William Lee Irwin III
@ 2004-10-21 1:21 ` C.Newport
2004-10-21 1:35 ` Mark Fortescue
2 siblings, 0 replies; 4+ messages in thread
From: C.Newport @ 2004-10-21 1:21 UTC (permalink / raw)
To: sparclinux
On Thursday 21 October 2004 1:47 am, William Lee Irwin III wrote:
> On Wed, Oct 20, 2004 at 08:05:10PM +0100, Mark Fortescue wrote:
> > I am having a lot of trouble getting things up and running on my sparc
> > clone. I have applied a patch to get the PROM Console working and I would
> > like some help getting the CGthree console up and running as the code has
> > changed substantially from the V2.2 kernels and I can't find the areas of
> > code to change.
> Okay, this is nasty. I don't have any ideas.
FWIW I have 2.4.27 working here on an SS1, the fb is cg6 but cg3 should be OK.
Sun4c is horribly slow, expect 20+ hours to build the kernel.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Help Wanted: Floppy and CG3 Problems using Linux-2.6.8.1.
2004-10-20 19:05 Help Wanted: Floppy and CG3 Problems using Linux-2.6.8.1 Mark Fortescue
2004-10-21 0:47 ` William Lee Irwin III
2004-10-21 1:21 ` C.Newport
@ 2004-10-21 1:35 ` Mark Fortescue
2 siblings, 0 replies; 4+ messages in thread
From: Mark Fortescue @ 2004-10-21 1:35 UTC (permalink / raw)
To: sparclinux
Hi All,
I only cross compile it. Building gcc on SunOS 4.1 is a pain and with only
16MB of ram it would take forever.
Cross compiling on a pentium 233 (32Mb Ram) takes about 2 to 3 hours from
scratch.
Regards
Mark Fortescue.
On Thu, 21 Oct 2004, C.Newport wrote:
> On Thursday 21 October 2004 1:47 am, William Lee Irwin III wrote:
> > On Wed, Oct 20, 2004 at 08:05:10PM +0100, Mark Fortescue wrote:
> > > I am having a lot of trouble getting things up and running on my sparc
> > > clone. I have applied a patch to get the PROM Console working and I would
> > > like some help getting the CGthree console up and running as the code has
> > > changed substantially from the V2.2 kernels and I can't find the areas of
> > > code to change.
>
> > Okay, this is nasty. I don't have any ideas.
>
> FWIW I have 2.4.27 working here on an SS1, the fb is cg6 but cg3 should be OK.
> Sun4c is horribly slow, expect 20+ hours to build the kernel.
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-21 1:35 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-20 19:05 Help Wanted: Floppy and CG3 Problems using Linux-2.6.8.1 Mark Fortescue
2004-10-21 0:47 ` William Lee Irwin III
2004-10-21 1:21 ` C.Newport
2004-10-21 1:35 ` Mark Fortescue
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.