[SOLVED] Networking with QEMU

Oyake, Amalaye (3424) amalaye.oyake at jpl.nasa.gov
Mon Nov 29 21:36:13 UTC 2010


Can you make sure to merge this back into the wiki ... Somehow.

Thanks,

* Amalaye Oyake                                    *
* Flight Software Applications & Data Product Mgmt */\
* 818.393.7168 work   626.399.1707 cell            *||
* Jet Propulsion Laboratory, Pasadena  CA 91109   */||\
-- 



On Monday11/29/2010 Monday~11/29/2010 -1:16 PM, "Simon Perreault"
<simon.perreault at viagenie.ca> wrote:

> On 2010-11-29 15:18, Simon Perreault wrote:
>>> $ qemu -net nic,model=ne2k_isa
>>> isa irq 9 already assigned
> 
> I got it to work! Here's the solution for the archives...
> 
> $ qemu -M isapc -net nic,model=ne2k_isa ...
> 
> By default, QEMU uses IRQ 9, while RTEMS uses IRQ 5. I just hard-coded
> the IRQ in my struct rtems_bsdnet_ifconfig, along with the IO address
> (0x300) while I am at it.
> 
> static struct rtems_bsdnet_ifconfig netdriver_config = {
>         (char *)BSP_NE2000_NETWORK_DRIVER_NAME,
>         BSP_NE2000_NETWORK_DRIVER_ATTACH,
>         NULL,
>         NULL,
>         NULL,
>         NULL,
>         0,
>         0,
>         0,
>         0,
>         0x300,
>         9,
>         0,
>         NULL
> };
> 
> Simon





More information about the users mailing list