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.

TDA2E: Boot issue

Part Number: TDA2E


Hello,

I am also facing same issue as below.

https://e2e.ti.com/support/processors/f/791/t/824073

Has this thread been solved ?

Best Regards,

  • Hello Machida-san

    Are you setting the right SYSBOOT settings on the board for booting from SD Card?

    Thanks and Regards

    Piyali

  • Hi Piyali-san,

    Yes, I confirmed that SD card which is attached MMWCAS-DSP Board boot correctly.

    Best Regards,

  • Hi Machida-san

    Glad to hear your issue is resolved.

    Thanks and Regards

    Piyali

  • Hello Piyali-san,

    Sorry for confusing you. My issue has not resolved.

    Again, my question is below.

    I am also facing same issue as below.

    https://e2e.ti.com/support/processors/f/791/t/824073

    Has this thread been solved ?

             (I have as MMWCAS-DSP-EVM and want to use this to run RADAR Use case under the PROCESSOR_SDK_RADAR_03_07_00_00.

    I have compiled the PROCESSOR_SDK_RADAR_03_07_00_00 with use case for tda2xx_cascade_bios_radar and then followed following the steps mentioned in VisionSDK_UserGuide_TDA2xx.pdf)

    I confirmed boot by using SD card which is attached MMWCAS-DSP Board.

    However, I could not confirm boot by using SD card which I created by myself.

    So, could you confirm about my original question ?

    Best Regards,

  • Hello Machida-san

    I would like to confirm my understanding:

    1. When you prepared the SD card with the image attached with and plugged into  MMWCAS-DSP-EVM, the boot is working. 

    2. When the same SD card is loaded with an image you have built by compiling the source code, the EVM is not booting.

    Is this understanding correct?

    Thanks and Regards

    Piyali

  • Hello Piyali-san,

    1. When you prepared the SD card with the image attached with and plugged into  MMWCAS-DSP-EVM, the boot is working. 

    => Yes.

    2. When the same SD card is loaded with an image you have built by compiling the source code, the EVM is not booting.

    => Not same SD card. I prepared SD card individual (Capacity 32GB).

    Others are correct.

    Best Regards,

  • Hello Machida-san

    When you are preparing the new SD card, are you building the RTOS only application or the Linux + RTOS application?

    For example if you are using the RTOS application:

    when you are preparing the SD card are you making sure there is an MLO file for the SBL and the SD card is formatted with FAT32 and has the boot flag set?

    Can you please share if you are able to see anything on the UART terminal when you try and boot?

    Thanks and Regards

    Piyali

  • Hello Piyali-san,

    >When you are preparing the new SD card, are you building the RTOS only application or the Linux + RTOS application?

    I believe that Processor-SDK-Radar have only RTOS only. So, I am using RTOS only.

    (I believe that Linux+RTOS solution is for Processor-SDK-Vision.)

    >when you are preparing the SD card are you making sure there is an MLO file for the SBL and the SD card is formatted with FAT32 and has the boot flag set?

    Yes, of course.

    * I used format partition tool  and confirmed allocation size and file format as shown below.

    * I copied MLO from below after building.

    PROCESSOR_SDK_RADAR_03_07_00_00\vision_sdk\binaries\apps\tda2xx_cascade_bios_radar\sbl\sd\opp_nom\tda2xx-cascade-radar

    And also copied app file from below.

    PROCESSOR_SDK_RADAR_03_07_00_00\vision_sdk\binaries\apps\tda2xx_cascade_bios_radar\vision_sdk\bin\tda2xx-evm\sbl_boot

    >Can you please share if you are able to see anything on the UART terminal when you try and boot?

    I could not see any log on console on UART terminal. So I think that MLO does not work correctly.

    Best Regards,

  • Hello Machida-san

    Do you have CCS connectivity on the board? It would be good to check where in the boot the device is stuck. Once you connect to CCS, you should be able to see the A15 PC location to see where you are stuck in the boot.

    Also, can you re-build the SBL and MLO by placing a while(1) after sbl main and try and boot again. Then connect to CCS and see if you are stuck in the while(1). This will eliminate basic ROM reading SD card issues/SD card formatting issues versus any issue in SBL.

    SBL main is in ti_components\drivers\pdk_\packages\ti\boot\sbl_auto\sbl_app\src\tda2xx\sbl_tda2xx_main.c

    If you are in the while(1), you can then move the PC after the while(1) and then single step to see where in the SBL is the boot failing.

    Thanks and Regards

    Piyali

  • Machida-san

    Are you able to make progress on this one?

    Thanks and Regards

    Piyali

  • Hello Piyali-san,

    Sorry for my late response.

    However, I have other tasks so I have not confirmed about your suggestion yet. When I have chance to confirm about your suggestion, I will let you know.

    Best Regards, 

  • Hello Piyali-san,

    Today, I had chance to operate MMWDSP. And I checked PC by using CCS9.2.

    At first, when I confirmed PC then PC is 0x0003F852.

    After that, I add "while(1)" in main function of "sbl_tda2xx_main.c" then PC is 0x0003F856 (not stop on "while" function).

    Then I have folliowing question.

    * When I followed "Load using SD card" to create SD card(I just changed label from "SD_BOOT" to "TDA"), I saw following partion.

    I think that partition is created "boot" and "rootfs" in general case.

    Is above expected format result ?

    Best Regards,

    Machida

  • Machida-san

    The partition looks correct. Can you please double confirm the boot flag as well?

    The fact that the PC is stuck at 0x0003F852. seems to suggest the ROM is not able to load the image from SD card in your setup.

    Just as an experiment (if you confirm the boot flag is set), can you try the below:

    1. Power on the board.

    2. Plug in and Plug out the SD card without powering off the board and see if the boot goes through

    Thanks and Regards

    Piyali

  • Hello Piyali-san,

    I performed below. However did not improve.

    1. Power on the board.

    2. Plug in and Plug out the SD card without powering off the board and see if the boot goes through

    >Can you please double confirm the boot flag as well?

    Sorry, how can I confirm boot flag ?

    Best Regards,

  • Hello Piyali-san,

    Today, I could confirm boot up.

    The root cause was below.

    * Previously, primary partition is not set as active.

    (When I created SD card by using active partition manager, I did not perform "set ACTIVE")

    My issue was resolved however I would like to know how I can confirm boot flag for the future.

    Best Regards,

  • Hi Machida-san

    Glad you were able to set the SD card partition to active.

    On Ubuntu using Gparted is the easiest way to check if the boot flag is set.

    "In gparted you click on a partition and right click set flags. You can also use Disk Utility or command line.

    set boot flag on for sda2 (off for others)
    sudo sfdisk -A/dev/sda"

    On Windows, I believe there the disk part only allows to set the parition to active. A quick google search gave me this link. Copying it here for anyone else to refer to http://www.spradlike.com/blog/2012/02/17/checking-active-partition-windows-7/

    Thanks and Regards

    Piyali