<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-skiboot/libflash/test/Makefile.check, branch master</title>
<subtitle>Talos™ II skiboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-skiboot/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-skiboot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/'/>
<updated>2017-12-18T23:58:32+00:00</updated>
<entry>
<title>libflash/test: Add tests for mbox-flash</title>
<updated>2017-12-18T23:58:32+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyril.bur@au1.ibm.com</email>
</author>
<published>2017-12-05T01:01:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=b9774c47eecd0c90e503919432ec1e4a86355398'/>
<id>urn:sha1:b9774c47eecd0c90e503919432ec1e4a86355398</id>
<content type='text'>
A first basic set of tests for mbox-flash. These tests do their testing
by stubbing out or otherwise replacing functions not in
libflash/mbox-flash.c. The stubbed out version of the function can then
be used to emulate a BMC mbox daemon talking to back to the code in
mbox-flash and it can ensure that there is some adherence to the
protocol and that from a blocklevel api point of view the world appears
sane.

This makes these tests simple to run and they have been integrated into
`make check`. The down side is that these tests rely on duplicated
feature incomplete BMC daemon behaviour. Therefore these tests are a
strong indicator of broken behaviour but a very unreliable indicator of
correctness.

Full integration tests with a 'real' BMC daemon are probably beyond the
scope of this repository.

Signed-off-by: Cyril Bur &lt;cyril.bur@au1.ibm.com&gt;
[stewart: fix TESTS_LOOPS printf]
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>external/pflash: tests: Move the test-miscprint to pflash tests</title>
<updated>2017-08-01T03:58:07+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyril.bur@au1.ibm.com</email>
</author>
<published>2017-07-28T06:46:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=1f2f67aa78fa1e4f9ce7b2e5a4e9fe29760e5b72'/>
<id>urn:sha1:1f2f67aa78fa1e4f9ce7b2e5a4e9fe29760e5b72</id>
<content type='text'>
New code that is very much pflash functionality was added in commit
f2c87a3d2f6 "pflash option to retrieve PNOR partition flags".
Unfortunately at the time there wasn't an easy way to test pflash.

The previous patch adds pflash infrastructure and plumbs it into
`make check` nicely. This commit converts the tests originally added to
libflash tests.

Signed-off-by: Cyril Bur &lt;cyril.bur@au1.ibm.com&gt;
Reviewed-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>pflash option to retrieve PNOR partition flags</title>
<updated>2017-07-19T05:49:39+00:00</updated>
<author>
<name>Michael Tritz</name>
<email>mtritz@us.ibm.com</email>
</author>
<published>2017-07-12T20:31:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=f2c87a3d2f6df0886124636239d9950ef0abcab0'/>
<id>urn:sha1:f2c87a3d2f6df0886124636239d9950ef0abcab0</id>
<content type='text'>
This commit extends pflash with an option to retrieve and print
information for a particular partition, including the content from
"pflash -i" and a verbose list of set miscellaneous flags. -i option
is also updated to print a short list of flags in addition to the
ECC flag, with one character per flag. A test of the new option is
included in libflash/test.

Signed-off-by: Michael Tritz &lt;mtritz@us.ibm.com&gt;
Reviewed-by: Cyril Bur &lt;cyril.bur@au1.ibm.com&gt;
[stewart@linux.vnet.ibm.com: various test fixes, enable gcov]
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>consolidate gcov flags into HOSTGCOVFLAGS for host binaries</title>
<updated>2016-09-02T05:33:54+00:00</updated>
<author>
<name>Stewart Smith</name>
<email>stewart@linux.vnet.ibm.com</email>
</author>
<published>2016-09-01T05:46:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=0f1c75dbb52efddb5e37f343433223803163bcbb'/>
<id>urn:sha1:0f1c75dbb52efddb5e37f343433223803163bcbb</id>
<content type='text'>
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>make check: make test runs less noisy</title>
<updated>2016-07-12T09:18:28+00:00</updated>
<author>
<name>Stewart Smith</name>
<email>stewart@linux.vnet.ibm.com</email>
</author>
<published>2016-07-12T08:59:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=2ceb8b8c0ac53a9014e83d12e1c758d5f9e07fe6'/>
<id>urn:sha1:2ceb8b8c0ac53a9014e83d12e1c758d5f9e07fe6</id>
<content type='text'>
Run a small wrapper around some unit tests with the QTEST makefile macro
(QTEST=Quiet TEST). Also, wrap boot tests in mambo and qemu to be quiet
by default.

Both ./test/run.sh and the modified mambo/qemu test runner scripts output
full stdout and stderr in the event of error.

Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>*/test/*: Added '&lt;subdir&gt;-check' make targets</title>
<updated>2016-03-30T06:43:58+00:00</updated>
<author>
<name>Oliver O'Halloran</name>
<email>oohall@gmail.com</email>
</author>
<published>2016-01-18T00:27:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=b68849baad2c7cd46d9a8278279b42039b3d5174'/>
<id>urn:sha1:b68849baad2c7cd46d9a8278279b42039b3d5174</id>
<content type='text'>
Currently these exist for some parts of the source tree, but not all of it. They're nice if you are only modifing code in a one part of the tree as the full test suite can be a little slow.

Signed-off-by: Oliver O'Halloran &lt;oohall@gmail.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>libflash/blocklevel: Extend the block level to be able to do ecc</title>
<updated>2015-06-23T03:38:42+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyril.bur@au1.ibm.com</email>
</author>
<published>2015-06-23T03:22:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=199be6b84faeff7ef03032c857766d4a023fbbb4'/>
<id>urn:sha1:199be6b84faeff7ef03032c857766d4a023fbbb4</id>
<content type='text'>
At the moment ECC reads and writes are still being handled by the low level
core of libflash. ECC should be none of libflashes concern, it is primarily
a hardware access backend.

It makes sense for blocklevel to take care of ECC but currently it has no
way of knowing. With some simple modifications (which are rudimentary at
the moment and will need a performance improvement) blocklevel can handle
ECC, and with a little more effort this can be extended to provide read and
write protection in blocklevel.

Reviewed-By: Alistair Popple &lt;alistair@popple.id.au&gt;
Signed-off-by: Cyril Bur &lt;cyril.bur@au1.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>libflash: remove *.d files tests/ during make clean</title>
<updated>2015-04-17T19:30:03+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyril.bur@au1.ibm.com</email>
</author>
<published>2015-04-16T01:10:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=42567aad38123d00c0d636d350810b6add183dd9'/>
<id>urn:sha1:42567aad38123d00c0d636d350810b6add183dd9</id>
<content type='text'>
Signed-off-by: Cyril Bur &lt;cyril.bur@au1.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>libflash: Improved ECC interface</title>
<updated>2015-03-17T06:58:03+00:00</updated>
<author>
<name>Cyril Bur</name>
<email>cyril.bur@au1.ibm.com</email>
</author>
<published>2015-03-12T06:42:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=672f26aeae18352e1fe8e4c7030cf1e338188487'/>
<id>urn:sha1:672f26aeae18352e1fe8e4c7030cf1e338188487</id>
<content type='text'>
This patch is twofold.

1. Improves the low level ecc memcpy code to better
specify that we're reading/writing buffers with ecc bytes.

2. Improves/creates the libflash interfaces for ecc.

This patch also includes some tests

Signed-off-by: Cyril Bur &lt;cyril.bur@au1.ibm.com&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
<entry>
<title>libflash: move ffs_flash_read into libflash</title>
<updated>2015-02-26T05:34:27+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2015-02-26T03:46:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-skiboot/commit/?id=6c26bc72093a317a7018bafbece55393d9e222f5'/>
<id>urn:sha1:6c26bc72093a317a7018bafbece55393d9e222f5</id>
<content type='text'>
We have ffs_flash_read to do optionally-ecc-ed reads of flash data.
However, this isn't really related to the ffs partitioning.

This change moves ffs_flash_read into libflash.c, named
flash_read_corrected. The function itself isn't changed.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
Signed-off-by: Stewart Smith &lt;stewart@linux.vnet.ibm.com&gt;
</content>
</entry>
</feed>
