From: Luke Kenneth Casson Leighton Date: Sun, 2 Jan 2022 16:13:13 +0000 (+0000) Subject: add startup debug print indicating file loaded, size and offset X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e032574c393118c8b81bffac228a5578b6692b6;p=microwatt.git add startup debug print indicating file loaded, size and offset --- diff --git a/verilator/microwatt-verilator.cpp b/verilator/microwatt-verilator.cpp index 050d2a6..07320e9 100644 --- a/verilator/microwatt-verilator.cpp +++ b/verilator/microwatt-verilator.cpp @@ -136,6 +136,8 @@ int main(int argc, char **argv) if (i == 2) { offs = 0x500000; // hard-coded offset of the linux binary } + printf("loading %s at 0x%x size 0x%x\n", bram_file, offs, + statbuf.st_size); memcpy(mem+offs, fmem, statbuf.st_size); munmap(fmem, statbuf.st_size); }