From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Korsgaard Date: Tue, 26 Apr 2011 16:19:24 +0200 Subject: [Buildroot] devmem2 In-Reply-To: <941721.92187.qm@web161408.mail.bf1.yahoo.com> (David Anders's message of "Tue, 26 Apr 2011 06:24:52 -0700 (PDT)") References: <941721.92187.qm@web161408.mail.bf1.yahoo.com> Message-ID: <87sjt53xjn.fsf@macbook.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "David" == David Anders writes: David> Peter, David> the primary commit that makes the devmem applet unusable for David> most debugging is this one: David> commit 043246560fcd5bb7bfb2caa2db270c3c0e8e06f4 David> Author: Denis Vlasenko David> Date: Sun Oct 26 17:26:55 2008 +0000 David> devmem: make it more script-friendly; don't do any reads David> and output nothing if writing was requested. -100 bytes David> for board bring up and general development, for which devmem is David> primarily used, having devmem report the value before the write David> is important, as well as reporting the value after the write. Ok, but adding a little shell wrapper to do that would be simple to do. Forcing 2 extra read actions isn't that nice, both for the script-friendlyness, but also for registers where reads have side effects. -- Bye, Peter Korsgaard