add second pll check in loader

This commit is contained in:
bunnie 2025-12-04 16:14:59 +08:00
parent 9566c1615a
commit 3293578d3e

View file

@ -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();