Commit b52a7929 authored by Federico Vaga's avatar Federico Vaga

Merge branch…

Merge branch '19-implemente-necessary-udev-rules-and-tools-to-flash-fpga-using-new-database' into 'master'

Resolve "Implemente necessary udev rules and tools to flash FPGA using new database"

Closes #19

See merge request be-cem-edl/fec/hardware-modules/spec!8
parents 1284b236 297e3bd8
# SPDX-FileCopyrightText: 2023 CERN (
# SPDX-License-Identifier: LGPL-2.1-or-later
ACTION=="add|change", SUBSYSTEM=="pci", ATTR{vendor} == "0x10dc", ATTR{device} == "0x018d|0x01a2|0x01a3", DRIVER=="spec-fmc-carrier", GOTO="spec-fmc-carrier-start"
IMPORT{program}="/usr/local/bin/dynpci -B -p $kernel"
IMPORT{program}="/usr/local/bin/fechw udev fpu --slot PCIe.$env{DYNPCI_SLOT} --type FPGA --role Application"
RUN += "/usr/bin/bash -c '/usr/bin/echo -n $env{FPU_FW_NAME} > /sys/bus/pci/devices/$kernel/firmware_name'"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment