Select the second FPGA by default
This commit is contained in:
parent
931244a355
commit
1b4ab09c16
@ -29,7 +29,7 @@ function setup_meep()
|
||||
export PATH="$PATH:/apps/QDMA/meep-ionic/2022.1.4.4/linux-kernel/bin/"
|
||||
|
||||
# Select the first FPGA in the node
|
||||
local line=$(grep fpgan /etc/motd | head -1 | tr -d ' ')
|
||||
local line=$(grep fpgan /etc/motd | sed -n 2p | tr -d ' ')
|
||||
export FPGACTL_PCIDEV=$(echo "$line" | awk -F'|' '{print $5}')
|
||||
export FPGACTL_SERIAL=$(echo "$line" | awk -F'|' '{print $4}')
|
||||
export FPGACTL_UART=$(echo "$line" | awk -F'|' '{print "/dev/"$7}')
|
||||
|
Loading…
Reference in New Issue
Block a user