This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MCU-PLUS-SDK-AM243X: How to avoid warning of sbl_ospi

Part Number: MCU-PLUS-SDK-AM243X
Other Parts Discussed in Thread: AM2432, SYSCONFIG

Tool/software:

Hi team,

I am developing a custom board equipped with AM2432.

When I build sbl_ospi, the following warning occurred.

creating output section ".app" without a SECTIONS specification

What is the cause of this warning and how can I avoid it?

Best regard,

Oyama 

  • Hi,

    I would suggest you to take a look at the default SBL OSPI and the different sections configured in SysConfig.

    Then you can go ahead and modify it further.

    creating output section ".app" without a SECTIONS specification

    I think this message is coming while building the application? Or while adding any subsection/configuration inside SysConfig?

    Regards

    Vaibhav

  • Hi Vaibhav,

    It occurred  while building "default" application mcu_plus_sdk_am243x_11_00_00_15.

    This is the log.

    Building target: "sbl_ospi_am243x-lp_r5fss0-0_nortos_ti-arm-clang.out"
    Invoking: Arm Linker
    "D:/ti/ccs1281/ccs/tools/compiler/ti_cgt_arm_llvm_4.0.1.LTS/bin/tiarmclang.exe" -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -mthumb -DSOC_AM243X -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wl,-m"sbl_ospi.Debug.map" -Wl,-i"D:/ti/mcu_plus_sdk_am243x_11_00_00_15/source/kernel/nortos/lib" -Wl,-i"D:/ti/mcu_plus_sdk_am243x_11_00_00_15/source/drivers/lib" -Wl,-i"D:/ti/mcu_plus_sdk_am243x_11_00_00_15/source/board/lib" -Wl,-i"D:/ti/ccs1281/ccs/tools/compiler/ti_cgt_arm_llvm_4.0.1.LTS/lib" -Wl,--reread_libs -Wl,--diag_suppress=10063 -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--gen_xml_func_hash -Wl,--xml_link_info="sbl_ospi_am243x-lp_r5fss0-0_nortos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "sbl_ospi_am243x-lp_r5fss0-0_nortos_ti-arm-clang.out" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./syscfg/ti_enet_config.o" "./syscfg/ti_enet_open_close.o" "./syscfg/ti_enet_soc.o" "./syscfg/ti_enet_lwipif.o" "./main.o" -Wl,-l"syscfg/linker.cmd"  -Wl,-lnortos.am243x.r5f.ti-arm-clang.debug.lib -Wl,-ldrivers.am243x.r5f.ti-arm-clang.debug.lib -Wl,-lboard.am243x.r5f.ti-arm-clang.debug.lib -Wl,-llibc.a -Wl,-llibsysbm.a 
    warning #10247-D: creating output section ".app" without a SECTIONS specification
    Finished building target: "sbl_ospi_am243x-lp_r5fss0-0_nortos_ti-arm-clang.out"

    Best regard,

    Oyama

  • Hi,

    Please allow me sometime to read through this and get back to you.

    Thanks for your patience.

    Regards,

    Vaibhav

  • Hi,

    I am not facing any build warnings/error.

    Can you head to your .map file?

    Your built application will contain the file:

    sbl_ospi.debug.map and sbl_ospi.release.map

    Does it contain a section under Output called .app? and is main.obj uninitialized there?

    Regards,

    Vaibhav

  • Hi Valibhav,

    .app       0    70023000    00040000     UNINITIALIZED
                      70023000    00040000     main.o (.app)

    Only .app is called under Output in the sbl_ospi.debug.map.

     I will share my tools details.

    CCS : 12.8.1

    compiler : TI Clang v4.0.1LTS

    sysconfig : 1.22.0

    MCU + SDK for AM243x : 11.0.0.15

    Best regard,

    Oyama

  • Hi,

    Pretty sure this warning should not interfere with your build process or the way your application runs.

    Please allow sometime for another expert to comment on this thread.

    Regards,

    Vaibhav

  • Hi Oyama,

    The above warning is coming because your application might be having a .app section and memory for which is not specified in the linker.cmd file.

    You will need to update the example.syscfg file to add memory region for .app section of the application.

    Regards,

    Tushar