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.

EVMK2H OOB Demo?

Other Parts Discussed in Thread: 66AK2H12

Hi,

I am indeed a newbie in Keystone world. I have EVMK2H with me and I am trying to carry out OOB demo. But LCD on EVMK2H is not showing any IP address. I have followed the every instruction carefully. Also when I try to load u-boot through CCS with no boot mode(switch position 0001) I am able to connect and load    u-boot-evm.bin. After changing PC value when I run , I observe no output on SOC console on the other hand MCU console is working. My colleague says that SOC is damaged that is why it is behaving like this. Please help me in this regard. How can I solve this issue. and how can I tell that SOC is intact. Is there any POST for evmk2h.

Thanks

 shehzad gobey

  • Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.

    We will get back to you on the above query shortly. Thank you for your patience.

  • Hi,

    Have you followed the MCSDK user guide to run the OOB demo?
    processors.wiki.ti.com/.../MCSDK_UG_Chapter_Exploring

    Take a look at below threads:
    e2e.ti.com/.../1214770
    e2e.ti.com/.../310394

    Thanks,
  • Hi Shehzad Ahmed,

    Shehzad says said:
    Also when I try to load u-boot through CCS with no boot mode(switch position 0001) I am able to connect and load    u-boot-evm.bin. After changing PC value when I run , I observe no output on SOC console on the other hand MCU console is working. My colleague says that SOC is damaged that is why it is behaving like this. Please help me in this regard. How can I solve this issue. and how can I tell that SOC is intact. Is there any POST for evmk2h.

    First make sure, that you get this, then we will see the OOB Demo.

    The following are the steps to get the u-boot prompt on K2H EVM through CCS which is the easiest method.

    Please follow the steps one by one and reply me upto which step you can carry on.

    I have attached the necessary screenshots for your reference. 

     

    1. Flashing and booting u-boot.bin
    ======================

    The u-boot.bin can be flashed into the EVM through CCS method.

     

    1.1 HW Set up on K2HK EVM:

    ==================

    • In EVMK2hk, rev 3.0 board, you will find two FTDI -USB connectors. The top one is for the emulator (CCS) and
      the bottom one is for opening two channels ( one for displaying the u-boot messages and another one is for BMC commands)
    • Connect the USB cables between your host PC where in the CCS is installed and the K2HK EVM. One for Emulation and the other one for receiving the u-boot messages and the BMC commands.
    • To flash the u-boot.bin,  EVM dip switches are to be set for no-boot mode
    •  

    SWITCH

    Pin1

    Pin2

    Pin3

    Pin4

    SW1

    Off

    Off

    Off

    On

     

    1.2 CCS set up and u-boot flashing Steps to get u-boot prompt.

    ==================================================

    • In CCS, navigate to view--> Target configuration--> create new target configuration file --> and open the file.
      Select the XDS2xx USB emulator as "connection" and "66AK2H12" as board/device, save and test connection.
    • Now, launch the target configuration file and open -->view scripting console, you will get a console prompt with "js:>"
    • You might have already installed the MCSDK at windows and you will find the js file at C:/ti/mcsdk_linux_3_00_03_15/host-tools/loadlin/loadlin-evm-uboot.js
    • Connect the coretexA15_1 to the target.
    • In the scripting console, use loadJSfile command to load the "loadlin-evm-kern.js" file. Before loading, openup the js file in CCS and modify the
      paths of u-boot, kernel like below
    • PATH_LOADLIN = <path of release folder>/host-tools/loadlin
      var pathUboot = PATH_LOADLIN + "/u-boot-keystone-evm.bin";
      var pathSKern = PATH_LOADLIN + "/skern-keystone-evm.bin";
    • loadJSFile C:\ti\mcsdk_linux_3_00_03_15\host-tools\loadlin\loadlin-evm-uboot.js
      ----> Observe a progress bar which will complete the loading of images given in the "loadlin-evm-uboot.js"
      ----> Hit the play button in CCS and in the tera term observe the output messages from "u-boot.bin" image ( flashed through CCS just now) and the u-boot prompt like below.



     

    First make sure, that you get this, then we will see the OOB Demo.

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.
    --------------------------------------------------------------------------------------------------------

  • Hi,
    thanks, but I want to boot linux automatically at power up. For this I have downloaded default u-boot-keystone-evm.gph on SPI NOR flash using methodology describe here. processors.wiki.ti.com/.../MCSDK_UG_Chapter_Exploring and running U-Boot on EVM through SPI Boot. But as I enter reset UART starts to print
    resetting ...
    øCCCCCCCCCCC

    Then it is stuck at this point. Moreover I am not able to load u-boot through Code composer studio. At moment I am able to load u-boot.bin through uart. What could have gone wrong.

    Regards
  • Hi Shehzad Ahmed,

    I have personally tested the image, u-boot-keystone-evm.gph and it worked for me many times.

    Post the screenshot of it with your UART settings details such as baud rate - 115200, hardware flow control - none e.t.c.

    Regards,

    Shankari

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    --------------------------------------------------------------------------------------------------------