mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-14 07:32:35 -05:00
Clean up bootloader installation debug output a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22219 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
7aaa544f09
commit
63ba647ee0
7 changed files with 40 additions and 35 deletions
|
|
@ -74,7 +74,7 @@ bool BootloaderInstallHex::install(void)
|
|||
file.close();
|
||||
QString hash = QCryptographicHash::hash(filedata,
|
||||
QCryptographicHash::Md5).toHex();
|
||||
qDebug() << "hexfile hash:" << hash;
|
||||
qDebug() << "[BootloaderInstallHex] hexfile hash:" << hash;
|
||||
if(file.error() != QFile::NoError) {
|
||||
emit logItem(tr("Could not verify original firmware file"), LOGERROR);
|
||||
emit done(true);
|
||||
|
|
@ -112,7 +112,7 @@ bool BootloaderInstallHex::install(void)
|
|||
int result;
|
||||
result = iriver_decode(m_offile.toAscii().data(),
|
||||
m_descrambled.fileName().toAscii().data(), FALSE, STRIP_NONE);
|
||||
qDebug() << "iriver_decode" << result;
|
||||
qDebug() << "[BootloaderInstallHex] iriver_decode" << result;
|
||||
|
||||
if(result < 0) {
|
||||
emit logItem(tr("Error in descramble: %1").arg(scrambleError(result)), LOGERROR);
|
||||
|
|
@ -200,7 +200,7 @@ void BootloaderInstallHex::installStage2(void)
|
|||
targethex.close();
|
||||
QString hash = QCryptographicHash::hash(filedata,
|
||||
QCryptographicHash::Md5).toHex();
|
||||
qDebug() << "created hexfile hash:" << hash;
|
||||
qDebug() << "[BootloaderInstallHex] created hexfile hash:" << hash;
|
||||
|
||||
emit logItem(tr("Checking modified firmware file"), LOGINFO);
|
||||
if(hash != QString(md5sums[m_hashindex].patched)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue