{"action":"created","issue":{"url":"https://api.github.com/repos/open-power/op-test-framework/issues/152","repository_url":"https://api.github.com/repos/open-power/op-test-framework","labels_url":"https://api.github.com/repos/open-power/op-test-framework/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/open-power/op-test-framework/issues/152/comments","events_url":"https://api.github.com/repos/open-power/op-test-framework/issues/152/events","html_url":"https://github.com/open-power/op-test-framework/pull/152","id":248297737,"number":152,"title":"OPAL Lids flashing support in FSP/AMI/OpenBMC systems.","user":{"login":"pridhiviraj","id":16423000,"avatar_url":"https://avatars3.githubusercontent.com/u/16423000?v=4","gravatar_id":"","url":"https://api.github.com/users/pridhiviraj","html_url":"https://github.com/pridhiviraj","followers_url":"https://api.github.com/users/pridhiviraj/followers","following_url":"https://api.github.com/users/pridhiviraj/following{/other_user}","gists_url":"https://api.github.com/users/pridhiviraj/gists{/gist_id}","starred_url":"https://api.github.com/users/pridhiviraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pridhiviraj/subscriptions","organizations_url":"https://api.github.com/users/pridhiviraj/orgs","repos_url":"https://api.github.com/users/pridhiviraj/repos","events_url":"https://api.github.com/users/pridhiviraj/events{/privacy}","received_events_url":"https://api.github.com/users/pridhiviraj/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/open-power/op-test-framework/milestones/2","html_url":"https://github.com/open-power/op-test-framework/milestone/2","labels_url":"https://api.github.com/repos/open-power/op-test-framework/milestones/2/labels","id":2392420,"number":2,"title":"v0.9","description":"Matches op-build v1.19","creator":{"login":"stewart-ibm","id":6668672,"avatar_url":"https://avatars2.githubusercontent.com/u/6668672?v=4","gravatar_id":"","url":"https://api.github.com/users/stewart-ibm","html_url":"https://github.com/stewart-ibm","followers_url":"https://api.github.com/users/stewart-ibm/followers","following_url":"https://api.github.com/users/stewart-ibm/following{/other_user}","gists_url":"https://api.github.com/users/stewart-ibm/gists{/gist_id}","starred_url":"https://api.github.com/users/stewart-ibm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stewart-ibm/subscriptions","organizations_url":"https://api.github.com/users/stewart-ibm/orgs","repos_url":"https://api.github.com/users/stewart-ibm/repos","events_url":"https://api.github.com/users/stewart-ibm/events{/privacy}","received_events_url":"https://api.github.com/users/stewart-ibm/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2017-03-17T02:45:40Z","updated_at":"2017-08-07T08:43:00Z","due_on":"2017-08-23T07:00:00Z","closed_at":null},"comments":2,"created_at":"2017-08-07T03:19:33Z","updated_at":"2017-08-07T08:48:21Z","closed_at":"2017-08-07T08:42:56Z","pull_request":{"url":"https://api.github.com/repos/open-power/op-test-framework/pulls/152","html_url":"https://github.com/open-power/op-test-framework/pull/152","diff_url":"https://github.com/open-power/op-test-framework/pull/152.diff","patch_url":"https://github.com/open-power/op-test-framework/pull/152.patch"},"body":"This patch supports for flashing OPAL Lids(Both skiboot and skiroot lids)\r\non all the BMC types. skiboot is manadatory and skiroot is optional.\r\n\r\nAnd also re-structured the code of BMC access functions in OpTestBMC\r\nto use new state machine. So this new code is now more stable.\r\n\r\nFor OpenBMC also has added two formats of flashing(PNOR and OPAL Lids),\r\nbut as per OpenBMC team host firmware updates are going to change. The\r\nnew update method's are going to use REST API instead of pflash tool.\r\n\r\nTODO: Change the update methods for OpenBMC systems, until then we can\r\nuse old method.\r\n\r\nReference command's for FSP systems:\r\na. To flash both skiboot & skiroot lids:\r\n./op-test --bmc-type FSP  ........\r\n--firmware-images images/ --host-skiboot skiboot.lid --host-skiroot-kernel zImage.epapr\r\n--host-skiroot-initrd rootfs.cpio.xz --run testcases.OpTestFlash.OpalLidsFLASH\r\n\r\nb. To flash only skiboot lid:\r\n./op-test --bmc-type FSP  ........\r\n--firmware-images images/ --host-skiboot skiboot.lid --run testcases.OpTestFlash.OpalLidsFLASH\r\n\r\nSame commands we can use for other BMC systems as well. So here skiboot is manadatory\r\nand skiroot is optional.\r\n\r\nSigned-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/open-power/op-test-framework/152)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/open-power/op-test-framework/issues/comments/320606655","html_url":"https://github.com/open-power/op-test-framework/pull/152#issuecomment-320606655","issue_url":"https://api.github.com/repos/open-power/op-test-framework/issues/152","id":320606655,"user":{"login":"pridhiviraj","id":16423000,"avatar_url":"https://avatars3.githubusercontent.com/u/16423000?v=4","gravatar_id":"","url":"https://api.github.com/users/pridhiviraj","html_url":"https://github.com/pridhiviraj","followers_url":"https://api.github.com/users/pridhiviraj/followers","following_url":"https://api.github.com/users/pridhiviraj/following{/other_user}","gists_url":"https://api.github.com/users/pridhiviraj/gists{/gist_id}","starred_url":"https://api.github.com/users/pridhiviraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pridhiviraj/subscriptions","organizations_url":"https://api.github.com/users/pridhiviraj/orgs","repos_url":"https://api.github.com/users/pridhiviraj/repos","events_url":"https://api.github.com/users/pridhiviraj/events{/privacy}","received_events_url":"https://api.github.com/users/pridhiviraj/received_events","type":"User","site_admin":false},"created_at":"2017-08-07T08:48:21Z","updated_at":"2017-08-07T08:48:21Z","body":"@stewart-ibm Cool, thanks.\r\nRight that makes sense. The only one pending for us is SMC's PNOR & Skiboot Code update. I guess we are going to provide pflash in petitboot shell, if that is the case we can automate otherwise we can use pupdate tool provided by SMC to update PNOR image."}}
{"actor":{"display_login":"pridhiviraj"}}