> In other words: the binary file should be changed for proper endianess
> before loading it. The MIPS implementation in OpenOCD doesn't need to be
> fixed regarding the endianess.

It's true it doesn't need to be fixed to use the memory commands mw and md.  But
it helps in two ways:

1. The mips target will be consistent with other targets in the use of the
-endian option.

2. as Zach said
>> why require an external tool manage the conversion?  Can
>> OpenOCD reasonably offer such support built-in?

For little endian targets, the patch is transparent.  For big endian targets it
removes the confusion and offers built-in native file support.

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to