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.

Keystone II: can't boot kernel with device tree error

Hi,

We just received XTCIEVMK2X Evaluation Module, I used the images from mcsdk_linux_3_00_00_08,

however kernel can't boot successfully, pls see belows.

TCI6638 EVM # tftpboot 0x87000000 uImage-keystone-evm.bin;tftpboot 0x87000000 uImage-keystone-evm.dtb
Using TCI6614-EMAC device
TFTP from server 128.224.163.23; our IP address is 128.224.162.22
Filename 'uImage-keystone-evm.bin'.
Load address: 0x87000000
Loading: #################################################################
         #################################################################
         #################################################################
         ##########################
         665 KiB/s
done
Bytes transferred = 3231992 (3150f8 hex)
Using TCI6614-EMAC device
TFTP from server 128.224.163.23; our IP address is 128.224.162.22
Filename 'uImage-keystone-evm.dtb'.
Load address: 0x87000000
Loading: ###
         585 KiB/s
done
Bytes transferred = 29364 (72b4 hex)
TCI6638 EVM # bootm 0x88000000 - 0x8700000
## Booting kernel from Legacy Image at 88000000 ...
   Image Name:
   Created:      2013-03-31   2:54:51 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3508256 Bytes = 3.3 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
ERROR: Did not find a cmdline Flattened Device Tree
Could not find a valid device tree

BTW: the uboot version is as follows.U-Boot 2013.01-g84de559 (Feb 07 2013 - 16:25:27)

TCI6638 EVM # version
U-Boot 2013.01-g84de559 (Feb 07 2013 - 16:25:27)
arm-linux-gnueabi-gcc (crosstool-NG linaro-1.13.1-2012.03-20120326 - Linaro GCC 2012.03) 4.6.3
GNU ld (crosstool-NG linaro-1.13.1-2012.03-20120326 - Linaro GCC 2012.03) 2.22

Does it a u-boot issue or something else? thanks!

Regards,

Guoqing

  • Guoquing,

    TCI66x devices are supported through your local Field Application Engineers (FAE's) and are not supported on the E2E forum.  If you do not know who your local FAE is, then please contact your local Field Sales representative and they will be able to put you in contact with your local FAE.

    Best Regards,
    Chad

  • Hello Guoqing,

    If you are just starting, I would highly recommend alpha9 release. Please upgrade your Uboot to alpha9 release and then try it with alpha 9 images.

    Follow Hardware setup guide to make sure you have the latest BMC version & update
       http://processors.wiki.ti.com/index.php/EVMK2H_Hardware_Setup

    User guide: (getting started guide & exploring as well)
       http://processors.wiki.ti.com/index.php/MCSDK_User_Guide_for_KeyStone_II

    Download link:
       http://software-dl.ti.com/sdoemb/sdoemb_public_sw/mcsdk/latest/index_FDS.html

    regards,

    David

  • Hi David,

    Thanks for your reply! pls help me to double check the following.

    1. Is it necessary to update BMC before upgrade u-boot? and u-boot upgrade can be done

    through below steps (copied from http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Getting_Started#Programming_SPI_NOR_flash_with_u-boot_GPH_image).

    setenv serverip 192.168.1.10
    dhcp 0xc300000 u-boot-spi-keystone-evm.gph
    sf probe 
    sf erase 0 <size of u-boot-spi-keystone-evm.gph in hex rounded to
                sector boundary of 0x10000> 
    sf write 0xc300000 0 <size of u-boot-spi-keystone-evm.gph image in
                hex> 

    2. There are some infos about BMC update from http://processors.wiki.ti.com/index.php/EVMK2H_Hardware_Setup

    Firstly, I followed instruction from XTCIEVMK2X-Rev1p0-UCD-Update.zip, but the BMC version is still 1.0.1.3a.

    So I need to update BMC according to section 2 BMC In-Field Update, right? if so, what is the binary file which containing

    the firmware update (see step 5 of Perform in-field update)?  I guess it should be skern-keystone-evm.bin under

    mcsdk_linux_3_00_00_09/images/ folder.

    Regards,

    Guoqing

  • Oops, the BMC binary shouldn't be skern-keystone-evm.bin (it is boot monitor image),

    now the board doesn't have any output after the wrong programming.

    Could somebody  ponit me where can I find BMC binary (seems mcsdk_3_00_00_09_setuplinux

    doesn't include it)? thanks!

    Guoqing

  • Guoqing,

    Please see the Wiki page EVMK2H Hardware Setup.

    Regards,
    RandyP

  • Randy,

    I had checked that page, and I followed below instructions from that page.

    The question is where can I find the binary file (step 5), obviously I programmed wrong file which cause no led illuminated/no lcd output after power on board.

    Perform in-field update:

    1. Apply power to the EVM. No LED's will be illuminated and no LCD backlight or characters will be on because the BMC is waiting for a command rather than executing from Flash.
    2. In the LM Flash Programmer Utility ‘Configuration’ tab, in the interface section, select ‘Serial (UART)’ from the drop-down box on the left.
    3. Select the appropriate COM Port, and set the ‘Baud Rate’ to 115200.
    4. Set ‘Transfer Size’ to 60, and make sure ‘Disable Auto Baud Support’ is unchecked.
    5. In the ‘Program’ tab, Browse to the location of the binary file containing the firmware update, and select it.
    6. Leave all other options as default, and press the ‘Program’ button.
    7. After the programming is complete, power off the board.
    8. Reconnect the jumper.
    9. Open the HyperTerminal/Console for the BMC COM port.
    10. Apply power to the EVM. When BMC completes initialization of board it will show latest version of BMC in Console.
    11. If step 9 was done after power was applied, just type "ver" at BMC prompt.

    Regards,

    Guoqing

  • Guoqing,

    The BMC bin file is currently supplied via the Advantec website for the EVM at

    http://test.advantech.com.tw/Support/TI-EVM/EVMK2HX.aspx

    Please let us know if you are able to download the BMC .bin file for version 1.0.1.3a or later.

    Regards,
    RandyP

  • Randy,

    Thanks for your help.

    Advantec website only has BMC1.0.1.3a bin file, if possible I prefer update to newer version since v1.0.1.3a has issue as follows:

    "As of BMC v1.0.1.3a this command will prevent further i2c operations by the BMC until a power cycle. This issue is fixed in 1.0.1.4 and up"

    And my original issue of u-boot should not have relation with BMC version, right?

    BTW: what is the difference between EVMK2HX and EVMK2H?  seems our keystone II board should be K2HX.

    Regards,

    Guoqing

  • Quoqing,

    v1.0.1.3a is the latest that is fully released. There may be issues with 1.0.1.4 that are preventing its release right now, but I do not know what those are.

    The issue you mention only applies when you have run the UCD version checking I2C command. This is something you will only do once, or only when you want to update the UCD register values. It will not cause any other problems.

    Advantech seems to use the term EVMK2HX interchangeably with EVMK2H. EVMK2HX does not show up anywhere on TI.com.

    Regards,
    RandyP

  • Randy,

    Got it, thanks for your quick reply!

    Regards,

    Guoqing