These days, I'm trying to run rust4linux in qemu-system-aarch64 to figure out how rust drivers work. I choose bcm_2835_rng_rust as it is simpler than the GPIO rust driver. However, I'm unable to reach any codes of it at runtime. BCM2835 emulation configuration guide in qemu is quite hard to find.
I know that rust_random.rs has made a software rng sample. But what I really care about is the implementation of rust codes interacting with real devices. Could you tell me how can I achieve this goal? I also think this might be an important part in the future documentation.
Thank you.