summaryrefslogtreecommitdiffstats
path: root/ui
Commit message (Collapse)AuthorAgeFilesLines
* Delete kexec temporary files before rebootingGeoff Levand2009-07-093-26/+81
| | | | Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add default video arg to kernel command lineGeoff Levand2009-07-091-2/+30
| | | | | | | Add the current bootloader video mode to the kernel command line when the command line does not have a video mode specified. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add ncurses joystick supportGeoff Levand2009-07-0910-5/+273
| | | | Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Update item text on editGeoff Levand2009-07-093-28/+112
| | | | | | Update the boot option menu item text on edit. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Remove unused ked status ked_boot.Geoff Levand2009-07-092-8/+1
| | | | | | Remove unused code for the ked return status ked_boot. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Remove nc menu descriptionGeoff Levand2009-07-095-38/+23
| | | | | | Remove some unused nc menu description code. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* CUI add empty itemGeoff Levand2009-07-097-14/+72
| | | | | | Add a CUI hot-key 'o' that opens a new empty menu item. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add generic CUI programGeoff Levand2009-07-091-0/+288
| | | | | | Add a non-PS3 CUI program. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Fix CUI scrollGeoff Levand2009-07-091-0/+3
| | | | | | | A call to pos_menu_cursor() is needed when items are added to menu. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Fix ps3 boot game OSGeoff Levand2009-07-091-2/+1
| | | | | | Fix the PS3 boot game OS item. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Display version on debug buildsGeoff Levand2009-07-091-0/+5
| | | | | | Display the program version in the main menu for debug builds. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add PS3 timeout optionGeoff Levand2009-07-091-4/+10
| | | | | | | Add an option --timeout to the PS3 CUI program to enable the use of the autoboot timer. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add PS3 reset default optionGeoff Levand2009-07-093-13/+22
| | | | | | Add a --reset-defaults option to the PS3 CUI program. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add PS3 countdown timerGeoff Levand2009-07-093-15/+66
| | | | | | Add countdown timer support to the PS3 UI programs. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add CUI countdown timerGeoff Levand2009-07-092-8/+51
| | | | | | Add support for a petitboot CUI countdown timer. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add generic UI countdown timerGeoff Levand2009-07-092-0/+181
| | | | | | Add support for a generic petitboot UI countdown timer. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Remove ked ctrl-B hot keyGeoff Levand2009-07-091-14/+3
| | | | | | | Remove ked ctrl-B hot key. It is just as easy to hit enter twice. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Fix ked backspaceGeoff Levand2009-07-091-9/+18
| | | | | | | | Fix a bug in the ked editor field backspace logic. Stop deleting chars when cursor reaches front of feild buffer. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Simplify kexecGeoff Levand2009-07-091-14/+14
| | | | | | Simplify the pb_run_kexec() routine. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Fix kexec callGeoff Levand2009-07-091-8/+15
| | | | | | | Fix the preparation of kexec call args. kexec wants the param and value in the same arg. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Quiet wgetGeoff Levand2009-07-091-6/+9
| | | | | | Add the --quiet option to wget for non-debug builds. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Fix nc-cui commentGeoff Levand2009-07-091-4/+4
| | | | | | A simple comment move. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com>
* Add PS3 ncurses CUI programGeoff Levand2009-06-301-0/+539
| | | | | | | | Add a PS3 ncurses CUI program, and the configure option --enable-ps3 to control its build. The default is --enable-ps3=yes. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add ncurses UI supportGeoff Levand2009-06-302-0/+601
| | | | | | | Add helper routines to support ncurses UI programs. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add ncurses boot option editorGeoff Levand2009-06-302-0/+416
| | | | | | | Add an ncurses boot option editor. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add ncurses UI menuGeoff Levand2009-06-304-0/+702
| | | | | | | Add support for an ncurses UI menu object. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add ui-system helper routinesGeoff Levand2009-06-303-1/+199
| | | | | | | | | | | | Add some UI system helper routines: pb_run_kexec() pb_elf_hash() pb_cat_hash() pb_opt_hash() Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add remote file loading routinesGeoff Levand2009-06-302-0/+325
| | | | | | | | Create the new files loader.h and loader.c for loading remote file specifed by its URL. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add URL parsing routinesGeoff Levand2009-06-302-0/+248
| | | | | | | | | Create the new files url.h and url.c for parsing URL strings. The new structure struct pb_url holds the results of the parse operation. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Revert const device in discover_client_opsGeoff Levand2009-06-302-4/+4
| | | | | | | | | | | | | | Make the device structure passed to the discover_client_ops callbacks writable. Commit 2b42cdd35ccd83c52e9df257efdfcda040d170d9 (Make client ops constant) changed the discover_client_ops callback routine arguments to be pointers to const device structures. Typically, the callback routines will initialize and destroy the device.ui_info and boot_option.info variables, so the device instance must be writable by the callback routines. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Fix memmove sizeGeoff Levand2009-06-301-1/+1
| | | | | | | Correct the byte count for several memmove calls. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* PS3 platform routinesGeoff Levand2009-03-302-0/+309
| | | | | | | | | | | Add new files ui/common/ps3.h and ui/common/ps3.c with platform specific routines to access the PS3 flash memory and to get and set the PS3 video mode. The flash routines use the ps3-utils library. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Rename client add remove opsGeoff Levand2009-03-304-15/+15
| | | | | | | | For consistency, rename the symbols add_device and remove_device to device_add and device_remove. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Pass cb_arg to discover_client_initGeoff Levand2009-02-213-3/+4
| | | | | | | | Pass the client cb_arg to discover_client_init() and have it initialize the structure member. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Fix log move commitGeoff Levand2009-02-021-1/+1
| | | | | | | | Fix missed log.h path change in log move commit (dae4540e417e2bf72dd83b2713a670bde0056ba9). Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* [discover client] Remove device from discover array before notifying UIJeremy Kerr2009-02-011-4/+4
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* [discover client] Add device accessorsJeremy Kerr2009-02-012-0/+32
| | | | | | Allow the UIs to query the current device set. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* [discover client] Make devices persistentJeremy Kerr2009-02-013-6/+52
| | | | | | | Change discover client to keep devices around after they've been added, and freed after removal. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Make client ops constantGeoff Levand2009-02-013-8/+11
| | | | | | | Make the discover_client_ops args read-only. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add client ops instance argGeoff Levand2009-02-013-7/+16
| | | | | | | | | Add a user supplied agument to the struct discover_client_ops callback routines that is suitable for managing client instance data. Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Change client to use pb_logGeoff Levand2009-02-011-5/+7
| | | | | | | | Change any use of the standard io streams in the client routines to use pb_log(). Signed-off-by: Geoff Levand <geoffrey.levand@am.sony.com> Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Report error is no message is readJeremy Kerr2009-01-041-1/+1
| | | | | | Allow the client to detect read() failures. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Use a list for device->boot_optionsJeremy Kerr2009-01-021-4/+3
| | | | | | Makes adding and removing options easier for parsers. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Remove reference to device.hJeremy Kerr2008-12-313-3/+0
| | | | | | It isn't needed anymore. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Remove const from print_device_removeJeremy Kerr2008-12-151-1/+1
| | | | | | ..we can add consts where suitable later. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Don't print pid on ui test startupJeremy Kerr2008-12-151-2/+0
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Initial support for multiple UIsJeremy Kerr2008-12-1510-0/+1396
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>
OpenPOWER on IntegriCloud