ARM: Enable Ruby functionality with ARM FS
Review Request #1191 - Created May 12, 2012 and updated
| Information | |
|---|---|
| Andrew Cebulski | |
| gem5 | |
| Reviewers | |
| Default | |
These are the changes I made to get ARM FS working with Ruby. Most notably, I had to make the memory contiguous by putting the physmem and nvmem together, otherwise Ruby would not handle them correctly. Details here on the mailing list: http://permalink.gmane.org/gmane.comp.emulators.m5.users/10440 This required shrinking physmem from 256MB to 172MB, then placing nvmem at address 172MB. Next, the boot loader has to be recreated with the Makefile under the system directory, changing the address to 0x0C000000. Hopefully, at the very least, this will help others start testing out ARM FS with Ruby.
Currently, I've tested this successfully with the SPEC CPU2006 libquantum benchmark with the Timing CPU. I'm still running tests with the ARM O3CPU. They seem to be hanging during boot at "sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms". Note that I have not tested this with Android, only Ubuntu.
Issue Summary
3
3
0
0
| Description | From | Last Updated | Status |
|---|---|---|---|
| I would prefer if we can just make amends to the existing function for classic memory system to support Ruby ... | Nilay Vaish | May 17, 2012, 11:09 p.m. | Open |
| elsif? | Nilay Vaish | May 17, 2012, 11:09 p.m. | Open |
| Why do we need these new functions? Can't we make changes to the existing ones? | Nilay Vaish | May 17, 2012, 11:09 p.m. | Open |
Posted (May 17, 2012, 11:09 p.m.)
-
configs/common/FSConfig.py (Diff revision 1) -
I would prefer if we can just make amends to the existing function for classic memory system to support Ruby as well, instead of this entire new function.
-
configs/example/ruby_fs.py (Diff revision 1) -
elsif?
-
src/dev/arm/RealView.py (Diff revision 1) -
Why do we need these new functions? Can't we make changes to the existing ones?
Posted (May 17, 2012, 11:12 p.m.)
Conceptually I would very much like to see the patch being flipped around, i.e. not ARM FS on Ruby, but how to make Ruby work with ARM FS, and preferably having a more flexible memory map. The main goal would be to run the same images/kernel on different memory systems. Would this be possible?
