summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/bootloaderinstallhex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/base/bootloaderinstallhex.cpp')
-rw-r--r--rbutil/rbutilqt/base/bootloaderinstallhex.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/rbutil/rbutilqt/base/bootloaderinstallhex.cpp b/rbutil/rbutilqt/base/bootloaderinstallhex.cpp
index 31659981f7..994a7cb16f 100644
--- a/rbutil/rbutilqt/base/bootloaderinstallhex.cpp
+++ b/rbutil/rbutilqt/base/bootloaderinstallhex.cpp
@@ -74,7 +74,7 @@ bool BootloaderInstallHex::install(void)
74 file.close(); 74 file.close();
75 QString hash = QCryptographicHash::hash(filedata, 75 QString hash = QCryptographicHash::hash(filedata,
76 QCryptographicHash::Md5).toHex(); 76 QCryptographicHash::Md5).toHex();
77 qDebug() << "hexfile hash:" << hash; 77 qDebug() << "[BootloaderInstallHex] hexfile hash:" << hash;
78 if(file.error() != QFile::NoError) { 78 if(file.error() != QFile::NoError) {
79 emit logItem(tr("Could not verify original firmware file"), LOGERROR); 79 emit logItem(tr("Could not verify original firmware file"), LOGERROR);
80 emit done(true); 80 emit done(true);
@@ -112,7 +112,7 @@ bool BootloaderInstallHex::install(void)
112 int result; 112 int result;
113 result = iriver_decode(m_offile.toAscii().data(), 113 result = iriver_decode(m_offile.toAscii().data(),
114 m_descrambled.fileName().toAscii().data(), FALSE, STRIP_NONE); 114 m_descrambled.fileName().toAscii().data(), FALSE, STRIP_NONE);
115 qDebug() << "iriver_decode" << result; 115 qDebug() << "[BootloaderInstallHex] iriver_decode" << result;
116 116
117 if(result < 0) { 117 if(result < 0) {
118 emit logItem(tr("Error in descramble: %1").arg(scrambleError(result)), LOGERROR); 118 emit logItem(tr("Error in descramble: %1").arg(scrambleError(result)), LOGERROR);
@@ -200,7 +200,7 @@ void BootloaderInstallHex::installStage2(void)
200 targethex.close(); 200 targethex.close();
201 QString hash = QCryptographicHash::hash(filedata, 201 QString hash = QCryptographicHash::hash(filedata,
202 QCryptographicHash::Md5).toHex(); 202 QCryptographicHash::Md5).toHex();
203 qDebug() << "created hexfile hash:" << hash; 203 qDebug() << "[BootloaderInstallHex] created hexfile hash:" << hash;
204 204
205 emit logItem(tr("Checking modified firmware file"), LOGINFO); 205 emit logItem(tr("Checking modified firmware file"), LOGINFO);
206 if(hash != QString(md5sums[m_hashindex].patched)) { 206 if(hash != QString(md5sums[m_hashindex].patched)) {