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.

AM335x Linux RT boot

Other Parts Discussed in Thread: TMDSICE3359, AM3359, DP83630

Hello,  my customer asked me the following, and I quote:

 I'm trying to do on Ubuntu 14.04 LTS operating system as follows:

Download sdk:
software-dl.ti.com/.../index_FDS.html

Declared support for the ICE in this release:
processors.wiki.ti.com/.../Processor_SDK_Linux_Release_Notes

I create the SD card via the create-sdcard script compiled binaries (prebuilt images):
processors.wiki.ti.com/.../Processor_SDK_Linux_create_SD_card_script
As a result, in the boot SD card are copied MLO files and u-boot.img.

I insert an SD card into the card (jumpers are set to boot from the SD card) and reloads fee.
As a result, the terminal (connected via minicom utility) displays a message stating that the application has been found and downloaded the demo application from the SPI flash.
Next, I rename MLO in the APP, to StarterWare downloaded it, and then the boot process hangs:
"Image copy Successful, Executing Application ..."

  • Hi,

    I don't understand what you are trying to do, especially this part:

    "I insert an SD card into the card (jumpers are set to boot from the SD card) and reloads fee.
    As a result, the terminal (connected via minicom utility) displays a message stating that the application has been found and downloaded the demo application from the SPI flash.
    Next, I rename MLO in the APP, to StarterWare downloaded it, and then the boot process hangs:
    "Image copy Successful, Executing Application ..."

    Can you please explain in more details?
  • Hello,

    Download sdk Linux RT:
    software-dl.ti.com/.../index_FDS.html

    In the release at the link above for LinuxRT declared support for fixings ICEboard:
    processors.wiki.ti.com/.../Processor_SDK_Linux_Release_Notes

    Recommended on the website TI way to create the SD card using the script create-sdcard with the compiled binaries of the examples of the SDK (prebuilt images):
    processors.wiki.ti.com/.../Processor_SDK_Linux_create_SD_card_script
    In the process of forming the image on the SD card it will automatically copy the files MLO and u-boot.img.

    Further, according to the manufacturer's recommendations insert the SD card into ICEboard (jumper set for booting from SD card) and twisting the power Board.
    After you restart the terminal program (minicom is connected via the utility) I get a message that the app is not found and loaded the demo application from SPI flash.
    Ie recommended to study the example does not work.

    We went ahead and renamed the MLO file in the APP to StarterWare uploaded it.
    However, after renaming and restarting the boot process hangs with the message:
    "Image copy Successful, Executing Application..."

    What are we doing wrong?

  • What is your ICE board revision?
  • This should be ICEv2. SYSBOOT configuration is selected by jumper J5. Available configurations can be seen here: processors.wiki.ti.com/.../AM335x_Industrial_Communication_Engine_EVM_Rev2_1_HW_User_Guide As you can see in both configurations SPI0 boot device comes before MMC0. so in order to boot successfully from MMC0 you will need to erase SPI0 Flash beforehand: processors.wiki.ti.com/.../AM335x_ICEv2_flash_erase
  • Hi, i'm trying to boot sys/bios application via u-boot for tmdsice3359 v2 board processors.wiki.ti.com/.../BIOS_with_GCC_(CortexA). Using 0x80000000 for load address and entry point. Application loads fine, but hangs on "Starting kernel..." section. Have any suggestion on what i'm doing wrong?
  • Hi Sergey,

    Are you following the wiki you cite:
    processors.wiki.ti.com/.../BIOS_with_GCC_(CortexA) ?

    If so you should modify the ./MAKEALL dra7xx_evm to match your case (you use am3359 ICE).

    The u-boot being stuck at Starting kernel most likely means that the u-boot is configured to look for a different version of the kernel or the kernel does NOT match your board. Can you stop at u-boot, execute printenv & share the result?

    Best Regards,
    Yordan
  • Also if you use SDK 03_00_00_04, u-boot is configured to look for .dtb file & zImage.

    You will have to modify the am335x_evm.h file:

      #define CONFIG_EXTRA_ENV_SETTINGS \

    DEFAULT_LINUX_BOOT_ENV \

    DEFAULT_MMC_TI_ARGS \

    "boot_fdt=try\0" \

    "bootpart=0:2\0" \

    "bootdir=/boot\0" \

    "bootfile=zImage\0" \

    "fdtfile=undefined\0" \

    "console=ttyO0,115200n8\0" \

    .............

    .............

     "findfdt="\

         "if test $board_name = A335BONE; then " \

                    "setenv fdtfile am335x-bone.dtb; fi; " \

          "if test $board_name = A335BNLT; then " \

                    "setenv fdtfile am335x-boneblack.dtb; fi; " \

          "if test $board_name = BBG1; then " \

                      "setenv fdtfile am335x-bonegreen.dtb; fi; " \

          "if test $board_name = A33515BB; then " \

                      "setenv fdtfile am335x-evm.dtb; fi; " \

           "if test $board_name = A335X_SK; then " \

                      "setenv fdtfile am335x-evmsk.dtb; fi; " \

            "if test $board_name = A335_ICE; then " \

                       "setenv fdtfile am335x-icev2.dtb; fi; " \

             "if test $fdtfile = undefined; then " \

    "echo WARNING: Could not determine device tree to use; fi; \0" \

    "init_console=" \

    Most likely u-boot is stuck at finding am335x-icev2.dtb or zImage, you either don't have this dtb or you use uImage (which doesn't use the .dtb file). 

    Best Regards, 
    Yordan

  • Hello,

    I have some questions about the Ethernet transceiver of DP83630:

    we have used the demo board TMDSICE3359 with the ethernet transceiver of TLK1100. We have made the image of LinuxRT with SDK. We have made own board with ethernet transceiver of DP83630. LinuxRT worked at the TMDSICE3359, and this linuxRT is launched at the own board, but ethernet interfaces has not worked. DO you have the recommendations / files how I can include the driver  ethernet transceiver of DP8360 to LinuxRT. Does The firmware support the units of PRU, which has included in the actual version SDK?

     


    When will SDK for LinuxRT (Processor-SDK-linux-RT-AM335X) version 3.3 available for AM335X. Or how can I adapt the solution of AM572x for AM335X (demo board TMDSICE3359)