@@ -225,7 +225,7 @@ def parse(self, line):
225225 raise Exception ('Unisoc FW Download Failed.' )
226226
227227
228- class _360WExecutor (BaseExecutor ):
228+ class _FCM360WExecutor (BaseExecutor ):
229229
230230 def parse (self , line ):
231231 try :
@@ -241,7 +241,7 @@ def parse(self, line):
241241 elif data ['Status' ] == 'Finished' and data ['Message' ] == 'Success' :
242242 return line , 100
243243 else :
244- raise Exception ('360W Download Failed!' )
244+ raise Exception ('FCM360W Download Failed!\n {}' . format ( line . strip ()) )
245245
246246
247247class _EIGENExecutor (BaseExecutor ):
@@ -392,7 +392,7 @@ def progress_rate(self):
392392 logger .info (line )
393393 self .parse (line )
394394 yield line , self .progress
395- yield 100
395+ yield line , 100
396396
397397 def parse (self , line ):
398398 if "RtsConditionAssign" in line :
@@ -407,19 +407,26 @@ def run_cmd(cmd, platform, cwd, **extra):
407407 logger .info ('enter run_cmd method, args: {}' .format ((cmd , platform , cwd ,)))
408408
409409 if platform .upper () in ["ASR" , "ASR1601" , "ASR1606" ]:
410+ # EC600M-CNLA test passed with `EC600MCNLAR01A01M08_XBND_OCPU_QPY_BETA0831`
410411 executor = _AsrExecutor (cmd , cwd )
411412 elif platform .upper () in ["UNISOC" , "UNISOC8910" , "UNISOC8850" ]:
413+ # EG912U-GLAA test passed with `QPY_BETA0001_EG912U_GLAA_FW`
412414 executor = _UnisocExecutor (cmd , cwd )
413415 elif platform .upper () == "RDA8908A" :
416+ # BC25PA test passed with `QPY_V0003_BC25PA_FW`
414417 executor = _NBExecutor (cmd , cwd )
415418 elif platform .upper () == "ASR1803S" :
419+ # EC200A-EUHA test passed with `QPY_V0002_EC200A_AUHA_FW` and `QPY_V0003_EC200A_AUHA_FW`
416420 executor = _200AExecutor (cmd , cwd )
417421 elif platform .upper () == "MDM9X05" :
422+ # BG95M3-LA test passed with `QPY_OCPU_BETA0002_BG95M3_FW` and `QPY_OCPU_BETA0003_BG95M3_FW`
418423 executor = _BG95Executor (cmd , cwd )
419424 elif platform .upper () == "EIGEN" :
425+ # EC800E-CNLC test passed with `EC800ECNLCR02A01M04_OCPU_QPY_BETA0713`
420426 executor = _EIGENExecutor (cmd , cwd , ** extra )
421427 elif platform .upper () == "FCM360W" :
422- executor = _360WExecutor (cmd , cwd )
428+ # FCM360WAAMD-OP-04 test passed with `QPY_OCPU_BETA0001_FCM360W_FW`
429+ executor = _FCM360WExecutor (cmd , cwd )
423430 else :
424431 pass
425432
0 commit comments