Commit 9a48837
python3-improv: report secure_boot from U-Boot sec_boot flag (imx93-jaguar-eink)
sec.secure_boot previously always returned "unknown". This kernel exposes
no userspace ELE lifecycle path (no /dev/ele_mu, no lifecycle nvmem cell;
the ELE "get info" lifecycle sits behind OP-TEE/secure world), so the
authoritative OEM_OPEN/OEM_CLOSED value still needs a dedicated OP-TEE TA
(tracked follow-up, roadmap P0-1/P2-1).
As the best available userspace signal, read U-Boot's `sec_boot` env flag
(via fw_printenv), which the NXP boot script uses to gate authenticated
boot (auth_os): yes => "closed", no => "open", else "unknown". This
reflects the bootloader configuration, not an ELE-attested lifecycle, and
remains self-reported/untrusted until attestation (P2-1). A fuse/OCOTP
byte heuristic is deliberately avoided (the ELE-OCOTP shadow has non-zero
UID/config words). Verified on eink-0167: fw_printenv -n sec_boot => "no"
=> secure_boot "open".
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent e6202ac commit 9a48837
1 file changed
Lines changed: 39 additions & 11 deletions
Lines changed: 39 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
398 | 406 | | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
399 | 427 | | |
400 | 428 | | |
401 | 429 | | |
| |||
0 commit comments