From 3293578d3e6fe7fd04c4863ed0a94887d2e51484 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 4 Dec 2025 16:14:59 +0800 Subject: [PATCH] add second pll check in loader --- loader/src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/loader/src/main.rs b/loader/src/main.rs index 11b08dff5..84050367f 100644 --- a/loader/src/main.rs +++ b/loader/src/main.rs @@ -374,6 +374,8 @@ pub unsafe extern "C" fn rust_entry(signed_buffer: *const usize, signature: u32) #[cfg(feature = "bao1x")] { + csprng.random_delay(); + bao1x_hal::hardening::check_pll(); // Follow up the mesh check in loader - it takes 100ms or so for the mesh to settle, we can't afford // to wait that long in boot1. let one_way = bao1x_hal::acram::OneWayCounter::new();