opencomputeproject / Time-Appliance-Project

Develop an end-to-end hypothetical reference model, network architectures, precision time tools, performance objectives and the methods to distribute, operate, monitor time synchronization within data center and much more...
MIT License
1.32k stars 101 forks source link

TimeCard not visible on PCI bus after updating to FPGA rel 10 #68

Closed MaciekMachni closed 2 years ago

MaciekMachni commented 2 years ago

I tried to update my TimeCard to FPGA release 10, but it is not showing on the bus after the update.

Hardware:

Time Card Xilinx Platform Cable (Waveshare clone)

Software

Vivado Lab Edition 2022.1

Image

Factory_TimeCardProduction.bin release 10

Steps tested

Result

D14 is constantly lit, and the Time Card does not show on the bus. trying to upgrade with devlink ends up with: ptp_ocp 0000:02:00.0: Can't find Flash SPI adapter

Does this release require some hardware reworks? dmesg info about my HW:

[    4.516617] ptp_ocp 0000:02:00.0: enabling device (0100 -> 0102)
[    4.517114] ptp_ocp 0000:02:00.0: irq 16 out of range, skipping ts4
[    4.526202] ptp_ocp 0000:02:00.0: Version 1.2.0, clock PPS, device ptp0
[    4.526218] ptp_ocp 0000:02:00.0: Time: 1659174202.287690580, in-sync
[    4.526221] ptp_ocp 0000:02:00.0: version 8
[    4.526223] ptp_ocp 0000:02:00.0: regular image, version 8
[    4.526224] ptp_ocp 0000:02:00.0:  GNSS: /dev/ttyS5  @ 115200
[    4.526227] ptp_ocp 0000:02:00.0: GNSS2: /dev/ttyS6  @ 115200
[    4.526229] ptp_ocp 0000:02:00.0:   MAC: /dev/ttyS7  @  57600
[    4.526234] ptp_ocp 0000:02:00.0:  NMEA: /dev/ttyS8  @     -1
[ 2887.195004] ptp_ocp 0000:02:00.0: Can't find Flash SPI adapter
MaciekMachni commented 2 years ago

Using the SOM FPGA fixed the problem.