All,
I am using the x86root.img to run gem5 x86 FS mode.
I want to add a data disk say (test.img).
I added following lines to FSConfig.py
disk4 = CowIdeDisk(driveID='slave')
disk4.childImage(disk('test.img'))
self.pc.south_bridge.ide.disks = [disk0, disk4]
Is this the correct way to add disk in FS simulation? If so, how do I
access data from that disk. I tried using both master and slave option for
driveID, but couldn't see this disk in the simulated system (I used 'df')
command
My test.img was created using command dd and then formatted ext3 using mkfs
command.
I am aware of gem5img.py command, but for some reason after the file was
created with this script I couldn't add files to the disk.
If this is not the correct way to add disk image in FS simulation, could
any one share the correct steps.
Regards,
Aditya
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users