Attila Kinali wrote:
Moin,

I'll be at FOSDEM[1] on 6th and 7th Feb toghether with the MPlayer and
FFmpeg people (as usual ;-). As i want to show at least a working OGD1
setup i'd like to prepare the prototype i currently have for this purpose.
I think i have all components i need (a x86 based mainboard, a PSU, OGD1,
a harddisk, a Lattice programmer), beside the case which didn't get correctly
delivered :-( but i'll have to work around this.

So i only need to set up the PC with a linux and install drivers for OGD1.
And there starts the problem for me: Where do i find the required components
and how do i have to put them together? I also think that i have to update
the firmware of the XP10, where do i find the latest one? What is a good app
to programm it using linux or do i have to use the windows box at work?
Is there anything i should know about, ie difficulties with the set up,
potential problems etc pp?

Hi.

I can give some tips now, and maybe once I get some time at home I can dig out more details.

Programming the XP10.
---------------------
For this you need a cable and some software. I've got UrJTAG to work (with a Lattice parallel cable). I needed a patch, which I've not tried to send out to anyone, but I can dig up for you. (It seems that I needed another reset of some kind during the detection process).

Programming the S3.
-------------------
This can be done with two bits of software in the depot. In tools/oga1_diag there is a quick-&-dirty tool that will do the job, but I found to be hard to compile. In tools/oga1utils there is a slightly more complete tool that can also program the S3 (oga1-card).

FPGA Images.
------------
This is a problem. I'm not sure which are the latest ones. I can try to dig out the images that I think I'm using, but we need to start being a bit more formal here. I've still not got round to getting an XP10 image built myself that works.

BIOS.
-----
The BIOS should build from the depot. I can also e-mail an image out if you'd prefer. This is only needed if you want to boot using the card (or run an archaic OS, but that's not been tried). This isn't fully debugged yet (and probably doesn't support digital monitors, it will soon - I promise). It works for me, but not Peter. No one else has tried it yet (AFAIK, recently).

Linux Drivers.
--------------
I've written a simple X driver, and this is also in the depot. This is in the repo at drivers/xf86-video-ogd. I've only built this using FC11, and I had to "yum install" quite a few things. I don't think you need to download anything else apart from X development packages. I've built this on two different machines; x86-32 and x86-64 (I've only tried it on the 32-bit machine).

There is also a simpler frame-buffer driver, but there seems little point in this yet / now.

What to expect.
---------------
Well, I can see that this is going to need more hand-holding and advice, but I have got the whole lot working at some point. I can edit the BIOS, boot to grub, select Linux and boot fedora (all in text mode). I then start X, and can do everything I'd expect to be able to do with a very slow, un-accelerated, no-DMA graphics card of the 80's. ;-)

(There is a small amount of screen corruption, but I think this is probably a simple error on my part).

Switching resolutions does work, but switching between text and graphics mode doesn't really work. The driver needs more work.


In summary, you might struggle to get the text mode stuff working from boot, but graphical X should be no problem.


I'll try and dig out some more details and fill in some of the blanks above.


Happy hacking,

MM

_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to