-
Notifications
You must be signed in to change notification settings - Fork 9
gem5.bare-metal for armv8 #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Actually I don't get your question yet, can you please elaborate more in detail? |
Sorry for not describing my questions clearly. I want to run an armv8 version application in gem5 bare metal mode. would you please tell the modifications I have to make on current project to implement it? which compiler do I have to use and what are the flags? Should I modify the boot.S and other files? |
I think the important thing is that you run gem5 with this option: --machine-type=VExpress_EMM64 in order to get the v8 architecture. For sure, some other changes are necessary, maybe have look here: https://github.com/freedomtan/aarch64-bare-metal-qemu If you have a final solution, please share it with a pull request! |
Thanks very much. I have make some modifying based your repositories. But having mistakes also. I have described in my repository README.md. Please have a look, I don't understand the compile options. Thx! https://github.com/kjnprince/gem5.bare-metal-armv8/blob/master/README.md |
I wanted to check if anyone got this work. Thanks |
I had no time to do this so far :( |
@myzinsky @kjnprince hi, I've described a detailed setup that works on aarch64 at: https://stackoverflow.com/questions/43682311/uart-communication-in-gem5-with-arm-bare-metal/50983650#50983650 It is recommended that you use |
@cirosantilli2 could you create a proper example and open a pull request? I would highly appreciate! |
@myzinsky as mentioned on the Stack Overflow answer, there is a working setup on this repo You can extract it from there with |
Excuse me. I want to run a binary compiled with armv8 compiler in gem5 with fs bare-metal model. I find your project and want to modified for my purpose. I want to know I should change the compiler arm-none-eabi to what? And I should modified what else ? Hope your advises, thx.
The text was updated successfully, but these errors were encountered: