I took Steve Jame's code that he offered today and ran it on the SBC 710.
I verified that it returned, byte for byte, what was in the DoC.

I then took our linuxbios code, made it work in user mode (making this
work involved ZERO changes to the docmil_fill_inbuf.c code -- just add
main, mmap in the doc, then call fill_inbuf() repeatedly).

The linuxbios-based DoC code, on the SBC 710, gets errors when it reads
DoC. This code has worked just fine for over a year now on all kinds of
mainboards. But it will not work on the SBC 710.

I am going to incorporate Steve's code into linuxbios and make it
available as an alternate way to read DoC. Steve's code is based on the
doc2001.c from Linux, and that code is extremely picky about following the
rules.

Anyway with luck I'll have the SBC 710 up tomorrow ...

Thanks to Steve James and LinuxLabs for providing this code!

ron

Reply via email to