[RFC 0/3] commands: md, mw: add '-x' option (swap bytes)

Antony Pavlov antonynpavlov at gmail.com
Fri Nov 23 16:10:56 EST 2012


Most of my MIPS boards run barebox in big-endian mode, but
sometimes I need see state of little-endian registers
(e.g. registers of PCI-connected peripherals) and it is not
very hande to swap bytes manually.

This patch series add to memory commands (md and mw) ability
to swap bytes "on the fly".

[RFC 1/3] add swab (swap bytes) option to memory_display()
[RFC 2/3] commands: md: add '-x' option (swap bytes)
[RFC 3/3] commands: mw: add '-x' option (swap bytes)



More information about the barebox mailing list