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.

Looking for k2e-evm-boot.ubifs

I'm preparing a new root filesystem for my K2E EVM board and have the ubinize_k2e_evm.cfg file from the SDK.

My filesystem image would replace the rootfs entry which looks like this:

[rootfs]
mode=ubi
image=tisdk-rootfs-k2e-evm.ubifs
vol_id=2
vol_type=dynamic
vol_name=rootfs
vol_flags=autoresize

However, I need to have a boot volume in the .ubi image as well. The config looks like this:

[boot]
mode=ubi
image=k2e-evm-boot.ubifs
vol_type=dynamic
vol_id=0
vol_name=boot
vol_size=10MiB

But the SDK doesn't appear to contain the k2e-evm-boot-ubifs file.

Where can I get one? Or is there a way to extract it from the k2e-evm-ubifs.ubi image?

Thanks!

  • Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages (for processor issues). Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics (e2e.ti.com). Please read all the links below my signature.

    We will get back to you on the above query shortly. Thank you for your patience.

  • Hi Jeremy Zawodny,

    My understanding is that you can create boot volume ubifs, please refer below wiki.

    http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Exploring#Calculations

    Thank you.

  • Dear Jeremy Zawodny,

    Please do the following to create boot volume in ubi and combined boot & rootfs volumes.

    cd ~/mcsdk_linux_3_01_04_07/images
    mkdir boot
    cp uImage-keystone-evm.bin boot/
    cp uImage-k2hk-evm.dtb boot/
    cp skern-k2hk-evm.bin boot/
    export PATH=~/mcsdk_linux_3_01_04_07/bin:$PATH
    mkfs.ubifs -r boot -F -o k2hk-evm-boot.ubifs -m 2048 -e 126976 -c 41
    cp k2hk-evm-boot.ubifs images/
    cd images/
    ubinize -o k2hk-evm-ubifs.ubi -m 2048 -p 128KiB -s 2048 -O 2048 ubinize_k2hk-evm.cfg

    ti@e2e:/tftpboot/3_01_04_07$ cat ubinize_k2hk-evm.cfg
    [boot]
    mode=ubi
    image=k2hk-evm-boot.ubifs
    vol_type=dynamic
    vol_id=0
    vol_name=boot
    vol_size=10MiB
    [rootfs-recovery]
    mode=ubi
    image=tisdk-recoveryfs-k2hk-evm.ubifs
    vol_id=1
    vol_type=dynamic
    vol_size=20MiB
    vol_name=rootfs-recovery
    [rootfs]
    mode=ubi
    image=tisdk-rootfs-k2hk-evm.ubifs
    vol_id=2
    vol_type=dynamic
    vol_name=rootfs
    vol_flags=autoresize
    [securedbv0]
    mode=ubi
    image=securedbv0.ubifs.img
    vol_id=3
    vol_type=dynamic
    vol_size=5MiB
    vol_name=securedbv0
    [securedbv1]
    mode=ubi
    image=securedbv1.ubifs.img
    vol_id=4
    vol_type=dynamic
    vol_size=5MiB
    vol_name=securedbv1

    ti@e2e:/tftpboot/3_01_04_07$