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.

How to convert rootfs file from TI's website to a jffs file?

Hello,

I have an EVM3517 board from LogicPD. I download the latest Linux pre-build image from TI's website. I found there is no jffs file for root file. Instead there is a file tisdk-rootfs-am3517-evm.tar.gz. I think this file is for root file system. But how can I convert this file to jffs format?

Thanks!

BR
Jiamin 

  • Hi Jiamin,

             Below mentioned is the command used to create a jffs2 image from the rootfs:

    mkfs.jffs2 -p -d rootfs -s 2048 -e 0x20000 -l -q -o rootfs.jffs2  -v –n

    rootfs: specify the path where rootfs is present

    rootfs.jffs2: jffs2 file name

     

    Hope this helps


    Regards,

    N.S.SriHarsha

     

     

     

  • Hi, N.S.

    Thanks! 

    It is working. I found the size of jffs2 file is bigger than the tarball file. Why can't U-boot just use tarball file directly? Anyway it's working for me. Thanks again!

    BR
    Jiamin