Initial support for multiple UIs Move the device discovery code from separate udev helpers to a single process to listen on two sockets: one SOCK_DGRAM for incoming udev events, and one SOCK_STREAM for UIs to connect. Initial support for client/server infrastructure, still need to wire-up the udev messages. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Print ststus message when booting Add a couple of calls to pboot_message() to give some feedback when an option (or gameos) is selected. Also, convert pboot_message to varargs, to allow more flexible message formats. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Fix check for null initrd and boot args Because the strings are read from the pb socket, we need to check for an empty string, not a NULL string. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Add kexec argument logging Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Use a tux icon as the default for boot options Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Allow petitboot to run udevtrigger on start Add an option (-u) to run udevtrigger when petitboot is ready for device discovery. Also add -h to explain what -u does. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Fix includes for new libtwin Updates to libtwin mean that we need to do a little more #include-ing of our own. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Hookup kexec Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Make petitboot installable Add an install target and PREFIX= option the makefile, and change the artwork loading code to use the prefixed-path. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Initial gitification of petitboot Start a git repo for petitboot, sources from Ben Herrenschmidt and Jeremy Kerr. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>