summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/bootloaderinstallsansa.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
* Fix potentially problematic sprintf statement.Dominik Riebeling2014-01-05
| | | | Change-Id: Ice0d7b0d4c042be991cdbca7a390b613b5bdc5a6
* 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 sansapatcher.Dominik Riebeling2013-01-01
| | | | | | | Similar as done with ipodpatcher provide a function to free the allocated sector buffer. Change-Id: Ie51e82f7191496bb48973148af1cc35cd37993d3
* sansapatcher: move sectorbuf pointer into sansa_t structure.Dominik Riebeling2013-01-01
| | | | | | | | Similar as the ipod_t structure for ipodpatcher the sansa_t structure holds all relevant information for sansapatcher. Put the global sansa_sectorbuf pointer into it as well. Change-Id: Iad08ef6aafc49609c3d0d556914246f230ee0179
* Add missing class name to System Trace log.Dominik Riebeling2012-06-25
| | | | | | | | To identify the source for System Trace entries qDebug() calls usually add the class name at the beginning. Add some missing ones and remove some trailing spaces. Change-Id: I3179bb206e96de8b5a1c05c0fc0958936e4513f3
* sansapatcher: factor out handling of bundled bootloaders.Dominik Riebeling2011-12-04
| | | | | | | | | | | | | | Instead of handling bundled bootloaders in the sansapatcher functions leave that to the caller. This removes the need to have Rockbox Utility specific parts in sansapatcher. sansa_add_bootloader() now operates on an already loaded bootloader. For loading a convenience function sansa_read_bootloader() is added. This also introduces a new check on loading to prevent installing an e200 bootloader on a c200 (and vice versa). These changes will allow building a libsansapatcher for linking with Rockbox Utility later. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31144 a1c6a512-1295-4272-9138-f99709370657
* 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
* 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
* 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
* 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 Sansa bootloader installation on OS X.Dominik Riebeling2009-11-22
| | | | | | | | | - adjust the regex to figure the correct drive from the partition name. - move the check for an old bootloader into the first installation step -- it's a fatal problem so it should appear as soon as possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23715 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 potentially dangerous bug with bootloader installation for Sansas:Dominik Riebeling2009-04-05
| | | | | | | check the downloaded bootloader file against the target reported by sansapatcher as otherwise one could install an e200 bootloader to a c200 (and vice versa). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20630 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
* When checking the installed bootloader make sure to properly close the ↵Dominik Riebeling2009-01-08
| | | | | | device afterwards. Fixes "No Sansa found" issues on windows as reported in the forums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19722 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