Hi Sukandar, I have gone through firmware/dfu things for a while. Some dfu version and necessary modification (at least work for me) also have been collected. You may refer to: http://sdr-x.github.io/Notes%20on%20DFU%20mode%20and%20firmware%20of%20hackrf/ http://sdr-x.github.io/UART1602LCD/ http://sdr-x.github.io/abar/
On Thu, Nov 19, 2015 at 8:51 AM, Sukandar Kartadinata <[email protected]> wrote: > Hi, > I’ve just managed to install the toolchain for building custom firmware > under Mac OS X. > Here’s some notes (maybe useful for others trying to do this) and one > problem: > > 1. Make sure when you download libopencm3 from > https://github.com/mossmann/libopencm3/ that it ends up in the libopencm3 > folder of the HackRF distribution > This might be obvious for some, but I had to find out the hard way… > > 2. Building libopencm3 requires yaml. Make sure your Python install > includes it. Mine didn’t. > (if your Python install script (easy_install / pip) can’t find yaml - you > have to pick one of the packages that are listed when doing a search for > it. I went for PyYAML) > > 3. When you cd into the blinky folder for your first build: > just typing ‘make’ as the Wiki suggests ( > https://github.com/mossmann/hackrf/wiki/Firmware-Development-Setup) > won’t work. The build system uses cmake so you have to do that first. The > steps are explained in the Readme. > > After that I got a working blinky.bin, hooray! > > Now here’s the one problem: > When the build system tries to make the .dfu version I only get the help > message from dfu-suffix, i.e. it lists its options, so somehow it seems to > be invoked in a wrong way. > > Here’s the relevant line in > […]/blinky/build/CMakeFiles/blinky.dfu.dir/build.make > > dfu-suffix --vid=0x1fc9 --pid=0x000c --did=0x0 -s 0 -a _tmp.dfu > > Any suggestions? > > Thanks, > Sukandar > > _______________________________________________ > HackRF-dev mailing list > [email protected] > https://pairlist9.pair.net/mailman/listinfo/hackrf-dev >
_______________________________________________ HackRF-dev mailing list [email protected] https://pairlist9.pair.net/mailman/listinfo/hackrf-dev
