From: "Andreas Färber" <afaerber@suse.de>
To: rajan pathak <rajanpatha34@gmail.com>
Cc: Peter Maydell <peter.maydell@linaro.org>,
	QEMU Developers <qemu-devel@nongnu.org>,
	Stefan Hajnoczi <stefanha@gmail.com>
Subject: Re: [Qemu-devel] Emulating Ethernet controller based on Cortex-A15 platforms
Date: Thu, 23 Jan 2014 22:52:43 +0100	[thread overview]
Message-ID: <52E18F2B.7090201@suse.de> (raw)
In-Reply-To: <CACXtFMiLzEZZ-=iD8Czr=cmkMO2VKm6pRbBOmQfYxen=-6isdA@mail.gmail.com>
Am 23.01.2014 21:02, schrieb rajan pathak:
>> I'm not clear what you're trying to do here; could
>> you try rephrasing your question? Are you just trying
>> to use the existing working QEMU emulation of a
>> Cortex-A15 board and ethernet controller, or to do
>> something else?
> 
> To be very specific I am trying to emulate Ethernet controller of
> KeyStone 2 device from TI
> 
> http://processors.wiki.ti.com/index.php/MCSDK_User_Guide_for_KeyStone_II
> 
> It is based on CortexA-15 Processor series. So I thought I can use
> vexpress_defconfig and can call
> my Emulated Ethernet controller instead of LAN9118 from vexpress.c.
> 
> After that I will place my Emulated Ethernet controller code(which
> haven't started)  inside hw/net .
> 
> Is the right way to go forward?
No, it isn't. If you want to emulate the KeyStone II SoC, then please do
just that. You will find recent examples on the list of new SoCs that
have been added, including sunxi/A10 and DIGIC. So, the Ethernet
controller would be a new device in hw/net/, it is initialized by a SoC
device in hw/arm/ and to use it you need a standard machine definition,
such as the EVMK2Hx in your case (some evaluation/reference board rather
than custom industry boards). Then test that code using a Linux (or
firmware or other OS) that runs on the real board.
Regards,
Andreas
-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
next prev parent reply	other threads:[~2014-01-23 21:52 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-23 19:28 [Qemu-devel] Emulating Ethernet controller based on Cortex-A15 platforms rajan pathak
2014-01-23 19:42 ` Peter Maydell
2014-01-23 20:02   ` rajan pathak
2014-01-23 20:10     ` Peter Maydell
2014-01-23 21:52     ` Andreas Färber [this message]
2014-01-25  0:06       ` Peter Crosthwaite
2014-01-25  7:18         ` rajan pathak
2014-01-25  7:45           ` Peter Crosthwaite
2014-01-25 13:52             ` rajan pathak
2014-01-25 19:17               ` rajan pathak
2014-01-25 19:25                 ` Peter Maydell
2014-01-25 19:47                   ` rajan pathak
2014-01-25 21:20                     ` Andreas Färber
2014-01-25 22:05                     ` Peter Maydell
2014-01-23 21:42   ` Andreas Färber
2014-01-23 21:52     ` Peter Maydell
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=52E18F2B.7090201@suse.de \
    --to=afaerber@suse.de \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rajanpatha34@gmail.com \
    --cc=stefanha@gmail.com \
    /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).