<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot/utils/hooks, 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>2019-05-30T05:23:15+00:00</updated>
<entry>
<title>Various fixups and checks to make scan-build happy</title>
<updated>2019-05-30T05:23:15+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2019-03-25T06:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=9e869ebe3a5127575105d82c4d289d95cbed2db9'/>
<id>urn:sha1:9e869ebe3a5127575105d82c4d289d95cbed2db9</id>
<content type='text'>
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>utils/hooks: Set stdout-path property</title>
<updated>2018-03-07T05:24:31+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2018-03-02T04:20:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=526d4b3d959d3d108f38f35dae0855a29692a069'/>
<id>urn:sha1:526d4b3d959d3d108f38f35dae0855a29692a069</id>
<content type='text'>
The linux,stdout-path property was deprecated in favour of stdout-path
in the v3.14 kernel. 'stdout-path' takes priority in newer kernels but
older kernels won't be aware of it, so set both at boot time.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>printf: Fix format type warnings</title>
<updated>2018-01-10T02:34:54+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2018-01-06T00:47:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=41caf09e98b14e34830f524405efc1bdd4087365'/>
<id>urn:sha1:41caf09e98b14e34830f524405efc1bdd4087365</id>
<content type='text'>
Fixes build warnings like these when building 32 bit programs:

  warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument has type ‘uint64_t’

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>util/hooks: Don't update DT when ttyS* console active</title>
<updated>2017-03-17T00:34:15+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2017-03-10T05:44:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=7219a3a770f6321da7413cbd60b1107c8c530086'/>
<id>urn:sha1:7219a3a770f6321da7413cbd60b1107c8c530086</id>
<content type='text'>
Update 30-dtb-updates to not accidentally treat ttyS* consoles as tty*
and update linux,stdout-path with the VGA console details.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>utils/hooks: Don't fail early if fb0 missing</title>
<updated>2017-03-16T04:17:16+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2017-03-08T23:59:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=8107b37ad034f7fd201ed49dfcc7a8284e71de0a'/>
<id>urn:sha1:8107b37ad034f7fd201ed49dfcc7a8284e71de0a</id>
<content type='text'>
30-dtb-updates would exit early if the 'fb0' file was missing, however
the set_stdout() step does not depend on this.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>utils/hooks: Rename 30-add-offb to 30-dtb-updates</title>
<updated>2016-09-08T04:26:27+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-09-08T01:45:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=ff09391bd6294cce5cfc294ce34148f464a8cf3a'/>
<id>urn:sha1:ff09391bd6294cce5cfc294ce34148f464a8cf3a</id>
<content type='text'>
30-add-offb now performs functions other than just setting offb
information, so rename it to a more accurate '30-dtb-updates'.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>Consolidate petitboot,tty and petitboot,console</title>
<updated>2016-09-08T04:26:27+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-08-09T06:16:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=d9e70bb63227a683f808a21be20b3d5e1a474f95'/>
<id>urn:sha1:d9e70bb63227a683f808a21be20b3d5e1a474f95</id>
<content type='text'>
Commit ce54f86 "Add petitboot,tty and track available consoles" added
the petitboot,tty parameter, but the petitboot,console parameter is also
recognised by Petitboot. These are ultimately handled by the 30-add-offb
and 80-set-stdout hooks respectively, but exist for mostly the same
purpose.

We consolidate these down to just the original petitboot,console
parameter. If the contents of petitboot,console have been configured by
Petitboot (ie. it is of the form /dev/dev# [ Description ]) we behave as
normal, otherwise we assume that petitboot,console contains a full
OF path to the intended console device and do not allow it to be
modified. This follows petitboot,console's original intent to be a debug
aid, and takes precedence over any other use.
The 80-set-stdout hook is removed as 30-add-offb now accounts for both
use cases.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>Use 'consoles' instead of 'tty' to refer to interfaces</title>
<updated>2016-09-08T04:26:27+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2016-08-09T06:01:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=9f42e56fc5968fcb34edfad017adb73960c2bb61'/>
<id>urn:sha1:9f42e56fc5968fcb34edfad017adb73960c2bb61</id>
<content type='text'>
'Console' is more readily understandable and technically more correct
than 'tty' for referring to the interfaces that Petitboot starts a UI on.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>hooks/set-stdout: move hook to after automatic stdout settings</title>
<updated>2016-08-08T06:39:40+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2016-08-05T07:05:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=8f0e069fc43ed6f6a230329839f970415147d1aa'/>
<id>urn:sha1:8f0e069fc43ed6f6a230329839f970415147d1aa</id>
<content type='text'>
If a console is defined in NVRAM, we want it to take precedence over
anything that 30-add-offb calculates automatically. This change shifts
the 20-set-stdout script to later in the hook processing, so that it
will override any automatic settings.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>hooks/add-offb: Add leading slash to HVC node paths</title>
<updated>2016-08-08T06:39:37+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2016-08-05T07:05:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=0611a74491328d9ce346957c2320310a21caa8a9'/>
<id>urn:sha1:0611a74491328d9ce346957c2320310a21caa8a9</id>
<content type='text'>
We need an absolute path to the serial@N device. It looks like some
kernels aren't reading the current path correctly, leading to no console
output.

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