Update the root level Makefile to both invoke "make atusb.dfu" when
building.
Update the INSTALL document to mention the dependency on dfu-util.
Update the root level Makefile to install atusb.dfu if it's compiled.
Even though the kernel itself doesn't load the firmware into the
device this will ensure that pre-compiled firmware is included in the
release tarballs.
* A C/C++ compiler, like GCC
* Cmake
+ * dfu-util - Device Firmware Upgrade Utilities
* GNU Bison/YACC
* GNU Flex
* GNU Gperf
On GNU/Linux distros that use apt you can install these with:
apt install gcc-avr avr-libc binutils-arm-linux-gnueabi \
- binutils-arm-none-eabi bison cmake flex g++ gcc \
+ binutils-arm-none-eabi bison cmake dfu-util flex g++ gcc \
gcc-arm-linux-gnueabi gcc-arm-none-eabi gperf make wget
CARL9170 Firmware Configuration
To flash the firmware you need dfu-util on the host. Issue
- make dfu
+ dfu-util -d 20b7:1540 -D atusb.dfu
right after plugging the device into the USB port while the red led is
still on.
cd ath9k_htc && $(MAKE) -C target_firmware
atusb:
- cd atusb && $(MAKE)
+ cd atusb && $(MAKE) atusb.dfu
av7110:
cd av7110 && $(MAKE)
ln -s ath9k_htc/htc_9271-1.4.0.fw $(prefix)/htc_9271.fw; fi;
if [ -a ath9k_htc/target_firmware/htc_7010.fw ]; then $(install_program) -D ath9k_htc/target_firmware/htc_7010.fw $(prefix)/ath9k_htc/htc_7010-1.4.0.fw && \
ln -s ath9k_htc/htc_7010-1.4.0.fw $(prefix)/htc_7010.fw; fi;
+ if [ -a atusb/atusb.dfu ]; then $(install_program) -D atusb/atusb.dfu $(prefix)/atusb/atusb.dfu; fi;
if [ -a av7110/bootcode.bin ]; then $(install_program) -D av7110/bootcode.bin $(prefix)/av7110/bootcode.bin; fi;
if [ -a cis/3CCFEM556.cis ]; then $(install_program) -D cis/3CCFEM556.cis $(prefix)/cis/3CCFEM556.cis; fi;
if [ -a cis/3CXEM556.cis ]; then $(install_program) -D cis/3CXEM556.cis $(prefix)/cis/3CXEM556.cis; fi;