summaryrefslogtreecommitdiffstats
path: root/rbutil
AgeCommit message (Collapse)AuthorFilesLines
2010-02-26Have the Mac OS X port of Rockbox Utility actually be called Rockbox Utility ↵Robert Menes1-1/+1
instead of just rbutilqt. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24931 a1c6a512-1295-4272-9138-f99709370657
2010-02-26Sansa Fuzev2: Add mkamsboot and dualboot support. The bootloader doesn't ↵Thomas Martitz6-4/+44
work, but pressing |<< or inserting USB to boot the OF does. It should be pretty safe to run test code on it now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24924 a1c6a512-1295-4272-9138-f99709370657
2010-02-25mkamsboot: make sure files depending on dualboot.h are updatedRafaël Carré1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24915 a1c6a512-1295-4272-9138-f99709370657
2010-02-22mkamsboot: use version.sh properlyRafaël Carré1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24843 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Be more strict when when resolving devices and allow hfs too.Dominik Riebeling1-8/+22
On OS X HFS is a valid filesystem on an Ipod. When resolving device node to mountpoints and vice versa also check mounts of hfs partitions. This results in trying to install the bootloader on a MacPod to show the (intended) MacPod warning instead of failing with a "could not open ipod" error because no valid device node could be retrieved. Also, be more strict on matching to prevent problems with one name being a subset of another. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24802 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Add missing class prefix to logging call.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24801 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Recognize and handle MacPods during autodetection.Dominik Riebeling2-0/+9
Previously MacPods were detected but the mountpoint can't get resolved due to the different partition layout, thus having a MacPod would only detect the Ipod itself but not the mountpoint. Rockbox does not support MacPods, so inform the user as soon as possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24799 a1c6a512-1295-4272-9138-f99709370657
2010-02-20Update an outdated comment.Dominik Riebeling1-3/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24798 a1c6a512-1295-4272-9138-f99709370657
2010-02-20If the Ipod has been recognized as MacPod always consider no bootloader ↵Dominik Riebeling1-1/+1
installed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24797 a1c6a512-1295-4272-9138-f99709370657
2010-02-19rbutil: link to the Sansa forums when the user is requested to download a ↵Rafaël Carré1-3/+5
Sansa AMS firmware git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24778 a1c6a512-1295-4272-9138-f99709370657
2010-02-19mkamsboot: prevents 2 potential problemsRafaël Carré7-137/+213
We checked if the new firmware block (bootloader+ucl function+packed bootloader & OF) fit in the OF file, but not if it would run properly. For example the Clipv2 OF is bigger than 0x50000 bytes uncompressed, but it fitted in this space when packed and concatenated to a packed bootloader + ucl function and dualboot code (but we use 1MB of RAM and not 0x50000 anyway). Now we check that both bootloader and OF are small enough to be unpacked at runtime: the unpacked data must be smaller than available memory and not overlap with ucl function and packed data (although the unpacked and packed data could probably overlap a bit, I don't know how to calculate this and this could be quite complex). total_size() is replaced by check_sizes() which will perform all the checks and set an error string if the firmware can't be patched. (both mkamsboot and rbutilqt modified accordingly) The second problem is that dualboot.S assumed r3 and r5 were left untouched in the device specific checks. This was undocumented and very error prone when modifying these checks. r3 is the last byte of packed copy (bootloader or OF) r5 is the entry point of uclunpack function derived from r3, so move r5 calculation after the device specific code. Even if r3 is currently unused in the device specific code, we store it in memory after copying the ucl function, when it points to the last byte of packed data (not yet copied at this point since we didn't chose if we boot the OF or the bootloader), and restore it just before using it so no restriction is placed on registers usage in device specific code. Add a new variable ucl_dest in dualboot.S set by mkamsboot.c, which represents the last bound of buffer where we copy the ucl function, and then the packed data (bootloader or OF). RAM_SIZE definition is moved from dualboot.S to mkamsboot.c new model_memory_size(), where it is a bit better documented. Tested on e200v2 and Clip+ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24772 a1c6a512-1295-4272-9138-f99709370657
2010-02-19Tweaked dependencies a bitBjörn Stenberg1-14/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24770 a1c6a512-1295-4272-9138-f99709370657
2010-02-19Revert r24763 : LIBOBJS is already included in OBJSRafaël Carré1-1/+1
The problem seems related to dependency on a directory git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24765 a1c6a512-1295-4272-9138-f99709370657
2010-02-19mkamsboot binary depends on the same object files than libmkamsbootRafaël Carré1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24763 a1c6a512-1295-4272-9138-f99709370657
2010-02-18rbutil: fix voice downloads.Dominik Wenger1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24758 a1c6a512-1295-4272-9138-f99709370657
2010-02-17Clip+ remove setting GPIOB PIN0, it seems needed only for powerRafaël Carré3-35/+16
Also only use 0x50000 bytes of memory since the files just fit in. TODO: make mkamsboot abort if the decompressed OF or bootloader doesn't fit in RAM / or overlap on compressed data or uclunpack function git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24727 a1c6a512-1295-4272-9138-f99709370657
2010-02-17mkamsboot: update dualboot.c / dualboot.h in placeRafaël Carré2-7/+6
This removes the need for copying these files to ../ and removes the risk of only copying one of the files (which led to bricking 2 c200v2 already) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24719 a1c6a512-1295-4272-9138-f99709370657
2010-02-16Start with mountpoint as folder to talk selection if old value is invalid.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24704 a1c6a512-1295-4272-9138-f99709370657
2010-02-16Use QFileDialog::getExistingDirectory() for path selection.Dominik Riebeling5-36/+24
This makes it possible for native dialogs to get used on Windows and OS X. The mountpoint selection dialog needs special handling and still uses the BrowseDirtree class for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24703 a1c6a512-1295-4272-9138-f99709370657
2010-02-16Rename InstallFrm to InstallWindowFrm.Dominik Riebeling4-11/+14
The Install class has been renamed recently to InstallWindow. Rename the form too so it uses the same class basename again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24698 a1c6a512-1295-4272-9138-f99709370657
2010-02-16Remove column from tree widget -- this is set up by the caller.Dominik Riebeling1-7/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24697 a1c6a512-1295-4272-9138-f99709370657
2010-02-13Include dualboot.h in dualboot.c as an additional compile time sanity checkBertrik Sikken2-0/+3
Author: Tobias Diedrich Flyspray: FS #11009 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24636 a1c6a512-1295-4272-9138-f99709370657
2010-02-12Update Rockbox Utility version to 1.2.5rbutil_1.2.5Dominik Riebeling2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24626 a1c6a512-1295-4272-9138-f99709370657
2010-02-12Fix problems with platform retrieval.Dominik Riebeling3-11/+20
- handle disabled platforms also for for variant and base groups. - make variant detection more strict to prevent variants that are a substring of other variants to match. Happened e.g. for iriverh10 and iriverh100. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24625 a1c6a512-1295-4272-9138-f99709370657
2010-02-12Rockbox Utility polish translation update.Dominik Riebeling1-3326/+3338
Author: Daniel Kluz Flyspray: FS#11003 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24623 a1c6a512-1295-4272-9138-f99709370657
2010-02-11Remove turkish from the languages bundled in the binary. The translation is ↵Dominik Riebeling1-1/+0
broken on file level (all non-ASCII characters are broken). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24609 a1c6a512-1295-4272-9138-f99709370657
2010-02-11Don't close the disk handle to the ipod too early.Dominik Riebeling1-1/+3
ipodInitialize() is not supposed to close but only to open the disk handle. Fixes a segfault when trying to install the ipod bootloader on windows. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24608 a1c6a512-1295-4272-9138-f99709370657
2010-02-11Rockbox Utility russian translation update.Dominik Riebeling1-2779/+2658
Author: Simon Zhukovsky Flyspray: FS#10985 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24604 a1c6a512-1295-4272-9138-f99709370657
2010-02-11Restore the default message handler on application shutdown. Fixes sporadic ↵Dominik Riebeling3-430/+426
segfaults on exit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24599 a1c6a512-1295-4272-9138-f99709370657
2010-02-11Restore width of the Autodetect button.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24597 a1c6a512-1295-4272-9138-f99709370657
2010-02-10Sansa Clip+: Unset B0 correctly in dualboot.SJack Halpin2-7/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24582 a1c6a512-1295-4272-9138-f99709370657
2010-02-09Sansa Clip+: Unset pin B0 correctly in dualboot.SJack Halpin2-8/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24573 a1c6a512-1295-4272-9138-f99709370657
2010-02-08Sansa Clip+ : Add dualboot support for sansa clip+ to mkamsboot.Jack Halpin4-17/+43
Dualboot works on the sansa clip+ by holding either the left "|<<" or home buttons. The USB pin is still undiscovered at this point and should replace the home button when found. By including the home button for dualboot we avoid bricking due to a single button failure. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24561 a1c6a512-1295-4272-9138-f99709370657
2010-02-04Add option to show disabled targets in the configuration dialog.Dominik Riebeling5-217/+268
Note that disabled targets support is not intended for use by end users. This is to make development (and testing of svn) easier and should get disabled for releases. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24513 a1c6a512-1295-4272-9138-f99709370657
2010-02-03Bump rbutil version to 1.2.4.rbutil_1.2.4Dominik Riebeling2-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24499 a1c6a512-1295-4272-9138-f99709370657
2010-02-03Update Português Brasileiro translation for Rockbox Utility.Dominik Riebeling1-23/+171
Author: Adilson Xavier Flyspray: FS#10963 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24488 a1c6a512-1295-4272-9138-f99709370657
2010-02-02Fix stupid typo in my last commit. How did I miss that?Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24472 a1c6a512-1295-4272-9138-f99709370657
2010-02-02Add italian to the list of language names.Dominik Riebeling1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24468 a1c6a512-1295-4272-9138-f99709370657
2010-02-02Disable D2 in rbutil as discussed in IRC.Dominik Riebeling1-0/+1
Bootloader installation for the D2 is still not end-user ready for the upcoming release. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24467 a1c6a512-1295-4272-9138-f99709370657
2010-02-02Update german rbutil translation.Dominik Riebeling1-435/+607
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24464 a1c6a512-1295-4272-9138-f99709370657
2010-02-01OSX: Add CFBundleName to display a nicer name in the menu bar. Replace ↵Dominik Riebeling1-2/+4
deprecated CFBundleGetInfoString. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24442 a1c6a512-1295-4272-9138-f99709370657
2010-02-01Give the user a hint on where find the required bootloader file.Dominik Riebeling1-5/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24441 a1c6a512-1295-4272-9138-f99709370657
2010-01-31Extend SystemInfo to allow distinguishing between platforms and variants.Dominik Riebeling4-34/+49
Doing so removes the need to loop over all targets to fill in values for target variants in ServerInfo. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24427 a1c6a512-1295-4272-9138-f99709370657
2010-01-31Fix typos in messages.Dominik Riebeling1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24419 a1c6a512-1295-4272-9138-f99709370657
2010-01-31Rename About menu to Help.Dominik Riebeling1-1/+1
The About menu name was off since the introduction of the Troubleshooting submenu. Renaming it should make it more obvious to look at it in case of problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24418 a1c6a512-1295-4272-9138-f99709370657
2010-01-30Implement ipod_scsi_inquiry() on OS X.Dominik Riebeling3-13/+157
This implements the basic functionality for sending inquiries on OS X. The current implementation has some limitations: - it will not respect the selected device but pick the first Ipod found. - it is inefficient due to the way ipodpatcher expects this which doesn't really match how it works on OS X. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24382 a1c6a512-1295-4272-9138-f99709370657
2010-01-29Minimize unnecessary accesses to SystemInfo and RbSettings.Dominik Riebeling2-13/+16
With the separation of the SystemInfo values accessing all the values will create traces, making them rather noisy due to unnecessary multiple accesses. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24373 a1c6a512-1295-4272-9138-f99709370657
2010-01-29Adjust to the buildserver now using ipod4g instead of ipod4gray.Dominik Riebeling1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24372 a1c6a512-1295-4272-9138-f99709370657
2010-01-29Change several platform names to match configure names.Dominik Riebeling1-22/+22
Rbutil's (internal) platform names are now identical to the configure model names except for the cases where further differentiation is needed. In those cases the platform name is now the configure name with an additional postfix, separated by a dot. This makes it possible getting the configure name from the platform name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24371 a1c6a512-1295-4272-9138-f99709370657
2010-01-28Revert most of r24361 - it was committed in error.Dave Chapman4-4/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24362 a1c6a512-1295-4272-9138-f99709370657