Merge pull request #99 from bart0sh/PR0040-crihook-fix-fpgaconf-option

fpga_crihook: use -s fpgaconf option
This commit is contained in:
Dmitry Rozhkov 2018-09-06 11:41:07 +03:00 committed by GitHub
commit a936934b5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,7 +119,7 @@ func (bitStream *opaeBitStream) validate() error {
}
func (bitStream *opaeBitStream) program() error {
output, err := bitStream.execer.Command(fpgaconf, "-S", bitStream.params.devNum, bitStream.path).CombinedOutput()
output, err := bitStream.execer.Command(fpgaconf, "-s", bitStream.params.devNum, bitStream.path).CombinedOutput()
if err != nil {
return errors.Wrapf(err, "failed to program AFU %s to socket %s, region %s: output: %s", bitStream.params.afu, bitStream.params.devNum, bitStream.params.region, string(output))
}