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.

remove and reinstall linux on EVMK2h ??

hello all;


i want to remove the linux from my EVMK2H ARM and install an other version . so how cani do this please .


thank you.

  • Hi,
    You can erase the "ubifs" linux partition from u-boot prompt and flash yours filesystem.
    Please refer to the MCSDK user guide for further steps.
  • thank you Sir , but i don't found how can i erase the ubifs linux partition with u-boot prompt in MCSDK user guide . so can you please help me .

    thank you so much.
  • Hi Capitaine,

    processors.wiki.ti.com/.../MCSDK_UG_Chapter_Exploring

    Please refer to the above TI wiki.

    You can list the NAND partitions with "mtdparts" u-boot command.

    Log:


    K2HK EVM #
    K2HK EVM # mtdparts

    device nand0 <davinci_nand.0>, # parts = 3
    #: name size offset mask_flags
    0: bootloader 0x00100000 0x00000000 1
    1: params 0x00080000 0x00100000 1
    2: ubifs 0x1fe80000 0x00180000 0

    active partition: nand0,0 - (bootloader) 0x00100000 @ 0x00000000

    defaults:
    mtdids : nand0=davinci_nand.0
    mtdparts: mtdparts=davinci_nand.0:1024k(bootloader)ro,512k(params)ro,-(ubifs)
    K2HK EVM #

    To delete the UBIFS partiton (Linux) do the following command:

    K2HK EVM # nand erase.part ubifs

    If you want to delete the particular partition in NAND then you can mention the name of the partition say , "bootloader", "params" and "ubifs"


    To write fresh UBIFS partition (Updating Linux filesystem):
    Way 1)
    K2HK EVM #setenv addr_file 0x82000000
    K2HK EVM # nand erase.part ubifs
    K2HK EVM #dhcp${addr_file} ${tftp_root}/keystone-evm-ubifs.ubi
    K2HK EVM #nand write ${addr_file} ubifs ${filesize}

    Way 2)
    u-boot# run get_ubi_net
    u-boot# run burn_ubi

    Please note that you have to copy the "keystone-evm-ubifs.ubi" file into proper location of TFTP directory.

    Regards,

    Shankari

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

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