View previous topic :: View next topic |
Author |
Message |
bung-foo Tux's lil' helper
Joined: 09 Jun 2002 Posts: 146
|
Posted: Thu Jan 15, 2004 12:15 am Post subject: question about graphics in Ultra 80 |
|
|
I have an ultra 80 here that I just got. I have no idea what's in it hardware wise. I've opened the case and looked around but none of the components are particularly clearly labeled. Could anyone tell me how to figure out which video card and audio card I have so I know what to tell X and the linux kernel what to use?
I know that the video card is a pci card and solaris identifies it as afb0
I've looked around on the net for a few days and I can't figure this out. It's surprisingly hard to find sparc related info on the web.
Thanks folks!
Bung-Foo |
|
Back to top |
|
|
Ferris Retired Dev
Joined: 13 Jan 2003 Posts: 426 Location: N. Virginia (USA)
|
Posted: Thu Jan 15, 2004 2:04 pm Post subject: |
|
|
afb0 should be an Elite card of some flavor. In that case, you are going to
want the file /lib/afb.ucode from your solaris system and the gentoo
package x11-misc/afbinit (or equivalent) to get the Elite micro
code loaded. (Without it, graphics will be very slow, and current version of X
will not work.)
Your XF86Config file will need something like
Code: |
Section "Device"
Identifier "Card0"
BoardName "Sun|AFB2+ Elite 3D (m3) (afb)"
VendorName "Sun Microsystems"
Driver "sunffb"
EndSection
|
(This is from a U60+afb. The only things that matter are the "Card0"
which is a reference tag to the Screen Section, and the "sunffb" which is
the X-driver for Creator/Elite graphics cards.)
For general hardware information for Ultra80, http://sunsolve.sun.com/handbook_pub/Systems/U80/U80.html
is a good place to start. For (GenToo) Linux on sparc, this forum and
the gentoo-sparc@gentoo.org mailing list are better places to start than
most anything else, because
- You are already here;
- There are pointers here to most everything else.
For an Elite card, your kernel configuration doesn't need much special.
Here's what I use for linux-2.4.23-sparc-r1 on a U60, which (so far
as I understand) is basically a U80, but with only 2 CPU's.
First, check to see how many CPU's you have in your system. Solaris
should tell you that, or open it up and look (they are big boxes, and U80
can have up to 4 of them.)
Assume more than 1 (since a uniprocessor U80 doesn't make a lot of
sense), and then relevant kernel options might be:
Code: |
#
CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
#
# General setup
#
CONFIG_BBC_I2C=m
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_SMP=y
CONFIG_NR_CPUS=4
CONFIG_SPARC64=y
CONFIG_HOTPLUG=y
CONFIG_HAVE_DEC_LOCK=y
# CONFIG_RWSEM_GENERIC_SPINLOCK is not set
CONFIG_RWSEM_XCHGADD_ALGORITHM=y
#######
....
#######
CONFIG_SBUS=y
CONFIG_SBUSCHAR=y
CONFIG_BUSMOUSE=y
CONFIG_SUN_MOUSE=y
CONFIG_SERIAL=y
CONFIG_SUN_SERIAL=y
CONFIG_SERIAL_CONSOLE=y
CONFIG_SUN_KEYBOARD=y
CONFIG_SUN_CONSOLE=y
CONFIG_SUN_AUXIO=y
CONFIG_SUN_IO=y
CONFIG_PCI=y
CONFIG_RTC=y
# CONFIG_PCI_NAMES is not set
CONFIG_SUN_OPENPROMFS=m
CONFIG_NET=y
CONFIG_SYSVIPC=y
CONFIG_BSD_PROCESS_ACCT=y
CONFIG_SYSCTL=y
CONFIG_KCORE_ELF=y
CONFIG_SPARC32_COMPAT=y
CONFIG_BINFMT_ELF32=y
# CONFIG_BINFMT_AOUT32 is not set
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_MISC=m
# CONFIG_SUNOS_EMUL is not set
CONFIG_SOLARIS_EMUL=m
##################
......
###################
# Frame-buffer support
#
CONFIG_FB=y
CONFIG_DUMMY_CONSOLE=y
CONFIG_FB_LOGO_GENTOO=y
CONFIG_FB_PM2=y
CONFIG_FB_PM2_PCI=y
CONFIG_FB_ATY=y
CONFIG_FB_ATY_GX=y
CONFIG_FB_ATY_CT=y
CONFIG_FB_SBUS=y
CONFIG_FB_CREATOR=y
CONFIG_FB_PCI=y
CONFIG_FB_ATY=y
CONFIG_FB_ATY_CT=y
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
####
CONFIG_DRM_NEW=y
CONFIG_DRM_FFB=y
####
|
Or, you might find a specific .config for U80 someplace on this forum.
(Mine is not optimized for U60, since I use pretty much the same one for
U60-afb, U2-afb, and U2-ffb(=Creator graphics), so it has more than
you probably need.)
As to sound card, you are on your own here, from my perspective.
I don't know what your ethernet card is, of course, but Solaris will tell you:
On a Solaris U10, prtconf -p -v -D reports this for an hme ("Happy
Meal") card:
Code: |
Node 0xf006dc1c
assigned-addresses: 82010910.00000000.e0000000.00000000.00007020
hm-rev: 000000c1
device_type: 'network'
interrupts: 00000001
address-bits: 00000030
max-frame-size: 00004000
reg: 00010900.00000000.00000000.00000000.00000000.02010910.00000000.00000000.0
0000000.00007020
compatible: 'SUNW,hme'
name: 'network'
fast-back-to-back:
devsel-speed: 00000001
class-code: 00020000
max-latency: 00000005
min-grant: 0000000a
revision-id: 00000001
device-id: 00001001
vendor-id: 0000108e
|
and when you first boot the system, the open boot prom should tell you
as well.
The kernel configuration will look something like this (again, for an hme
on U60):
Code: |
#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_SUNLANCE=m
CONFIG_HAPPYMEAL=y
CONFIG_SUNBMAC=m
CONFIG_SUNQE=m
CONFIG_SUNGEM=m
|
Hope this is of some use.
Regards, |
|
Back to top |
|
|
bung-foo Tux's lil' helper
Joined: 09 Jun 2002 Posts: 146
|
Posted: Thu Jan 15, 2004 5:50 pm Post subject: |
|
|
wow cool! thank you so much for your help!
I work for the next few days but once my days off start I'll get going on getting gentoo onto my U80 and then I'll report back here with my experience and questions.
Thanks again.
Bung-Foo |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|