summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/bootloaderinstallipod.cpp (follow)
Commit message (Collapse)AuthorAge
* rbutil: show progress bar during bootloader uninstallCástor Muñoz2016-08-15
| | | | | | | | Useful for targets that needs multi-stage uninstall. On current targets (with Uninstall capability) the progress is updated to 100% when bootloader uninstall is successfully finished. Change-Id: I61be1c4f5cfc2d2f35fa5005962be9703888447d
* Use cutelogger for Rockbox Utility internal trace.Dominik Riebeling2013-11-04
| | | | | | | | 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
* Provide dealloc function to ipodpatcher.Dominik Riebeling2013-01-01
| | | | | | | | | On Windows the sector buffer is allocated using VirtualAlloc, thus releasing this buffer should be done using VirtualFree. Provide an additional function for deallocating the buffer so users of ipodpatcher do not need to know about this. Change-Id: Ibb0fc575a185148a389e63935e86a392bf8d180d
* ipodpatcher: move sectorbuf pointer into ipod_t structure.Dominik Riebeling2013-01-01
| | | | | | | | | The ipod_t structure holds all relevant information for ipodpatcher. Put the global ipod_sectorbuf pointer into it as well. Allows the Rockbox Utility Ipod class to be instanciated multiple times since each instance can now have its own buffer. Change-Id: Ie319cbadbc20c367ceadba9a46b4dc34b57a79a7
* Move check for existing bootloader to ipodpatcher.Dominik Riebeling2012-07-01
| | | | | | | | | | | Bootloader handling is different on nano2g compared to the other supported Ipod models. Since ipodpatcher handles this internally make ipodpatcher also provide a way to check this when using from Rockbox Utility to avoid duplicating the (already existing) checks in the latter. Fixes wrong "bootloader already installed" message on nano2g. Change-Id: Ibc658d775fbac7cf9a7e329d445fe97828a455d8
* Fix nano2g bootloader uninstallation.Dominik Riebeling2012-07-01
| | | | | | | Check the correct image when looking for the Ipod firmware version. On nano2g this is a different image. Change-Id: Ic7981363399d44e03247a81277522bc1d271090a
* Remove svn keyword lines from sources.Dominik Riebeling2011-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30806 a1c6a512-1295-4272-9138-f99709370657
* Move some helper functions out of Autodetection.Dominik Riebeling2011-07-17
| | | | | | Those functions are rather general, so put them into the Utils class instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30146 a1c6a512-1295-4272-9138-f99709370657
* rbutil: fix compiling on windows.Dominik Wenger2010-05-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25833 a1c6a512-1295-4272-9138-f99709370657
* Handle device name resolving failures.Dominik Riebeling2010-04-27
| | | | | | | | | | Improve tracing of device name resolving. Explicitly fail if resolving the device name from the mountpoint failed during ipod / sansa bootloader installation. Fixes bootloader installation trying to use an empty device name in some cases which can happen if the mountpoint to get resolved uses an incompatible file system. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25743 a1c6a512-1295-4272-9138-f99709370657
* If the Ipod has been recognized as MacPod always consider no bootloader ↵Dominik Riebeling2010-02-20
| | | | | | installed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24797 a1c6a512-1295-4272-9138-f99709370657
* Don't close the disk handle to the ipod too early.Dominik Riebeling2010-02-11
| | | | | | 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
* Revert r24174 following the discussion on mailing-listTomer Shalev2010-01-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24213 a1c6a512-1295-4272-9138-f99709370657
* rbutil: Fix some messagesTomer Shalev2010-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24174 a1c6a512-1295-4272-9138-f99709370657
* Remove scanning for Ipod from Ipod bootloader installation and clean it up a ↵Dominik Riebeling2009-12-17
| | | | | | bit. The Ipod is specified by its mountpoint, so there is no need to scan at all. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24056 a1c6a512-1295-4272-9138-f99709370657
* FS#10100: Wait for the system to remount the player after bootloader ↵Dominik Riebeling2009-11-22
| | | | | | | | | | | | | | installation. OS X requires to unmount the player during bootloader installation on Sansas / Ipods. The system remounts the player automatically after a short while. Not waiting for the system to remount the player will result in a changed mount point, making the small / full install write the main build to the wrong location. This currently waits up to 60 seconds for the player to get remounted until it errors out. This value seems to be sufficient, if it's not please report so we can adjust it. Also, the waiting can't be interrupted right now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23716 a1c6a512-1295-4272-9138-f99709370657
* Fix two strings and warnings.Dominik Riebeling2009-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23702 a1c6a512-1295-4272-9138-f99709370657
* Fix Nano2G bootloader installation - no longer assume that the OSOS image is ↵Dave Chapman2009-10-13
| | | | | | the first. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23154 a1c6a512-1295-4272-9138-f99709370657
* Clean up bootloader installation debug output a bit.Dominik Riebeling2009-08-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22219 a1c6a512-1295-4272-9138-f99709370657
* Make sure the global buffers for ipodpatcher and sansapatcher get allocated ↵Dominik Riebeling2009-05-01
| | | | | | and freed only once. Fixes segfaults when the bootloader install class was instanciated multiple times. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20835 a1c6a512-1295-4272-9138-f99709370657
* Bootloader installation for ipod and sansa: override the scanning with the ↵Dominik Riebeling2009-04-30
| | | | | | device pointed to by the mountpoint. This allows selecting the correct player if two of the same brand are connected (FS#10096). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20832 a1c6a512-1295-4272-9138-f99709370657
* Fix a wrong debug message.Dominik Riebeling2009-04-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20620 a1c6a512-1295-4272-9138-f99709370657
* Add some more bootloader install progress messages and call processEvents() ↵Dominik Riebeling2009-01-08
| | | | | | more often before performing player disk accesses. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19724 a1c6a512-1295-4272-9138-f99709370657
* Various small rbutil source string cleanups.Dominik Riebeling2008-12-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19436 a1c6a512-1295-4272-9138-f99709370657
* Separate basic functionality from GUI parts by moving it into a separate ↵Dominik Riebeling2008-10-12
folder. Some files still need to get cleaned up prior moving them too. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18788 a1c6a512-1295-4272-9138-f99709370657