From 5a0e3e55cab1d6f3462c77e852f16365c79f2c98 Mon Sep 17 00:00:00 2001 From: "Wesley W. Terpstra" Date: Tue, 20 Mar 2018 12:54:40 -0700 Subject: minit: insert printm as work-around for a race condition Reboot does not work reliably without this. --- machine/minit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/machine/minit.c b/machine/minit.c index 47433d1..cd909f3 100644 --- a/machine/minit.c +++ b/machine/minit.c @@ -143,6 +143,7 @@ void init_first_hart(uintptr_t hartid, uintptr_t dtb) query_uart(dtb); query_uart16550(dtb); query_htif(dtb); + printm("bbl loader\r\n"); hart_init(); hls_init(0); // this might get called again from parse_config_string -- cgit v1.1