OSX Big Endian patch for dfu-util

Daniel Hembree danny-hembree at dynamical.org
Wed Jan 2 09:04:31 CET 2008


this patch, applied to dfu-util's main.c, will enable OSX PPC machines 
so download to the neo1973.

757,759c
                        func_dfu.wTransferSize = 
OSSwapInt16(func_dfu.wTransferSize);
.
29,31c
#include <libkern/OSByteOrder.h>
.


I followed the instructions supplied by Krzysztof Kajkowski at, 
http://lists.openmoko.org/pipermail/community/2007-July/008438.html , to 
download the source and compile it. Unfortunately, it was for i386 
machines, persevering, I tried the above changes and was able to 
download and use the latest openmoko and qtopia rootfs.  This was done 
on a G4 Titanium PB.

Happy New Year!




More information about the device-owners mailing list