That is correct, you should just recompile the DTB; no need to recompile gem5

Kind Regards

Giacomo

> -----Original Message-----
> From: Md Rubel Ahmed via gem5-users <gem5-users@gem5.org>
> Sent: 31 July 2021 10:05
> To: gem5-users@gem5.org
> Cc: Md Rubel Ahmed <mdrubelah...@mail.usf.edu>
> Subject: [gem5-users] VExpress_GEM5_V1, Ethernet, and BARs
>
> Hi,
> I was trying to get ethernet working on my FS simulation, but facing this
> problem as follows:
>
> fatal: system.iobus has two ports responding within range
> [0x80000000:0x80020000]:
> system.ethernet.pio
> system.iocache.cpu_side_port
>
>
> I changed the third word as discussed in the previous emails of this thread
> accordingly.
>
> old 70: <0x02000000 0x0 0x0  0x0 0x40000000  0x0 0x40000000>; new 70:
> <0x02000000 0x0 0x0  0x0 0x40000000  0x0 0x0>;
>
>
>
>
> How I added the ethernet(in FSconfig.py):
>     else:
>         self.pci_ide = IdeController(disks=disks)
>         pci_devices.append(self.pci_ide)
>
>     # Added ethernet by rubel
>
>         self.ethernet = IGbE_e1000()
>         pci_devices.append(self.ethernet)
>
>
>
> The command I executed:
> ./build/ARM/gem5.opt --debug-flags=Drain,VGIC,Ethernet
> configs/example/fs.py --kernel=vmlinux --machine-
> type=VExpress_GEM5_V1 --dtb-
> file=/home/rubel/gem5/system/arm/dt/armv7_gem5_v1_1cpu.dtb --num-
> cpus=1 --cpu-type=TimingSimpleCPU --disk-image=gem5_ubuntu16.img --
> caches --l2cache --mem-size=4GB --l1i_size=16kB --l1d_size=64kB --
> l2_size=256kB
>
> I believe I don't need to REBUILD gem5 for these changes. I am using a very
> recent version of gem5(ea7d012c00e5555857ef999b88a8ec2bde801a1f).
>
> So my question is, did I interpreted the word thing correctly? Do I need to
> rebuild gem5 for these changes?
>
> Any help is highly appreciated.
>
>
> Regards,
> Rubel Ahmed
>

IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.
_______________________________________________
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

Reply via email to