Commit Graph

75 Commits

Author SHA1 Message Date
David Harris
5c607f2b6b Simplified profile for UART boot; added warnings on UART Rx errors 2022-04-21 04:54:45 +00:00
bbracker
3aec080e15 parsePlicState.py bugfix 2022-04-13 13:04:43 -07:00
bbracker
52ed99ca1b improve testbench-linux.sv to correctly load in PLIC IntEnable checkpoint and to handle edge case where interrupt is caused by enabling interrupts in SSTATUS 2022-04-13 03:37:53 -07:00
bbracker
6c56f52e7c fix bugs in PLIC checkpoint state parsing 2022-04-13 01:59:21 -07:00
bbracker
777de6e05b whoops fix address for PLIC int enables in checkpoint generation 2022-04-13 01:36:09 -07:00
bbracker
3c1deb551d deprecate remove_dup.awk in favor of expanding parseGDBtoTrace.py to internally remove duplicates; this way the instruction counts in traps.txt are hopefully now in sync with the line numbers of all.txt 2022-04-07 19:43:22 -07:00
bbracker
1e5e2704f7 Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main 2022-04-07 08:37:44 -07:00
bbracker
95438fca0d fix parseQEMUtoGDB.py to pass on interrupt messages correctly 2022-04-07 04:47:15 -07:00
kaveh Pezeshki
7b85b39c48 using -S for busybox objdump to provide source code snippets 2022-04-06 23:06:49 +00:00
bbracker
241ec053e8 Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main 2022-04-06 07:50:57 -07:00
bbracker
c9c75d2e3e filter traps list down to just interrupts 2022-04-06 07:49:44 -07:00
bbracker
241100c6ac change RAM size in genInitMem.sh 2022-04-06 07:49:04 -07:00
David Harris
c22d6f2848 Added bootmem source ccode 2022-04-05 23:22:53 +00:00
David Harris
4f7c37e406 Changed Linux disassembly to -S to preserve source code lines 2022-04-01 16:49:13 +00:00
bbracker
6fc54435c5 checkpointSweep is bash-specific, so add shebang to make it so 2022-03-28 13:40:50 -07:00
bbracker
2900117341 fix genCheckpoint.sh binary memory dump 2022-03-27 20:54:59 -07:00
bbracker
6b812f33e1 change genCheckpoint.sh to only log 128MB of RAM 2022-03-27 19:16:39 -07:00
bbracker
284f1ab75e fix parseGDBtoTrace.py to expect the CSRs that QEMU actually prints out 2022-03-27 19:05:44 -07:00
bbracker
d1e4b61aa3 refactored buildroot configuration 2022-03-27 15:13:03 -07:00
bbracker
6b2474a306 Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main 2022-03-27 15:11:42 -07:00
bbracker
3dcb87473b change devicetree to expect only 128MB of RAM 2022-03-27 15:11:36 -07:00
bbracker
b08066381a fix multiple-context PLIC checkpoint generation 2022-03-25 01:02:22 +00:00
bbracker
9f60256f22 1st attempt at multiple channel PLIC 2022-03-24 17:08:10 -07:00
Ross Thompson
7fc128ba7c added SIP, SIE, and SSTATUS to checkpoints. Can't seem to get the linux testbench to force SIP. 2022-03-22 21:28:34 -05:00
bbracker
e3303331ef change genTrace to dump UART output to file so we can see how far parsing got 2022-03-08 09:52:17 -08:00
bbracker
51e68819c4 fix up PLIC and UART checkpointing 2022-03-07 23:48:47 -08:00
bbracker
9dbcdca433 change UART state saving to temporarily modify LCR so that DLAB=0 when reading addresses 0 and 1 so that we get RBR and IER instead of divisor latch registers 2022-03-07 22:12:08 -08:00
bbracker
52bfd65fd3 change checkpoint generation to integrate GDB scripting more cleanly and save UART and PLIC state 2022-03-07 17:59:49 -08:00
bbracker
a93f36824d modify debug.sh to not rely on external GDB script 2022-03-07 11:56:04 -08:00
bbracker
74ff583f9b add debug.sh 2022-03-07 19:52:19 +00:00
bbracker
01eeab2131 update checkpointSweep in accordance to having removed trace parsing feature 2022-03-06 14:55:51 -08:00
bbracker
c432e2175e remove vestigial silencePipe mechanism 2022-03-06 14:54:35 -08:00
bbracker
ca6bb7c2d2 needed to initialize checkpoint directory 2022-03-06 14:51:25 -08:00
bbracker
6b1b471ca6 no longer use cythonization on python parser scripts because its a little complicated and has marginal benefit 2022-03-06 14:40:26 -08:00
bbracker
2e6fa01b9b give genCheckpoint the same de-sudo'ing treatement 2022-03-06 14:37:12 -08:00
bbracker
675e112950 better to use $tvDir variable rather than abs path 2022-03-06 14:33:53 -08:00
bbracker
8720604bfc replace sudo's with suggestions in genRecording.sh 2022-03-06 14:31:55 -08:00
bbracker
3e4ce15ea4 replace sudo's in genTrace.sh with suggested commands 2022-03-06 14:24:50 -08:00
bbracker
3e1f4decf1 small bugfix to suggested sudo commands for linux testvectors 2022-03-06 14:16:23 -08:00
bbracker
228f693f13 remove checkpoint trace generation since that requires qemu hacking and because we are able to generate the whole trace on VLSI 2022-03-06 14:04:30 -08:00
bbracker
f86e76a4b1 recommend sudo commands without automatically executing them in genInitMem.sh 2022-03-06 13:30:19 -08:00
bbracker
a0d0742227 change from clang to gcc when compiling testvector-generation executables 2022-03-06 13:18:53 -08:00
bbracker
94124cb108 add extractFunctionRadix step to buildroot Makefile 2022-03-05 19:02:07 -08:00
bbracker
9f7a434b20 change genInitMem.sh to check for sufficient directory privileges rather than invoke sudo 2022-03-05 18:04:00 -08:00
bbracker
e994f70dab change main.config so that buildroot expects linux.config and busybox.config to be at $RISCV/buildroot 2022-03-02 17:46:33 +00:00
bbracker
29086ea393 checkpoint sweep script -- not sure if this deserves to be on the repo in the long run, but it is helpful 2022-03-01 03:48:31 +00:00
bbracker
dd4882ab27 copy over truncated trace into checkpoint if not freshly generating a trace 2022-03-01 03:38:48 +00:00
bbracker
5c11ff2a72 add option to not generate a trace when making checkpoints 2022-03-01 03:13:01 +00:00
bbracker
34d44772d5 script for dumping out QEMU ram and bootrom state at ground 0 2022-03-01 01:45:09 +00:00
bbracker
ba5abd1297 typo fix to checkpoint generator 2022-03-01 00:51:54 +00:00