Hi,
I mean how to mount the second image when android is running, I initially found that the result of "fdisk -l" didn't show the existence of /dev/sdb. So I cannot mount the /dev/sdb. However, I finally find that there is an entry indicating the second image in /dev/block/sdb. Thanks. Best regards, Yongbing Huang From: gem5-users-boun...@gem5.org [mailto:gem5-users-boun...@gem5.org] On Behalf Of Ali Saidi Sent: Saturday, April 27, 2013 10:21 PM To: gem5 users mailing list Subject: Re: [gem5-users] how to mount images in Android on ARM platform Do you mean when android is running? Because the code below looks like it will attach both to the simulator. Ali On Apr 16, 2013, at 12:33 AM, huangyongbing <huangyongb...@ncic.ac.cn> wrote: Hi all, I create two images for ARM platform using the following codes. But I don't know how to mount the second image into the Android system. Anyone can help? Thanks. self.cf0 = CowIdeDisk(driveID='master') self.cf2 = CowIdeDisk(driveID='master') self.cf0.childImage(mdesc.disk()) self.cf2.childImage(disk("second.img")) try: self.realview.ide.disks = [self.cf0, self.cf2] except: self.realview.cf_ctrl.disks = [self.cf0, self.cf2] Best regards, Yongbing Huang _______________________________________________ gem5-users mailing list <mailto:gem5-users@gem5.org> gem5-users@gem5.org <http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users> 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