iBook/UMA pre3
I updated the patches and kernel to a new version. PCI config is fully working now, USB works too. I'n now running MacOS under mac-on-linux (the new version that doesn't require you to patch the kernel) on linux on the iBook ;)
I had to hack horribly in the arch/ppc/kernel/prom.c code that parses the "interrupt-map" property, I'll do a cleaner fix later this week.
The PCI code looks good (but I'd prefer using RTAS) and should support bridges on the "middle" bus of uni-north (the one at f2000000 - if you have a better idea to identify this one, tell me !). So PCI should work on G4 and new iMac's too.
I didn't fix the ADB interrupt yet (and I'm wondering if my timer is the cause of the large amount of BAD interrupts I'm getting all the time), I'll look into this later too.
The kernel seems stable. Things are slow, especially with X, since the hard disk is very slow (1.1Mb/sec). This will be better once I have figured out how to set it to a better PIO mode, use DMA on it, and eventually use this new Ultra/ATA feature (are there specs for this ? Mine are still ATA-3 specs).
Have fun !
Benjamin.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 5 lines · Benjamin Herrenschmidt
I updated the patches and kernel to a new version. PCI config is fully working now, USB works too. I'n now running MacOS under mac-on-linux (the new version that doesn't require you to patch the kernel) on linux on the iBook ;)
Is any iof the scsi on USB controllers supported by linux ?
Is some one working on this, is it difficult to do ?
Friendly,
Sven LUTHER
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 11 lines · Sven LUTHER
Quoted 5 lines · Benjamin Herrenschmidt
I updated the patches and kernel to a new version. PCI config is fully working now, USB works too. I'n now running MacOS under mac-on-linux (the new version that doesn't require you to patch the kernel) on linux on the iBook ;)
Is any iof the scsi on USB controllers supported by linux ?
Is some one working on this, is it difficult to do ?
They supposedly work, tho I'm not sure if anyone has tried it w/ an OHCI controller.
---
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 7 lines · Tom Rini
Quoted 6 lines · Sven LUTHER
Quoted 4 lines · Benjamin Herrenschmidt
I updated the patches and kernel to a new version. PCI config is fully working now, USB works too. I'n now running MacOS under mac-on-linux (the new version that doesn't require you to patch the kernel) on linux on the iBook ;)
Quoted 6 lines
Quoted 3 lines
Is any iof the scsi on USB controllers supported by linux ?
Is some one working on this, is it difficult to do ?
They supposedly work, tho I'm not sure if anyone has tried it w/ an OHCI controller.
And don't expect it to be faster than the ATA slow-PIO disk. USB (in its current incarnation) tops at 12 Mbps.
Gr{oetje,eeting}s,
--
Geert Uytterhoeven -- Linux/{m68k~Amiga,PPC~CHRP} -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Just a little mistake in my previous patch, if you intend to test on a machine with a second PCI bridge (G4), in arch/ppc/kernel/pmac_pci.c, change
/* This one is for type 1 config accesses */
#define UNI_N_CFA1(bus, devfn, off) \ ((((unsigned long)(bus)) << 16) \ |(((unsigned long)(devfn)) << 8) \ |(((unsigned long)(off)) & 0xFCUL))
to
/* This one is for type 1 config accesses */
#define UNI_N_CFA1(bus, devfn, off) \ ((((unsigned long)(bus)) << 16) \ |(((unsigned long)(devfn)) << 8) \ |(((unsigned long)(off)) & 0xFCUL)) \
| 1UL
I won't have time to post a new version until later this week.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/