-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FPGA version: DIE type and speed grade #705
Conversation
@kordets , you tried to test this some time ago. With this change the test should be possible. |
msg/SystemVersionString.msg
Outdated
@@ -5,5 +5,5 @@ char[32] hw_version # main autopilot hw version | |||
char[32] sw_version # main autopilot sw version | |||
char[32] os_version # OS or middleware version | |||
char[32] bl_version # bootloader version | |||
char[32] component_version1 # vendor specific component version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks sensible, but I wouldn't do this still. I believe it requires re-compiling the linux-side uXRCE-DDS type definitions for the mission computer to match the definition. Maybe we could reduce the size of the hw_info and fpga_info and print out the accelerator(FPGA) version in a bit shorter form (e.g. remove the FPGA: string) to fit into 32 bytes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. I'll leave this as it was.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor comment; I'd like to keep the type string shorter. Otherwise LGTM
Signed-off-by: Tero Salminen <[email protected]>
Version output with shrink accelerator version string
|
FPGA DIE type and speed grade information is available in fgpa version register area:
https://github.com/tiiuae/saluki-fpga/tree/main/ssrc_saluki-pi#fpga-version-info-register
This information is appended to FPGA version string. E.g.
FPGA: 2.65535 (0xffff0243), MPFS250 (SG 1)
Also
component_version1
-field size increased to matchstatic char fpga_info[64]
inplatforms/nuttx/src/px4/microchip/mpfs/version/board_mcu_version.c