Try to connect "x86_sys.membus.default" port to "x86_sys.bridge.slave" instead 
of badaddr_responder (configs/common/FSConfig.py:53-55,334-340), this should 
solve the invalid address error.You may also need change ethernet device's 
default InterruptLine (0x1e) to a smaller value (e.g. less than 0x10), 
otherwise X86 I/O APIC may not work properly.
Jiuyue Ma


Date: Thu, 12 Jun 2014 08:00:34 -0700
To: veyda...@gmail.com; gem5-users@gem5.org
Subject: Re: [gem5-users] how to enable Ethernet device for x86 full system
From: gem5-users@gem5.org

I encountered the same issue.  I think this should be a supported feature.
-Pete


On Thu, Jun 12, 2014 at 6:55 AM, Veydan Wu via gem5-users <gem5-users@gem5.org> 
wrote:

HI, All,

I want to enable an Ethernet device to x86 full system simulation. After 
searching the mail archive, I followed the ARM way, added the device in 
dev/x86/Pc.py just like Arm Realview, and added code to attachIO(). The 
config.ini file showed the device is there and connected on iobus.



But when booting the kernel (2.6.28.4) using atomic CPU, there was a ioremap 
invalid address error. And after boot, the system can't see the device 
(ifconfig eth0 shows nothing). 

Has anyone successfully made this work? I am not familiar with the x86 IO 
configuration. Any hints would be really helpful. Thanks a lot. 


-- 
Regards,

Veydan


_______________________________________________

gem5-users mailing list

gem5-users@gem5.org

http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users



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

Reply via email to