Welcome, Guest. Please login or register.

Author Topic: lowlevel PCI-coding / Amithlon  (Read 4446 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline RatteTopic starter

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show all replies
lowlevel PCI-coding / Amithlon
« on: November 21, 2011, 05:19:34 AM »
At the moment i am working on a open-pci 68k gfx driver.
Its still working in a "framebuffer"-mode as long as i am trying to support all kind of amiga-pci-systems.
openpci is great for this kind of drivers, but some very lowlevel operations during hw-init must be separated for different pci-systems.
So it seems to be impossible to read the pci-rom trough powerpci/openpci on Amithlon.
I have to code the bars directly like pci-specs describe it.

But here is the problem, it will work for ONE time, after a reset the system hangs if i try to read the pci-rom again.
This problem seems to be old ... amithlon-open:
http://tech.groups.yahoo.com/group/amithlon/message/13190

Is there an existing workaround or a bugfix?
Or some documented "softreset" code for pci-slots?

An other solution could be a resetproof resident-structure with a copy of the gfx-card.rom generated during the first amithlon-coldstart.
But I like to read the real rom before i start playing with resident-structures.

Thanx in advance.
 

Offline RatteTopic starter

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show all replies
Re: lowlevel PCI-coding / Amithlon
« Reply #1 on: November 22, 2011, 11:23:00 AM »
I mean resetting Amithlon not the x86.
 

Offline RatteTopic starter

  • Sr. Member
  • ****
  • Join Date: Sep 2006
  • Posts: 380
  • Country: de
    • Show all replies
Re: lowlevel PCI-coding / Amithlon
« Reply #2 on: January 12, 2012, 05:33:14 PM »