[Sound-open-firmware] SOF sof_ipc_fw_version format
Pan, Xiuli
xiuli.pan at linux.intel.com
Tue Jun 12 15:21:23 CEST 2018
On 6/12/2018 18:19, Wittbrodt, WojciechX wrote:
> Hi,
>
> I have a question about SOF_FW\src\include\uapi\ipc.h sof_ipc_fw_version struct.
>
> struct sof_ipc_fw_version {
> uint16_t major;
> uint16_t minor;
> uint16_t build;
> uint8_t date[12];
> uint8_t time[10];
> uint8_t tag[6];
> } __attribute__((packed));
>
> First of all, what is tag, how is it used and how do we read it?
> Also for date and time fields, what are the used formats for date and time and how should we retrieve them from the arrays?
I think these fields are char * string.
You can take reference from SOF kernel driver:
https://github.com/thesofproject/linux/blob/topic/sof-dev/sound/soc/sof/intel/hda-ipc.c#L358in
in hda_dsp_ipc_fw_ready function there is a debug message for this
structure.
Thanks
Xiuli
> --------------------------------------------------------------------
>
> Intel Technology Poland sp. z o.o.
> ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.
>
> Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek
> przegladanie lub rozpowszechnianie jest zabronione.
> This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by
> others is strictly prohibited.
> _______________________________________________
> Sound-open-firmware mailing list
> Sound-open-firmware at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware
More information about the Sound-open-firmware
mailing list