From 5017babb307122d8567ca78a5721e96c4d7ff8f2 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 6 Nov 2016 00:12:04 +0100 Subject: nwztools/plattools: fix black screen issue in dualboot, rework dualboot Sony added extensions to the frambuffer interface. It is important to take them into account since the OF uses them and might leave the framebuffer in an unusual state which would make the dualboot not display anything. Also rework the dualboot code so that it can boot rockbox (not doing anything at the moment), display all tools or boot the OF. Change-Id: Ia0f589c9ec8558f375270841503c0964aff07f0b --- utils/nwztools/plattools/all_tools.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'utils/nwztools/plattools/all_tools.c') diff --git a/utils/nwztools/plattools/all_tools.c b/utils/nwztools/plattools/all_tools.c index f3ecb51c05..c93e26b36e 100644 --- a/utils/nwztools/plattools/all_tools.c +++ b/utils/nwztools/plattools/all_tools.c @@ -31,7 +31,8 @@ TOOL(test_display) \ TOOL(test_keys) \ TOOL(test_power) \ - TOOL(test_ts) + TOOL(test_ts) \ + TOOL(test_fb) \ typedef int (*nwz_tool_main_t)(int argc, char **argv); @@ -60,7 +61,7 @@ static void hello(void) { /* clear screen and display welcome message */ nwz_lcdmsg(true, 0, 0, "all_tools"); - nwz_lcdmsg(false, 0, 2, "BACK: quit"); + nwz_lcdmsg(false, 0, 1, "BACK: quit"); nwz_lcdmsg(false, 0, 2, "LEFT/RIGHT: change tool"); nwz_lcdmsg(false, 0, 3, "PLAY: run tool"); } -- cgit v1.2.3