Hi,
I got the BSP for OMAP3530 EVM. am trying to build RELEASE
build with project properties - > build options as " enable EBOOT space in
memory IMGEBOOT=1" ALONE selected.
I just did a few changes in platform.c in PIN MUX settings, ( we are making a
custom board for OMAP3530, so these changes pertain to that), I am facing two
problems.
1. Code is getting stuck some where here.
//******************************************************************
if( dwOEMHighSecurity == OEM_HIGH_SECURITY_HS )
{
EnableCache_HS();
}
else
{
EnableCache_GP();
}
//******************************************************************
I am using OMAP3530DCUS, and latest update of DVSDK EA_06_10_00 version of
startup.s file.
if I comment this part of the code it proceeds further. is this part of the
code so important, "enabling cache.??"
2. SECOND PROBLEM.
this is the *.BIB file
; File: xldrsd.bib
;
; This file define X-Loader image layout. X-Loader is loaded to internal
; OMAP3530 SRAM memory from MMC/SD card.
;
; GP device doesn't support TOC, it only check first 2 DWORDs for image size
and load address.
;
MEMORY
; Name Start Size Type
; --------------------- -------- -------- ----
XLDRSD 40200000 0000C000 RAMIMAGE
RAM 4020C000 00003000 RAM
STACK 4020F000 00001000 RESERVED
IF IMGHIGHSECURITY
dwOEMHighSecurity 00000000 00000001 FIXUPVAR
ELSE
dwOEMHighSecurity 00000000 00000002 FIXUPVAR
ENDIF
CONFIG
COMPRESSION=OFF
PROFILE=OFF
KERNELFIXUPS=ON
ROMSTART=40200000
ROMWIDTH=32
; NOTE - ROMSIZE parameter controls the size of the SD XLDR nb0 file
; Set to 48KB to ensure that it will fit in the CPU on-chip RAM.
ROMSIZE=0000C000
MODULES
; Name Path Memory
; ------ ----------------------------------------- --------
nk.exe $(_RAWFILETGT)\$(WINCEDEBUG)\xldrsd.exe XLDRSD
, if I comment some part of the code like "copying the ebootsd.nb0 file to
ram".
//*******************************************************************************
#if 0
/*XLDRMSG(TEXT("read ebootsd.nb0 file\r\n"));*/
//if (BL_ERROR == BLSDCardReadData(IMAGE_STARTUP_IMAGE_SIZE, (UCHAR *)
IMAGE_STARTUP_IMAGE_PA))
if (BL_ERROR == BLSDCardReadData(0x000C0000, (UCHAR *)
IMAGE_STARTUP_IMAGE_PA))
{
/*XLDRMSG(TEXT("SD boot failed to read file\r\n"));*/
goto CleanUp;
}
//******************************************************************************
the code is getting built, if I include that part it is not getting built.
In the sense if we do " build BSP and sub projects", it doesn't show any
errors,
i used two debug led's toggle effect to see whether the code is executing
till there or not. If the whole code is included, the image shows that it got
updated but it works in the previous build versions fashion.
Can any one suggest how to solve this issue. as with out including the whole
code the main purpose of building the code is not achived. can i change the
bib file to solve this issue..??