commit | 94fc70cb0b2eb943fe3bd2fbe74bcca466f07531 | [log] [tgz] |
---|---|---|
author | Jayanth Othayoth <ojayanth@in.ibm.com> | Thu Nov 25 08:18:03 2021 -0600 |
committer | Jayanth Othayoth <ojayanth@in.ibm.com> | Mon Dec 06 23:40:41 2021 -0600 |
tree | 8d9042f5ba2120e2081ac83b58fd2ce12d5312cc | |
parent | 4f7b9bd3150506bd396fe6a59182f78b4c593ddd [diff] |
PHAL: reinitialize the devtree attributes In the regular host boot path devtree attribute need to initialize the default data and also some of the selected attributes need to preserve with previous boot value. Preserve attribute list is available BMC pre-defined location. This function helps to meet the host ipl requirement related to attribute persistency management for host ipl. Steps involved 1. create attribute data file from devtree r/w version based on the attribute list file installed in bmc. 2. create temporary copy of r/w version devtree for attributes updates and initialise with r/o DEVTREE version to default data. 3. apply step-1 attribute file on top of the temporary copy file. 4. Incase any failure from step 1 to 3 log an error and update r/w version with r/o version ( genesis boot). 5. Update DEVTREE r/w version with temporary version file. Also added devtree libs part of the pdata repository to export/import attributes devtree. Tested: verified the devtree attribute values. Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com> Change-Id: I20c17ba3013a0b4b01f9f8e0d4462c91489308e8
Contains procedures that interact with the OpenPower nest chipset.
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To build with phal feature: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} --enable-phal --enable-openfsi 3. make To clean the repository run `./bootstrap.sh clean`.