Gentoo Archives: gentoo-sparc

From: Ferris McCormick <fmccor@g.o>
To: sparclinux@×××××××××××.org
Cc: gentoo-sparc@l.g.o
Subject: [gentoo-sparc] afbinit failure with 2.6.15 kernels (can no longer load Elite graphics microcode).
Date: Mon, 30 Jan 2006 19:23:48
Message-Id: 1138648999.7197.10.camel@polylepis.inforead.com
1 With kernel-2.6.15 series, the program for loading Elite graphics
2 microcode fails:
3
4 Is this a known problem, or is the fix for afbinit known?
5 With the 2.6.15 kernel series (on SB1000), an attempt to load the
6 Elite graphics microcode with the afbinit program:
7 /* $Id: afbinit.c,v 1.1.1.1 1999/09/08 06:42:36 davem Exp $
8 (e.g., using
9 afbinit /dev/fb/0 /usr/lib/afb.ucode)
10 results in
11 mmap user regs: Invalid argument --- this comes from this bit of code:
12 ====================
13 uregs = mmap(0, 0x2000,
14 PROT_READ | PROT_WRITE,
15 MAP_PRIVATE,
16 afb_fd,
17 0x04000000);
18 ====================
19
20 I'd be happy to just fix it if I knew what the mmap call should look
21 like with this kernel, but I don't. (The Elite did open OK; to get this
22 far,
23 afb_fd = open(afb_fname, O_RDWR);
24 has to have worked.
25
26 Regards,
27 Ferris
28 --
29 Ferris McCormick (P44646, MI) <fmccor@g.o>
30 Developer, Gentoo Linux (Sparc, Devrel)

Attachments

File name MIME type
signature.asc application/pgp-signature