Skip to content

I'm unable to reach any codes in bcm_2835_rng_rust.rs at runtime. #704

Closed
@SocialistDalao

Description

@SocialistDalao

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions