Changes between Version 44 and Version 45 of Developer/Simulators/QEMU


Ignore:
Timestamp:
11/30/10 02:46:33 (13 years ago)
Author:
SimonPerreault
Comment:

Flag "-M isapc" + Instructions for setting the IRQ number

Legend:

Unmodified
Added
Removed
Modified
  • Developer/Simulators/QEMU

    v44 v45  
    187187
    188188{{{
    189 qemu -cpu 486 -m 8 -boot a \
     189qemu -M isapc -cpu 486 -m 8 -boot a \
    190190    -fda /home/joel/qemu/pc386_fda \
    191191    -hda fat:/home/joel/qemu/hd \
     
    211211
    212212This matches the defaults as presented in the QEMU manual. The single network interface available to the RTEMS application will have the IP address 10.0.2.5.  All of the RTEMS network demos can run in this environment given proper configuration.
     213== Setting the IRQ number ==
     214
     215
     216By default, QEMU uses IRQ 9, while RTEMS uses IRQ 5. I just hard-coded
     217the IRQ in my struct rtems_bsdnet_ifconfig, along with the IO address
     218(0x300) while I am at it.
     219
     220{{{
     221static struct rtems_bsdnet_ifconfig netdriver_config = {
     222        (char *)BSP_NE2000_NETWORK_DRIVER_NAME,
     223        BSP_NE2000_NETWORK_DRIVER_ATTACH,
     224        NULL,
     225        NULL,
     226        NULL,
     227        NULL,
     228        0,
     229        0,
     230        0,
     231        0,
     232        0x300,
     233        9,
     234        0,
     235        NULL
     236};
     237}}}
     238
     239--[wiki:User:SimonPerreault User:SimonPerreault] Mon Nov 29 16:43:38 EST 2010
    213240= Debugging with QEMU =
    214241