oxidecomputer / oxidecomputer/hubris
Hubris panics if DICE is disabled
Open
@flihp is already working on this.
Since Aug 1, 2023.
- Dominant language
- Rust
- Stars
- 3.6k
- Forks
- 239
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 23
Description
I generated a CMPA configuration without DICE enabled and found that it wouldn't boot on my xpressoboard:
#0 kern::fail::die_impl (msg=...) at sys/kern/src/fail.rs:67
#1 0x000127fc in kern::fail::die<&core::panic::panic_info::PanicInfo> (
msg=0x20002594) at sys/kern/src/fail.rs:58
#2 kern::fail::panic (info=<optimized out>) at sys/kern/src/fail.rs:93
#3 0x000102bc in core::panicking::panic_fmt ()
at library/core/src/panicking.rs:65
#4 0x00016e1c in lpc55_rot_startup::dice::run (handoff=<optimized out>,
peripherals=<optimized out>) at lib/lpc55-puf/src/lib.rs:98
#5 0x00015bc6 in lpc55_rot_startup::startup (
core_peripherals=<optimized out>, peripherals=<optimized out>)
at lib/lpc55-rot-startup/src/lib.rs:103
#6 0x00010216 in lpc55xpresso::__cortex_m_rt_main ()
at app/lpc55xpresso/src/main.rs:19
#7 0x000101ac in lpc55xpresso::__cortex_m_rt_main_trampoline ()
at app/lpc55xpresso/src/main.rs:12
#8 0x0001150c in cortex_m_rt::Reset::trampoline () at src/lib.rs:547
#9 0x0001019e in cortex_m_rt::Reset () at src/lib.rs:550
#10 0x00000000 in ?? ()
This is a configuration we don't actually care about but failing more gracefully would be nice
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.