From d67781ff1469e7f5550f5f0f620a2c67888fb37e Mon Sep 17 00:00:00 2001 From: Markus Koch Date: Wed, 29 Nov 2023 21:11:35 +0100 Subject: [PATCH] Update Tiny RISCV SoC for RFU --- Tiny-RISCV-SoC-for-RFU.md | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/Tiny-RISCV-SoC-for-RFU.md b/Tiny-RISCV-SoC-for-RFU.md index cf7c341..bd9ec56 100644 --- a/Tiny-RISCV-SoC-for-RFU.md +++ b/Tiny-RISCV-SoC-for-RFU.md @@ -6,29 +6,6 @@ Then run zephyr OS on it. ttps://github.com/olofk/serv has the instructions on t ZephyrOS seems to also include some RSA implementations, so that's useful. -## BUG BUG BUG -Arrrrgh this cost me hours. There's a bug in the default driver. It doesn't match the default SoC: - -``` -diff --git a/zephyr/soc/riscv/servant/soc.h b/zephyr/soc/riscv/servant/soc.h -index 0780bb5..0b1e97c 100644 ---- a/zephyr/soc/riscv/servant/soc.h -+++ b/zephyr/soc/riscv/servant/soc.h -@@ -12,9 +12,11 @@ - - /* Bitbang UART configuration */ - #define UART_BITBANG_BASE 0x40000000 -+//#define UART_BITBANG_BASE 0x80000000 - - /* Timer configuration */ --#define SERV_TIMER_BASE 0x80000000 -+#define SERV_TIMER_BASE 0x40000000 -+//#define SERV_TIMER_BASE 0x80000000 - #define SERV_TIMER_IRQ 7 - - /* lib-c hooks required RAM defined variables */ -``` - ## Commands * Build SERVANT for CMOD A7: `fusesoc run --tool=vivado --target=cmod_a7_35t servant`