This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#10221 - RBUtil doesn't install bootloader file at all
Attached to Project:
Rockbox
Opened by Clément Pit--Claudel (CFP) - Tuesday, 19 May 2009, 19:44 GMT+2
Last edited by Dominik Wenger (Domonoky) - Saturday, 20 June 2009, 18:34 GMT+2
Opened by Clément Pit--Claudel (CFP) - Tuesday, 19 May 2009, 19:44 GMT+2
Last edited by Dominik Wenger (Domonoky) - Saturday, 20 June 2009, 18:34 GMT+2
|
DetailsVerified with a fresh checkout of the source. When installing the bootloader (bootloaderinstallfile.cpp), the file is not copied to the target. Eg. w/ Gigabeat : the file FWIMG01.dat is renamed, but no new file is copied. And of course, the device won't boot.
This is due to line being inverted in bootloaderinstallfile.cpp : the file is closed before being moved. Attached a patch against 20987 to fix this bug. |
This task depends upon
Closed by Dominik Wenger (Domonoky)
Saturday, 20 June 2009, 18:34 GMT+2
Reason for closing: Fixed
Additional comments about closing: Should be fixed with 1.2.2, if not, please reopen.
Saturday, 20 June 2009, 18:34 GMT+2
Reason for closing: Fixed
Additional comments about closing: Should be fixed with 1.2.2, if not, please reopen.
The file is closed before it is renamed.
Thus from my understanding this change won't make a difference here. What I'd like to see improved (might give it a go later today) is better error reporting: if the rename failed the user should get displayed an error instead of the current silent failure.
The original issue has also been reported here: http://forums.rockbox.org/index.php?topic=21614.0
Actually, it seems that everything works fine when building RBUtil from a fresh source.
Clément.
We should really make a new build with a older Qt version for windows.