 |
xFSTK
1.8.1-5.311
Intel SoC Cross Platform Firmware & Software Tool Kit
|
#include <xfstk-dldr-example-parallel.h>
◆ DldrRun() [1/2]
| void DlThreadObj::DldrRun |
( |
void * |
arg | ) |
|
61 (
char*)myarg->
fwdnx.c_str(),
63 (
char*)myarg->
osdnx.c_str(),
66 (
char*)myarg->
usbsn.c_str()
70 printf(
"USBSN: %s -- Downloader thread failed %d Returned error code:%d -- %s\n", myarg->
usbsn.c_str(), ThreadId_, er.
error_code, er.
error_message);
72 printf(
"USBSN: %s -- Downloader thread succeed %d Returned error code:%d -- %s\n", myarg->
usbsn.c_str(), ThreadId_, er.
error_code, er.
error_message);
References donetargets, xfstkdldrapi::downloadmtfwosasync(), LastError::error_code, LastError::error_message, failtargets, arg_type::fwdnx, arg_type::fwimage, xfstkdldrapi::getlasterror(), ghListMutex, arg_type::gpflags, list_done, list_running, arg_type::osdnx, arg_type::osimage, xfstkdldrapi::registerstatuscallback(), xfstkdldrapi::settargetretrycount(), xfstkdldrapi::setusbreadwritedelay(), xfstkdldrapi::setwipeifwi(), arg_type::statuscallback, arg_type::usbsn, and thread_rectype::usbsn.
Referenced by DoWork().
◆ Arg() [1/4]
| void* DlThreadObj::Arg |
( |
| ) |
const |
|
inline |
◆ Arg() [2/4]
| void DlThreadObj::Arg |
( |
void * |
a | ) |
|
|
inline |
◆ DoWork() [1/2]
| void DlThreadObj::DoWork |
( |
| ) |
|
◆ DldrRun() [2/2]
| void DlThreadObj::DldrRun |
( |
void * |
| ) |
|
◆ Arg() [3/4]
| void* DlThreadObj::Arg |
( |
| ) |
const |
|
inline |
◆ Arg() [4/4]
| void DlThreadObj::Arg |
( |
void * |
a | ) |
|
|
inline |
◆ DoWork() [2/2]
| void DlThreadObj::DoWork |
( |
| ) |
|
The documentation for this class was generated from the following files:
void(* xfstkstatuspfn)(char *status, void *)
Represents an optional status callback function that can be provided to xfstk API to obtain status in...
Definition: xfstkdldrapi.h:113
string gpflags
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:42
int failtargets
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:45
list< void * > list_done
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:40
string osdnx
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:40
string fwimage
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:39
string usbsn
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:43
list< void * > list_running
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:39
string osimage
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:41
xfstkstatuspfn statuscallback
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:45
string fwdnx
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:38
virtual void settargetretrycount(int retries)
Sets the number of retries to perform during faulty USB I/O.
virtual bool getlasterror(LastError *er)
Get the Last error from XFSTK API version string.
virtual void setwipeifwi(bool enable)
Not a POR feature, only a testing/debug feature.
unsigned long error_code
Definition: xfstkdldrapi.h:68
virtual bool registerstatuscallback(xfstkstatuspfn statuspfn, void *clientdata)
Registers a callback with the xfstk api in order to obtain download status information.
char error_message[128]
Definition: xfstkdldrapi.h:69
QMutex ghListMutex
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:26
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:37
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:48
virtual void setusbreadwritedelay(unsigned long delayms)
Set the delay time for before each USB bulk read/write in miliseconds.
string usbsn
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:50
void DldrRun(void *)
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:47
Definition: xfstkdldrapi.h:124
void * Arg() const
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.h:60
The last error happened during download.
Definition: xfstkdldrapi.h:67
int donetargets
Definition: xfstk-dldr-example-parallel/xfstk-dldr-example-parallel.cpp:44
virtual bool downloadmtfwosasync(char *fwdnx, char *fwimage, char *osdnx, char *osimage, char *gpflags, char *usbsn)
Performs parallel multitarget firmware and operating system download in async mode,...