summaryrefslogtreecommitdiff
path: root/utils/nwztools/plattools (follow)
Commit message (Collapse)AuthorAge
* nwztools/plattools: improve makefile to build images automaticallyAmaury Pouly2016-11-20
| | | | Change-Id: Ibf17fe523c6ef534368d6f94f43fce5ac0c91caf
* nwztools: rework dualbootAmaury Pouly2016-11-12
| | | | | | | | | | | | | | | | | The new code gets closer to an actual bootloader: - it provides a menu with three options: Sony, Rockox, tools with icons (and extracts the Sony logo from the NVP) - the dualboot install script now creates a symlink from /.rockbox to /contents/.rockox which is necessary to run rockbox - more text drawing / framebuffer functions In the long run, we will move this under bootloader/ and rbutil/ and also use firmware/ drawing facilities, at the moment we use OF display program which is slow and creates some flickering. The logo extraction/placement code was tested with resolution 240x320 and I guessed some reasonable values for 240x400, but those will probably need some tweaking. Change-Id: I0319be902d21a7d33c1dee0fffdb4797065dbf8a
* nwztools/plattools: use player database and rework stuffAmaury Pouly2016-11-11
| | | | | | | Using the database, we can now safely read/write the NVP. I also add more support for Sony's "display" tool. Change-Id: I8439fe9bad391c7f29859d99f236781be7983625
* forgot fileAmaury Pouly2016-11-06
| | | | Change-Id: I32e23035a608ee04a69690975ab4bf629a902388
* nwztools/plattools: fix black screen issue in dualboot, rework dualbootAmaury Pouly2016-11-06
| | | | | | | | | | 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
* nwztools: add preliminary dualboot and dualboot install scriptAmaury Pouly2016-11-01
| | | | | | | | | | | | | | | | | | | At the moment, the script install_duaboot does the following: - rename SpiderApp to SpiderApp.of (unless it already exists) - install payload as SpiderApp - fixes permissions Since SpiderApp is the main app, it will execute instead of the OF. The current dualboot code (dualboot.c) is still a preliminary but the current version displays an "all tools" menu to choose for. When exitting the menu using BACK, it will run the OF. With the modifications made by the install script, it should not be possible to break the device. In the worst case scenario, the dualboot code crashes and it restarted by the sysmgrd, or hangs. A safe way to recover is to plug the USB cable and reset the device: the system manager will then start the USB app and one can reflash the device if necessary. Change-Id: Id9edab0347538ad2a8651a28aea7fd083feaa626
* nwztools/plattools: rework/clean and add an all-in-one toolAmaury Pouly2016-10-31
| | | | | | | This new tool (all_tools) embeds all the other tools and provides a menu to choose which one to run. Change-Id: I0e07864dd46559a7079b0f942c25155e6fa07112
* nwztools/plattools: add a tool to change destination and sound pressureAmaury Pouly2016-10-28
| | | | | | | | Since the nwz_lib does not have any nvp code yet, it's quite of ugly hack with hardcoded nvp node (11) for shipment information (shp). Thus I whitelisted two series (NWZ-E460 and NWZ-A860) which I know for sure use this node ID. Change-Id: I94c9b0db1f9d7ad764d2aa50576a911e710f25e1
* nwztools/plattools: add device listAmaury Pouly2016-10-28
| | | | | | | | This list can map from model id to device name. It was automatically extracted from Sony's tools. In the future, we will probably generate it from a clean database containing more useful information. Change-Id: Ibe580edf25b60bf0bf4aef4a06f40dddd19c5404
* nwztools/plattools: switch to BACK key to quitAmaury Pouly2016-10-26
| | | | | | The power off/option does not exist on some models. Change-Id: Ifb45293b3b3faa96d9fece2340cbd98299a4a0b7
* nwztools/plattools: add test_power, rework input, add test_ts (touchscreen)Amaury Pouly2016-10-26
| | | | Change-Id: I55ca29627801b5e760d1dbe407d96cd055f659ab
* nwztools/plattools: add adc testAmaury Pouly2016-10-19
| | | | Change-Id: Ic3ef964e8b5cc7b8ca3f02f141e9e4436a4d41db
* nwztools/plattools: add backlight testAmaury Pouly2016-10-19
| | | | Change-Id: I4bef0824eeed54238578d8b24a9845e8602d61af
* nwztools: add a new plattools directory with code to run on the deviceAmaury Pouly2016-10-19
This is code is intended to development into a library of code for the NWZ that will be useful to write the "bootloader" on those device. At the same time, it comes with test programs that are easy to run in firmware upgrade mode and also provide a great test bench for the library. At the moment, two test programs are available: - test_display: simply prints two messages using /usr/bin/lcdmsg - test_keys: displays input key event Change-Id: I9d214894ffc9127b528fcdd3eb5d6b61f4e657a7