Hi Nikos, how old is your gem5 checkout? The change below fixed some aspects of how PCI devices are managed, including one which could cause failures like you're seeing.
commit 9be18aa66ddb8db4da043279819d45bc72b7b086 Author: Gabe Black <gabe.bl...@gmail.com> Date: Fri Oct 2 03:00:04 2020 -0700 On Wed, Mar 31, 2021 at 1:04 PM Νικόλαος Ταμπουρατζής via gem5-users < gem5-users@gem5.org> wrote: > Dear gem5 community, > > I would like to use the IGbE_e1000 card in the latest gem5 version in > ARM FS mode. As I can see the card is connected only in VExpress_EMM > and VExpress_EMM64. However, I cannot boot correctly the latest gem5 > version either in VExpress_EMM or VExpress_EMM64 using the > 20180409.tar.xz kernels and images from the following link: > https://www.gem5.org/documentation/general_docs/fullsystem/guest_binaries. > > So I achieve to boot the gem5 using the VExpress_GEM5_V1 machine type > (specifically through this configuration: $GEM5/build/ARM/gem5.opt -d > $GEM5/node0 $GEM5/configs/example/fs.py > --kernel=vmlinux.vexpress_gem5_v1_64 > --disk-image=linaro-minimal-aarch64.img > --machine-type=VExpress_GEM5_V1 --dtb=armv7_gem5_v1_1cpu.dtb). > > However, the IGbE_e1000 card is not included in the > VExpress_GEM5_V1... So I tried to connect it in VExpress_GEM5_Base > (which is used from VExpress_GEM5_V1). Specifically, > > 1) I add the following (below pci_host = GenericArmPciHost) > > # Attach any PCI devices that are supported > def attachPciDevices(self): > self.ethernet = IGbE_e1000(pci_bus=0, pci_dev=0, pci_func=0, > InterruptLine=1, InterruptPin=1) > > 2) I add the self.ethernet in def _off_chip_devices(self). > > Unfortunatelly, I get the following error after 2 minutes of > simulation (during this message: [0.135098] e1000 0000:00:00.0: > enabling device (0000 -> 0002)): > > fatal: system.iobus has two ports responding within range > [0x80000000:0x80020000]: > system.realview.ethernet.pio > system.iobridge.cpu_side_port > > Looking in previous gem5 versions, in the GenericArmPciHost there is > not the "pci_mem_base=0x40000000". So, I remove this and I am able to > boot Linux and see the eth0 but I do not know if is correct to remove > the pci_mem_base. > > I would appreciate it if anyone would like to explain me please! :) > > Best regards, > Nikos > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s >
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s