On the gem5 mailing list are often quesitons regarding bare metal usage with full system simulation. 

This git repository shows a simple example for an ARM Bare-Metal implementation with gem5. It can be used as a starting point for bare metal projects with this simulator. 

I hope that this code helps people starting with bare metal.

Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information Ok