From 0d934e1078955c46abc7d6f9f6eb44956f12751a Mon Sep 17 00:00:00 2001 From: bunnie Date: Wed, 11 Feb 2026 14:10:48 +0800 Subject: [PATCH 1/2] alphabetize the help message in boot1 --- bao1x-boot/boot1/src/repl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bao1x-boot/boot1/src/repl.rs b/bao1x-boot/boot1/src/repl.rs index 2465857a6..a88582db6 100644 --- a/bao1x-boot/boot1/src/repl.rs +++ b/bao1x-boot/boot1/src/repl.rs @@ -640,7 +640,7 @@ impl Repl { _ => { crate::println!("Command not recognized: {}", cmd); crate::print!( - "Commands include: reset, echo, altboot, boot, bootwait, idmode, localecho, uf2, boardtype, audit, lockdown, paranoid, self_destruct, ifr, skipping" + "Commands include: altboot, audit, boot, boardtype, bootwait, echo, idmode, ifr, localecho, lockdown, paranoid, reset, self_destruct, skipping, uf2" ); #[cfg(feature = "test-boot0-keys")] crate::print!(", publock"); From 54894e852bd151c87b1c08c92a73d71af54152a2 Mon Sep 17 00:00:00 2001 From: bunnie Date: Thu, 12 Feb 2026 02:32:45 +0800 Subject: [PATCH 2/2] suppress a debug message this will help improve boot time by some milliseconds --- bao1x-boot/boot1/src/platform/bao1x/slots.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bao1x-boot/boot1/src/platform/bao1x/slots.rs b/bao1x-boot/boot1/src/platform/bao1x/slots.rs index 4e39c6b25..bec98b8f5 100644 --- a/bao1x-boot/boot1/src/platform/bao1x/slots.rs +++ b/bao1x-boot/boot1/src/platform/bao1x/slots.rs @@ -80,8 +80,9 @@ pub fn check_slots() { #[cfg(feature = "print-ifr")] print_ifr(); - + #[cfg(feature = "print-ifr")] print_slots(&slot_mgr, &bao1x_hal::board::DATA_SLOTS); + check_and_fix_acls(&mut rram, &mut slot_mgr, &bao1x_hal::board::DATA_SLOTS); // only check & fix key ACLs if we haven't been into developer mode. This is necessary to avoid