Commit Graph

58 Commits

Author SHA1 Message Date
bbracker
4e1b50e50c fix parseGDBtoTrace.py to expect the CSRs that QEMU actually prints out 2022-03-27 19:05:44 -07:00
bbracker
800bc85519 refactored buildroot configuration 2022-03-27 15:13:03 -07:00
bbracker
0eeb6cc5b5 Merge branch 'main' of github.com:davidharrishmc/riscv-wally into main 2022-03-27 15:11:42 -07:00
bbracker
8d5c231a13 change devicetree to expect only 128MB of RAM 2022-03-27 15:11:36 -07:00
bbracker
6f6663cd67 fix multiple-context PLIC checkpoint generation 2022-03-25 01:02:22 +00:00
bbracker
4b376e2834 1st attempt at multiple channel PLIC 2022-03-24 17:08:10 -07:00
Ross Thompson
4ca9458534 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
099fc34c10 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
742e8d98cd fix up PLIC and UART checkpointing 2022-03-07 23:48:47 -08:00
bbracker
bfaf496473 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
097301635a change checkpoint generation to integrate GDB scripting more cleanly and save UART and PLIC state 2022-03-07 17:59:49 -08:00
bbracker
409dd48706 modify debug.sh to not rely on external GDB script 2022-03-07 11:56:04 -08:00
bbracker
4bf95714eb add debug.sh 2022-03-07 19:52:19 +00:00
bbracker
483aad2a05 update checkpointSweep in accordance to having removed trace parsing feature 2022-03-06 14:55:51 -08:00
bbracker
bea2faeda6 remove vestigial silencePipe mechanism 2022-03-06 14:54:35 -08:00
bbracker
11e9bbf3e4 needed to initialize checkpoint directory 2022-03-06 14:51:25 -08:00
bbracker
d007208aa9 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
f64b7776ed give genCheckpoint the same de-sudo'ing treatement 2022-03-06 14:37:12 -08:00
bbracker
7182ec228f better to use $tvDir variable rather than abs path 2022-03-06 14:33:53 -08:00
bbracker
8f2e67984f replace sudo's with suggestions in genRecording.sh 2022-03-06 14:31:55 -08:00
bbracker
e57b5208dc replace sudo's in genTrace.sh with suggested commands 2022-03-06 14:24:50 -08:00
bbracker
91f327e109 small bugfix to suggested sudo commands for linux testvectors 2022-03-06 14:16:23 -08:00
bbracker
742b9d884d 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
e3f735cc1a recommend sudo commands without automatically executing them in genInitMem.sh 2022-03-06 13:30:19 -08:00
bbracker
efee8d3a22 change from clang to gcc when compiling testvector-generation executables 2022-03-06 13:18:53 -08:00
bbracker
1fc7856c36 add extractFunctionRadix step to buildroot Makefile 2022-03-05 19:02:07 -08:00
bbracker
4eb46785fc change genInitMem.sh to check for sufficient directory privileges rather than invoke sudo 2022-03-05 18:04:00 -08:00
bbracker
1bb73dad7d 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
eaa0fa8e3f 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
3eb229cda5 copy over truncated trace into checkpoint if not freshly generating a trace 2022-03-01 03:38:48 +00:00
bbracker
da4d7de2bd add option to not generate a trace when making checkpoints 2022-03-01 03:13:01 +00:00
bbracker
00ae804b6c script for dumping out QEMU ram and bootrom state at ground 0 2022-03-01 01:45:09 +00:00
bbracker
eb26bf69ca typo fix to checkpoint generator 2022-03-01 00:51:54 +00:00
bbracker
7af81d93ec greatly improve trace-generating checkpoint process with QEMU hack 2022-02-28 23:00:00 +00:00
bbracker
3f5ae216b5 change pipe silencer to redirect to stderr so that we can see if QEMU is at least still alive 2022-02-28 22:55:23 +00:00
bbracker
2ef97b9841 Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main 2022-02-25 23:51:48 +00:00
bbracker
8518fd44a5 revived checkpointing and hacked it up to generate a trace starting at the checkpoint 2022-02-25 23:51:40 +00:00
bbracker
8eb7ab0dca parser rename 2022-02-25 20:05:10 +00:00
kaveh Pezeshki
4e20df64e2 Updated busybox disassembly 2022-02-24 04:49:04 +00:00
kaveh Pezeshki
09a1519dce removed verbose cpio and excluded /dev/console 2022-02-24 00:08:10 +00:00
David Harris
5d7d40a4c7 Linux disassembly makefile 2022-02-24 00:05:23 +00:00
bbracker
ac114e1c6d Merge branch 'main' of https://github.com/davidharrishmc/riscv-wally into main 2022-02-22 04:27:50 +00:00
bbracker
356993df7c new trace generation method 2022-02-21 20:30:39 +00:00
kaveh Pezeshki
c4ad200ea7 added Makefile for automated disassembly generation 2022-02-20 09:08:38 +00:00
bbracker
fd4556393b rename dump-dts debug script 2022-02-10 00:10:09 +00:00
bbracker
7b52ff9fcf continue to rename devicetree to wally-virt 2022-02-10 00:08:28 +00:00
bbracker
3ebf6d7418 rename devicetree to wally-virt 2022-02-10 00:07:29 +00:00
bbracker
e9273c10ac minor interrupt syntax fix 2022-02-09 02:56:39 +00:00
bbracker
5669b9d1ca add tracegen support for interrupt parsing 2022-02-09 02:29:47 +00:00
bbracker
7ea9b10309 update buildroot main.config to reflect most recent image build 2022-02-08 11:47:26 +00:00