openpowerbot | [mattermost] <lkcl> just a quick progress update, i'm up to 30 million instructions into the linux 5.7 kernel boot so far: "[ 0.017180] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)" | 12:51 |
---|---|---|
openpowerbot | [mattermost] <lkcl> the O(N^2) time delay (8 hours to get to 30 million instructions) is starting to bite hard, so i'll be adding "snapshotting" to microwatt-verilator | 12:52 |
openpowerbot | [mattermost] <lkcl> this is part of verilator c++ API so is pretty easy https://verilator.org/guide/latest/simulating.html#save-restore | 12:54 |
openpowerbot | [mattermost] <lkcl> the only additional piece of state needed is the simulated-memory and that's just a straight file-save | 12:55 |
openpowerbot | [mattermost] <lkcl> ok that's done. works great. | 15:21 |
openpowerbot | [mattermost] <lkcl> https://git.libre-soc.org/?p=microwatt.git;a=tree;h=refs/heads/verilator_trace;hb=refs/heads/verilator_trace | 15:21 |
openpowerbot | [mattermost] <lkcl> i had to also save/restore the state of uart-verilator.c because otherwise on restore the UART gets out-of-sync and starts reporting "ERROR STOP_BITS" etc. | 15:22 |
openpowerbot | [mattermost] <lkcl> that should be perfectly well useable for any core, now. microwatt, libre-soc, A2O [if it is ever fronted by a wishbone interface] | 15:23 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!