Commit graph

16 commits

Author SHA1 Message Date
Dominik Riebeling
34e60dde60 Handle device name resolving failures.
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
2010-04-27 21:43:14 +00:00
Dominik Riebeling
773de4a150 If the Ipod has been recognized as MacPod always consider no bootloader installed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24797 a1c6a512-1295-4272-9138-f99709370657
2010-02-20 22:11:04 +00:00
Dominik Riebeling
22056a9c37 Don't close the disk handle to the ipod too early.
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-11 22:19:34 +00:00
Tomer Shalev
294b017cd1 Revert r24174 following the discussion on mailing-list
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24213 a1c6a512-1295-4272-9138-f99709370657
2010-01-10 17:13:32 +00:00
Tomer Shalev
86c1360169 rbutil: Fix some messages
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24174 a1c6a512-1295-4272-9138-f99709370657
2010-01-03 20:17:36 +00:00
Dominik Riebeling
3e0e14b592 Remove scanning for Ipod from Ipod bootloader installation and clean it up a 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
2009-12-17 21:54:07 +00:00
Dominik Riebeling
38dde55c27 FS#10100: Wait for the system to remount the player after bootloader 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
2009-11-22 22:13:25 +00:00
Dominik Riebeling
49ed16cd29 Fix two strings and warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23702 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 14:37:31 +00:00
Dave Chapman
c06bc788c9 Fix Nano2G bootloader installation - no longer assume that the OSOS image is the first.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23154 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 14:39:28 +00:00
Dominik Riebeling
63ba647ee0 Clean up bootloader installation debug output a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22219 a1c6a512-1295-4272-9138-f99709370657
2009-08-09 10:57:33 +00:00
Dominik Riebeling
b22516f995 Make sure the global buffers for ipodpatcher and sansapatcher get allocated 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
2009-05-01 21:35:06 +00:00
Dominik Riebeling
f679cf91cf Bootloader installation for ipod and sansa: override the scanning with the 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
2009-04-30 19:14:24 +00:00
Dominik Riebeling
a61e63cb41 Fix a wrong debug message.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20620 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 09:22:22 +00:00
Dominik Riebeling
c1b4745d7c Add some more bootloader install progress messages and call processEvents() more often before performing player disk accesses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19724 a1c6a512-1295-4272-9138-f99709370657
2009-01-08 17:16:53 +00:00
Dominik Riebeling
8fe55f96b5 Various small rbutil source string cleanups.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19436 a1c6a512-1295-4272-9138-f99709370657
2008-12-14 12:36:35 +00:00
Dominik Riebeling
f958717d43 Separate basic functionality from GUI parts by moving it into a separate 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
2008-10-12 19:21:58 +00:00
Renamed from rbutil/rbutilqt/bootloaderinstallipod.cpp (Browse further)