[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: AmigaONE && Debian (unstable?)



On Sat, 31 Jul 2004, Sven Luther wrote:

> On Sat, Jul 31, 2004 at 04:24:09PM +0100, Ken Moffat wrote:
> > On Sat, 31 Jul 2004, Sven Luther wrote:
> > > What graphic card and thus fbdev are you using ?
> > >
> >  The notorious radeon 9200se, but under 2.6.7 I'm not using a console fb
> > yet, just a vga console.  X11R6.7.0 just recognises the card and works
> > without any of the old magic incantations.
>
> Interesting, i was not able to use the vgaconsole on my pegasos. Do you have
> any patches for that ?
>

 From the A1 2.4 stuff -

diff -Nuar linux-2.4.25-vanilla/drivers/video/vgacon.c linux-2.4.25-amigaone/drivers/video/vgacon.c
--- linux-2.4.25-vanilla/drivers/video/vgacon.c	2002-08-24 13:27:39.000000000 +0100
+++ linux-2.4.25-amigaone/drivers/video/vgacon.c	2004-06-19 18:00:53.000000000 +0100
@@ -212,7 +212,11 @@
 	else				/* If not, it is color. */
 	{
 		vga_can_do_color = 1;
+#ifdef CONFIG_AMIGAONE
+	        vga_vram_base = 0xFD0B8000; /* Mapped by the startup */
+#else
 		vga_vram_base = 0xb8000;
+#endif
 		vga_video_port_reg = 0x3d4;
 		vga_video_port_val = 0x3d5;
 		if ((ORIG_VIDEO_EGA_BX & 0xff) != 0x10)

 Dunno if the mapping is the same on the pegasus.

 There's a similar patch for vga16fb.c -

diff -Nuar linux-2.4.25-vanilla/drivers/video/vga16fb.c linux-2.4.25-amigaone/drivers/video/vga16fb.c
--- linux-2.4.25-vanilla/drivers/video/vga16fb.c	2001-12-05 22:01:07.000000000 +0000
+++ linux-2.4.25-amigaone/drivers/video/vga16fb.c	2004-06-19 18:00:45.000000000 +0100
@@ -32,7 +32,11 @@
 #define dac_reg	(0x3c8)
 #define dac_val	(0x3c9)

+#ifdef CONFIG_AMIGAONE
+#define VGA_FB_PHYS 0xFD0A0000
+#else
 #define VGA_FB_PHYS 0xA0000
+#endif
 #define VGA_FB_PHYS_LEN 65536

 /* --------------------------------------------------------------------- */

> >  Actually, I'm mostly not a debian user, I'm only really here for help
> > with my iBook.  In the meantime, anything I do with the A1 kernel will
> > initially be announced on the a1linux group at yahoo, and at
> > amigaworld.net, I don't see any point cluttering this list with it until
> > there is something more usable for people to look at.
>
> Bah, that means that the A1 people will again do their own hack for debian
> support probably. Ah well, i don't really care.
>
> Friendly,
>
> Sven Luther
>

 Point taken, I'll try to follow debian-kernel when I get back to the
A1.

Ken
-- 
 das eine Mal als Tragödie, das andere Mal als Farce



Reply to: