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.

Where Do I find equivalent file board/kb9202/config.mk for Keystone2

I am looking for config.mk for keystone2 board where I wanted to defined _TEXT_BASE value.

In my u-boot/board I Couldn't find config.mk specific to Keystone2 .

Is there any implementaion do exist of config.mk for Keystone2 ,same way it is for Kwik Byte Board??

 

  • Hi, Amit,

    A "grep" command under u-boot directory should be able to locate the file.

    include/configs/tci6638_evm.h:#define CONFIG_SYS_TEXT_BASE        0x0c001000

    Rex

  • Fine Rex.

    I grep the string "CONFIG_SYS_TEXT_BASE" in my U-BOOT code base but I got 100's of

    reference for "CONFIG_SYS_TEXT_BASE".

    Now how do I make sure which CONFIG_SYS_TEXT_BASE is defined for my K2 board?

    And which CONFIG_SYS_TEXT_BASE value is used while relocating UBOOT to Ram??

  • Please see my previous post. I had done the grep and the file was provided.

    Rex

  • Thanks Rex,

    I just didn't know that how tci6638 is linked to Keystone2.

    So I thought you just given some general example.

  • Sorry for being not clear. Keystone 2 has a series of platforms/part numbers. K2H, K2K, K2E. (sometimes, you see k2hk as well). Part number 6638 and its variation, 6636, 6634. But we use the 6638 for generalization.

    Rex

  • Thansk Rex for being kind to me.

    When I looked into /include/configs/tci6638_evm.h file ,I got one more doubt

    #define CONFIG_SPL_TARGET "CRTM"
    #define CONFIG_SPL_TEXT_BASE 0x0c200000

    Is CONFIG_SPL_TEXT_BASE  defined the address where our CRTM image is loaded

    if so then boot logs on my machine says CRTM is loaded at address 0x000000.

    Also I have seen some images realted to k2hk(k2hk-dts.bin) but I have been told by my project member that

    These bins are related to EVM not related to the real hardware.

    So Real harware mean here custom board and EVM are the original board from TI and which have customized ??

  • Hi, Amit,

    I really don't know what the CRTM is, and can not comment on that. SPL text base defines where SPL will be loaded. Please read "Exploring" chapter of the Keystone II User's Guide regarding SPL. (section 3.2.5.1.6).

    I think you meant the dtb file which is linux device tree which you can get more info from internet. Different hardwares would have different dtb files.

    Rex