[phosphor-ipmi-blobs-binarystore] Platform configuration and the host-tool questions
Kun Yi
kunyi at google.com
Wed Nov 20 11:00:43 AEDT 2019
Hi George,
Sorry for the late reply. The current configuration expected is an array,
so you would need:
[{
"blobBaseId": "/skm/hss/",
"sysFilePath": "/sys/class/i2c-dev/i2c-8/device/8-0058/eeprom",
"offsetBytes": 256,
"maxSizeBytes": 1024
}]
The documentation on the configuration file format isn't super clear. I
will send a patch to improve it.
Currently there is no host-side tools like phosphor-ipmi-flash.
Hope this helps.
On Wed, Nov 6, 2019 at 4:16 AM George Hung (洪忠敬) <George.Hung at quantatw.com>
wrote:
> Hi Kun,
>
> I'd like to add a platform configuration file for blob basd id and sysfile
> path, but I always get the return error, "Encountered error when parsing
> config file".
> Is my config file format wrong or something I missed ?
>
> My example config.json:
> {
> "blobBaseId": "/skm/hss/",
> "sysFilePath": "/sys/class/i2c-dev/i2c-8/device/8-0058/eeprom",
> "offsetBytes": 256,
> "maxSizeBytes": 1024
> }
>
> BTW, is there the utility such as the host-tool of phosphor-ipmi-flash to
> test ?
>
>
> Thanks.
>
> Best Regards
> George Hung
> Research Division - Software Engineer
> Quanta Computer Inc.
> Ext: 16830
> E-Mail : George.Hung at QuantaTW.com
>
>
--
Regards,
Kun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191119/526e0669/attachment.htm>
More information about the openbmc
mailing list