[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [microblaze-uclinux] using icap driver
LEROY Jean-Loup wrote:
> I add J.W’s Icap driver to the petalinux kernel. I successfully build
> the kernel and then download it to my ML402 board.
>
> Then, what do I have to do? Do I have to load hwicap module with insmod
> command or something else?
>
> I can’t see /dev/icap node.
cat /proc/devices - or /proc/misc - it will tell you the major/minor
number of the icap driver. Or, look in the driver source itself.
Then edit the file
software/petalinux-dist/vendors/PetaLogix/common/common.mak
and add a device node in the manner similar to the other ones there
it will be something like
DEVICES += icap,c,MAJ,MIN
replacing MAJ/MIN with the correct major and minor numbers respectively.
Rebuild the romfs and image targets, and now your system will boot with
a dev node for the icap.
Be aware that the ICAP has changed with the V4 FPGA family - I have no
idea if the driver will still work. You should subscribe to the
partial-reconfig list (same server, just a different list), and ask there.
I no longer use the driver, but I believe some people on the
partial-reconfig list are.
If you haven't already, you should read the paper I wrote about the
driver, it will give you a lot more info (reprinted at linuxdevices.com
a couple of years ago):
http://linuxdevices.com/articles/AT7708331794.html
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/