You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Rust drivers use the same interfaces to userspace as the C ones. Please see #254 for more code and a very nice guide on how to run it in QEMU or in real hardware that @TheSven73 wrote.
(Also, for general questions, please ask in Zulip).
These days, I'm trying to run rust4linux in
qemu-system-aarch64
to figure out how rust drivers work. I choosebcm_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.
The text was updated successfully, but these errors were encountered: