From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Use memcpy in print_buffer to fix unaligned dumps
Date: Tue, 29 Jun 2010 15:42:46 -0400 [thread overview]
Message-ID: <201006291542.47695.vapier@gentoo.org> (raw)
In-Reply-To: <20100629125306.C3F7414EBF8@gemini.denx.de>
On Tuesday, June 29, 2010 08:53:06 Wolfgang Denk wrote:
> Anatolij Gustschin wrote:
> > Unaligned 32-/16-bit accesses to local bus on MPC5200
> > and MPC512x deliver corrupted data:
>
> Right, and the current version of print_buffer() shopws the real data,
> i. e. you can see that such a corruption happens.
i also prefer the current behavior. on Blackfin systems, you get unaligned
exceptions when you try to do 'md.l 1' and it's a nice way to quickly exercise
those code paths ;).
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100629/2260d730/attachment.pgp
next prev parent reply other threads:[~2010-06-29 19:42 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-21 20:29 [U-Boot] [PATCH] MPC5200: workaround data corruption for unaligned local bus accesses Wolfgang Denk
2010-06-22 23:10 ` [U-Boot] [PATCH v2] " Wolfgang Denk
2010-06-23 0:12 ` [U-Boot] [PATCH v3] " Wolfgang Denk
2010-06-25 8:35 ` Detlev Zundel
2010-06-29 9:48 ` [U-Boot] [PATCH] MPC512x: " Wolfgang Denk
2010-06-29 11:49 ` Detlev Zundel
2010-06-29 12:09 ` Wolfgang Denk
2010-06-29 12:41 ` Detlev Zundel
2010-06-29 12:42 ` Joakim Tjernlund
2010-06-29 12:55 ` Wolfgang Denk
2010-06-29 13:06 ` Joakim Tjernlund
2010-06-29 14:21 ` Joakim Tjernlund
2010-06-29 16:19 ` [U-Boot] [PATCH] MPC512x: workaround data corruption forunaligned " Steve Deiters
2010-06-29 19:24 ` Wolfgang Denk
2010-06-29 21:47 ` Joakim Tjernlund
2010-06-29 12:23 ` [U-Boot] [PATCH] MPC512x: workaround data corruption for unaligned " Anatolij Gustschin
2010-06-29 12:47 ` Wolfgang Denk
2010-06-29 13:34 ` Anatolij Gustschin
2010-06-29 12:45 ` [U-Boot] [PATCH] Use memcpy in print_buffer to fix unaligned dumps Anatolij Gustschin
2010-06-29 12:53 ` Wolfgang Denk
2010-06-29 12:57 ` Wolfgang Denk
2010-06-29 19:42 ` Mike Frysinger [this message]
2010-06-29 19:29 ` [U-Boot] [PATCH] MPC512x: workaround data corruption for unaligned local bus accesses Wolfgang Denk
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=201006291542.47695.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=u-boot@lists.denx.de \
/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