summaryrefslogtreecommitdiffstats
path: root/rbutil
AgeCommit message (Collapse)AuthorFilesLines
2014-03-20OS X: change include paths to use actual paths.Dominik Riebeling1-2/+2
The old include path is actually a symlink for compatibility. Newer SDK versions remove that symlink to the include breaks. Change-Id: I74317557840f1886cebc1ce099e103dc415eabc0
2014-02-10mkimxboot: don't forget to select LRADC source before readingAmaury Pouly3-37/+47
Change-Id: I3435857f48580d7b3bf9363a2eed96738fbda69a
2014-01-27Use new ipod6g player image for ipod6g.Dominik Riebeling3-1/+2
Change-Id: Ia010373529df3f9bed3f40f5372d8bc1fd9769fb
2014-01-21mkimxboot: tool can now recreate a stub to recover from very low batteryAmaury Pouly6-50/+212
Several devices, including the Fuze+ have great trouble recovering from very low battery states, even in the presence of USB power. This is partly due to buggy Sigmatel boot stubs and Rockbox bootloader doing unsafe power operations on boot (should be fixed soon). In such a state, it is impossible to boot either the OF and Rockbox, so only the recovery mode is available. With this commit, mkimxboot can now create a very small stub which only does one thing but does it well: setup charging to recover from any situation. It does not provide a fancy charging screen or whatever, screen will just stay black and the device will slowly charge at ~100mA. When the battery is back to a normal level, just unplug and boot normally. Change-Id: Ib50880af85ed1f4f64a7eed0f2221e73c889c351
2014-01-21mkzenboot: reflect ZEN V target id changeAmaury Pouly2-2/+2
Change-Id: I0bad98b43e1a23c9432f4bdfe78dc77ead7879a8
2014-01-21mkimxboot: fix strange MD5 sum about ZEN X-Fi3Amaury Pouly1-1/+6
This old sum didn't match the US or EU 1.00.25 version and the actual ones were missing. Change-Id: I942641e5f367ab45794cb93a8b26b87962172216
2014-01-21Initial commit for the ZEN X-Fi StyleAmaury Pouly5-2/+33
Change-Id: Ib25a357a7bafd2ef25f273cadff70fafbd8d4661
2014-01-05Bump Rockbox Utility version to 1.4.0.rbutil_1.4.0Dominik Riebeling2-3/+3
Change-Id: I56cb05e2367a24341af6a8feb70f291628e78797
2014-01-05Fix rm function on Windows once more.Dominik Riebeling1-1/+1
Windows del doesn't handle a non-existing folder gracefully, so check for existence first. Change-Id: I9c401f3f3a3e1e01b80d29e335256fbf3db22d35
2014-01-05Fix rm function on Windows.Dominik Riebeling1-1/+1
Windows del doesn't handle paths with / as separators, need to convert them first. Change-Id: Idb3efa96167aec5666517feabab67385ebd2db1a
2014-01-05Fix rebuilding of libs on OS X.Dominik Riebeling1-2/+5
OS X ar operates on fat libaries. In this case updating the library isn't possible and when those change ar will only return an error. Remove the output file prior to running ar to work around this limitation. Change-Id: I7ebc66efd092a8e6037ae86a3658afe6b4da777f
2014-01-05Add missing german translations and lupdate remaining ones.Dominik Riebeling16-0/+146
Change-Id: I1bf100e17170d3845a54267e74f1a2fa8e84b7e5
2014-01-05Update french Rockbox Utility translation.Dominik Riebeling1-33/+34
Thanks to lebellium for updating. Change-Id: Ic8f14f358a28202d3c6d88b24ec45b8106d590e0
2014-01-05Make some missing strings translatable.Dominik Riebeling1-4/+4
Change-Id: I566bb9ea16b9e5e3f46e81393c07d3c13a748a63
2014-01-05Update german Rockbox Utility translation.Dominik Riebeling2-33/+44
Change-Id: Ie2751f3cea518a01b0bd17f69b5d72ece286bc14
2014-01-05Dutch (nl) translation update of RockboxUtilityBertrik Sikken1-38/+39
Change-Id: Id0917e12e5e6dfe9360aa58506c6d894e74145de
2014-01-05lupdate all translations.Dominik Riebeling16-7878/+10162
Change-Id: Iac3462ba5191b3b7e3f2a37c67119685e1931a6f
2014-01-05Drop year from (c) notice in Rockbox Utility.Dominik Riebeling17-25/+25
Instead of having to update it every year just drop it. We have the build date in the binaries we provide, and the years it has been developed can be retrieved via git anyway. Change-Id: Ib33ee851883146509034c405cd65552a0f67194e
2014-01-05Fix potentially problematic sprintf statement.Dominik Riebeling1-2/+2
Change-Id: Ice0d7b0d4c042be991cdbca7a390b613b5bdc5a6
2013-12-21Update changelog.Dominik Riebeling1-0/+2
Change-Id: I81491530d712fde8cc0912d4ede26ce1db55a6df
2013-12-21Fix recorderv2 manual.Dominik Riebeling1-1/+1
archosrecorderv2 uses the archosfmrecorder manual. Change-Id: I015272db750b2fc5054d8259b37f00e0698afbff
2013-11-18Initial commit for the Creative ZEN VAmaury Pouly5-4/+21
Change-Id: I3408cfdf742ea5995d5c87bf76653f436e1ec2b0
2013-11-13mkimxboot: add NWZ-E380 1.0.0 firmwareAmaury Pouly1-0/+6
Since E380 is just rebranded E370, mark it as E370 Change-Id: I2eb7dac9ff18a7dbbd26c44b8784207e54f48dd0
2013-11-12Add missing entry to changelog.Dominik Riebeling2-0/+3
Add a missing entry and treat changelog file always as UTF-8. Change-Id: I847c399ddf6d8aacf155864fbd9109121a761bc5
2013-11-12Move LDOPTS to the end of the linker call.Dominik Riebeling1-2/+2
Command line order is important with newer gcc versions. mkzenboot extends LDOPTS but the linker would ignore that since no object using it has been mentioned on the command line. Moving it to the end should fix this. Change-Id: I081e86fa88f95dba6077a50f2b4315bf3a805ae5
2013-11-12Suppress some unused variable warnings in libmspack.Dominik Riebeling2-0/+4
Change-Id: Iccc98cf2092a5a0101021e24b051c42743b9becf
2013-11-11mkzenboot: add Zen X-Fi firmware 1.04.08bootloader_fuzeplus_v2Amaury Pouly1-0/+4
Change-Id: Ic13aac09a7dc321abb23c6ffadd060f4ca5ce4fa
2013-11-04Update changelog.Dominik Riebeling1-0/+2
Add changes merged via Gerrit to changelog. Change-Id: I230b1cb17f3ab78bfff6c2ac990735ab05b9a6d5
2013-11-04Fix changelog showing up too often.Dominik Riebeling3-6/+8
- Prevent the Changelog showing up when closing the configuration dialog if "Show on startup" is enabled. - Increase dialog size a bit. - Detect and link Gerrit IDs. Change-Id: I049be3c38a57b2559f2a78392b785fa51ec99dc1
2013-11-04Handle conversion to text in Sysinfo::getInfo().Dominik Riebeling3-4/+10
When saving the system info from the progresslogger it shouldn't have knowledge about the format of the data provided by getInfo(). Instead of relying on the output being HTML formatted make getInfo() accept a parameter that indicates if the data is to be formatted as HTML or text. Change-Id: I733fe1a148e51b70ea1361d8feccffd7cbccd3d7
2013-11-04Fix compiling with MSVC.Dominik Riebeling1-1/+1
MSVC doesn't understand the gcc specific -Wno-unused-local-typedefs option. Don't add it in this case. Change-Id: I7ffb6c0c9c797eaad85975199c386020c464ca7b
2013-11-04Fix cutelogger with MSVC.Dominik Riebeling2-1/+5
We're compiling cutelogger directly, not as DLL. Therefore we must not add __declspec attributes to the header. Change-Id: I41b87fd4ba34dfbcd0d37245ff1c1f279139bb33
2013-11-04Use cutelogger for Rockbox Utility internal trace.Dominik Riebeling65-455/+2420
Change tracing from qDebug() to use cutelogger, which is available under the LGPL2.1. This allows to automatically add filename and line number to the log, and also provides multiple log levels. Change-Id: I5dbdaf902ba54ea99f07ae10a07467c52fdac910
2013-11-04Add support for the ZEN X-Fi3 to rbutilAmaury Pouly1-0/+16
Change-Id: I086bc2fbdaf29fad3f6f08b198eb13d21e09dd78 Reviewed-on: http://gerrit.rockbox.org/419 Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
2013-11-04Add support for CAB archives to rbutilAmaury Pouly8-14/+350
Change-Id: Ia8b4953343caf8bc2b3c5a6cfd53c921c6d082b1 Reviewed-on: http://gerrit.rockbox.org/418 Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
2013-11-04Fix libmspack to compile with rbutilAmaury Pouly26-55/+55
The build system used by rbutil is not very robust: all the files are eventually compiled to the same directory so we cannot have two files with the same name (system.c would conflicts with system.cpp) so rename one file to avoid this. Also change all include directives to local ones because we don't have to expose the entire mspack source to inclusion. Change-Id: I3fe0638d69fdc30566eb9425abfe33c807678b28 Reviewed-on: http://gerrit.rockbox.org/417 Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
2013-11-04Add libmspack to rbutilAmaury Pouly37-0/+10082
Change-Id: I520c14131ec1e12013f106c13cba00aac058ad83 Reviewed-on: http://gerrit.rockbox.org/391 Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
2013-10-22Introduce rbutil/mkzenboot, a replacement for tools/mkzenbootAmaury Pouly15-0/+2574
The old tools/mkzenboot has a number of problems: very hard to maintain, poor integration with rbutil. Restart from scratch by recycling all the crypto and descrambling code, rewrite the actual firmware modification part to handle all scenarios in a much clearer way. The code is ready to be integrated into Rockbox Utility, by using the very similar interface to mkimxboot. I copied all the keys from the old mkzenboot, so it can potentially support the older Creative ports, but since this is untested, I prefer not do so at the moment. However, I did add a "mixed" boot option to support the dualboot style used in the older ports. Change-Id: I80cfc48fa78187baa1b1692e8a30ec7137cea37b
2013-10-21Remove useless bracesAmaury Pouly1-2/+0
Change-Id: I88cce98cd8cc04f0245fba8ef30434167df483fc
2013-10-01fwpatcher/rbutil - added support for H300 v1.31KLorenzo Miori1-0/+2
Change-Id: I4e0801f136f9b9e490209c0808eabfc334f46643 Reviewed-on: http://gerrit.rockbox.org/630 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested-by: Marcin Bukat <marcin.bukat@gmail.com>
2013-09-30Implement a first, simple changelog dialog.Dominik Riebeling11-1/+215
When Rockbox Utility is started for the first time, a new version is started or the user selected to do so on startup a changelog window is shown. Change-Id: Ic223e092a09d31ccbbfcd9b973355225cac27632
2013-09-30Use function for updating detected device entry.Dominik Riebeling2-65/+23
Use a function instead of looking for an existing entry and creating a new one if necessary every time. Change-Id: I7b385dad7366f27370545a7d1a9f7052510cca11
2013-09-28mkimxboot: add NWZ-E370 1.0.1 firmware (US)Amaury Pouly1-0/+5
Change-Id: I49ddcbe2f5c1c3aabc604b81b89272cf0292e28e
2013-09-26sonynwz: rework dualboot mechanismbootloader_nwze370_v1bootloader_nwze360_v1Amaury Pouly3-15/+117
Now boot to RB if play/pause is pressed during 1 second, and to OF if back is pressed 1 second. Otherwise power off. If hold is on, also power off. In USB and alarm context, always boot and back determines OF vs RB. Change-Id: Ie1d6c971901d6473255461cc7d71a5ee3177ecad
2013-09-26mkimxboot: always clean up dualboot elf filesAmaury Pouly1-2/+3
Change-Id: I80ed1af784aa80bec9fa0b1e9322f25e69672510
2013-09-25Add support for the sony NWZ-E360/E370 to mkimxbootAmaury Pouly6-5/+51
Change-Id: Ied73591326339d22b4f21d311da9e6b1b9c223ed
2013-09-18Handle ambiguous state in configuration dialog.Dominik Riebeling1-3/+3
If a single player is detected it might still have ambiguous as state due to the mountpoint not being found. Make sure to display a sensible error message in that case. Change-Id: I7d62e739019b26a583fe6aab502d0f870e67587e
2013-09-18Add "FAT" as supported filesystem on Windows.Dominik Riebeling1-1/+1
In some cases Windows reports the string "FAT" (without any type number). Accept that as well. Change-Id: Ia278ccc574913106cb5ca6751af70125f769c59c
2013-09-18Rework autodetection to better handle ambiguous cases.Dominik Riebeling2-148/+260
The old detection code simply assumed only one player to be connected and threw all information it could find together, causing wrong results in various cases. Rewrite it to better handle this. - Don't expect only a single player to be attached. Return a list of players found instead. The configuration dialog can then show the user a list to select from. This is not implemented yet, the configuration dialog will only show the devices found and tell the user to disconnect all but one. - Handle ambiguous cases better. A player found that is ambiguous is treated as such, and if refining the result didn't lead to a single match for each possible player a single entry is created that indicates it being ambiguous. The current code needs a bit of additional cleanup (the result exposes internal data to the caller it shouldn't) to be done later. Change-Id: I22dc2f73cdd6a9d90c34f3a0703aa9e0a2d2087a
2013-09-18Show mountpoint on multiple devices found message as well.Dominik Riebeling1-2/+7
Change-Id: I315813646ee3fe3b510510e99e2dbf88c649f4d8