^

AR# 31278 10.1 EDK - Why does image creation fail for PetaLinux and BlueCat after I install Service Pack 2?

[**Hhold new edits for 10.1 sp3]]

Prior to Service Pack 2, I could build a PetaLinux or BlueCat image without problems. After installing Service Pack 2, I receive compilation errors relating to #define Xilinx_CPU_CLOCK_FREQ and / or #define XPAR_CPU_FREQ_HZ.

Is there a way to work around this issue?

The CORE_CLOCK_FREQ_HZ parameter is deprecated, but XPS should still have used the default CORE_CLOCK_FREQ_HZ value found in the BSP's MLD file.

The work-around is to manually insert the CORE_CLOCK_FREQ_HZ parameter in the PROCESSOR section of the .mss file:

BEGIN PROCESSOR

PARAMETER DRIVER_NAME = cpu

PARAMETER DRIVER_VER = 1.11.b

PARAMETER HW_INSTANCE = microblaze_0

PARAMETER COMPILER = mb-gcc

PARAMETER ARCHIVER = mb-ar

PARAMETER CORE_CLOCK_FREQ_HZ = 100000000

END

This problem has been fixed in the latest 10.1 Service Pack available at:

http://www.xilinx.com/support/download/
The first service pack containing the fix is 10.1 Service Pack 3.

AR# 31278
Date Created 07/07/2008
Last Updated 12/15/2012
Status Active
Type General Article
Feed Back