Hello.

I'm trying to make UEFI image without SEC phase for AArch64.
So, Referencing the below link, I modified current 
"ArmVExpress-RTSM-AEMv8Ax4-foundation.dsc" file in 
"ArmPlatformPkg/ArmVExpressPkg".
"http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ArmPlatformPkg#Case_2:_EDK2_as_a_2nd_stage_Boot_Loader";

And when I build, I used "-DEDK2_SKIP_PEICORE" option.
But I encountered some build issues as below.

/home/youngmin/edk2_arm/Build/ArmVExpress-RTSM-AEMv8Ax4-foundation/DEBUG_GCC47/AARCH64/ArmPlatformPkg/Library/ArmPlatformStackLib/ArmPlatformStackLib/OUTPUT/ArmPlatformStackLib.lib(ArmPlatformStackLib.obj):
 In function `ArmPlatformStackSetSecondary':
(.text+0x70): undefined reference to `ArmPlatformGetPrimaryCoreMpId'
......
make: *** 
[/home/youngmin/edk2_arm/Build/ArmVExpress-RTSM-AEMv8Ax4-foundation/DEBUG_GCC47/AARCH64/ArmPlatformPkg/PrePi/PeiMPCore/DEBUG/ArmPlatformPrePiMPCore.dll]
 Error 1


build.py...
 : error 7000: Failed to execute command
        make tbuild 
[/home/youngmin/edk2_arm/Build/ArmVExpress-RTSM-AEMv8Ax4-foundation/DEBUG_GCC47/AARCH64/ArmPlatformPkg/PrePi/PeiMPCore]


build.py...
 : error F002: Failed to build module
        /home/youngmin/edk2_arm/ArmPlatformPkg/PrePi/PeiMPCore.inf [AARCH64, 
GCC47, DEBUG]

- Failed -
Build end time: 09:48:41, Dec.04 2013
Build total time: 00:00:13


In my opinion, this build issue seems to come from 
"ArmPlatformGetPrimaryCoreMpId".
There is no "ArmPlatformGetPrimaryCoreMpId' function in current 
"ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/AArch64/RTSMHelper.S"
While there is a "ArmPlatformGetPrimaryCoreMpId" function in 
"ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/Arm/RTSMHelper.S"

Do I need to implement "ArmPlatformGetPrimaryCoreMpId' into 
"ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/AArch64/RTSMHelper.S" 
?

Please have a look.

Thank you all in advanced to.


------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to