This is related to my earlier post, but I ll post this as a separate
thread to state my problem clearly. I have been trying to do this in
several ways but to no avail. Here's what I tried.

1. VExpress_ELT DOES have an ethernet interface inside it. When I run fs.py ie:

gem5/build/ARM/gem5.opt gem5/configs/example/fs.py --machine-type=VExpress_ELT

I get the error :

warn: Device system.membus.badaddr_responder accessed by read to
address 0x10009018 size=4
gem5.opt: build/ARM/cpu/simple/atomic.cc:289: Fault
AtomicSimpleCPU::readMem(Addr, uint8_t*, unsigned int, unsigned int):
Assertion `!pkt.isError()' failed.


2. RealViewPBX does NOT have an ethernet interface and runs correctly
when I run fs.py ie

gem5/build/ARM/gem5.opt gem5/configs/example/fs.py --machine-type=RealView_PBX

3. Now, I add an ethernet interface to RealViewPBX by copying the
relevant portions (which refer to the variable ethernet) of
VExpress_ELT inside src/dev/arm/RealView.py. The lines are :

In attachIO():
-----------------------------------------------------------------------
       self.ethernet.pio        = bus.master
       self.ethernet.config    = bus.master
       self.ethernet.dma      = bus.slave

In class  RealViewPBX():
-----------------------------------------------------------------------
    ethernet = IGbE_e1000(pci_bus=0, pci_dev=0, pci_func=0,
                          InterruptLine=1, InterruptPin=1)

This doesn't work, and I get the error :

fatal: system.iobus has two ports with same range:
        system.realview.ethernet-pciconf
        system.iobridge-slave
 @ cycle 0


I tried VExpress_EMM as well, but that has a similar "Invalid access
size" error.  I am not sure how to go about fixing this.

Anirudh
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to