blob: b752dd5a62eb0ccd2c7eb3f1d5e8a47947029445 [file] [log] [blame]
Andrew Jeffery8c8fb8b2022-01-27 10:19:17 +10301FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
Eddie Jamesb8b4f0c2022-05-26 16:47:33 -05002FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
Andrew Jeffery8c8fb8b2022-01-27 10:19:17 +10303
Andrew Jeffery096c6002022-08-08 20:48:00 +09304SRC_URI:append:p10bmc = " file://ibm.json file://ips.json file://keys/"
Eddie Jamesb8b4f0c2022-05-26 16:47:33 -05005SRC_URI:append:p10bmc = " file://p10bmc.cfg"
Andrew Jeffery8c8fb8b2022-01-27 10:19:17 +10306
Andrew Jeffery096c6002022-08-08 20:48:00 +09307OTPTOOL_CONFIGS:p10bmc = "${WORKDIR}/ibm.json ${WORKDIR}/ips.json"
Andrew Jeffery8c8fb8b2022-01-27 10:19:17 +10308OTPTOOL_KEY_DIR:p10bmc = "${WORKDIR}/keys/"
9
10# !!! Do not copy p10bmc's use of little-endian key ordering !!!
11#
12# The prefered order for production silicon is big-endian. Little-endian is necessary for p10bmc
13# platforms due to development history involving pre-production AST2600 silicon. More discussion
14# here:
15#
16# https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/50716
17SOCSEC_SIGN_EXTRA_OPTS = "--rsa_key_order=little"
18
19do_deploy:prepend:p10bmc() {
20 # otptool needs access to the public and private socsec signing keys in the keys/ directory
21 openssl rsa -in ${SOCSEC_SIGN_KEY} -pubout > ${WORKDIR}/keys/rsa_pub_oem_dss_key.pem
22}