commit | fdc91fa011c28b857220e30320fba65e69907f20 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Thu May 20 16:00:45 2021 +0000 |
committer | Adriana Kobylak <anoo@us.ibm.com> | Fri May 21 15:37:41 2021 +0000 |
tree | 28dd701c70a631cf1f270d462e457e278183aa58 | |
parent | 067876aa2af9629161c4f367750828aec5e0cd63 [diff] |
mmc: Create a symlink for HBB to its LID file With the eventual switch for the host firmware to use PLDM, the vpnor partition files would not exist anymore. As a temporary transition, need to create a symlink from HBB to its LID file for the existing mboxd process to load the data into memory. Eventually, a new lightweight application would load the contents of this LID file into memory, at which point this symlink could be removed. Additionally, the vpnor partition names and their corresponding LID numbers will be read via a json file as part of the PLDM transition, so this hardcoded LID number can be dynamically be determined at that point. Tested: Verified symlink got created in Rainier and it booted to OS. mboxd trace: [ 1621534119.097184649] Fulfilling read request against /var/lib/phosphor-software-manager/pnor/rw/HBB at offset 0x0 into 0x72879000 for 1048576 $ ls -l /var/lib/phosphor-software-manager/pnor/rw/HBB lrwxrwxrwx 1 root root 12 May 20 17:58 /var/lib/phosphor-software-manager/pnor/rw/HBB -> 81e0065a.lid Change-Id: I1d8362b5b9205f6e16f950e5a94fd417402b9f63 Signed-off-by: Adriana Kobylak <anoo@us.ibm.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`.