Skip to content

The basic example doesn't work for UEFI #562

@chrisdsloan

Description

@chrisdsloan

I cloned the repo, cd'ed into examples/basic and tried cargo run bios. That run and exited in about 3 seconds.
Next, I tried cargo run uefi and it sat there spinning on the CPU for 6 minutes before I killed it.

So, QEMU works on my box, but examples/basic doesn't seem to work with uefi out of the box for me.

I got no output on the console (ie. the serial port) during the run. Judging on the bios run, it seems like the bootloader should probably be printing stuff, so I don't know if that helps narrow down what could be blocked spinning.

I'm not sure what other information to include. Let me know what would help.

$ time cargo r uefi
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.05s
     Running `target/debug/basic uefi`
QEMU: Terminated

real	6m24.164s
user	6m22.835s
sys	0m0.384s
$ 

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