Hi, attached patch fixes the endianess so mips/ejtag can be used on a big endian host.
Btw.: There is still an endianness issue with mips target. Drasko adds endianness swapping (that I removed two years ago) to mips_m4k.c (commit b1256894598296b54a1827e7ac797ad1c60a0b18). But some swapping is already done in target.c, e.g. for target_get_buffer_u32. While "dump_image" works fine, "mdw" does not. To my mind whole endianness swapping should be done in target.c, not in mips_m4k. What do you think? BR, Stefan
0001-mips-fix-swapping-if-openocd-is-running-on-big-endia.patch
Description: 0001-mips-fix-swapping-if-openocd-is-running-on-big-endia.patch
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
