rbutil: Add support for the xDuoo X3, X3ii, X20, and AGPTek Rocker.

* All include full bootloader installation!
 * X20 lack USB VID/PIDs so cannot be autodetected.
 * Benjie T6 (variant/OEM of the Rocker) USB VID/PID unknown.

Change-Id: Ia823de072c83506d36410ec436be15a0caf97151
This commit is contained in:
Solomon Peachy 2020-07-19 17:13:55 -04:00
parent 561937f2f4
commit f6060d62d9
5 changed files with 296 additions and 2 deletions

View file

@ -32,6 +32,7 @@
#include "bootloaderinstallmpio.h"
#include "bootloaderinstallimx.h"
#include "bootloaderinstalls5l.h"
#include "bootloaderinstallbspatch.h"
BootloaderInstallBase* BootloaderInstallHelper::createBootloaderInstaller(QObject* parent, QString type)
{
@ -68,10 +69,12 @@ BootloaderInstallBase* BootloaderInstallHelper::createBootloaderInstaller(QObjec
else if(type == "s5l") {
return new BootloaderInstallS5l(parent);
}
else if(type == "bspatch") {
return new BootloaderInstallBSPatch(parent);
}
else {
return NULL;
}
}
@ -134,4 +137,3 @@ QString BootloaderInstallHelper::postinstallHints(QString model)
else
return QString();
}