|
bool Target::trySetAttr(typename AttributeTraits<A>::Type const& i_attrValue) |
Hello, I want to set ATTR in the Hostboot Runtime to transfer some data for the next boot (Hostboot IPL), but I failed.
Here are some tests I did, for the same ATTR (non-volatile):
- If set the ATTR in the Hostboot IPL, I can see that the ATTR takes effect during the next Hostboot IPL boot.
- If set the ATTR in the Hostboot Runtime, I see that the ATTR is not set successfully and still uses the default value during the next Hostboot IPL boot.
- After setting the ATTR in the Hostboot Runtime and immediately reading it back for verification, it was found the ATTR was set successfully.
I guess that the ATTR value may only be stored in memory and not written back to PNOR. So, I want to know will the ATTR value be saved to the PNOR flash when setting it in the Hostboot Runtime?
Thanks.