Open ierictin opened 4 months ago
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().
Thanks, I can try other ways to transfer data.
https://github.com/open-power/hostboot/blob/c4227d1e3dcf86b00ce0275cfebe2148d2035a24/src/include/usr/targeting/common/target.H#L1049
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.