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.

RTOS/AM3359: Booloader project

Part Number: AM3359
Other Parts Discussed in Thread: SYSBIOS, AMIC110

Tool/software: TI-RTOS

Hello Everyone !

I was an old user of industrial Sdk (from am335x_sysbios_ind_sdk_1.1.0.4 to sysbios_ind_sdk_02.01.03.02) .

As Texas will probably stop to support Industrial Sdk, I have decided to migrate to Processor Sdk with PRU_ICSS_Industrial.

So I have downloaded all the needed software:

  • bios_6_46_05_55
  • edma3_lld_2_12_04_28
  • ndk_2_25_01_11
  • pdk_am335x_1_0_7
  • xdctools_3_32_01_22_core
  • PRU-ICSS-EtherCAT_Slave_01.00.04.01
  • .......

I have my own custom board which is quite similar to the evaluation board iceV2

I have to slightly modify the bootloader program to integrate some specifities but I don't manage to find the bootloader porject after generating all the project in the folder !

How can I do that ? Does this project exists in the pdk ?

Can you help me to find and midify the bootloader project please ?

Thanks a lot for your help

Laurence

  • The RTOS team have been notified. They will respond here.
  • Hi Laurence,

    part of the reason for changes in Industrial SDKs (and therefor new names...) was to make this focused on industrial comms. Base SW such as common drivers and boot support is now part of the generic PDK. See packages/ti/starterware for example....

    regards,

    Frank

  • Hello Frank,

    Tanks for your answer.

    In fact, I've already found  the source files in the folder \ti\pdk_am335x_1_0_7\packages\ti\starterware\bootloader

    But I can't manage to generate the associated project

    Can you indicate me how to do please ?

    Furthermore, I've collected the project of bootloader from the sdk sysbios_ind_sdk_02.01.03.02.

    I compile it and try to debug it but when I launch the debugger I've the following error message :

    "CortxA8: Loader: One or more sections of your program falls into a memory region that is not writable.  These regions will not actually be written to the target.  Check your linker configuration and/or memory map."

    I join the memory map associated to this session. Can you explain me the problem please ?

    Thnaks a lot for your help

    Laurence

    bootLectra.zip

  • Laurence,

    The CCS project corresponding to the bootloader that was available in Industrial SDK/starterware is no longer available in the PDK package as the build uses makefiles only to build the bootloader part of the package.

    This build process is described in the Processor SDK RTOS BOOT section of the documentation here:
    processors.wiki.ti.com/.../AM437x

    Additionally, I have provided some guidance below to help you locate the build and source files:

    Bootloader build files for AM335x/AM437x

    Makefiles:
    PDK_INSTALL_PATH\packages/ti/starterware/build/makerules/rules_a8.mk: Common Compiler flags used for A8 cores. Applies to AMIC110 and AM335x
    PDK_INSTALL_PATH\packages/ti/starterware/build/makerules/rules_a8.mk: Common Compiler flags used for A9 cores. Applies to AM437x devices
    PDK_INSTALL_PATH\packages/ti/starterware/build/makerules/platform.mk: Global settings for all components for a particular platform.
    PDK_INSTALL_PATH\packages/ti/starterware/build/makerules/components.mk: Specific settings for components in starterware
    PDK_INSTALL_PATH\packages/ti/starterware/build/makerules/build_cfg.mk: Flags to enable features in the build
    PDK_INSTALL_PATH\packages/ti/starterware/bootloader/Makefile: Makefile for bootloader that provides list of source files and library to create bootloader binary.

    Source files:
    PDK_INSTALL_PATH\packages\ti\starterware\bootloader\src: Common source files for bootloader functionality
    PDK_INSTALL_PATH\packages\ti\starterware\bootloader\src\<device>: Files specific to device to initialize platform features like PLL, pinmux and DDR

    Hope this helps.

    Regards,
    Rahul