For now, unconditionally lock the GDB stub ROM as soon as possible. --- software/bios/main.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/software/bios/main.c b/software/bios/main.c index d476831..2182114 100644 --- a/software/bios/main.c +++ b/software/bios/main.c @@ -613,6 +613,9 @@ int main(int i, char **c) { char buffer[64]; + /* lock gdbstub ROM */ + CSR_DBG_WRITE_LOCK = 1; + CSR_GPIO_OUT = GPIO_LED1; rescue = !((unsigned int)main > FLASH_OFFSET_REGULAR_BIOS); -- 1.7.2.5 _______________________________________________ http://lists.milkymist.org/listinfo.cgi/devel-milkymist.org IRC: #milkymist@Freenode