linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Offer of Work on Blue G3 Port
@ 1999-03-02 16:31 Randall R. Schulz
  1999-03-03 11:24 ` Benjamin Herrenschmidt
  1999-03-08  9:58 ` Geert Uytterhoeven
  0 siblings, 2 replies; 3+ messages in thread
From: Randall R. Schulz @ 1999-03-02 16:31 UTC (permalink / raw)
  To: linuxppc-dev


Greetings,

I recently acquired a Blue G3 in one of the top-of-the-line configurations
available only directly from Apple:

	400 MHz
	256 Mb
	8.5 Gb SCSI (advertised as 9!)
	DVD ROM / Video (ATA bus)
	21" Studio Monitor
	ZIP Drive (ATA bus)

I've added a CD recorder / rewritable based on the Yamaha 4416S drive
attached via an Initio INI-9100UW UltraWide SCSI adaptor (so as not to
compromise the performance of the Adapte 2940UW2B included with the "9
Gigabyte" SCSI option).

This system is to (eventually) replace my 8500/120 which I use for both
MacOS and MkLinux.

When I bought this machine I intendeded to run both LinuxPPC and MacOS.
Imagine my disappointment to find LinuxPPC wasn't yet supported!


So, to get to the real point of this message, I'm wondering if I might make
a meaningful contribution to the porting efforts. I have extensive
experience in UNIX kernel and system programming, though it is a bit dated
now and I've never worked on Linux internals per se.

My questions are these:

- Is there a need for help on this port?
- What is a meaningful commitment of time?
- If I decide I can make the committment, how do I go about doing so?


If this isn't the proper place to address this question, please accept my
apologies and redirect me or this query to a more appropriate recipient.

Thank you.

Randall R. Schulz
Mountain View, CA

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Offer of Work on Blue G3 Port
  1999-03-02 16:31 Offer of Work on Blue G3 Port Randall R. Schulz
@ 1999-03-03 11:24 ` Benjamin Herrenschmidt
  1999-03-08  9:58 ` Geert Uytterhoeven
  1 sibling, 0 replies; 3+ messages in thread
From: Benjamin Herrenschmidt @ 1999-03-03 11:24 UTC (permalink / raw)
  To: Randall R. Schulz, linuxppc-dev


On Tue, Mar 2, 1999, Randall R. Schulz <rrschulz@cris.com> wrote:

>So, to get to the real point of this message, I'm wondering if I might make
>a meaningful contribution to the porting efforts. I have extensive
>experience in UNIX kernel and system programming, though it is a bit dated
>now and I've never worked on Linux internals per se.
>
>My questions are these:
>
>- Is there a need for help on this port?

Yep !

>- What is a meaningful commitment of time?
>- If I decide I can make the committment, how do I go about doing so?

You already posted in the proper mailing list.

So first, you need a way to compile kernels. Either another PPC machines,
or another linux machine with PPC cross-compilers.

Once you have that, grab the kernel source tree. I suggest using Paul
Mackerras rsync tree with iMac (usbd) support:

rsync -avz samba.anu.edu.au::linux-pmac-devel

Then, begin fixing.

Some tips (note that I don't have one of those machines) :

- Use BootX with "no video driver". There is currently no driver for the
ATI 128 chip. Use the latest (1.0.2b4) version of bootx, it will work
better with those new machines.

- Get the "core" OS to work: mainly the setup of the PCI bridges and
interrupt controller. The first bridge is the same Grackle used in
earlier machines, probably configured the same way the iMac is, so this
should not be an issue. The main difference is that it's overclocked to
66MHz. Then, you'll need to identify and get the second PCI bridge to
work, and make sure it's properly initialized by the kernel.

- The pmac-specific stuffs (interrupt control, VIAs, ADB, etc...) are
handled by the almost-identical paddington ASIC used in the iMac, which
itself is very similar to the Heathrow and OHare used in previous Macs.
By precaution, I suggest you begin with a kernel with almost no drivers
and re-include drivers one by one to make sure Apple did't break
anything. Note that the "big" difference with other machines is that the
ASIC is behind the second PCI bridge, which must be correctly configured.
The consequence is that missing eieio() or reads to flush the PCI path
will cause more trouble than they did before.

- Then, get the fast IDE to work. This should not be an issue since it
seems to be a standard chip (a winbond ?). it's PCI vendorID/deviceID is
0x1095/0x0646 (PCI_VENDOR_ID_CMD/PCI_DEVICE_ID_CMD_646 according to linux
pci.h). This chip seems to be already supported by the ide-pci driver,
You'll just have to make sure it's correctly probed.

- The second PCI bridge is a DEC 21154, (vendorID/deviceID:
0x1011/0x0026). The linux pci.h file stops at device 0x0025 (21153), you
may have to add support for it, but I don't think it's very complex. (Not
that I didn't try to get docs for this chip yet).

- The USB controller has a vendorID/deviceID of 0x1045/0xc861, it's
apparently an OHCI controller 82C861 and is apparently already handled by
usbd.


Ok, that's all for now, feel free to ask more questions.

-- 
           E-Mail: <mailto:bh40@calva.net>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>





[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to  Cc linuxppc-dev  if your ]]
[[ reply is of general interest. To unsubscribe from linuxppc-dev, send ]]
[[ the message 'unsubscribe' to linuxppc-dev-request@lists.linuxppc.org ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Offer of Work on Blue G3 Port
  1999-03-02 16:31 Offer of Work on Blue G3 Port Randall R. Schulz
  1999-03-03 11:24 ` Benjamin Herrenschmidt
@ 1999-03-08  9:58 ` Geert Uytterhoeven
  1 sibling, 0 replies; 3+ messages in thread
From: Geert Uytterhoeven @ 1999-03-08  9:58 UTC (permalink / raw)
  To: Randall R. Schulz; +Cc: linuxppc-dev


On Tue, 2 Mar 1999, Randall R. Schulz wrote:
> 	8.5 Gb SCSI (advertised as 9!)

http://physics.nist.gov/cuu/Units/binary.html

Greetings,

						Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}  http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1999-03-08  9:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-02 16:31 Offer of Work on Blue G3 Port Randall R. Schulz
1999-03-03 11:24 ` Benjamin Herrenschmidt
1999-03-08  9:58 ` 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).