[if !mso]> [if !mso]> [if gte mso 9]>

答复: [EDK DEV] questions about PI-SCT

Subject: 答复: [EDK DEV] questions about PI-SCT

From: <TigerLiu@viatech.com.cn>

To: <dev@edk.tianocore.org>

Date: 2008-06-20 23:59:18

Ok, FlashUpdateTool could burn related PEI-SCT fd file into flash.

So, why need to add related PEI-SCT peims inf  into platform.dsc.

 

If adding these test-peims inf into platform.dsc, meaning they have been added into boot firmware volume, have been burned into flash before rebooting machine.

 

Thanks

 


: Lin, Jie [mailto:jie.lin@intel.com]
: 2008620 13:00
: dev@edk.tianocore.org
: RE: [EDK DEV] questions about PI-SCT

 

The flash update tool is different on each platform. And we write this kind of application for each platform we use.

 

Cheers!

 


From: TigerLiu@viatech.com.cn [mailto:TigerLiu@viatech.com.cn]
Sent: 2008
620 12:39
To: dev@edk.tianocore.org
Subject:
: [EDK DEV] questions about PI-SCT

 

I think : ManageModule.efi should not assume users would update flash under shell.

Because, users would add test-peims into platform.fd at build time,and then burned it to flash before booting system.

 

So, where to get a flash update tool?

Or, IBV will provide its own flash update tool?

 

Thanks

 


: Lin, Jie [mailto:jie.lin@intel.com]
: 2008620 10:08
: dev@edk.tianocore.org
: RE: [EDK DEV] questions about PI-SCT

 

This may be the reason, the MangeModule.efi assumes you will update flash under shell and so has logics related to this config.ini file.

It will read this config file and create intermediate file to record application running progress and status so that when after reboot, the ManageModule will know

What has happened and what it will do next.

 

Cheers!

 


From: TigerLiu@viatech.com.cn [mailto:TigerLiu@viatech.com.cn]
Sent: 2008
620 10:02
To: dev@edk.tianocore.org
Subject:
: [EDK DEV] questions about PI-SCT

 

Because, I have included these two test-peims into boot firmware volume.

I have burned this fd into flash.

So, I have not a flash update tool which could be used in shell.

Also have not a Config.ini file in the same directory, which has ManageMode.efi.

 

Thanks.

 


: Lin, Jie [mailto:jie.lin@intel.com]
: 2008620 10:00
: dev@edk.tianocore.org
: RE: [EDK DEV] questions about PI-SCT

 

Hi Tiger,

         The init fail error message relates to your Config.ini file, this file describes which tool will be used to burn flash and your flash image.

Could you please check this file?

 

Cheers!

 


From: TigerLiu@viatech.com.cn [mailto:TigerLiu@viatech.com.cn]
Sent: 2008
619 18:43
To: dev@edk.tianocore.org
Subject:
: [EDK DEV] questions about PI-SCT

 

Maybe, I have to explain my question again !

I know : PEI-SCT not running through UEFI SCT UI.

 

Here are the steps I followed when doing this PEI-SCT test.

///////

I followed instructions described by PI_1_0_SCT_GetStarted ,added two test peims into my platform.dsc,and rebuilt  my edk project.

(in its chapter 5, it said : test-peims has to be added into the boot firmware volume,so tried to add two test-peims )

////// listed as below

Platform\IntelTest\TestCase\PI\PEI\PEIServices\PpiServices\PpiServiceFunction\PpiServiceFunctionPeim1\PeiSctPpiServiceFunctionPeim1.inf

Platform\IntelTest\TestCase\PI\PEI\PEIServices\PpiServices\PpiServiceFunction\PpiServiceFunctionPeim2\PeiSctPpiServiceFunctionPeim2.inf

 

////////

Then, I followed instructions decribed in chapter 2 in PI_1_0_SCT_Utility_User_Guide.

(1)     I created a Startup.nsh in fs2

(2)     Copied ManageMode.efi into fs2:\

(3)     Then reboot system, I found these two peims were dispatched successfully.

(4)     Boot into shell, I found a SCT.report in fs2:\ , but no test results were put into it.

 

Note : when run ManageMode.efi in shell, it tips init fail.

 

 


: Lin, Jie [mailto:jie.lin@intel.com]
: 2008619 18:21
: dev@edk.tianocore.org
: RE: [EDK DEV] questions about PI-SCT

 

Hi Tiger,

         There is another document PI_1_0 SCT Utility User Guide that contains detailed steps and example config files for running PEI SCT.

The PEI SCT is started by a command line shell application and not the UEFI SCT UI.

 

Cheers!

 


From: TigerLiu@viatech.com.cn [mailto:TigerLiu@viatech.com.cn]
Sent: 2008
619 18:15
To: dev@edk.tianocore.org
Subject:
: [EDK DEV] questions about PI-SCT

 

Hi,Jie:

My edk project is a real-platform efi Cbios, it runs on a real motherboard.

I had studied PI_1_0_SCT_GetStarted.

I followed its instructions to add these two peims into my platform.dsc.

 

Thanks

 

 


: Lin, Jie [mailto:jie.lin@intel.com]
: 2008619 17:57
: dev@edk.tianocore.org
: RE: [EDK DEV] questions about PI-SCT

 

Hi Tiger,

         Because PEI SCT has to change flash to insert PEI test cases, there is no such a workflow on a virtual platform NT32. Normally we run it on real platforms.

There is user guide documentation on http://sourceforge.net/projects/pi-sct/

Follow the instructions in it to create Startup.nsh file, Config.ini file. Note that the Config.ini file should be in Unicode format.

Run the ManageModule, after reboot, the report file will locate at the same directory with ManageModule.efi file

 

Cheers!

 


From: TigerLiu@viatech.com.cn [mailto:TigerLiu@viatech.com.cn]
Sent: 2008
619 17:28
To: dev@edk.tianocore.org
Subject:
: [EDK DEV] questions about PI-SCT

 

Hi:

I tried to run PEI-SCT on my edk project today.

I added two test peims into my platform.dsc,and rebuilt  my edk project.

////// listed as below

Platform\IntelTest\TestCase\PI\PEI\PEIServices\PpiServices\PpiServiceFunction\PpiServiceFunctionPeim1\PeiSctPpiServiceFunctionPeim1.inf

Platform\IntelTest\TestCase\PI\PEI\PEIServices\PpiServices\PpiServiceFunction\PpiServiceFunctionPeim2\PeiSctPpiServiceFunctionPeim2.inf

 

After reset system, I found these two peims were dispatched successfully.

But I could not find any log file on my harddisk.

(there are 3 fat partitions on my harddisk)

 

Where does this log file locate?

 

Thanks


: Lin, Jie [mailto:jie.lin@intel.com]
: 2008619 16:50
: dev@edk.tianocore.org
: RE: [EDK DEV] questions about PI-SCT

 

You can post it at the forum or submit a tracker at

http://sourceforge.net/projects/pi-sct/

 

Cheers!

Auber

 


From: TigerLiu@viatech.com.cn [mailto:TigerLiu@viatech.com.cn]
Sent: 2008
619 16:41
To: dev@edk.tianocore.org
Subject: [EDK DEV] questions about PI-SCT

 

Hello:

I have some questions about PI-SCT.

Could I post them here?

 

If not, please give me a mail-list address about PI-SCT.

 

Thanks