I am working on an embedded project running FreeBSD, and my driver
for our custom card needs to load an FPGA with code. I know I can
compile the code in as data, but for ease of development, I would
rather fetch the FPGA code from a file. With a driver in kernel
space. Really.
Can it be done? If so, how? open() and read() are obviously in libc
which rules them out. Do I have to write my own in assembler?
--
Carl Kreider
Wind River Doctor Design Services
700 E Beardsley Suite 14A
Elkhart Indiana 46514
219-206-8050 x104
[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED] [EMAIL PROTECTED]
=============================================================
On two occasions I have been asked [by members of Parliament], 'Pray, Mr.
Babbage, if you put into the machine wrong figures, will the right answers
come out?' I am not able rightly to apprehend the kind of confusion of
ideas that could provoke such a question.
-- Charles Babbage
=============================================================
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message