commit | fa9a6bec4bbf062f0fd670357fb7ee0731c3f241 | [log] [tgz] |
---|---|---|
author | Alexander Filippov <a.filippov@yadro.com> | Wed Dec 18 12:06:47 2019 +0300 |
committer | Alexander Filippov <a.filippov@yadro.com> | Fri Dec 20 10:23:22 2019 +0300 |
tree | 40d996d2bdedb2e736847c0186cedefc09e25f45 | |
parent | 59d5657643c1cd24de579867abff1dcfa54d3803 [diff] |
Fix ECC usage of being cleaned partitions Reset procedure of PNOR works improperly for our P8 based VESNIN hardware and makes the host unbootable. The problem is in incorrect partition cleaning. Hostboot for P8 has no support for CLEARECC bit and PNOR flash has no partitions with flag 'C'. P9 based hardware is not affected until PNOR has partitions with ECC flag only. This commit modifies the reset procedure to make it use the flag 'E' (ECC) instead of 'C' (CLEARECC). * The flag 'E' means that the partition requires ECC. * The flag 'C' means that the partition might be cleaned by hostboot when ECC is wrong. For details see: https://github.com/open-power/hostboot/blob/75c0908b91275dc10bd17cb0f10b452f32ce0b91/src/include/usr/pnor/pnor_const.H#L128 Tested: All PNOR partitions with enabled flags 'E' and 'F' should be cleaned with ECC. Change-Id: I632e90c8e256df3445fc3d1f45c830d155a1d208 Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
OpenPower PNOR (Processor NOR) Code Management provides a set of host software management applications for OpenPower systems. The host firmware is stored on the PNOR chip. More information can be found at Software Architecture or Host Code Update
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.