Philipp Jungkamp
58dbd91616
packaging-nix: fix broken git+file:.
input
...
The `src` input was working locally due to a bug in the `nix` flake
evaluation. The input itself was malformed and not reproducable.
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-05-25 19:00:49 +02:00
Steffen Vogel
e47775ea29
Merge pull request #642 from PJungkamp/packaging-nix
...
packaging-nix: initial structure
2023-05-25 16:40:40 +02:00
Philipp Jungkamp
1fb9a89bae
packaging-nix: initial structure
...
- add basic flake structure
- add configurable package for `villas`
- add `README` tutorial as motivation
- add package for `lib60870` and `libiec61850` not provided by `nixpkgs`
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-05-25 16:29:13 +02:00
Steffen Vogel
14c450d501
Merge pull request #641 from VILLASframework/goose-fixes
...
Goose: small formatting fixes
2023-05-02 18:03:20 +02:00
Steffen Vogel
571a436c2e
goose: small formatting fixes
...
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2023-05-02 16:11:41 +02:00
Steffen Vogel
302aa46d58
Merge pull request #640 from VILLASframework/node-iec61850-goose
...
IEC61850 Goose
2023-05-02 12:31:12 +02:00
Philipp Jungkamp
0ee9ab6be0
node-iec61850: fix undefined behaviour
...
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 13:52:24 +00:00
Philipp Jungkamp
fff889d779
node-iec61850-8-1: add OpenAPI schemas
...
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 14:06:34 +02:00
Philipp Jungkamp
9f58ec484f
node-iec61850-8-1: fix ConfigError reporting
...
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 13:18:14 +02:00
Philipp Jungkamp
e619cb8bf1
rename node to iec61850-8-1
...
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-18 13:16:15 +02:00
Philipp Jungkamp
e612e7cebc
node-iec61850-goose: change resend_interval to double seconds
...
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-04-11 15:04:41 +02:00
Philipp Jungkamp
5a1995d901
node-iec61850-goose: Periodic resend and cleanup
...
- introduce resend_thread for periodic resend
- change mms_type to reflect the table in iec61850.hpp to be able to
merge these tables in the future without breaking configs
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-03-28 13:22:16 +00:00
Niklas Eiling
83c0e2b185
Merge pull request #81 from VILLASframework/dma-ingress
...
adds C bindings and other smaller changes
2023-03-21 17:57:47 +01:00
Niklas Eiling
d9993409e0
fix possible NULL dereferencing in villasfpga_dma.c
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 14:56:54 +01:00
Niklas Eiling
1d9ccd6c05
add license note to villasfpga_dma.c
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 11:59:22 +01:00
Niklas Eiling
9d4cd5384d
clean up debuggin output and fix scanf usage in villasfpga_dma.c
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 11:52:36 +01:00
Niklas Eiling
d273162f71
fix PCIeCardFactory looking for IP config file at the wrong location
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 11:29:32 +01:00
Niklas Eiling
d9e60e22b1
make it possible to specify a search path in PcieCard::make so we can use relative paths in config files
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 11:15:25 +01:00
Niklas Eiling
c05ae4d282
add C bindings for DMA interactions and add a test/example
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-21 10:47:45 +01:00
Niklas Eiling
b05910f24e
add C bindings for external use of VILLASfpga
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-20 17:12:47 +01:00
Niklas Eiling
7847658548
fix output formatting not being able to print numbers larger than 9
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-20 15:35:38 +01:00
Niklas Eiling
e6f34f83f4
make villas-fpga-pipe use separat memory segments for reading and writing
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-20 12:10:37 +01:00
Niklas Eiling
4ef114fad4
remove unnecessary characters in villas-fpga-ctrl
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-20 10:23:13 +01:00
Niklas Eiling
6b58624e57
fix villas-fpga-pipe
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-15 16:11:44 +01:00
Niklas Eiling
cbad1ca9d1
ConnectString: also allow pipe as a connection target
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-03-15 16:11:44 +01:00
Philipp Jungkamp
98ac02a85b
node-iec61850-goose: log error instead of crashing on unsupported mms value
...
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-03-14 16:46:35 +01:00
Philipp Jungkamp
9dcef61c99
node-iec61850-goose: GooseSignal refactor + fixes
...
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-03-14 15:34:30 +00:00
Philipp Jungkamp
89813a8cc7
iec61850-goose: multiple producers
...
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-03-07 12:56:03 +00:00
Niklas Eiling
dbd496c2c6
Merge pull request #80 from VILLASframework/refactorCard
...
Remove duplicate inherited members and functions in PcieCard class
2023-02-10 14:19:59 +01:00
Pascal Henry Bauer
3db2005bbf
removed duplicated declarations
...
Signed-off-by: Pascal Henry Bauer <pascal.bauer@rwth-aachen.de>
2023-02-10 13:34:20 +01:00
Pascal Henry Bauer
26e2251afe
reorder of members and added virtual
...
Signed-off-by: Pascal Henry Bauer <pascal.bauer@rwth-aachen.de>
2023-02-10 13:34:20 +01:00
Pascal Henry Bauer
85b2e8b030
removed duplicate implementation
...
Signed-off-by: Pascal Henry Bauer <pascal.bauer@rwth-aachen.de>
2023-02-10 13:34:20 +01:00
Philipp Jungkamp
2d643b8f47
initial example for iec61850-goose node
...
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-01-31 11:27:48 +00:00
Philipp Jungkamp
75ebfbc623
initial iec61850-goose node
...
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-01-31 11:12:51 +00:00
Philipp Jungkamp
cba7894da0
Update libiec61850 from 1.4 to 1.5
...
Signed-off-by: Philipp Jungkamp <philipp.jungkamp@rwth-aachen.de>
2023-01-31 11:12:49 +00:00
Niklas Eiling
8fbf0f0669
Merge pull request #76 from VILLASframework/dma-ingress
...
Device to Host DMA
2023-01-30 16:30:33 +01:00
Niklas Eiling
c80e5c083d
remove map and umapmemoryblock from PcieCard
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:26:11 +01:00
Niklas Eiling
10ecf6c9a6
fix memoryBlocksMapped being defined in both Card and PcieCard
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:18:42 +01:00
Niklas Eiling
87968ab73e
enable reading from stdin to DMA in villas-fpga-ctrl
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:12:16 +01:00
Niklas Eiling
1e3294d14c
start readFromDmaToStdOut in separate thread
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:12:16 +01:00
Niklas Eiling
62cab0c4dc
clean up README.md
...
add project description and related projects (MIOB and DINO)
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:12:16 +01:00
Niklas Eiling
e6f035cd31
add basic thread-safety to ips/dma
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:12:16 +01:00
Niklas Eiling
590cef10d0
add check for missed interrupts when handling reads
...
introduce new struct Completion that is returned by Dma::readCompletion
and Dma::writeCompletion
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:12:16 +01:00
Niklas Eiling
ab39f57405
add more configuration options to villas-fpga-ctrl
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:12:15 +01:00
Niklas Eiling
8ff0370d36
fix license of utils.hpp
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:12:15 +01:00
Niklas Eiling
ce1e8e28ce
move formatting of printing to stdout to separate class and make in configurable
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:12:15 +01:00
Niklas Eiling
498af9fd1c
ips/dma: make read correctly wait on interrupts
...
Modify villas-fpga-ctrl to fit the new behavior of Dma.
Makes reading from DMA work even when we are too slow and
only receive partial batches of BDs.
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:12:15 +01:00
Niklas Eiling
5ab6007909
small code review
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:12:10 +01:00
Niklas Eiling
14f924b6c5
rework MemoryBlock use to make use of shared_ptr so the lifetime of the objects is properly tracked
...
this fixes that the wrong order of allocating and PciCard destruction
causes an undefined state.
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:09:09 +01:00
Niklas Eiling
40d0452b0a
move connectString parsing into separate class
...
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2023-01-30 16:02:32 +01:00