<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot/lib/flash, branch master</title>
<subtitle>Blackbird™ petitboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-petitboot/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-petitboot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/'/>
<updated>2018-11-14T03:56:51+00:00</updated>
<entry>
<title>lib/flash: Check if the partition is signed</title>
<updated>2018-11-14T03:56:51+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2018-05-17T06:08:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=6a9c33fe705a479325b47e518f0eedab3239a6b4'/>
<id>urn:sha1:6a9c33fe705a479325b47e518f0eedab3239a6b4</id>
<content type='text'>
In more recent firmware images built by op-build the VERSION partition
is signed, and includes a 'secure header'. Check for this and skip it if
found so we parse the version strings properly.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/log: Switch to pb_log_fn</title>
<updated>2018-08-07T01:30:36+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2018-08-02T17:29:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=c78f9ec47ba92b74698dacdae963dbbefd9b676f'/>
<id>urn:sha1:c78f9ec47ba92b74698dacdae963dbbefd9b676f</id>
<content type='text'>
The only functional change should be an additional '/n' to
a few log messagees that seemed to be missing it.

Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/flash: Update type of size field</title>
<updated>2017-08-23T01:37:34+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2017-08-22T06:51:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=48ca02faa9816b158cb6fa56a4107701143cb212'/>
<id>urn:sha1:48ca02faa9816b158cb6fa56a4107701143cb212</id>
<content type='text'>
Skiboot commit c043065 "flash: Make size 64 bit safe" updated the
prototype of blocklevel_get_info() to use a uint64_t for the size
parameter. Update our usage to reflect this.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/flash: fix resource leak in flash_setup_buffer() error paths</title>
<updated>2016-05-06T03:57:30+00:00</updated>
<author>
<name>Andrew Donnellan</name>
<email>andrew.donnellan@au1.ibm.com</email>
</author>
<published>2016-05-04T01:22:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=87fa4885310b6c6b79e31d79d192ba9ea90cf236'/>
<id>urn:sha1:87fa4885310b6c6b79e31d79d192ba9ea90cf236</id>
<content type='text'>
Some error paths in flash_setup_buffer() fail to free the flash_info struct
or close the open ffs before they return. Change them to goto the cleanup
code at the end. Separate the cleanup code into separate labels depending
on whether we need to call ffs_close(), arch_flash_close() and
talloc_free().

Signed-off-by: Andrew Donnellan &lt;andrew.donnellan@au1.ibm.com&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/flash: Fix version side being interpreted backwards</title>
<updated>2016-03-04T23:27:27+00:00</updated>
<author>
<name>Sam Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-03-04T23:20:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=a6bb8cc856f43730ee04f2bae7d974551560a420'/>
<id>urn:sha1:a6bb8cc856f43730ee04f2bae7d974551560a420</id>
<content type='text'>
Signed-off-by: Sam Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/flash: Add support for platform versions</title>
<updated>2016-02-09T02:40:15+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam.mj@au1.ibm.com</email>
</author>
<published>2015-12-14T23:02:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=aaeba8e515e6b3416718b7feac985f01fb948b8f'/>
<id>urn:sha1:aaeba8e515e6b3416718b7feac985f01fb948b8f</id>
<content type='text'>
Add basic libflash support to read the VERSION partition on BMC
machines. This adds a dependency on the libflash shared library from
Skiboot.
The MTD partition is accessed through the libflash helper functions.
Once read into a buffer, the VERSION partition is a simple list of
newline-terminated version strings. Some BMC platforms may have two
'sides' to flash - these are interpreted as the "current" and "other"
sides depending on which one the current Petitboot is running from.

Signed-off-by: Sam Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
</feed>
