From 21944ff865fb2b27531c21e29bc044d7ebc7009a Mon Sep 17 00:00:00 2001 From: occheung Date: Wed, 2 Oct 2024 11:22:46 +0800 Subject: [PATCH] coremgmt flash: update crc mismatch message --- artiq/firmware/runtime/mgmt.rs | 2 +- artiq/firmware/satman/mgmt.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/firmware/runtime/mgmt.rs b/artiq/firmware/runtime/mgmt.rs index 5527edb3b..c411519df 100644 --- a/artiq/firmware/runtime/mgmt.rs +++ b/artiq/firmware/runtime/mgmt.rs @@ -181,7 +181,7 @@ mod local_coremgmt { reboot(_io, stream)?; } else { - error!("CRC failed in SDRAM (actual {:08x}, expected {:08x})", actual_crc, expected_crc); + error!("CRC failed, images have not been written to flash.\n(actual {:08x}, expected {:08x})", actual_crc, expected_crc); Reply::Error.write_to(stream)?; } Ok(()) diff --git a/artiq/firmware/satman/mgmt.rs b/artiq/firmware/satman/mgmt.rs index 9ad6f203a..338b1c26f 100644 --- a/artiq/firmware/satman/mgmt.rs +++ b/artiq/firmware/satman/mgmt.rs @@ -139,7 +139,7 @@ impl Manager { } } else { - panic!("CRC failed in SDRAM (actual {:08x}, expected {:08x})", actual_crc, expected_crc); + panic!("CRC failed, images have not been written to flash.\n(actual {:08x}, expected {:08x})", actual_crc, expected_crc); } } }