Thank you very much for the useful pointers regarding the bare-metal arm applications in gem5. I am able to run my application on gem5 now. Thanks again!
On Sun, Jun 12, 2016 at 11:00 AM, <[email protected]> wrote: > Send gem5-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of gem5-users digest..." > > > Today's Topics: > > 1. Cortex-A9 full processor simulation on gem5 (Balasaheb Dabhade) > 2. Re: Problem running bare-metal ARM in full-system mode > (Matthias Jung) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 12 Jun 2016 01:51:25 +0530 > From: Balasaheb Dabhade <[email protected]> > To: gem5 users mailing list <[email protected]> > Subject: [gem5-users] Cortex-A9 full processor simulation on gem5 > Message-ID: > < > canphr8yz0fmzdrgv-fjkddczcbtaf7jbx5zvjmdhnwnsx4k...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi All, > > I wanted to simulate program execution on Cortex-A9 arm processor using > gem5. > > To start with. I have build the gem5 using following command and able to > run sample program helloword > > > *#scons build/ARM/gem5.opt -j2* > also executed the my own arm executable for sample code and got stats > #build/ARM/gem5.opt configs/example/se.py -c > > *executableforarm* > However, I am not sure whether my approach is correct or may be missing > some configuration part as well. > > So Is their any configuration changes and other thing are required for > simulation program execution on gem5 for Cortex-A9 arm processor? > > Thanks in advance !! > > Thanks, > Bala > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20160612/9cb9b993/attachment-0001.html > > > > ------------------------------ > > Message: 2 > Date: Sun, 12 Jun 2016 16:24:00 +0200 > From: Matthias Jung <[email protected]> > To: gem5 users mailing list <[email protected]> > Subject: Re: [gem5-users] Problem running bare-metal ARM in > full-system mode > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > Hello, > > please have a look at: > > https://github.com/tukl-msd/gem5.bare-metal > > Regards > Matthias > > -- > > Dipl.-Ing. Matthias Jung > > Member > Advanced Silicon Technologies & Design Methodologies > > > University of Kaiserslautern > Microelectronic Systems Design Research Group > Erwin-Schrödinger-Straße 12/228 > 67663 Kaiserslautern, Germany > > Phone: +49 631 205 3579 > Fax: +49 631 205 4437 > [email protected] > http://ems.eit.uni-kl.de > > > Am 10.06.2016 um 18:26 schrieb Rodrigo Cataldo <[email protected] > >: > > > > Hello. > > Gem5 needs a disk image by default when FS mode is employed. > > > > if you just want to execute code directly from memory, you can either > point to this disk image just to make gem5 happy or change this behavior.. > > also, you can specify where gem5 searches for disk/kernel using the > M5_PATH env. variable. > > > > On Tue, Jun 7, 2016 at 3:34 PM, Kross X <[email protected]> > wrote: > > Hi, > > I am trying to run the pre-built hello-world executable for ARM on > gem5 in full-system mode with the bare-metal option. However, I get this > error message : "Can't find a path to system files." > > I have tried setting --dtb-file option to None to work-around this but > it didn't help. Here is the detail of steps that I am following: > > > > Gem5 Build: > > scons CPU_MODELS="AtomicSimpleCPU,O3CPU,TimingSimpleCPU" > build/ARM/gem5.opt -j13 > > Bare-Metal Execution: > > ./build/ARM/gem5.opt configs/example/fs.py --bare-metal > --kernel=tests/test-progs/hello/bin/arm/linux/hello > > And I get the following error message: > > > > Traceback (most recent call last): > > File "<string>", line 1, in <module> > > File "/home/wali/m5/gem5-stable/src/python/m5/main.py", line 388, in > main > > exec filecode in scope > > File "configs/example/fs.py", line 327, in <module> > > test_sys = build_test_system(np) > > File "configs/example/fs.py", line 102, in build_test_system > > external_memory=options.external_memory_system) > > File "/home/wali/m5/gem5-stable/configs/common/FSConfig.py", line 249, > in makeArmSystem > > self.cf0.childImage(mdesc.disk()) > > File "/home/wali/m5/gem5-stable/configs/common/Benchmarks.py", line > 62, in disk > > return env.get('LINUX_IMAGE', disk('linux-aarch32-ael.img')) > > File "/home/wali/m5/gem5-stable/configs/common/SysPaths.py", line 44, > in disk > > system() > > File "/home/wali/m5/gem5-stable/configs/common/SysPaths.py", line 69, > in system > > raise IOError, "Can't find a path to system files." > > IOError: Can't find a path to system files. > > > > It seems that Gem5 is looking for disk-image file to boot the > application. Is there a way to circumvent this problem? > > I basically want to execute a bare-metal ARM application on Gem5 in > full-system mode. > > > > I'll be grateful for any help! > > > > Thanks! > > > > _______________________________________________ > > gem5-users mailing list > > [email protected] > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > > _______________________________________________ > > gem5-users mailing list > > [email protected] > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: smime.p7s > Type: application/pkcs7-signature > Size: 4955 bytes > Desc: not available > URL: < > http://m5sim.org/cgi-bin/mailman/private/gem5-users/attachments/20160612/90fce4fa/attachment-0001.bin > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > ------------------------------ > > End of gem5-users Digest, Vol 119, Issue 12 > ******************************************* >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
