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.

fail to obtain SoC prompt of Hawkings board

Hi There,

Greetings !!!

I am using XTCIEVMk2X module (Advantech hardware) (TCI6638)

After power on, On one serial port I can see BMC prompt but I am not able to see SoC prompt on other serial port. (TCI6638 prompt).

Is it problem with Uboot , do I need to download Uboot image again ?

Please guide .

Regards,

Vishal

  • Hi Vishal,

    When you first powered the board, did you see the U-Boot prompt on the serial port?  Have you set DIP sw to "0010" for ARM boot?  Please refer the attached Quick Start Guide.  If no, could you please refer http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/286661/999761.aspx#999761 and refer the User Guide in the installers.  It explains how to burn U-Boot.

    Regards,
    Atsushi

  • Hi Atsushi,

    Thanks for your reply.

    When first time I had started the board with DIP sw 0010, I was able to see two promts i.e SoC and BMC.

    On SoC I was able to get below mentioned prompt -

    TCI6638 EVM #

    And on BMC it was -

    BMC >

    I have executed some of the commands to boot second stage UBOOT (serverip, ipaddr etc), but it was not copying image from tftp.

    (TCI6638 EVM # tftp 0xc300000 u-boot-spi-keystone-evm.gph)

    I did this several times but was facing same problem.

    But after sometime without any clue, on I was not getting UBoot prompt on USB0.

    I can still see BMC> promt on USB1 serial port.

    It will be really helpful if you guide to tackle this problem.

    Thanks in advance.

    Regards,

    Vishal

  • Hi Atsushi,

    By mistake I clicked  on "Yes" Button.

    Still waiting for your reply.

    Regards,

    Vishal

  • Vishal,

    I don't have the EVM in my hand, so I can't evaluate it now, but please follow the procedure below.  Please refer the User Guide in the MCSDK too.

    1. Boot EVM at non-boot mode (DIP: 0001).
    2. Connect CCS to the target.
    3. Open the first ARM core and connect to it.
    4. Tools -> Load memory, and select the image in the distribution "C:\ti\mcsdk_linux_3_00_xx_yy\images\u-boot-keystone-evm.bin" and load it at 0x0c001000 by 32-bit mode.
    5. Set ARM core PC (Program Counter) to the same address 0x0c001000.
    6. Resume the execution by the green triangle button on the CCS.
    7. U-Boot prompt should appear on the serial terminal.

    If it did not work, could you please refer the section "Loading U-Boot with CCS" in the MCSDK User Guide (on the page 20 for the version which I refer).

    It the above steps work, you should burn U-Boot into the Flash.  Please refer the User Guide again.

    Regards,
    Atsushi

  • Atsushi,

    I have followed above steps but not succeeded, some queries 

    1. How will I know that Uboot download is completed ?

    You mentioned that "U-Boot prompt should appear on the serial terminal"

    2. But for this we have to change DIP sw setting as 0010 or not ?

    3. To connect CCS I have connected mini USB cable to eInfochips daughter card, for serial port do I need to connect one more USB to base card ?


    Regards,

    Vishal


  • Hi Vishal,

    > How will I know that Uboot download is completed ?

    Did you mean the step 4 which I explained?  When the downloading dialog (or window) closed, the download into the target memory should be completed.  Please also refer the section "Loading U-Boot with CCS" in the MCSDK User Guide (on the page 20 for the version which I refer).

    > 2. But for this we have to change DIP sw setting as 0010 or not ?

    No.  (Sorry for my mistake.  I fixed this line later.)

    When running U-Boot by loading it by CCS, you don't need to change the DIP sw to 0010 because Hawking is already reset when ready to load the U-Boot by CCS.  The DIP sw is only referred when EVM is powered.

    > 3. To connect CCS I have connected mini USB cable to eInfochips daughter card, for serial port do I need to connect one more

    Yes, you should have two USB cables.  One is to connect serial terminals.  One This USB cable is equipped for BMC and also for Hawking UART.  (By installing the driver, Windows will recognizes 2 serial ports on the USB connection.)  In addition, you need to connect another USB cable to the daughter card for CCS connection purpose.  Without this, we can not debug or download U-Boot by CCS.

    Regards,
    Atsushi

  • Hi Atsushi,


    Thanks for info.

    I will try this procedure and will let you know about results.


    Regards,

    Vishal

  • Atsushi,

    Thanks for help, I can see SoC prompt now with No Boot Mode.

    But when I removed CCS connection and when tried to boot in NOR SPI Boot mode, Its not showing SoC prompt.

    I am referring  MCSDK User Guide:Exploring the MCSDK

    Do I need to build all below mentioned files ?

    u-boot.bin

    u-boot-spl.bin

    u-boot.img

    u-boot-spi.gph

    Regards,

    Vishal 


  • I got all the files from release folder.

    Regards,

    Vishal

  • Hi Atsushi,

    I am referring  MCSDK User Guide:Exploring the MCSDK

    In the section:

    **************************************************************************************************

    Loading and running U-Boot on EVM through SPI boot (single stage)

    Burning U-Boot to SPI Flash

    This section assumes that u-boot is booted up and running on EVM, e.g. using CCS (see section above)

    Load u-boot.bin to memory to be saved to SPI flash through CCS

    * Have a copy of u-boot.bin ready in a directory on host PC running CCS
    * Start and connect CCS to ARM core 0
    * CCS > Run > "Suspend" 
    * CCS > Tools > Load Memory > browse to the copy of u-boot.bin and load it to address 0x0c300000
    * CCS > Run > "Resume"
    where 0x0c300000 is an example address to temporarily keep the u-boot.bin image.
    

    Now a copy of u-boot.bin is loaded to 0x0c300000.

    At the u-boot prompt:

    • Format the u-boot.bin image loaded in memory to SPI boot format

    ***************************************************************************************************

    My question is the file u-boot.bin and file  u-boot-keystone-evm.bin are same or different ?

    If different, then How can I get the file u-boot.bin ?

    I dont have the below files:

    u-boot.bin

    u-boot-spl.bin

    u-boot.img

    u-boot-spi.gph

    But I have only the below files:

    u-boot-keystone-evm.bin

    u-boot-spl-keystone-evm.bin

    u-boot-keystone-evm.img

    u-boot-spi-keystone-evm.gph


    Waiting for your reply.

    Thanks,

    Vishal.






  • Hi Vishal,

    The u-boot.bin and u-boot-keystone-evm.bin should be same.

    The u-boot-spl.bin, u-boot.img, and u-boot-spi.gph should be also as same as u-boot-spl-keystone-evm.bin, u-boot-keystone-evm.img, and u-boot-spi-keystone-evm.gph respectively.

    Regards,
    Atsushi

  • Hi Atsush ,

    Greetings !!!

    I assumed same and worked further and successfully tested board.

    I have also loaded linux kernal on board.

    Thank you very much for your help.

    Really appreciated. 

    Regards,

    Vishal