* problems with the frame buffer (ATV 64) on a power mac 7220 in newer kernels
@ 2000-04-02 2:44 Steven Hanley
2000-04-03 9:25 ` Michel Lanners
0 siblings, 1 reply; 4+ messages in thread
From: Steven Hanley @ 2000-04-02 2:44 UTC (permalink / raw)
To: Linux PPC Dev
All
this is a yellow dog cs 1.1 install that came with 2.2.6somehting or
other (cd from the linuxcare.au offices) and I downloaded 2.2.10 tar
ball from samba.org, then rsynced 2.2.15pre14 from linuxcare.au
on the power mac 7220 the kernel that came with it works happily
and as soon as bootx loads it we see the text start apearing during boot
(along witht the little penguin) and with a 2.2.10 compiled kernel I
grabbed off samba it also works fine.
I also grabbed the 2.2.10 source from samba and I am cross compiling it
on my dual pII 350.
the 2.2.10 I compile with a configuration that is correct for the
machine works fine and we see the text console as I should as soon as
bootx loads.
however with 2.2.15pre14 from paulus' rsync there is nothing but a blank
screen (fortunately I am still able to ssh to the pmac)
the relevant parts of the bootup seem to be
on working 2.2.10
Mar 28 17:56:31 innuendo kernel: Linux version 2.2.10 (sjh@sjhmmj) (gcc
version egcs-2.91.60 19981201 (egcs-1.1.1 release)) #2 Tue Mar 28
16:44:45 EST 2000
Mar 28 17:56:31 innuendo kernel: MacOS display is /bandit/ATY,264V
Mar 28 17:56:31 innuendo kernel: atyfb: mach64VT (ATI264VT) [0x5654 rev
0x40] 2M EDO, 200 MHz PLL, 63 Mhz MCLK
Mar 28 17:56:31 innuendo kernel: Console: switching to colour frame
buffer device 100x37
Mar 28 17:56:31 innuendo kernel: fb0: ATY Mach64 frame buffer device on
/bandit/ATY,264V
and of a non working 2.2.15pre14 kernel
Mar 28 18:21:21 innuendo kernel: Linux version 2.2.15pre14 (sjh@sjhmmj)
(gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)) #9 Tue Mar 28
15:59:41 EST 2000
Mar 28 18:21:21 innuendo kernel: MacOS display is
/bandit/ATY,264VTc^G<BC><80>^A
Mar 28 18:21:21 innuendo kernel: atyfb: mach64VT (ATI264VT) [0x5654 rev
0x40] 2M EDO, 14.31818 MHz XTAL, 200 MHz PLL, 63 Mhz MCLK
Mar 28 18:21:21 innuendo kernel: BUS_CNTL DAC_CNTL MEM_CNTL EXT_MEM_CNTL
CRTC_GEN_CNTL DSP_CONFIG DSP_ON_OFF
Mar 28 18:21:21 innuendo kernel: 680080f9 87010184 0a000022 00000000
03030200 00000000 00000000
Mar 28 18:21:21 innuendo kernel: PLL 00 b5 2d 14 c6 0b 02 be d6 ee cf 00
41 00 00 00
Mar 28 18:21:21 innuendo kernel: atyfb: monitor sense=73f, maps to mode
6
Mar 28 18:21:21 innuendo kernel: Console: switching to colour frame
buffer device 128x48
Mar 28 18:21:21 innuendo kernel: fb0: ATY Mach64 frame buffer device on
/bandit/ATY,264VTc^G<BC><80>^A
note it seems I always get the garbage in boot up from the 2.2.15pre14
kernels (garbage being the weird characters after /bandit/ATY,264
and the weird characters change all the time.
note also the line
Mar 28 18:21:21 innuendo kernel: atyfb: monitor sense=73f, maps to mode
6
now that is new, looking in the source (atyfb.c)
/*
* The default video mode is 1024x768 @ 75Hz, as that
* works on iMacs as well as the G3 powerbooks. - paulus
*/
if (default_vmode == VMODE_CHOOSE) {
if (Gx == LG_CHIP_ID)
/* G3 PowerBook with 1024x768 LCD */
default_vmode = VMODE_1024_768_60;
else
default_vmode = VMODE_1024_768_75;
/* 'twould be nice to get this going - paulus */
sense = read_aty_sense(info);
printk(KERN_INFO "atyfb: monitor sense=%x, maps to mode %d\n",
sense, mac_map_monitor_sense(sense));
}
which is new since 2.2.10
it seems it is auto choosing this mode
I tried a kernel command line of video=controlfb:vmode:5 (I assume for
the kernel headers mode 5 is what I want) and also tried just
video=vmode:5 incase that worked (I found these command lines in
the __initfunc(void control_setup(char *options, int *ints)) in
controlfb.c
and the thing still chose the vmode as if it wanted to use the code
paulus put there recently. (5 seems to be the vmode I want, although it
seems the vmode can be pulled out of nvram also)
anyway this may all be somewhat extraneous information, basically I want
to have console work on the mac and it doesnt in 2.2.15pre14 and it
does on 2.2.10
I really want to use the newer kernel, especially as my hard disk
performance is increased more than 3 fold in the 2.2.15pre14 over 2.2.10
anyone who can help (what kernel command line to try, or whatever) it
would be appreciated. I dont have time to dig into the code any deeper
really for a few weeks (although knowing me I will probably
misprioratise
my uni work and do this instead, oh well.
I am unsure whether this is a a -dev or -user request but for now shall
limit my post to -dev.
Thanks
See You
Steve
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: problems with the frame buffer (ATV 64) on a power mac 7220 in newer kernels
2000-04-02 2:44 problems with the frame buffer (ATV 64) on a power mac 7220 in newer kernels Steven Hanley
@ 2000-04-03 9:25 ` Michel Lanners
2000-04-04 0:54 ` Steven Hanley
0 siblings, 1 reply; 4+ messages in thread
From: Michel Lanners @ 2000-04-03 9:25 UTC (permalink / raw)
To: sjh; +Cc: linuxppc-dev
On 2 Apr, this message from Steven Hanley echoed through cyberspace:
> on the power mac 7220 the kernel that came with it works happily
> and as soon as bootx loads it we see the text start apearing during boot
> (along witht the little penguin) and with a 2.2.10 compiled kernel I
> grabbed off samba it also works fine.
[snip]
> I tried a kernel command line of video=controlfb:vmode:5
^^^^^^^^^
I didn't know the 7220 had a control display adapter? Anyway, this
option will do nothing for your ATI display. You need to look at atyfb
for relevant options.
Michel
PS By the way, anybody know whether the option handling in controlfb
made it into the kernel? Options were there, but control_setup() was
never called, IIRC.
-------------------------------------------------------------------------
Michel Lanners | " Read Philosophy. Study Art.
23, Rue Paul Henkes | Ask Questions. Make Mistakes.
L-1710 Luxembourg |
email mlan@cpu.lu |
http://www.cpu.lu/~mlan | Learn Always. "
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: problems with the frame buffer (ATV 64) on a power mac 7220 in newer kernels
2000-04-03 9:25 ` Michel Lanners
@ 2000-04-04 0:54 ` Steven Hanley
2000-04-04 6:55 ` Geert Uytterhoeven
0 siblings, 1 reply; 4+ messages in thread
From: Steven Hanley @ 2000-04-04 0:54 UTC (permalink / raw)
To: Linux PPC Dev
Michel Lanners wrote:
> > I tried a kernel command line of video=controlfb:vmode:5
> ^^^^^^^^^
> I didn't know the 7220 had a control display adapter? Anyway, this
> option will do nothing for your ATI display. You need to look at atyfb
> for relevant options.
I have no idea what the hardware actually has or doesnt, however as
mentioned in the email I did try a plain video=vmode:6 also which if I
read line 3279 of atyfb.c correctly (2.2.15pre14)
3278-#if defined(CONFIG_PPC)
3279: else if (!strncmp(this_opt, "vmode:", 6)) {
3280- unsigned int vmode = simple_strtoul(this_opt+6, NULL, 0);
3281- if (vmode > 0 && vmode <= VMODE_MAX)
3282- default_vmode = vmode;
should set the vmode correctly to whatever I pass, instead it still just
goes with 6 seemingly due to code paulus added since 2.2.10.
I would love for someone to clear this up for me. how do I make a recent
kernel show anything at all on the screen, it still wont yet 2.2.10
seems to be fine no matter how much I muck around with different weird
config options.
Thanks
See You
Steve
--
sjh@wibble.net http://wibble.net/~sjh/
Look Up In The Sky
Is it a bird? No
Is it a plane? No
Is it a small blue banana?
YES
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: problems with the frame buffer (ATV 64) on a power mac 7220 in newer kernels
2000-04-04 0:54 ` Steven Hanley
@ 2000-04-04 6:55 ` Geert Uytterhoeven
0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2000-04-04 6:55 UTC (permalink / raw)
To: Steven Hanley; +Cc: Linux PPC Dev
On Tue, 4 Apr 2000, Steven Hanley wrote:
> Michel Lanners wrote:
> > > I tried a kernel command line of video=controlfb:vmode:5
> > ^^^^^^^^^
> > I didn't know the 7220 had a control display adapter? Anyway, this
> > option will do nothing for your ATI display. You need to look at atyfb
> > for relevant options.
>
> I have no idea what the hardware actually has or doesnt, however as
> mentioned in the email I did try a plain video=vmode:6 also which if I
> read line 3279 of atyfb.c correctly (2.2.15pre14)
>
> 3278-#if defined(CONFIG_PPC)
> 3279: else if (!strncmp(this_opt, "vmode:", 6)) {
> 3280- unsigned int vmode = simple_strtoul(this_opt+6, NULL, 0);
> 3281- if (vmode > 0 && vmode <= VMODE_MAX)
> 3282- default_vmode = vmode;
>
> should set the vmode correctly to whatever I pass, instead it still just
> goes with 6 seemingly due to code paulus added since 2.2.10.
Should be:
video=atyfb:vmode:6
The default video= parser doesn't know about vmode options. In 2.3.x it does
using this syntax:
video=mac6
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2000-04-04 6:55 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-04-02 2:44 problems with the frame buffer (ATV 64) on a power mac 7220 in newer kernels Steven Hanley
2000-04-03 9:25 ` Michel Lanners
2000-04-04 0:54 ` Steven Hanley
2000-04-04 6:55 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).