Thanks Youngmin for the report, I have fixed this issue in SVN rev 14939. Olivier
> -----Original Message----- > From: Youngmin Nam [mailto:youngmin....@samsung.com] > Sent: 06 December 2013 00:38 > To: Olivier Martin > Cc: edk2-devel@lists.sourceforge.net > Subject: [edk2] Regading EDK2 as a 2nd stage Boot Loader > > 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=ArmPla > tformPkg#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/ArmPlatformStackL > ib/ArmPlatformStackLib/OUTPUT/ArmPlatformStackLib.lib(ArmPlatformStackL > ib.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/Arm > PlatformPrePiMPCore.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/RTSMH > elper.S" > While there is a "ArmPlatformGetPrimaryCoreMpId" function in > "ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/Arm/RTSMHelpe > r.S" > > Do I need to implement "ArmPlatformGetPrimaryCoreMpId' into > "ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressLibRTSM/AArch64/RTSMH > elper.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