Bare metal QEMU

I’m trying to figure out how to get a Cyclone V HPS bare metal application working in QEMU.
Ideally, I’d like to be able to run/debug the preloader and beyond.

I spent some time searching, but couldn’t find any resources on how to get started. Thanks!