diff options
| author | Potin Lai <potin.lai@quantatw.com> | 2024-11-15 18:53:29 +0300 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2025-01-24 18:24:40 +0300 |
| commit | b13c00550bc82f33f56fc3b7042ba75ef5a98d65 (patch) | |
| tree | f0279660c53241fdb787298dfb75a8b6702adc4f /meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb | |
| parent | 402f1aec681fded945e605af1dcb3af222f5716e (diff) | |
| download | openbmc-b13c00550bc82f33f56fc3b7042ba75ef5a98d65.tar.xz | |
meta-facebook: catalina: Set PDB_LEAK_CONFIG during platform init
Due to limited space in the Power Distribution Board (PDB) CPLD for
storing additional configurations, the BMC is responsible for setting
the `PDB_LEAK_CONFIG` value during boot-up.
This implementation enables users to modify the leak configuration as
needed. The BMC saves the configuration in a file named
`catalina-platform-config.json` with the `PDB_LEAK_CONFIG` value
ranging from 0 to 3.
If the configuration file does not exist or the `PDB_LEAK_CONFIG` key is
undefined, the BMC defaults to using a leak configuration value of 0
when initializing the PDB CPLD.
Example:
```
root@bmc:~# cat /mnt/data/catalina-platform-config.json
{
"PDB_LEAK_CONFIG": 3
}
```
This change ensures the leak configuration is properly initialized and
managed while providing flexibility for user-defined modifications.
Change-Id: I0a12117484a4c2a76d77c75f4556441ed5aca305
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-u-msgpack-python_2.8.0.bb')
0 files changed, 0 insertions, 0 deletions
