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.

restore linux on EVM ?

hello all ;

Something is wrong with my Linux 3.4.8 on EVMK2h  . and i want to restore it using u-boot prompt .

so is it possible or not ? if yes please how ?

thank you .

  • Hi Capitaine,

     

    Yes it is possible to put a linux kernel image using u-boot prompt using tftpboot method.

     

    Being in the u-boot prompt, you will use the command like below.

     

    For K2H:-

     

    >tftpboot 0x87000000 uImage-k2hk-evm.dtb

     

    >tftpboot 0x88000000 uImage-keystone-evm.bin

     

    >tftpboot 0x0c5f0000 skern-k2hk.bin

     

    >mon_install 0x0c5f0000

     

    >bootm 0x88000000 - 0x87000000

     

    For more information please visit : http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Exploring#Trouble_shooting_and_FAQ

     

    Regards,

    Shankari

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

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

     

     

     

  • thanks for your answer Sir , but actually i am using UBIFS files . and i don't know if the tftp will work in my case or not ?
  • Hi Capitaine,

    TFTp should work irrespective of UBIFS.
    I would like to understand whether you have followed the instructions for using UBIFS given in the TI WIKI link I have given above in my previuos post...
    Please follow the procedure as per the WIKI and tell me in which step in the WIKI you are stuck?? So that it would be easy to help you in a better way.

    Regards,
    Shankari
  • thank you for all your efforts with me Mr Shankari G :

    actually i am using : EVMK2H12 , MCSDK-linux 3-00-03-15 ,CCSv5

    i want to load linux on my EVM using tftpboot method . so i put those 3 files in tftp root directory :

    uImage-k2hk-evm.dtb

    uImage-keystone-evm.bin

    skern-keystone-evm.bin

    and i unzipped the file tisdk-rootfs.tar.gz to /NFShost directory .

    then i execute the commands you show me in uboot prompt , but the process stop in starting kernel stage as you can see here :

    TCI6638 EVM # tftpboot 0x87000000 uImage-k2hk-evm.dtb
    Using TCI6638_EMAC device
    TFTP from server 192.168.2.9; our IP address is 192.168.2.5
    Filename 'uImage-k2hk-evm.dtb'.
    Load address: 0x87000000
    Loading: ####
    3.7 MiB/s
    done
    Bytes transferred = 57857 (e201 hex)
    TCI6638 EVM # tftpboot 0x88000000 uImage-keystone-evm.bin
    Using TCI6638_EMAC device
    TFTP from server 192.168.2.9; our IP address is 192.168.2.5
    Filename 'uImage-keystone-evm.bin'.
    Load address: 0x88000000
    Loading: #################################################################
    #################################################################
    #################################################################
    #################################################################
    ############
    4.1 MiB/s
    done
    Bytes transferred = 3990416 (3ce390 hex)

    TCI6638 EVM # tftpboot 0x0c5f0000 skern-keystone-evm.bin
    Using TCI6638_EMAC device
    TFTP from server 192.168.2.9; our IP address is 192.168.2.5
    Filename 'skern-keystone-evm.bin'.
    Load address: 0xc5f0000
    Loading: ####
    3.9 MiB/s
    done
    Bytes transferred = 45056 (b000 hex)
    TCI6638 EVM # mon_install 0x0c5f0000
    ## installed monitor, freq [194560000], status 194560000
    TCI6638 EVM # bootm 0x88000000 - 0x87000000
    ## Booting kernel from Legacy Image at 88000000 ...
    Image Name: Linux-3.10.10
    Created: 2013-11-24 21:26:00 UTC
    Image Type: ARM Linux Kernel Image (uncompressed)
    Data Size: 3990352 Bytes = 3.8 MiB
    Load Address: 80008000
    Entry Point: 80008000
    Verifying Checksum ... OK
    ## Flattened Device Tree blob at 87000000
    Booting using the fdt blob at 0x87000000
    Loading Kernel Image ... OK
    OK
    Using Device Tree in place at 87000000, end 87011200

    Starting kernel ...