The 'ekanalyzer frushow' command never reports correctness of the FRU checksums.
It does so neither for the FRU header, nor for FRU info areas.
It does display the checksum value (as stored in the FRU file), but never
checks if it matches the actual data.
I have a checksum function handy for this. IMHO, it makes sense to verify the checksum.
Do you mean as an external script?
As a C function. IMHO, checksum should be checked before fields are parsed/decoded.
I'd say that fields must be decoded anyway. But an indication of wrong checksum is desirable. Way too many FRUs out there with valid data but with incorrect checksums. Blindly discarding them if the checksum is wrong would be a disaster.