public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Albert ARIBAUD <albert.aribaud@free.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot] qemu-arm
Date: Tue, 16 Nov 2010 17:02:15 +0100	[thread overview]
Message-ID: <4CE2AB07.9040209@free.fr> (raw)
In-Reply-To: <AANLkTik56rw4yHfBWeDyu5ea4QKgVXekcA0HSOeL370N@mail.gmail.com>

Le 16/11/2010 15:49, Peter Maydell a ?crit :
> On 16 November 2010 13:54, Albert ARIBAUD<albert.aribaud@free.fr>  wrote:
>>> Mostly these things
>>> don't cause a problem in practice, which is why they haven't
>>> been corrected yet.
>>
>> Thanks Peter for the clarification. I imagine that "in practice" can bear
>> different meanings depending on the practice -- for software like u-boot,
>> which is very low-level and can encounter issues such as a RAM controller
>> misconfiguration (or plain bad BAR setting, mind) addressing outside
>> physically available space, including writing to RO memory or fetching bad
>> code, is something we can see in practice, at least in the first times of a
>> board's bring up.
>
> Sure, but I imagine that for debugging that sort of thing it doesn't make
> a great deal of difference whether you discover it by getting a cpu
> abort, by having the core just go off into the weeds somewhere or by
> getting a fatal error message from qemu. So that was partly what I
> meant by "in practice" -- yes, it's a deviation from correct behaviour,
> but it's not really any more of an impediment to debugging than
> correctly modelled behaviour would be, once you know what qemu
> is doing wrong...

Understood. What I meant is that "in practice" with a real piece of HW, 
we expect aborts or undefined so much that we actually handle them and 
do a register dump the board's console, so not seeing this dump when 
simulating an abort on the HW would thus somehow 'depart' from 'the 
practice' as I know it. However:

> (Which is not to defend the current qemu behaviour so much as to
> try to explain why this particular bug isn't at the top of my todo list :-))

I do understand why it isn't, and as I said, I can happily live without 
it as long as I know that the simulator differs from the HW in this 
respect -- after all, if I *really* need it, I guess I can delve deep 
into the qemu-arm source code. :)

> -- PMM

Amicalement,
-- 
Albert.

  reply	other threads:[~2010-11-16 16:02 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-04 22:22 [U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support Albert Aribaud
2010-11-04 22:22 ` [U-Boot] [PATCH V4 2/2] tx25: " Albert Aribaud
2010-11-04 22:27 ` [U-Boot] [PATCH V4 1/2] arm926ejs: " Albert ARIBAUD
2010-11-09 13:49   ` Albert ARIBAUD
2010-11-05  8:38 ` Reinhard Meyer
2010-11-05  9:04   ` Albert ARIBAUD
2010-11-09 18:24 ` Daniel Hobi
2010-11-09 18:47   ` Albert ARIBAUD
2010-11-09 18:55     ` Albert ARIBAUD
2010-11-09 19:30     ` Andreas Bießmann
2010-11-10 12:31     ` Daniel Hobi
2010-11-10 12:48       ` Albert ARIBAUD
2010-11-10 13:24         ` Daniel Hobi
2010-11-11  8:11           ` Albert ARIBAUD
2010-11-14 21:22             ` Wolfgang Denk
2010-11-15 11:01               ` Albert ARIBAUD
2010-11-15 11:09                 ` Andreas Bießmann
2010-11-15 11:43                   ` Sebastien Carlier
2010-11-16  7:38                     ` Andreas Bießmann
2010-11-15 11:13                 ` Wolfgang Denk
2010-11-15 11:49                   ` Albert ARIBAUD
2010-11-15 11:55                     ` Loïc Minier
2010-11-15 12:03                       ` Wolfgang Denk
2010-11-15 14:06                         ` Loïc Minier
2010-11-15 14:29                           ` Albert ARIBAUD
2010-11-15 15:09                             ` Loïc Minier
2010-11-16 13:42                               ` Peter Maydell
2010-11-16 13:54                                 ` [U-Boot] qemu-arm (was: [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support) Albert ARIBAUD
2010-11-16 14:49                                   ` Peter Maydell
2010-11-16 16:02                                     ` Albert ARIBAUD [this message]
2010-11-15 12:00                     ` [U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support Reinhard Meyer
2010-11-15 12:02                     ` Wolfgang Denk
2010-11-15 12:13                       ` Albert ARIBAUD
2010-11-15 12:16                     ` Bas Mevissen
2010-11-10 13:02       ` [U-Boot] Timer Statics (was: arm926ejs: fix linker file for newer ld support) Reinhard Meyer
2010-11-09 19:27   ` [U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support Andreas Bießmann
2010-11-09 19:31     ` Albert ARIBAUD
2010-11-09 23:43 ` Eric Cooper
2010-11-10  7:53   ` Albert ARIBAUD
2010-11-10 14:20     ` Eric Cooper
2010-11-11  7:33       ` Albert ARIBAUD
2010-11-15 14:15   ` Daniel Hobi
2010-11-15 14:37     ` Albert ARIBAUD
2010-11-15 19:14     ` Eric Cooper

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=4CE2AB07.9040209@free.fr \
    --to=albert.aribaud@free.fr \
    --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