That sounds like the problem I fixed with this CL:

https://gem5-review.googlesource.com/c/public/gem5/+/35516

Gabe

On Thu, Nov 5, 2020 at 4:42 AM Liyichao via gem5-users <gem5-users@gem5.org>
wrote:

> Hi Gabe:
>
>          I have looked at the email below, I also has the same question.
> As you mentioned, I just modified the FSConfig.py in function makeArmSystem
> with
>
> “self.ethernet = IGbE_e1000(pci_bus=0, pci_dev=0, pci_func=0,
>
>                                InterruptLine=1, InterruptPin=1)
>
> pci_devices.append(self.ethernet)” without any modifications in src/***
>
>
>
>          and use the latest img and kernel from GEM5 WEBSITE, but when I
> use fs.py to bootup , there is a fatal print “fatal: Unable to find
> destination for [0x40000008:0x4000000c] on system.iobus”.
>
>
>
>
>
>
>
> My cmd is:
> ./build/ARM/gem5.opt
> --debug-flags=AddrRanges,NoncoherentXBar,DMA,EthernetEEPROM,Ethernet
> configs/example/fs.py  --cpu-type=ArmV8KvmCPU --kernel=vmlinux -n 1
> --machine-type=VExpress_GEM5_V1
> --disk-image=expanded-aarch64-ubuntu-trusty-headless.img
> --cpu-clock=2.6GHz  --mem-type=DDR4_2933_16x4_new --mem-size=8GB
>
>
>
>
>
> My GEM5 VERSION is 20.0.0.3
>
>
>
>
>
>
>
>
>
>
>
>
>
> You shouldn't modify your config by changing anything in src/, you should
>
> do that in the config scripts. If you want to add additional devices, they
>
> don't have to be part of the platform object, they just need to be
>
> connected to the right busses, etc.
>
>
>
> Gabe
>
>
>
> On Fri, Aug 28, 2020 at 12:06 PM HENG ZHUO via gem5-users <
>
> gem5-users@gem5.org> wrote:
>
>
>
> > Hi all,
>
> >
>
> > I noticed with the recent updates in ARM ISA support, now default machine
>
> > setup is using VExpress_GEM5_V1, which is great, with the 2019 build
> kernel
>
> > and boot loadert tested and everything. However, I also know that
>
> > VExpress_GEM5 does not support ethernet device. What would be best setup
> if
>
> > I want to use ethernet device, but with newer built kernel setup?
>
> >
>
> > 1) Shall I add ethernet device to VExpress_GEM5 machine config? This
>
> > should be most ideal case, in terms of simulated system. Assuming I can
> add
>
> > a new device in the src/dev/arm/RealView.py under VExpress_GEM5_V1. But,
>
> > the dtb is auto generated, seems like I also need to add entry in the
>
> > auto-generated device tree, anyone has any directions on how to add new
>
> > devices in this scenario?
>
> >
>
> > 2) Can I use the old VExpress_EMM64 machine, but with newer build 2019
>
> > kernel and boatload, my guess is not, I would assume the kernel is
>
> > customized based on the machine VExpress_GEM5.
>
> >
>
> > 3) Stick with using older build (2018 build kernel and bootloader), with
>
> > machine VExpress_EMM64. This should be working by default, but losing the
>
> > ability to use more updated kernel and machine config.
>
> >
>
> > Any suggestions, insights would be appreciated!
>
> >
>
> > Best,
>
> > Heng
>
> > _______________________________________________
>
> > 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
>
> >
>
> _______________________________________________
>
>
> ------------------------------
>
> 李翼超(Charlie)
>
>
>
> 华为技术有限公司 Huawei Technologies Co., Ltd.
>
> [image: Company_logo]
>
> 部门:计算系统与组件开发部 [云与计算BG]
>
> 手 机:15858232899
> 电子邮件:liyic...@huawei.com
>
> 地址:中国(China)-杭州(Hangzhou)-滨江区江淑路360号华为杭州研发中心Z4# [3-A06]
> ------------------------------
>
>  本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁
> 止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中
> 的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!
> This e-mail and its attachments contain confidential information from
> HUAWEI, which
> is intended only for the person or entity whose address is listed above.
> Any use of the
> information contained herein in any way (including, but not limited to,
> total or partial
> disclosure, reproduction, or dissemination) by persons other than the
> intended
> recipient(s) is prohibited. If you receive this e-mail in error, please
> notify the sender by
> phone or email immediately and delete it!
>
>
> _______________________________________________
> 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

Reply via email to