From ffebd2076c6de67000fa90168a24e1bca6ba5ff8 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 26 Aug 2019 17:15:01 +0200 Subject: [PATCH] bios/tools: allow disabling CRC check on serialboot (to speedup debug/loading large images when only serial is available) --- litex/soc/software/bios/boot.c | 32 ++++++++++++++++++-------------- litex/soc/software/bios/sfl.h | 1 + litex/tools/litex_term.py | 34 ++++++++++++++++++++-------------- 3 files changed, 39 insertions(+), 28 deletions(-) diff --git a/litex/soc/software/bios/boot.c b/litex/soc/software/bios/boot.c index 2801202a..41e179f4 100644 --- a/litex/soc/software/bios/boot.c +++ b/litex/soc/software/bios/boot.c @@ -122,7 +122,7 @@ int serialboot(void) int actualcrc; int goodcrc; - /* Grab one frame */ + /* Get one Frame */ frame.length = uart_read(); frame.crc[0] = uart_read(); frame.crc[1] = uart_read(); @@ -130,26 +130,29 @@ int serialboot(void) for(i=0;i