Altera_Forum
Honored Contributor
19 years agofirmware_class support
Hi,
I'm looking to support a custom USB device on the Altera DE2 board. I've successfully installed uClinux on the board itself, as well as the driver in the kernel. However, the problem I'm at right now and can't quite seem to get past is uploading the firmware to the device. One of the first calls the driver itself makes is to request_firmware() (in firmware.h), which looks for a firmware file on the filesystem, and then sends a few usb packets with this data to the device. However, I can't seem to figure out how to upload the firmware file to the board itself. The file uClinux-dist-test/linux-2.6.x/Documentation/firmware_class/README refers to the semantics of this class, however I cant figure out how to give the actual file itself to the class. Thanks in advance for your help. - Paul