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.

quickq官网下载quickq下载quickq vpn官网下载quickq vpn下载