Tool/software: Code Composer Studio
Hi,
I am using AM5718,I am trying to boot from SD-card using rebuilt SBL.I followed your make file to rebuild the SBL.
- included C files are
- included paths are
C:\ti\pdk_am57xx_1_0_13\packages
C:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl
C:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\src\mmcsd
C:\ti\pdk_am57xx_1_0_13\packages\ti\csl
C:\ti\pdk_am57xx_1_0_13\packages\ti\board
C:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\board\src
C:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\src\rprc
C:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\soc\am57xx
${PROJECT_ROOT}
${CG_TOOL_INCLUDE_PATH}
- included libraries are
:ti.board.aa15fg
:ti.drv.uart.aa15fg
:ti.drv.i2c.aa15fg
gcc
c
rdimon
:ti.drv.mmcsd.aa15fg
:ti.fs.fatfs.aa15fg
:ti.csl.aa15fg
:ti.csl.init.aa15fg
:ti.osal.aa15fg
:pm_hal.aa15fg
- Library search paths are
C:\ti\pdk_am57xx_1_0_13\packages\ti\board\lib\idkAM571x\a15\release
C:\ti\pdk_am57xx_1_0_13\packages\ti\drv\uart\lib\a15\release
C:\ti\pdk_am57xx_1_0_13\packages\ti\drv\i2c\lib\a15\release
C:\ti\pdk_am57xx_1_0_13\packages\ti\drv\mmcsd\lib\a15\release
C:\ti\pdk_am57xx_1_0_13\packages\ti\fs\fatfs\lib\a15\release
C:\ti\pdk_am57xx_1_0_13\packages\ti\csl\lib\am571x\a15\release
C:\ti\pdk_am57xx_1_0_13\packages\ti\osal\lib\nonos\am571x\a15\release
C:\ti\pdk_am57xx_1_0_13\packages\ti\drv\pm\lib\am571x\a15\release
- flag summery is
-mtune=cortex-a15 -marm -Dam5718 -DidkAM571x -DAM571x_BUILD -D__ARMv7 -DSOC_AM571x -DevmAM571x -DOPP_NOM -DBOOT_MMCSD -Og -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mfloat-abi=hard -Wl,-Map,"MMC-SD_SBL_REBUILD.map" --entry Entry -nostartfiles -static -Wl,--gc-sections -L"C:/ti/pdk_am57xx_1_0_13/packages/ti/board/lib/idkAM571x/a15/release" -L"C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/uart/lib/a15/release" -L"C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/i2c/lib/a15/release" -L"C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/mmcsd/lib/a15/release" -L"C:/ti/pdk_am57xx_1_0_13/packages/ti/fs/fatfs/lib/a15/release" -L"C:/ti/pdk_am57xx_1_0_13/packages/ti/csl/lib/am571x/a15/release" -L"C:/ti/pdk_am57xx_1_0_13/packages/ti/osal/lib/nonos/am571x/a15/release" -L"C:/ti/pdk_am57xx_1_0_13/packages/ti/drv/pm/lib/am571x/a15/release" -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400
- my memory map file is
- my linker is your default file is from location
C:\ti\pdk_am57xx_1_0_13\packages\ti\boot\sbl\board\idkAM571x\build
- I converted my .out file to image using your tool 'tiimage.exe ' by following your link:
software-dl.ti.com/.../index_Foundational_Components.html
syntax: tiimage.exe 0x40331000 mmcsd sbl.bin MLO
I can able to debug SBL using JTAG and it successfully entered to the application.But I couldn't able to boot from SD-card using same SBL...How we resolve these??
Regards
Shan Muhammad