rockchip: don't crash if we get an FDT we can't parse
Thanks for the review! I dropped the commit to remove the date and replaced it with one that updates it. I think you're correct that "re-enumerate," when read literally with regard to the USB spec, is something only the host can do. However, it's used to refer to a device reconnecting with a different set of descriptors in many places, including the DFU spec itself. See Section 2: "The device re-enumerates and executes the upgraded firmware." It's also used in that way in the Cypress EZ-USB peripheral...
man: Document -e and -E options
man: Fix some inconsistent formatting
man: Update date
BTW, if Pandoc is too heavy of a dependency, Groff can also generate HTML directly. It's not quite as nicely formatted, IMO, but still totally acceptable. Let me know if you want me to update the series to use that instead.
"will-reset" worked perfectly; thanks! I've submitted Merge Request #9 to automate the generation of an HTML man page and to add entries for -e and -E.
Various man page updates
man: Remove date
man: Generate HTML using pandoc
man: Fix some inconsistent formatting
man: Document -e and -E options
Alas, I'm afraid I can't help much with testing. The only chips I have with DFU are a GigaDevice GD32VF103 and an ATmega32U4 running Atmel's DFU bootloader. I've tested the former with the latest Git dfu-util and confirmed that reading and writing both Main Flash and Option Bytes works (although the device resets itself immediately after an Option Bytes write, so get_status fails). As for the latter, Atmel's bootloader seems to be extremely quirky and doesn't even advertise the right set of descriptors...
v0.10 release?
Add udev rule for Gigadevice GD32VF103
Add GD32VF103 USB ID to example udev file
Bump
Updated to address both suggestions. Thanks!
Get GD32VF103 serial number as UTF-8/ASCII
Reformat #defines in quirks.h
Override reported GD32VF103 layout
Override reported GD32VF103 layout
Thanks! Please let me know if you see an opportunity to make either patch more generic. I'm pretty happy with how the fixup one turned out, with minimal changes outside quirks.c. The serial number one is more intrusive than I'd like, but I don't have a good idea for how to make it better. I just updated the commit messages of both patches to be more concise and grammatical, so you might want to pull again if you fetched them locally.
Get GD32VF103 serial number as UTF-8/ASCII
Override reported GD32VF103 layout
Add quirks to support downloading to the GD32VF103 RISC-V MCU
Get GD32VF103 serial number as UTF-8/ASCII
Override reported GD32VF103 layout