-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 370826 b: refs/heads/master c: 534ada5 h: refs/heads/master v: v3
- Loading branch information
Anatolij Gustschin
committed
Apr 1, 2013
1 parent
d2a3eb4
commit 85aed0e
Showing
694 changed files
with
4,914 additions
and
8,463 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: fba2369e6ceb7ae688e91063821bae5140e26393 | ||
refs/heads/master: 534ada5ede3c9236f0bf3c5d77e0d060e66caa4f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
Information about PowerPC Sound support | ||
===================================================================== | ||
|
||
Please mail me (Cort Dougan, cort@fsmlabs.com) if you have questions, | ||
comments or corrections. | ||
|
||
Last Change: 6.16.99 | ||
|
||
This just covers sound on the PReP and CHRP systems for now and later | ||
will contain information on the PowerMac's. | ||
|
||
Sound on PReP has been tested and is working with the PowerStack and IBM | ||
Power Series onboard sound systems which are based on the cs4231(2) chip. | ||
The sound options when doing the make config are a bit different from | ||
the default, though. | ||
|
||
The I/O base, irq and dma lines that you enter during the make config | ||
are ignored and are set when booting according to the machine type. | ||
This is so that one binary can be used for Motorola and IBM machines | ||
which use different values and isn't allowed by the driver, so things | ||
are hacked together in such a way as to allow this information to be | ||
set automatically on boot. | ||
|
||
1. Motorola PowerStack PReP machines | ||
|
||
Enable support for "Crystal CS4232 based (PnP) cards" and for the | ||
Microsoft Sound System. The MSS isn't used, but some of the routines | ||
that the CS4232 driver uses are in it. | ||
|
||
Although the options you set are ignored and determined automatically | ||
on boot these are included for information only: | ||
|
||
(830) CS4232 audio I/O base 530, 604, E80 or F40 | ||
(10) CS4232 audio IRQ 5, 7, 9, 11, 12 or 15 | ||
(6) CS4232 audio DMA 0, 1 or 3 | ||
(7) CS4232 second (duplex) DMA 0, 1 or 3 | ||
|
||
This will allow simultaneous record and playback, as 2 different dma | ||
channels are used. | ||
|
||
The sound will be all left channel and very low volume since the | ||
auxiliary input isn't muted by default. I had the changes necessary | ||
for this in the kernel but the sound driver maintainer didn't want | ||
to include them since it wasn't common in other machines. To fix this | ||
you need to mute it using a mixer utility of some sort (if you find one | ||
please let me know) or by patching the driver yourself and recompiling. | ||
|
||
There is a problem on the PowerStack 2's (PowerStack Pro's) using a | ||
different irq/drq than the kernel expects. Unfortunately, I don't know | ||
which irq/drq it is so if anyone knows please email me. | ||
|
||
Midi is not supported since the cs4232 driver doesn't support midi yet. | ||
|
||
2. IBM PowerPersonal PReP machines | ||
|
||
I've only tested sound on the Power Personal Series of IBM workstations | ||
so if you try it on others please let me know the result. I'm especially | ||
interested in the 43p's sound system, which I know nothing about. | ||
|
||
Enable support for "Crystal CS4232 based (PnP) cards" and for the | ||
Microsoft Sound System. The MSS isn't used, but some of the routines | ||
that the CS4232 driver uses are in it. | ||
|
||
Although the options you set are ignored and determined automatically | ||
on boot these are included for information only: | ||
|
||
(530) CS4232 audio I/O base 530, 604, E80 or F40 | ||
(5) CS4232 audio IRQ 5, 7, 9, 11, 12 or 15 | ||
(1) CS4232 audio DMA 0, 1 or 3 | ||
(7) CS4232 second (duplex) DMA 0, 1 or 3 | ||
(330) CS4232 MIDI I/O base 330, 370, 3B0 or 3F0 | ||
(9) CS4232 MIDI IRQ 5, 7, 9, 11, 12 or 15 | ||
|
||
This setup does _NOT_ allow for recording yet. | ||
|
||
Midi is not supported since the cs4232 driver doesn't support midi yet. | ||
|
||
2. IBM CHRP | ||
|
||
I have only tested this on the 43P-150. Build the kernel with the cs4232 | ||
set as a module and load the module with irq=9 dma=1 dma2=2 io=0x550 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Information about the Linux/PPC kernel images | ||
===================================================================== | ||
|
||
Please mail me (Cort Dougan, cort@fsmlabs.com) if you have questions, | ||
comments or corrections. | ||
|
||
This document is meant to answer several questions I've had about how | ||
the PReP system boots and how Linux/PPC interacts with that mechanism. | ||
It would be nice if we could have information on how other architectures | ||
boot here as well. If you have anything to contribute, please | ||
let me know. | ||
|
||
|
||
1. PReP boot file | ||
|
||
This is the file necessary to boot PReP systems from floppy or | ||
hard drive. The firmware reads the PReP partition table entry | ||
and will load the image accordingly. | ||
|
||
To boot the zImage, copy it onto a floppy with dd if=zImage of=/dev/fd0h1440 | ||
or onto a PReP hard drive partition with dd if=zImage of=/dev/sda4 | ||
assuming you've created a PReP partition (type 0x41) with fdisk on | ||
/dev/sda4. | ||
|
||
The layout of the image format is: | ||
|
||
0x0 +------------+ | ||
| | PReP partition table entry | ||
| | | ||
0x400 +------------+ | ||
| | Bootstrap program code + data | ||
| | | ||
| | | ||
+------------+ | ||
| | compressed kernel, elf header removed | ||
+------------+ | ||
| | initrd (if loaded) | ||
+------------+ | ||
| | Elf section table for bootstrap program | ||
+------------+ | ||
|
||
|
||
2. MBX boot file | ||
|
||
The MBX boards can load an elf image, and relocate it to the | ||
proper location in memory - it copies the image to the location it was | ||
linked at. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.