Sakura-IT / SonnetAmiga

Reimplementation of WarpOS supporting Sonnet Crescendo 7200 and other PowerPC PCI cards (mirror of CVS development repository).
MIT License
39 stars 3 forks source link

Remove dependency on Elbox's pci.library #1

Closed rkujawa closed 6 years ago

rkujawa commented 9 years ago

Problems

rkujawa commented 9 years ago

This is being worked on in KlozetPCI project: https://github.com/Sakura-IT/KlozetPCI

DvdBoon commented 9 years ago

Dependency could already be made to a minimum for at least the sonnet card if voodoo3 gfx memory initialization code could be added to the sonnet.library (and other gfx card memory initialization code). However, all other mediator functionality (graphics, network, usb etc.) will still be dependent on the pci.library in this case.

Until now the way to initialize the voodoo3 gfx mem eludes me.

rkujawa commented 8 years ago

Did you perhaps investigate the supposed new functionality of pci.library 11.0? I.e. "New pci.library gives the possibility to reallocate (free and allocate) PCI spaces from the driver for the specific PCI card".

Does the 11.0 library still lock up the system when Sonnet is installed?

DvdBoon commented 8 years ago

Not yet. But I can confirm that the Amiga starts up with pci.library 11.0 and a sonnet card installed. No infinite loop during PCI memory allocation anymore. Sonnet card is correctly identified by pciinfo and the A1200 PPC setup code starts the PPC processor correctly.

2016-07-20 9:25 GMT+02:00 Radosław Kujawa notifications@github.com:

Did you perhaps investigate the supposed new functionality of pci.library 11.0? I.e. "New pci.library gives the possibility to reallocate (free and allocate) PCI spaces from the driver for the specific PCI card".

Does the 11.0 library still lock up the system when Sonnet is installed?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sakura-IT/SonnetAmiga/issues/1#issuecomment-233864230, or mute the thread https://github.com/notifications/unsubscribe-auth/AKdWEHxIXj23x6vdkl1TxojYVG5MvwMmks5qXc1jgaJpZM4DpED9 .

rkujawa commented 8 years ago

Since they have eliminated the problems with startup, maybe it would be possible use stock non-patched pci.library?

DvdBoon commented 8 years ago

I think so, yes. I've installed it on my A1200 and also made a quick posting on EAB about it. Have not tested it running real software yet, but on the A1200 the amiga starts, pciinfo sees the card correctly and the PPC boots correctly.

Cannot really run anything on it as I cannot load any software yet (that is where the mmu library comes in), but the PPC kernel is running.

Op 20 jul. 2016 11:16 a.m. schreef "Radosław Kujawa" < notifications@github.com>:

Since they have eliminated the problems with startup, maybe it would be possible use stock non-patched pci.library?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Sakura-IT/SonnetAmiga/issues/1#issuecomment-233896416, or mute the thread https://github.com/notifications/unsubscribe-auth/AKdWEG_v2iFxRFG60INqWH9bsGvRWpJ2ks5qXedygaJpZM4DpED9 .

DvdBoon commented 7 years ago

11.0 seems to work. Also I think I have enough info to replace the pci library on the big box Amigas, but I'm lacking time and it's prioritized rather low on my list.

rkujawa commented 6 years ago

In an unexpected turn of events, Elbox started cooperating with Dennis on updating pci.library to fully support Sonnet (and other future accelerators). Therefore this task seem unnecessary and would be a pure waste of resources.