<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot, 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>2020-01-25T03:54:50+00:00</updated>
<entry>
<title>test/parser: Add rhel8 test data to check_DATA</title>
<updated>2020-01-25T03:54:50+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2020-01-23T04:45:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=0ed84c01b6eaee98bd44cf0892982bbd059c75d1'/>
<id>urn:sha1:0ed84c01b6eaee98bd44cf0892982bbd059c75d1</id>
<content type='text'>
We want these included in the distribtion tarball too.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>docker: build petitboot outside of the source dir</title>
<updated>2020-01-25T03:54:50+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2020-01-23T04:04:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=9cf513f905bcc2a62f2d2f62c78bfc21781419af'/>
<id>urn:sha1:9cf513f905bcc2a62f2d2f62c78bfc21781419af</id>
<content type='text'>
Ensure that srcdir != builddir builds will keep working.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>Remove unused 's' file</title>
<updated>2020-01-25T03:54:50+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2020-01-23T04:01:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=938365251d8f82601d930a444d74d0b90fc95efc'/>
<id>urn:sha1:938365251d8f82601d930a444d74d0b90fc95efc</id>
<content type='text'>
Remove a spurious (empty) file.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>discover: Check if the kernel image has Ultravisor support</title>
<updated>2020-01-25T03:54:50+00:00</updated>
<author>
<name>Maxiwell S. Garcia</name>
<email>maxiwell@linux.ibm.com</email>
</author>
<published>2019-09-23T22:30:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=7b108dfe3a4788801537ce48b67a0d69c1b25d7f'/>
<id>urn:sha1:7b108dfe3a4788801537ce48b67a0d69c1b25d7f</id>
<content type='text'>
The PPC kernel image has an ELF Note 'namespace' called 'PowerPC'
to store capabilities and information which can be used by a
bootloader or userland. The capabilities can be accessed using
the 'type' PPC_ELFNOTE_CAPABILITIES which returns a bitmap
as 'descriptor' field.

Bit 0 in this bitmap indicates that the powerpc kernel binary
knows how to run in an ultravisor-enabled system. So, using this
bit, the petitboot can decide to abort the boot if the kernel is
incompatible, avoiding the crash later.

This validation only occours on PowerPC ultravisor-system and if
the config 'preboot check' in UI screen is enabled.

Signed-off-by: Maxiwell S. Garcia &lt;maxiwell@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>ui/ncurses: Add preboot check option in the config screen</title>
<updated>2020-01-25T03:54:27+00:00</updated>
<author>
<name>Maxiwell S. Garcia</name>
<email>maxiwell@linux.ibm.com</email>
</author>
<published>2019-09-23T22:30:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=3513c7f934d97b1db34c5e4e1ce9c995844764bd'/>
<id>urn:sha1:3513c7f934d97b1db34c5e4e1ce9c995844764bd</id>
<content type='text'>
Petitboot might run some checks to validate the kernel images before
call the kexec load. This patch adds both 'preboot check' option in the
config UI screen and a NVRAM variable 'petitboot,preboot-check' to make
the user choice persistent.

The 'preboot check' is enabled by default. The 'petitboot,preboot-check'
is created on NVRAM only when 'preboot check' is disabled by the user.

NVRAM property changed to preboot-check, small label changes and help
text added by Jeremy Kerr &lt;jk@ozlabs.org&gt;.

Signed-off-by: Maxiwell S. Garcia &lt;maxiwell@linux.ibm.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>discover: Add helper functions to read ELF notes</title>
<updated>2020-01-23T03:56:39+00:00</updated>
<author>
<name>Maxiwell S. Garcia</name>
<email>maxiwell@linux.ibm.com</email>
</author>
<published>2019-09-23T22:30:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=0c074025ef345c64af088c78c7f8f0e14a51f700'/>
<id>urn:sha1:0c074025ef345c64af088c78c7f8f0e14a51f700</id>
<content type='text'>
The libelf has low level functions to access the ELF structures.
This commit adds two external higher level functions:

elf_open_image():
 - Get the ELF structure from a binary;

elf_getnote_desc()
 - Get the ELF note 'descriptor' using both namespace and ELF type.

The definitions used in the 'elf.h' was taken from linux source code:
- arch/powerpc/include/asm/elfnote.h
- arch/powerpc/kernel/note.S

Signed-off-by: Maxiwell S. Garcia &lt;maxiwell@linux.ibm.com&gt;
</content>
</entry>
<entry>
<title>configure: Add libelf as a requirement</title>
<updated>2020-01-23T03:55:39+00:00</updated>
<author>
<name>Maxiwell S. Garcia</name>
<email>maxiwell@linux.ibm.com</email>
</author>
<published>2019-09-23T22:30:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=827a7af51bb120579a7addbcda216300988a3b1e'/>
<id>urn:sha1:827a7af51bb120579a7addbcda216300988a3b1e</id>
<content type='text'>
With this library, petitboot is able to open the ELF binary to check
information, like annotation in ELF notes section.

Minor libelf-dw dependency additions by Jeremy Kerr &lt;jk@ozlabs.org&gt;.

Signed-off-by: Maxiwell S. Garcia &lt;maxiwell@linux.ibm.com&gt;
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>discover/boot: unify verification failure messages</title>
<updated>2020-01-23T01:02:43+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-10-29T09:03:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=059cc5168f9b24eb5278e084909afe47db2861a6'/>
<id>urn:sha1:059cc5168f9b24eb5278e084909afe47db2861a6</id>
<content type='text'>
Currently, we have two sites where the result of validate_boot_files is
interpreted: in kexec_load, and boot_process. In the former, we generate
the pb_log message, and in the latter we generate the status message.

This means we have separate places to maintain similar error messages,
which is prone to future errors. This change does all of the
interpretation directly after calling validate_boot_files().

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>discover/boot: add support for `kexec -s` for kexec_file_load</title>
<updated>2020-01-23T01:02:43+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-10-29T08:15:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=2f6259d468dd9cab890c95ee0895f00db0300842'/>
<id>urn:sha1:2f6259d468dd9cab890c95ee0895f00db0300842</id>
<content type='text'>
kexec supports a -s option to perform a kexec_file_load syscall (in
place of a kexec_load). This is triggered through the -s argument to
kexec.

This change adds support for calling kexec with -s. If that fails, we
fall back to -l.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>ui/ncurses: Add secure &amp; trusted boot status</title>
<updated>2020-01-23T01:02:43+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2019-11-21T07:27:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=e9340b7230435c8cd1fc1f176b400d5bc1370249'/>
<id>urn:sha1:e9340b7230435c8cd1fc1f176b400d5bc1370249</id>
<content type='text'>
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
</feed>
