From b8e856a15afaa1edd5f6925dfb3c5c4d9de9ca74 Mon Sep 17 00:00:00 2001 From: bunnie Date: Mon, 20 Oct 2025 23:40:50 +0800 Subject: [PATCH] loose ends - api caller-side fixups and lockfile changes --- Cargo.lock | 4 +++- baremetal/src/repl.rs | 12 ++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index c0ee24149..1041858fd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -433,12 +433,14 @@ dependencies = [ "digest 0.10.7", "ed25519-dalek-bao1x", "linked_list_allocator", + "rand_chacha 0.3.1", "riscv", - "sha2", + "sha2-bao1x", "simple-fatfs", "utralib 0.1.26", "ux-api", "xous 0.9.67 (registry+https://github.com/rust-lang/crates.io-index)", + "xous-bio-bdma", "xous-riscv", ] diff --git a/baremetal/src/repl.rs b/baremetal/src/repl.rs index 68732a715..870db1837 100644 --- a/baremetal/src/repl.rs +++ b/baremetal/src/repl.rs @@ -1013,11 +1013,19 @@ impl Repl { let slot_man = bao1x_hal::protected_rram::SlotManager::new(); crate::println!( "Slot 0(d): {:x?}", - slot_man.read(&bao1x_api::offsets::SlotIndex::Data(0, PartitionAccess::All)) + slot_man.read(&bao1x_api::offsets::SlotIndex::Data( + 0, + PartitionAccess::Unspecified, + RwPerms::Unspecified + )) ); crate::println!( "Slot 1(d): {:x?}", - slot_man.read(&bao1x_api::offsets::SlotIndex::Data(1, PartitionAccess::All)) + slot_man.read(&bao1x_api::offsets::SlotIndex::Data( + 1, + PartitionAccess::Unspecified, + RwPerms::Unspecified + )) ); } "echo" => {