Other Parts Discussed in Thread: CCSTUDIO
Tool/software: Code Composer Studio
Hi,
With the help of the forum I was able to port the TI SBL project into the CCS environment.
I can run and debug the SBL code on my idkAM571x via CCS. But when I boot with my generated MLO file (by SD card), nothing happen.
My attempts:
a)
Note: idkAM571x_SBL.out was generated via CCS.
objcopy.exe -O binary idkAM571x_SBL.out idkAM571x_SBL.bin
tiimage 0x40331000 mmcsd idkAM571x_SBL.bin MLO
MLO do not run
b)
Note: sbl.out was generated via gmake sbl.
objcopy.exe -O binary sbl.out sbl.bin
tiimage 0x40331000 mmcsd sbl.bin MLO
MLO do run
Compiler settings:
-mcpu=cortex-a15 -mtune=cortex-a15 -marm -mfloat-abi=hard -mfpu=neon -DAM571x_BUILD -DSOC_AM571x -Dam5718 -D__ARMv7 -DidkAM571x -DBOOT_MMCSD -DOPP_NOM -I"C:/ti/pdk_am57xx_1_0_8/packages/ti/boot/sbl/src/mmcsd" -I"C:/ti/pdk_am57xx_1_0_8/packages" -I"C:/ti/pdk_am57xx_1_0_8/packages/ti/csl" -I"C:/ti/pdk_am57xx_1_0_8/packages/ti/board" -I"C:/ti/pdk_am57xx_1_0_8/packages/ti/boot/sbl/board/src" -I"C:/ti/pdk_am57xx_1_0_8/packages/ti/boot/sbl/src/rprc" -I"C:/ti/pdk_am57xx_1_0_8/packages/ti/boot/sbl/soc" -I"C:/Develop/TC_CTR_V5/Workspace_CCS_V7/idkAM571x_SBL" -I"C:/CCStudio_V7/ccsv7/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -I"C:/ti/pdk_am57xx_1_0_8/packages" -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs"
Linker settings:
-mtune=cortex-a15 -marm -DAM571x_BUILD -DSOC_AM571x -Dam5718 -D__ARMv7 -DidkAM571x -DBOOT_MMCSD -DOPP_NOM -g -gdwarf-3 -gstrict-dwarf -Wall -specs="nosys.specs" -mfloat-abi=hard -Wl,-Map,"idkAM571x_SBL.map" --entry Entry -nostartfiles -static -Wl,--gc-sections -L"C:/ti/pdk_am57xx_1_0_8/packages/ti/drv/uart/lib/a15/release/" -L"C:/ti/pdk_am57xx_1_0_8/packages/ti/drv/spi/lib/a15/release/" -L"C:/ti/pdk_am57xx_1_0_8/packages/ti/drv/i2c/lib/a15/release/" -L"C:/ti/pdk_am57xx_1_0_8/packages/ti/drv/mmcsd/lib/a15/release/" -L"C:/ti/pdk_am57xx_1_0_8/packages/ti/fs/fatfs/lib/a15/release/" -L"C:/ti/pdk_am57xx_1_0_8/packages/ti/csl/lib/am571x/a15/release/" -L"C:/ti/pdk_am57xx_1_0_8/packages/ti/osal/lib/nonos/am571x/a15/release/" -L"C:/ti/pdk_am57xx_1_0_8/packages/ti/drv/pm/lib/am571x/a15/release/" -L"C:/ti/bios_6_46_05_55/packages/gnu/targets/arm/rtsv7A/lib" -L"C:/ti/pdk_am57xx_1_0_8/packages/ti/board/lib/idkAM571x/a15/release" -Wl,--defsym,STACKSIZE=0x10000 -Wl,--defsym,HEAPSIZE=0x400 -Wl,--undefined,__aeabi_uidiv -Wl,--undefined,__aeabi_idiv
I'm using SDK RTOS v04.01.00.06, PDK v1.0.8, on Windows, CCS 7.2.0.00013
Best Regards,
Christian

