Microsemi / switchtec-user

Userspace code for the Microsemi PCIe switch
MIT License
45 stars 48 forks source link

CFG version #58

Open danglus opened 5 years ago

danglus commented 5 years ago

Hi, I'm looking for a way to add a version number to switch configuration.. Switchtec 'fw-info' command shows something called 'CFG Version' (see below). Is there a way to control it from Chiplink?

Thanks,

Dan

$ sudo switchtec/switchtec fw-info switchtec0 Currently Running: IMG Version: 1.09 B063 Active Partition: BOOT Version: 1.09 B063 CRC: e8d37467 (RO) MAP Version: 1.09 B063 CRC: a07c6f51 IMG Version: 1.09 B063 CRC: 23d057bf (Running) CFG Version: 1.09 B063 CRC: e36b0e27 (Running) Multi Config 0 Multi Config 1 - Active Inactive Partition: IMG Version: 1.09 B063 CRC: 23d057bf CFG Version: 1.09 B063 CRC: bef280fc

wesleywesley commented 5 years ago

Reply from FW engineer: Chiplink can’t change the version. The version is added in compile time, or through SDK API fw_version_set().