You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Your guess is correct, at runtime all of the attributes live in memory only. Nothing is ever written into PNOR. Note that even during IPL the save doesn't happen automatically on each write, there is an explicit moment in time when all of the data is written out. See AttrRP::updatePreservedAttrSection() which is invoked at a high level by a call to syncAllAttributesToSP().
hostboot/src/include/usr/targeting/common/target.H
Line 1049 in c4227d1
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):
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.
The text was updated successfully, but these errors were encountered: