mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Antony Pavlov <antonynpavlov@gmail.com>
To: barebox@lists.infradead.org
Subject: commands: md, mw: add the '-x' option (swap bytes)
Date: Mon, 26 Nov 2012 13:51:38 +0400	[thread overview]
Message-ID: <1353923501-13372-1-git-send-email-antonynpavlov@gmail.com> (raw)

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 handy to swap bytes manually.

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

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

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2012-11-26  9:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-26  9:51 Antony Pavlov [this message]
2012-11-26  9:51 ` [PATCH 1/3] mem: add the swab (swap bytes) option to memory_display() Antony Pavlov
2012-11-26  9:51 ` [PATCH 2/3] commands: md: add the '-x' option (swap bytes) Antony Pavlov
2012-11-26  9:51 ` [PATCH 3/3] commands: mw: " Antony Pavlov
2012-11-26 10:16 ` commands: md, " Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1353923501-13372-1-git-send-email-antonynpavlov@gmail.com \
    --to=antonynpavlov@gmail.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox