1
0
Fork 0
forked from len0rd/rockbox

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:
Dominik Riebeling 2009-08-09 10:57:33 +00:00
parent 7aaa544f09
commit 63ba647ee0
7 changed files with 40 additions and 35 deletions

View file

@ -140,7 +140,7 @@ void BootloaderInstallIpod::installStage2(void)
emit done(true);
return;
}
qDebug() << "version installed:" << m_blversion.toString(Qt::ISODate);
qDebug() << "[BootloaderInstallIpod] version installed:" << m_blversion.toString(Qt::ISODate);
}
@ -203,17 +203,17 @@ BootloaderInstallBase::BootloaderType BootloaderInstallIpod::installed(void)
BootloaderInstallBase::BootloaderType result = BootloaderRockbox;
if(!ipodInitialize(&ipod)) {
qDebug() << "BootloaderInstallIpod::installed(): BootloaderUnknown";
qDebug() << "[BootloaderInstallIpod] installed: BootloaderUnknown";
result = BootloaderUnknown;
}
else {
read_directory(&ipod);
if(ipod.ipod_directory[0].entryOffset == 0) {
qDebug() << "BootloaderInstallIpod::installed(): BootloaderOther";
qDebug() << "[BootloaderInstallIpod] installed: BootloaderOther";
result = BootloaderOther;
}
else {
qDebug() << "BootloaderInstallIpod::installed(): BootloaderRockbox";
qDebug() << "[BootloaderInstallIpod] installed: BootloaderRockbox";
}
}
ipod_close(&ipod);
@ -243,7 +243,8 @@ bool BootloaderInstallIpod::ipodInitialize(struct ipod_t *ipod)
qPrintable(Autodetection::resolveDevicename(m_blfile)
.remove(QRegExp("[0-9]+$"))));
#endif
qDebug() << "ipodpatcher: overriding scan, using" << ipod->diskname;
qDebug() << "[BootloaderInstallIpod] ipodpatcher: overriding scan, using"
<< ipod->diskname;
}
else {
ipod_scan(ipod);