| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Both linux and gameos boots have elipses.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Currently we don't see booting messages, as petitboot has quit before
the fbdev has updated. By using twin_window_draw() in pboot_message,
we force the refresh before petitboot exits.
Also, don't exit in the gameOS path - may as well leave the GUI active
while rebooting.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|
|
|
|
|
|
|
| |
Using the new twin joystick API, map some of the sixaxis controller
events to key events.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|
|
|
|
| |
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|
|
|
|
|
|
| |
faster. Still gross hacks. All of that badly needs cleanups after
the initial release.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
|
|
| |
Twin can support compressed cursors, so save a little space here.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| | |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|/
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
|
|
| |
Turn the background image into a jpeg and scale it to screen dimensions
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
Not all twin headers are always present, so conditionally include
depending on whether _USE_X11 is set. Also, don't #define _USE_X11
by default.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
|
|
|
|
| |
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
|
|
|
|
|
|
|
| |
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>
|
|
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>
|