Commit Graph

250 Commits

Author SHA1 Message Date
Jacob Pease
8b85a5c34a SD card is now mountable on the fpga. The relevant files have been added. The most important changes are in the buildroot linux configuration and device tree. 2024-08-06 16:57:57 -05:00
Jordan Carlin
cd91002fe9 Update linux makefile wiht path to wally bin 2024-07-26 22:35:35 -07:00
Jordan Carlin
88c9534a2c Updates to linux testvector generation 2024-07-26 22:35:27 -07:00
Jordan Carlin
5ee81ad808 Additional linux makefile cleanup 2024-07-26 22:35:17 -07:00
Jordan Carlin
4f08cc15f5 Actually fix buildroot makefile 2024-07-26 22:34:46 -07:00
Jordan Carlin
527304ca62 Attempt to fix buildroot makefile 2024-07-25 22:26:34 -07:00
Jordan Carlin
308deba1fb Linux readme updates 2024-07-24 20:19:30 -07:00
Jordan Carlin
204fd2e9ff Update buildroot makefile to test for write access to $RISCV and remove separate sudo/no_sudo versions (just run the makefile as sudo if needed) 2024-07-24 20:19:30 -07:00
Jordan Carlin
602d126776 Build nproc linux 2024-07-24 20:19:30 -07:00
Jordan Carlin
c8519ce54f Build testvectors with buildroot 2024-07-24 20:19:30 -07:00
Jordan Carlin
790f566eaa Remove hardcoded /opt/riscv 2024-07-23 23:29:45 -07:00
Jordan Carlin
5661dc4a03 Merge branch 'main' of https://github.com/openhwgroup/cvw into installation 2024-07-18 21:36:00 -07:00
Jacob Pease
7f72fb8583 Updated riscv,isa-extensions property with the correct syntax. Added riscv,cbom-block-size. 2024-07-12 09:28:54 -05:00
Jacob Pease
1a2607c3d9 Commented out riscv,isa-extensions from Arty device tree until Linux kernel is updated. 2024-07-11 10:53:18 -05:00
Jordan Carlin
e6e070f4e4 Update python shebangs to use /usr/bin/env python3 so virtual environment can be used (also aids in general portability) 2024-07-03 20:42:55 -07:00
Rose Thompson
ab74de45ed Added fortran compiler to buildroot for spec benchmarks. 2024-04-11 13:58:13 -05:00
slmnemo
e631ae8c2d Fixed sudo permissions in Linux Makefile, added nosudo versions of sudo commands 2024-04-05 21:38:30 -07:00
slmnemo
37716f1b56 Removed redundant lines from linux Makefile; gitignore 2024-04-05 20:53:52 -07:00
slmnemo
d89a187ce8 Fixed commit where Linux Makefile always built Linux into repo instead of into shared directory. 2024-04-05 20:44:11 -07:00
slmnemo
3ee25c8936 Merged testbench changes 2024-04-05 17:20:03 -07:00
Matthew-Otto
f6689e31f9
fix typo in flash-sd.sh 2024-03-27 11:14:58 -05:00
slmnemo
fcd98232d3 Merge branch 'nightly-regression' of github.com:slmnemo/cvw into linux_local 2024-03-26 10:30:33 -07:00
slmnemo
efb68e7eeb Added dumptvs function to Linux makefile to create linux-testvectors in /opt/riscv directory 2024-03-26 10:28:50 -07:00
slmnemo
ad0cb798bc Added new buildroot in root directory to gitignore 2024-03-19 14:38:58 -07:00
slmnemo
b2dace02a6 Changed linux boot to clone into new directory linuximg. There's probably a better location for this, but this is for preliminary testing 2024-03-19 10:53:35 -07:00
Matthew Otto
e2d46e991f remove unnecessary spaces 2024-02-12 13:00:58 -06:00
Matthew Otto
b0dc2a8ff5 add support for internal sd card adapters (/dev/mmcblk) 2024-02-12 13:00:01 -06:00
David Harris
aff61ea97a Fixed Linux makefile; load branch predictor RAMs at startup for sim; fixed comment in trap; starting to make testbench more compatible with Verilator 2023-12-13 11:33:59 -08:00
Jacob Pease
f99cb03b89 Changed Linux makefile to unset LD_LIBRARY_PATH before running buildroot. This allows custom setup.sh scripts to be used per user. 2023-12-01 15:02:26 -06:00
Jacob Pease
edd4f90283 Disassemble target now called with correct environment variables, allowing for downloading, building, disassembling, and installing in one make call. 2023-12-01 13:21:33 -06:00
David Harris
1d234c05c9 disassembleBootTrace works on first 50M lines of boot 2023-11-22 22:17:01 -08:00
David Harris
c64ad9ff35 Extract rootfs during disassembly 2023-11-22 06:28:38 -08:00
David Harris
e66adcca9d Cleaned up genInitMem script to only generate necessary files and eliminate prompts 2023-11-22 05:25:09 -08:00
David Harris
d1bb5c7512 Imperas fix for satp modes supported 2023-11-21 21:52:11 -08:00
Rose Thompson
332c95aa9f Updated locations of device trees in qemu scripts. 2023-11-21 22:14:56 -06:00
Rose Thompson
8b48a92131 Fixed linux makefile to build label and addr files from object dumps. 2023-11-21 22:00:53 -06:00
David Harris
822197857a Updated buildroot scripts 2023-11-21 19:36:24 -08:00
Rose Thompson
187df044bd Fixed issue with makefile and device trees. 2023-11-21 21:20:11 -06:00
Rose Thompson
25af7d3c78 Ok the disassemble recipe should work now. 2023-11-21 20:47:57 -06:00
Rose Thompson
69126298a4 Ok this is much better. Thanks Jacob for the tip about vmlinux always being generated. 2023-11-21 20:21:26 -06:00
Rose Thompson
a7f3517981 Removed testing hack. 2023-11-21 18:24:45 -06:00
Rose Thompson
29db402562 Merge branch 'main' of github.com:ross144/cvw 2023-11-21 18:20:47 -06:00
Rose Thompson
6461f0fa63 Fix to linux makefile to support disassembly and creating vmlinux automatically. 2023-11-21 18:20:37 -06:00
Rose Thompson
c08d5485ce Updates to buildroot config. 2023-11-21 16:01:42 -06:00
Rose Thompson
f82f7d9323 Updated qemu scripts for updated linux build.
expanded memory from 128MB to 256MB.
2023-11-21 13:46:37 -06:00
Rose Thompson
b137759b45 Merge branch 'main' of https://github.com/openhwgroup/cvw 2023-11-20 10:34:36 -06:00
Rose Thompson
cdd21d6635 Added menvcfg to debugger for checking what linux has configured. 2023-11-19 13:44:22 -06:00
Jacob Pease
23e5fca2a7 Merge branch 'main' of github.com:jacobpease/cvw 2023-11-16 14:04:11 -06:00
Rose Thompson
1c54a5698b Modified the device trees to include all the minor extensions. 2023-11-14 13:54:16 -06:00
Rose Thompson
6b7ff50a84 Reduced Arty A7 clock speed to 20Mhz to support Zicclsm. 2023-11-13 16:44:02 -06:00
Rose Thompson
540d8d930d Cleanup.
Linux makefile
wally tracer.  probably reduce some complexity here.
2023-11-13 14:04:43 -06:00
Rose Thompson
55bcc4dbc1 Updates to linux config files for sdc. 2023-11-13 13:53:23 -06:00
Rose Thompson
13908ac41c Updated buildroot to use kernel 6.6 and added dedicated qemu emulation script. 2023-11-13 12:36:32 -06:00
Jacob Pease
3e891ee635 Merge branch 'main' of github.com:openhwgroup/cvw 2023-10-17 14:13:28 -05:00
Ross Thompson
4634756e20 Change to flash-sd.sh to fix relative path to device tree. 2023-10-13 12:30:21 -05:00
Jacob Pease
03ea0a02e0 Merge branch 'main' of github.com:openhwgroup/cvw 2023-10-10 16:48:53 -05:00
Ross Thompson
d23eda1305 Merge branch 'main' of https://github.com/openhwgroup/cvw 2023-10-03 17:43:29 -05:00
Ross Thompson
3156d5abab Somehow the arty A7 was missing the update for the console baud rate setting. 2023-10-03 17:37:13 -05:00
Jacob Pease
961cf91482 Linux Makefile: Fixed find utility crashing for real this time. 2023-09-26 15:16:45 -05:00
Ross Thompson
e6672c2818 add c++ support to buildroot's config file.
this is needed for running tensorflow's benchmark.
2023-09-25 18:16:58 -05:00
Jacob Pease
0215c37594 Fixed error with finding vmlinux and busybox directories too early. 2023-09-25 18:04:51 -05:00
Jacob Pease
fa185e78a2 Merge branch 'main' of github.com:openhwgroup/cvw 2023-09-03 00:15:30 -05:00
Jacob Pease
eb07e8917e Linux Makefile can now dynamically find binaries for object dumps. 2023-08-31 23:58:10 -05:00
Jacob Pease
dd835e2a33 Merge branch 'main' of github.com:openhwgroup/cvw 2023-08-29 14:53:02 -05:00
Ross Thompson
b512dfa9ec Enables PBMT and adds zsh, coremark, dhrystone, and whetstone to linux configurations. 2023-08-29 13:35:48 -05:00
Jacob Pease
8a62a45137 Set default baud rate of serial output to 115200 for the VCU108. 2023-08-25 17:44:06 -05:00
Ross Thompson
055e00b8ac Pushed vcu118 to 71MHz. 2023-08-25 17:04:50 -05:00
Ross Thompson
b3577ed448 Merge branch 'main' of github.com:ross144/cvw 2023-08-25 17:03:33 -05:00
Ross Thompson
c93e3c451a Fixed the sdc linux bug which preventing loading the driver. The irq lock was not correctly initalized. 2023-08-25 17:01:38 -05:00
Jacob Pease
1e834f2d5f Minor color adjustment 2023-08-23 12:42:20 -05:00
Jacob Pease
494efe16ac Minor formatting adjustments. 2023-08-23 10:54:35 -05:00
Jacob Pease
604c40243b Updated README to explain usage of flash-sd.sh 2023-08-23 10:22:55 -05:00
Jacob Pease
1ff3f74888 Fixed order of binary variables so that they're defined with the specified buildroot location. 2023-08-22 15:32:10 -05:00
Jacob Pease
acc303fbf1 Added ability to specify device tree to flash-sd. It also will generate the device tree files inside the specified buildroot directory 2023-08-22 13:59:36 -05:00
Jacob Pease
2bf6207919 Added help option to the flash-sd script. 2023-08-22 13:37:33 -05:00
Jacob Pease
e489ede51d Merge branch 'main' of github.com:openhwgroup/cvw 2023-08-21 16:10:09 -05:00
Jacob Pease
a3158af72b Made the flash-sd script better. It takes options to wipe the sdcard and to specify a different buildroot directory. 2023-08-21 16:04:18 -05:00
David Harris
d801916d97 Merge pull request #383 from ross144/main
Adds Zicbom support for D-cache only.  I-cache not yet supported.  Tests 32 and 64 bit versions.  Please rebuild regressions wally32 and wally64.  To save rebuild time edit lines 11-12 of tests/riscof/Makefile
2023-08-21 13:32:00 -07:00
Jacob Pease
298708e1cb Removed newer unimplemented features from Linux configuration. 2023-08-21 14:00:27 -05:00
Jacob Pease
bb8d3806d6 Cleaned up some things. 2023-08-11 16:22:12 -05:00
Jacob Pease
2be76bd6f8 Added a table of contents to the linux readme. 2023-08-11 15:48:49 -05:00
Jacob Pease
4b22d137f8 Added instructions on disassembly to the README for Linux. 2023-08-11 13:11:06 -05:00
Jacob Pease
5f0edbd825 Added details to the README.md for linux. 2023-08-11 12:27:23 -05:00
Jacob Pease
027190ecc9 Added a README.md for the linux directory. WIP. 2023-08-11 12:11:56 -05:00
Jacob Pease
40096ac662 Fixed bugs. Added an 'all' target that performs the whole process of building the images needed for booting linux, including device tree files. 2023-08-09 12:31:14 -05:00
Jacob Pease
1582376d71 Fixed device tree generation make rule. Make targets are simplified. 2023-08-09 00:22:20 -05:00
Jacob Pease
52d3d8a9f4 Stopped makefile from crashing when patch is already applied. 2023-08-06 18:50:37 -05:00
Jacob Pease
1de7cc7347 Fixed Makefile bugs, and removed old code. 2023-08-05 15:27:17 -05:00
Jacob Pease
ca1a9c577c Created dependency tree for patch target in the linux subdirectory Makefile. 2023-08-05 13:28:33 -05:00
Jacob Pease
d4405da703 flash-sd.sh fixed. GPT table is now destroyed before re-partioning, thus avoiding backup table collisions. 2023-08-04 17:28:22 -05:00
Jacob Pease
356a0dbdde Makefile dynamically generates all device tree files now. 2023-08-04 13:56:03 -05:00
Jacob Pease
9d5fb35ca5 Added device tree generation to Linux directory Makefile. Exits on not finding output/images folder in buildroot directory. 2023-08-02 19:26:35 -05:00
Jacob Pease
057d9e47e3 Updated linux config. Works in QEMU now. 2023-08-02 18:59:42 -05:00
Ross Thompson
fcf9adae8c Merge branch 'main' of github.com:ross144/cvw 2023-08-02 16:51:42 -05:00
Ross Thompson
cab40e618f Updateds to vcu118 constraints and device tree. 2023-08-02 16:51:32 -05:00
Jacob Pease
4084a11350 Adjusted the new makefile. 2023-08-02 16:24:20 -05:00
Jacob Pease
064e863476 Buildroot can now be set up with the new Linux Makefile. The driver can now also be loaded from addins/vivado-risc-v and should be removed from the main Wally repo. A sed command customizes the package source location for the new buildroot directory. 2023-08-02 16:12:26 -05:00
Jacob Pease
e0a63f79ce Removed duplicate line in Makefile. 2023-08-02 14:59:20 -05:00
Jacob Pease
7c1d7b07bb Linux makefile now copies the package contents with the correct package source. 2023-08-02 14:56:23 -05:00
Jacob Pease
068a0d10fd Added a Makefile to the Linux directory to take care of the Buildroot setup and other dependencies. 2023-08-02 14:28:17 -05:00