Ticket #1835 (closed defect: fixed)
A better fix for host endianness of dfu-util
|Reported by:||wiml||Owned by:||openmoko-devel|
|Blocking:||Estimated Completion (week):|
The byte-swapping code in dfu-util depends on some nonportable system headers. Rather than extend autoconf to check more and more systems' headers, I just wrote a portable byteswap routine. (Since the routine is only called once per run of dfu-util, it hardly needs an optimized assembly implementation.) A patch is attached. I can upload and download updates fine from my (big-endian ppc) host.