Commit Graph

216 Commits

Author SHA1 Message Date
uweseimet
0f5baa8839
Cplusplus level update to c++-17 (#127)
* Raised C++ level to c++-20

* Raspberry PI OS compiler does not yet support c++-20
2021-07-09 11:38:48 -05:00
uweseimet
910d3af525
Changed scsi_command enum base type so that the dispatcher can use enum again (#128) 2021-07-09 11:37:46 -05:00
uweseimet
6d1f661ab8
Removed useless assertions (#125)
* Removed useless assertions

* Finalized removal

* Pointer was passed instead of integer value

* Fixed data type issue on 64 bit compile platforms

* Added missing virtual destructor (gcc warning)
2021-07-08 11:40:31 -05:00
uweseimet
da3629510d
Removed meaningless assertions, minor code locality cleanup (#122)
* Removed meaningless assertions, locality of code cleanup

* More assertion and code locality cleanup

* Added TODO

* More assertion and code locality cleanup

* Added missing initializations in constructors

* Added FIXMEs

* Revert "Added FIXMEs"

This reverts commit 2c83626862.
2021-07-07 16:46:45 -05:00
uweseimet
da70ce7055
Option for setting the log level at rascsi startup, improved device file support (#121)
* Added option for setting log level at rascsi startup

* Report an error if only an extension without a basename is provided

* Improved device file support
2021-07-07 16:34:55 -05:00
uweseimet
9898cb1a13
SCSI command dispatcher update, reduction of circular dependencies (#117)
* Unified command handling of SCSI command dispatcher

* Added missing cast

* Updated casts

* Comment update

* Moved enums to base class to reduce circular dependencies

* Added EXTRA_FLAGS to Makefile and fixed typo (#118)

* scsidev_ctrl inherited from sasidev without any need

* Reverted last change ...

* Removed unused include

* Added missing field initialization in constructor

* Formatting update

* Fixed command names used for logging

* Replaced SCSI command dispatch switch

* Source code formatting update

* Renaming

* Renaming

* Renaming

* Renaming

* For SCSI (scsidev_ctrl) the scsi_command enum is not relevant anymore

* Always log status code in status phase

* Log additional sense code (ASC)
2021-07-04 19:50:24 -05:00
uweseimet
e2409098dd
Added EXTRA_FLAGS to Makefile and fixed typo (#118) 2021-06-26 22:26:04 -05:00
uweseimet
b7011efd95
Removed unused code, added some translations (#114)
* Removed unused code, added some translations

* Fixed typo

* Added translation
2021-06-23 12:26:12 -05:00
uweseimet
86aeeb0a31
Segmentation fault fix for missing unit 0 (#115)
* Removed unused code, added some translations

* Fixed segmentation fault when there is no unit 0

* Removed unrelated changes
2021-06-23 12:16:27 -05:00
Eric Helgeson
54cf4322aa
Merge pull request #113 from akuker/security_fixes
Update version of pillow
2021-06-22 19:42:07 -05:00
akuker
9e0ce1eacc update version of pillow 2021-06-22 19:37:52 -05:00
akuker
7dd93728f9 Regenerated text versions of man pages. This was missed in PR #110 2021-06-22 19:30:33 -05:00
uweseimet
51210a7002
Use exception for unsupported LUN handling, reduces duplicate code (#111)
* Use exception for unsupported LUN handling in order to reduce duplicate code

* Code improvements based on review

* Added header
2021-06-22 19:05:47 -05:00
uweseimet
7e45d11215
Fixes for gcc 10.3.0 (#112)
* Fixes for gcc 10.3.0

* Fixes for gcc 10.3.0

* Removed obsolete declaration

* Changes based on review
2021-06-22 19:03:53 -05:00
uweseimet
88f59a6f1e
Fixed typos (#110) 2021-06-19 10:17:23 -05:00
akuker
a41855c038
Merge Hw 2p4 to develop (#109)
* First attempt at adding 2.5 inch drive connector

* Clean up silkscreen and fix DRC issues

* additional cleanup. Made Pin 1 of the PB connector square

* minor tweaks

* Updates for ordered version

* Generated .STEP file for RaSCSI

* Added STEP file and updated symbol and 3d model references to reference the correct gender of parts. Should be no functional change

* Added STEP file and updated symbol and 3d model references to reference the correct gender of parts. Should be no functional change

* Added 3D models and correct footprints for STEP file

* Merge version 20.12.0 into the master branch (#75)

* Update README.md

Added reference to gitflow

* Updated to match new versioning structure (#73)

* Updated to match new versioning structure

* fix version number

Co-authored-by: Tony Kuker <akuker@gmail.com>

* Scsimon improvements (#74)

* Updated scsimon to save data on a nano-second time scale, instead of micro-second

* Cleanup error messages and data types

Co-authored-by: Tony Kuker <akuker@gmail.com>

* Updated for new version number

* Change reported version back to development build

Co-authored-by: Tony Kuker <akuker@gmail.com>

* Generate step file and schematic pdf

* First draft of powerbook drive bracket

* Added side holes and hole for MIPI connector

* Set theme jekyll-theme-midnight

* Set theme jekyll-theme-dinky

* Create CNAME

* Delete CNAME

* Additional updates to the powerbook 3d printed bracket

* Moved RaSCSI board 1mm in + lots of cleanup

* Added optional floppy power connector. As-ordered version 2.4a

* Added optional floppy power connector. As-ordered version 2.4a

* Update rascsi_version.cpp

* Update Makefile

* Update Makefile

Revert extraneous whitepace

* Update scsidev_ctrl.cpp

Revert unneeded change.

Co-authored-by: Tony <akuker@gmail.com>
2021-06-08 19:06:29 -05:00
akuker
641130c4d7
Merge pull request #106 from akuker/stdout-buffering-fix
Stdout buffering fix
2021-06-01 20:05:50 -05:00
PhrAx
ae07648551 fixing typo 2021-05-29 23:50:00 -07:00
PhrAx
e42adab4f9 improving stdout for logging by disabling buffering 2021-05-29 23:46:08 -07:00
akuker
dbf78b772b
Merge pull request #96 from akuker/daynaport3
Add DaynaPort Functionality into the Development branch
2021-05-26 10:50:13 -05:00
Tony Kuker
fa80c7fb9a Updates for pull request comments 2021-05-23 14:44:47 -05:00
Tony Kuker
4a72d2ecea Updates for pull request comments 2021-05-23 14:44:34 -05:00
akuker
a580562d03
Merge pull request #103 from akuker/eric/devupdates
Web and easy install updates.
2021-05-23 11:35:19 -05:00
akuker
01798b2af5
Merge pull request #102 from akuker/rascsi_checkout
Loopback test to checkout RASCSIs
2021-05-23 11:09:26 -05:00
Eric Helgeson
b5d82c1037 Update readme for dev setup of web 2021-05-23 10:55:24 -05:00
Tony Kuker
b7a9f6badd Remove schematic 2021-05-22 10:48:18 -05:00
akuker
4c86524b92 Added loopback schematic 2021-05-21 22:58:05 -05:00
Tony Kuker
f779a1cbc2 Added comments 2021-05-21 22:13:33 -05:00
Tony Kuker
a28512e179 First draft of python test using loopback adapter from saybur 2021-05-21 22:05:00 -05:00
Eric Helgeson
968d34bb14 Increase nginx timeouts 2021-05-13 12:48:11 -05:00
Eric Helgeson
ffc9c36456 unlimited upload in nginx 2021-05-13 12:41:30 -05:00
Eric Helgeson
c2c0d5cbf7 Use truncate instead of dd 2021-05-13 12:22:28 -05:00
Eric Helgeson
a2a323cdb8 Update to flask 2.0 2021-05-13 12:17:50 -05:00
Eric Helgeson
ab0082dfcc Dont stop output when showing status 2021-05-13 12:17:40 -05:00
akuker
642deb8b84 updated version number 2021-05-02 14:35:42 -05:00
akuker
aec10b45ef Cleanup test procedure to allow service to be inactive OR failed 2021-04-05 16:38:39 -05:00
Eric Helgeson
3c5d68a1f4 Add libpcap-dev and move all pkgs into installPackages() 2021-04-05 16:24:51 -05:00
Tony Kuker
61c7644250 Merge branch 'develop' into daynaport3 2021-04-05 16:11:54 -05:00
Tony Kuker
a05c7f34d4 Added short delay after the DaynaPort reports its metadeta during a READ operation 2021-04-05 14:17:05 -05:00
Tony Kuker
e68f6f09e2 Fix compiler warnings for release builds 2021-04-05 12:14:51 -05:00
akuker
877a7a129c
Merge pull request #93 from quentinmit/daynaport-pcap
Daynaport improvements
2021-04-05 11:13:07 -05:00
Quentin Smith
da8880576a Remove no-longer-used os.cpp 2021-04-04 23:13:52 +01:00
Quentin Smith
2579437b57 Allow generating pcap files of Daynaport traffic
If rasctl is given a file to "attach" to a daynaport interface, rascsi
will generate a pcap file at that path containing all sent/received
packets.
2021-04-04 23:13:51 +01:00
Quentin Smith
5ef97b99db Use native ioctls to create/join bridge interface 2021-04-04 23:13:36 +01:00
akuker
6333d3aad5
Merge pull request #85 from akuker/phrax0-patch-1
Update controllers
2021-03-21 19:57:31 -05:00
akuker
fc93de581e
Merge pull request #86 from akuker/phrax0-patch-2
FIxing code and comment alignment
2021-03-21 19:47:19 -05:00
TomRBarber
2e64f28d9c
Merge pull request #88 from quentinmit/daynaport-cd
Fix CD support on DaynaPort branch

Tested last night and seems to work!
2021-03-19 14:16:13 -04:00
Quentin Smith
5f7a0a0d86 Fix CD support on DaynaPort branch
The CD device relies on SASIDEV.buf being at least 0x800 long.
2021-03-18 03:36:08 +00:00
Quentin Smith
cdf2b6b39f Initialize selevreq
selevreq was previously being passed to ioctl without being fully initialized.
2021-03-18 03:35:13 +00:00
TomRBarber
bae70f74bb
Merge pull request #84 from akuker/eric/easyInstallBranch
Stay on currently checked out branch for easy intall
2021-03-09 12:39:52 -05:00