[OpenPower-Firmware] How to convert PNOR to HPM? (was How risky is uploading self-compiled PNOR for Habanero?)

Werner Fischer wfischer at thomas-krenn.com
Thu Nov 24 21:33:18 AEDT 2016


And I have another question: how can I convert the habanero_update.pnor
file that I get to a "hpm" file (which the update procedure of the BMC
webinterface is expecting when I want to do a firmware upgrade)?

PS: after compiling I got the following files:
        wfischer at tpw:~/git/op-build/output/images$ ls -lah
        total 224M
        drwxr-xr-x 2 wfischer wfischer 4,0K Nov 17 18:45 .
        drwxrwxr-x 7 wfischer wfischer 4,0K Nov 17 18:25 ..
        -rwxr-xr-x 1 wfischer wfischer  40K Nov 17 18:31 cappucode.bin
        -rwxr-xr-x 1 wfischer wfischer  64M Nov 17 18:45 habanero.pnor
        -rwxr-xr-x 1 wfischer wfischer  32M Nov 17 18:45
        habanero_update.pnor
        -rw-r--r-- 1 wfischer wfischer  51M Nov 17 18:42 rootfs.cpio
        -rw-r--r-- 1 wfischer wfischer  11M Nov 17 18:43 rootfs.cpio.xz
        -rw-r--r-- 1 wfischer wfischer  51M Nov 17 18:43 rootfs.tar
        -rwxr-xr-x 1 wfischer wfischer 979K Nov 17 18:44 skiboot.lid
        -rwxr-xr-x 1 wfischer wfischer 244K Nov 17 18:44 skiboot.lid.xz
        -rw-r--r-- 1 wfischer wfischer  15M Nov 17 18:43 zImage.epapr
        wfischer at tpw:~/git/op-build/output/images$ 

Thanks in advance for any feedback,
best regards,
Werner

On Mon, 2016-11-21 at 14:51 +0000, Werner Fischer wrote:
> I'm testing a Habanero System from TYAN (the ...-4T-3 model [1]).
> 
> I have now compiled a PNOR for this server on my x86_64 Ubuntu 14.04
> laptop. For this I did:
> ------------------------------------------------------------------
> $ git clone --recursive https://github.com/open-power/op-build.git
> $ cd op-build
> $ . op-build-env
> $ op-build habanero_defconfig
> $ op-build
> ------------------------------------------------------------------
> [...]
> My question now is: how dangerous is it to upload this PNOR to the
> server instead of uploading the official PNOR from TYAN? I'm rather
> confident that it should work, and I also think that in case that the
> PNOR does not work it should be possible to upload the offical TYAN PNOR
> again as described in this blog post [2], but I also do not want to
> break the server. So I'd be thankful for any field reports of people who
> did this on such a TYAN system.
> 
> Best regards,
> Werner
> 
> [1] http://www.tyan.com/Barebones_TN71-BP012_BSP012T71V14HR-4T-3
> [2] http://mitacfae.blogspot.co.at/2016/05/how-to-upgrade-bp012-bmc-and-pnor-to.html



More information about the OpenPower-Firmware mailing list