linux-fpga.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Stratix 10 CVP - how to write an image from userspace?
       [not found] <CAP14NRT3AN0+g=TsRRQ2vm+q+rT2zvC-rZmbeDb-8wagepiR7g@mail.gmail.com>
@ 2021-01-05  0:02 ` Chris Dot
  0 siblings, 0 replies; only message in thread
From: Chris Dot @ 2021-01-05  0:02 UTC (permalink / raw)
  To: linux-fpga

Hi, I have a Stratix 10 PCIe FPGA card and I want to program it over CVP.

How do I do that? Would I write (dd?) to some sysfs node, use ioctls?
Any help appreciated.

Below is my workspace. This is kernel 5.4.

root@ubuntu20x:/sys/class/fpga_manager/fpga0# dmesg | grep -i cvp
[    3.693994] fpga_manager fpga0: Altera CvP FPGA Manager
@0000:02:00.0 registered
root@ubuntu20x:/sys/class/fpga_manager/fpga0# ls
device  name  power  state  status  subsystem  uevent
root@ubuntu20x:/sys/class/fpga_manager/fpga0# ls device
aer_dev_correctable   class                     d3cold_allowed
enable         local_cpulist   msi_bus    reset         subsystem
aer_dev_fatal         config                    device
firmware_node  local_cpus      numa_node  resource
subsystem_device
aer_dev_nonfatal      consistent_dma_mask_bits  dma_mask_bits
fpga_manager   max_link_speed  power      resource0
subsystem_vendor
ari_enabled           current_link_speed        driver           irq
         max_link_width  remove     resource0_wc  uevent
broken_parity_status  current_link_width        driver_override  link
         modalias        rescan     revision      vendor

Thanks, Chris

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-05  0:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAP14NRT3AN0+g=TsRRQ2vm+q+rT2zvC-rZmbeDb-8wagepiR7g@mail.gmail.com>
2021-01-05  0:02 ` Stratix 10 CVP - how to write an image from userspace? Chris Dot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).