<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openpower-pnor-code-mgmt/generate-ubi, branch master</title>
<subtitle>OpenPOWER PNOR code management utility sources</subtitle>
<id>https://git.raptorcs.com/git/openpower-pnor-code-mgmt/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/openpower-pnor-code-mgmt/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/openpower-pnor-code-mgmt/'/>
<updated>2019-03-13T03:01:49+00:00</updated>
<entry>
<title>Static layout: Generate tar.gz for static layout pnor</title>
<updated>2019-03-13T03:01:49+00:00</updated>
<author>
<name>Lei YU</name>
<email>mine260309@gmail.com</email>
</author>
<published>2019-02-21T05:19:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/openpower-pnor-code-mgmt/commit/?id=dcb3fd799cd353925aaa269413b68b672f99315c'/>
<id>urn:sha1:dcb3fd799cd353925aaa269413b68b672f99315c</id>
<content type='text'>
Add --image_type option to specify the image type of generated PNOR in
tarball.
Support "squashfs" and "static" image types.
Rename `generate-squashfs` to `generate-tar` to reflect that this util
is to generate a tarball instead of squashfs.

Example of usage:

    # Generate unsigned tarball for Witherspoon
    ./generate-tar -i squashfs witherspoon.pnor

    # Generate signed tarball with default key for Witherspoon
    ./generate-tar -i squashfs -s -- witherspoon.pnor

    # Generate unsigned tarball for Romulus
    ./generate-tar -i static romulus.pnor

    # Generate signed tarball with default key for Romulus
    ./generate-tar -i static -s -- romulus.pnor

Tested: Verify the generated tarball contains correct files.

Change-Id: Ibb66605663b28888bd643baf92d6e4bdbf60c206
Signed-off-by: Lei YU &lt;mine260309@gmail.com&gt;
</content>
</entry>
<entry>
<title>Always clean up the scratch dir</title>
<updated>2017-11-06T18:20:43+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2017-10-25T16:35:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/openpower-pnor-code-mgmt/commit/?id=0e30f86cb44f3ab0aa4080faf32eb4bf2a9b12b2'/>
<id>urn:sha1:0e30f86cb44f3ab0aa4080faf32eb4bf2a9b12b2</id>
<content type='text'>
The scratch directory, holding the extracted squashfs image and
the temporary UBI image, can be quite large, &gt;40MB.
Use trap to make sure it always gets cleaned up.

Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
Change-Id: I0289036dcf2bbf40fc76cf5ebf9dde1d47379435
</content>
</entry>
<entry>
<title>Pass in the size of the UBI image</title>
<updated>2017-11-06T18:08:29+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2017-10-25T16:24:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/openpower-pnor-code-mgmt/commit/?id=8f618671364e4dc88c58446b4dd96ec06dbd8e2f'/>
<id>urn:sha1:8f618671364e4dc88c58446b4dd96ec06dbd8e2f</id>
<content type='text'>
Allow user to pass in the size of the PNOR UBI image.
Default is 128.

Change-Id: Ifbd7ff0e9185e4d445f39be144f07eb907f0051e
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Create UBI image</title>
<updated>2017-11-06T18:08:20+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2017-10-23T21:11:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/openpower-pnor-code-mgmt/commit/?id=927ac0fa3a08c9f4a89e9b466cebe5495fc89160'/>
<id>urn:sha1:927ac0fa3a08c9f4a89e9b466cebe5495fc89160</id>
<content type='text'>
Create a 128MiB UBI image with 3 volumes: a static
pnor-ro-&lt;versionId&gt;, a dynamic pnor-rw-&lt;versionId&gt;,
and a dynamic pnor-prsv.
The pnor-ro-&lt;versionId&gt; is created from the squashfs file.
pnor-rw-&lt;versionId&gt; and pnor-prsv are both empty and size
16MiB and 2MiB respectively.

A future enhancement would be to  pass in the size of the image.

Resolves openbmc/openbmc#2509

Change-Id: Ia8d9f3d8c72487eac06d7a5be5e856b1b07de7b1
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Untar tarball and check for squashfs file</title>
<updated>2017-11-06T18:08:10+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2017-10-23T18:08:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/openpower-pnor-code-mgmt/commit/?id=f8210842dc0cb13ddd8cec27f7ce23aa7f24f320'/>
<id>urn:sha1:f8210842dc0cb13ddd8cec27f7ce23aa7f24f320</id>
<content type='text'>
Untar the tarball and then check for existence of
pnor.xz.squashfs file.
A PNOR SquashFS Tarball must have a pnor.xz.squashfs file.
A similar check is done is in the openpower item updater.

Change-Id: Id6e63ee088941044ecc22282bd5abd6358d17d87
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
<entry>
<title>Basic generate-ubi script.</title>
<updated>2017-11-06T18:07:58+00:00</updated>
<author>
<name>Gunnar Mills</name>
<email>gmills@us.ibm.com</email>
</author>
<published>2017-10-23T16:05:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/openpower-pnor-code-mgmt/commit/?id=6a3e4e459ac61fa5ca915f6063be5ee01524422c'/>
<id>urn:sha1:6a3e4e459ac61fa5ca915f6063be5ee01524422c</id>
<content type='text'>
The generate-ubi script generates a UBI, Unsorted Block Images,
PNOR image from a PNOR SquashFS Tarball.
The PNOR SquashFS Tarball is generated from the
generate-squashfs script.
This commit is help text and taking arguments. More to come.

Change-Id: I645e8292624d1663393035dc041415b378ac9386
Signed-off-by: Gunnar Mills &lt;gmills@us.ibm.com&gt;
</content>
</entry>
</feed>
