qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Emulating Ethernet controller based on Cortex-A15 platforms
@ 2014-01-23 19:28 rajan pathak
  2014-01-23 19:42 ` Peter Maydell
  0 siblings, 1 reply; 16+ messages in thread
From: rajan pathak @ 2014-01-23 19:28 UTC (permalink / raw)
  To: qemu-devel, Stefan Hajnoczi

[-- Attachment #1: Type: text/plain, Size: 1101 bytes --]

Hello Experts

I am new to QEMU development and trying to emulate Ethernet controller
based on
Corext-A15 platform.

Current I am able to up the QEMU console and see it uses SMSC 91C111
Ethernet interface emulation code.

I have compiled the kernel using versatile_defconfig where I can see
CONFIG_SMC91X,So I guess it uses SMSC 91C111 as its Ethernet controller.

I can see call to this  smc91c111_init(nd, 0x10010000, sic[25]); function
is made inside hw/arm/versatilepb.c which triggers the initialization of
emulated SMSC Ethernet controller in hw/net/smc91c111.c.

I am looking to emulate Ethernet controller based on Cortex-A15 platform,so
for
Do I need to use vexpress_defconfig instead of versatile_defconfig?

If I have to use vexpress what would initializtion point of my emulated
Ethernet controller based Cortex-A15 platform?

Would be inside vexpress_common_init() of vexpress.c

/* 0x4e000000 LAN9118 Ethernet */
    if (nd_table[0].used) {
        lan9118_init(&nd_table[0], map[VE_ETHERNET], pic[15]);
    }

Could anyone please confirm this above understanding of mine?

Thanks
Rajan

[-- Attachment #2: Type: text/html, Size: 1458 bytes --]

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-01-25 22:05 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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).