From: Ajay Garg <ajaygargnsit@gmail.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-arm <qemu-arm@nongnu.org>, QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Qemu-arm] Use of -machine when running via qemu-system-arm
Date: Mon, 9 Apr 2018 23:32:57 +0530 [thread overview]
Message-ID: <CAHP4M8WLXqvCVGxVyaTiCQbwcJVXEPCnRL1DTzzNZq1Cbu0v1w@mail.gmail.com> (raw)
In-Reply-To: <CAFEAcA_WOvTLnyOTWdO-PhoXsOWkUbayutxLr0jthowOfNgaVw@mail.gmail.com>
Thanks a ton Peter, that cleared things up a great deal !!!
Thanks again for the quick help !!
Thanks and Regards,
Ajay
On Mon, Apr 9, 2018 at 11:17 PM, Peter Maydell <peter.maydell@linaro.org> wrote:
> On 9 April 2018 at 18:41, Ajay Garg <ajaygargnsit@gmail.com> wrote:
>> Hi Peter.
>>
>> The link is pretty good, just that I am a complete noob.
>>
>> Maybe a more concrete example on the following, clearly specifying why
>> things work on x86 without the need of -machine flag, will make things
>> crystal clear :
>>
>> Because ARM systems differ so much and in fundamental ways, typically
>> operating system or firmware images intended to run on one machine
>> will not run at all on any other. This is often surprising for new
>> users who are used to the x86 world where every system looks like a
>> standard PC. (Once the kernel has booted, most userspace software
>> cares much less about the detail of the hardware.)
>
> For instance, on x86 you can always find the UART for serial
> output at IO port 0x3f8, and it's always an 8250 or compatible.
> On Arm, the memory address where the UART is will be likely
> different for every board. And once you know the address of the
> UART, each SoC likely may well have its own implementation,
> which has different registers that do different things.
> And there's no way to probe for what's there -- you have to
> know in advance. So you can't even usefully print bootup
> messages without knowing what you're running on.
>
> thanks
> -- PMM
prev parent reply other threads:[~2018-04-09 18:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-09 13:35 [Qemu-devel] Use of -machine when running via qemu-system-arm Ajay Garg
2018-04-09 13:38 ` [Qemu-devel] [Qemu-arm] " Peter Maydell
2018-04-09 13:43 ` Ajay Garg
2018-04-09 14:01 ` Peter Maydell
2018-04-09 17:41 ` Ajay Garg
2018-04-09 17:47 ` Peter Maydell
2018-04-09 18:02 ` Ajay Garg [this message]
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=CAHP4M8WLXqvCVGxVyaTiCQbwcJVXEPCnRL1DTzzNZq1Cbu0v1w@mail.gmail.com \
--to=ajaygargnsit@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).