I just add Ethernet object and add it to pci_device, and when I bootup with 
fs.py, NoncoherentXBAR debug print will print

“718298670320: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090018 cmd ReadReq
718306245195: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090000 cmd WriteReq
718313737680: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090018 cmd ReadReq
718321182425: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090000 cmd WriteReq
718328686845: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090018 cmd ReadReq
718336148530: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090000 cmd WriteReq
718343645250: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090018 cmd ReadReq
718351065740: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090000 cmd WriteReq
718358580940: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090018 cmd ReadReq
718366205095: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090000 cmd WriteReq
718373739545: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090018 cmd ReadReq
718381304795: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090000 cmd WriteReq
718388861575: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090018 cmd ReadReq
718396462245: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x1c090030 cmd WriteReq
718406078775: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010004 cmd WriteReq
718413834215: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x3001000d cmd ReadReq
718421472615: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x3001000d cmd WriteReq
718428923905: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010000 cmd ReadReq
718436368265: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010004 cmd ReadReq
718443582395: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010008 cmd ReadReq
718450858125: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x3001000c cmd ReadReq
718458413365: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010010 cmd ReadReq
718465770715: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010014 cmd ReadReq
718473428365: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010018 cmd ReadReq
718480856555: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x3001001c cmd ReadReq
718488332870: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010020 cmd ReadReq
718495823045: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010024 cmd ReadReq
718503233140: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010028 cmd ReadReq
718510630915: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x3001002c cmd ReadReq
718518363255: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010030 cmd ReadReq
718525891545: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010034 cmd ReadReq
718533463340: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010038 cmd ReadReq
718541059775: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x3001003c cmd ReadReq
718548651205: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010006 cmd ReadReq
718590861065: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x30010004 cmd ReadReq
718606425460: system.iobus: recvAtomic: packet src system.iobus.slave[0] addr 
0x40000008 cmd ReadReq
fatal: Unable to find destination for [0x40000008:0x4000000c] on system.iobus, 
-1
Memory Usage: 8866120 KBytes”


My cmd is :

./build/ARM/gem5.opt --debug-flags=NoncoherentXBar configs/example/fs.py 
--dtb-file=./m5out/system.dtb --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-size=8GB


My modified in FSConfig.py is :

self.ethernet = IGbE_e1000(pci_bus=0, pci_dev=0, pci_func=0,
                               InterruptLine=1, InterruptPin=1)
pci_devices.append(self.ethernet)
________________________________
李翼超(Charlie)

华为技术有限公司 Huawei Technologies Co., Ltd.
[Company_logo]
部门:计算系统与组件开发部 [云与计算BG]
手  机:15858232899
电子邮件:[email protected]<mailto:[email protected]>
地址:中国(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!

发件人: Liyichao
发送时间: 2020年10月31日 14:13
收件人: gem5 users mailing list <[email protected]>
主题: How to enable dist-gem5 on GEM5 20.0.0.3 on ARM64

Hi All:

         Any one use dist-gem5 to bootup successfully on GEM5 20.0.0.3 on ARM64?

         In dist-gem5 website, the example only shows for arm32, and the 
kernel/img/boot_emm/vexpress_emm is just matched for arm32.


         I want to use the latest 4.14 kernel and 
aarch64-ubuntu-trusty-headless.img from GEM5 website with KVM bootup, how to 
enable it?

________________________________
李翼超(Charlie)

华为技术有限公司 Huawei Technologies Co., Ltd.
[Company_logo]
部门:计算系统与组件开发部 [云与计算BG]
手  机:15858232899
电子邮件:[email protected]<mailto:[email protected]>
地址:中国(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!



________________________________
李翼超(Charlie)

华为技术有限公司 Huawei Technologies Co., Ltd.
[Company_logo]
部门:计算系统与组件开发部 [云与计算BG]
手  机:15858232899
电子邮件:[email protected]<mailto:[email protected]>
地址:中国(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!

发件人: Liyichao
发送时间: 2020年11月4日 11:16
收件人: gem5 users mailing list <[email protected]>
主题: Unable to find destination for [0x40000008:0x4000000c] on system.iobus

Hi All:

I just add a ethernet object in dist-bigLITTLE.py on VEXPRESS_GEM5_V1, but 
AddRange debug print “fatal: Unable to find destination for 
[0x40000008:0x4000000c] on system.iobus

So how to config the mem range in RealView.py or in any other code ?
”

The function of create Ethernet is :
def addEthernet(system, options):
    # create NIC
    dev = IGbE_e1000()
    system.attach_pci(dev)
    system.ethernet = dev

    # create distributed ethernet link
    system.etherlink = DistEtherLink(speed = options.ethernet_linkspeed,
                                     delay = options.ethernet_linkdelay,
                                     dist_rank = options.dist_rank,
                                     dist_size = options.dist_size,
                                     server_name = options.dist_server_name,
                                     server_port = options.dist_server_port,
                                     sync_start = options.dist_sync_start,
                                     sync_repeat = options.dist_sync_repeat)
    system.etherlink.int0 = Parent.system.ethernet.interface
    if options.etherdump:
        system.etherdump = EtherDump(file=options.etherdump)
        system.etherlink.dump = system.etherdump


root@ubuntu-kunpeng920-1:/home/l00515693/gem5_repo/gem5/rundir# tail -f log.0
info: Using bootloader at address 0x10
info: Using kernel entry physical address at 0x80080000
info: Loading DTB file: 
/home/l00515693/gem5_repo/gem5/rundir/m5out.0/system.dtb at address 0x88000000
      0: system.etherlink: DistEtherLink::startup() called
      0: global: DistIface::startup() started
      0: global: DistIface::startup() done
info: Dist sync scheduled at 5200000000000 and repeats 10000000
warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
info: Entering event queue @ 0.  Starting simulation...
warn: SCReg: Access to unknown device dcc0:site0:pos0:fn7:dev0
warn: Tried to read RealView I/O at offset 0x60 that doesn't exist
warn: Tried to read RealView I/O at offset 0x48 that doesn't exist
warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
warn: Tried to read RealView I/O at offset 0x8 that doesn't exist
warn: Tried to read RealView I/O at offset 0x48 that doesn't exist
194293121000: system.iobus: Received range change from slave port 
system.pci_vio_block.pio
194293121000: system.iobus: Adding range [0x2f001000:0x2f001020] for id 16
194293121000: system.iobus: Aggregating address ranges
194293121000: system.iobus: -- Adding range [0xc000000:0x10000000]
194293121000: system.iobus: -- Adding range [0x10000000:0x1000002c]
194293121000: system.iobus: -- Adding range [0x1c010000:0x1c0100d4]
194293121000: system.iobus: -- Adding range [0x1c060000:0x1c061000]
194293121000: system.iobus: -- Adding range [0x1c070000:0x1c071000]
194293121000: system.iobus: -- Adding range [0x1c090000:0x1c091000]
194293121000: system.iobus: -- Adding range [0x1c0a0000:0x1c0a1000]
194293121000: system.iobus: -- Adding range [0x1c0b0000:0x1c0b1000]
194293121000: system.iobus: -- Adding range [0x1c0c0000:0x1c0c1000]
194293121000: system.iobus: -- Adding range [0x1c0f0000:0x1c0f1000]
194293121000: system.iobus: -- Adding range [0x1c100000:0x1c101000]
194293121000: system.iobus: -- Adding range [0x1c130000:0x1c131000]
194293121000: system.iobus: -- Adding range [0x1c140000:0x1c141000]
194293121000: system.iobus: -- Adding range [0x1c170000:0x1c171000]
194293121000: system.iobus: -- Adding range [0x2f001000:0x2f001020]
194293121000: system.iobus: -- Adding range [0x30000000:0x40000000]
194293121000: system.iobus: -- Adding range [0x80000000:0x100000000]
fatal: Unable to find destination for [0x40000008:0x4000000c] on system.iobus
Memory Usage: 2636564 KBytes

________________________________
李翼超(Charlie)

华为技术有限公司 Huawei Technologies Co., Ltd.
[Company_logo]
部门:计算系统与组件开发部 [云与计算BG]
手  机:15858232899
电子邮件:[email protected]<mailto:[email protected]>
地址:中国(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 -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to