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.

In AM335x EVM SDK v7.00.000, where is rootfs?

I am sure I am missing something very simple, but I cannot find the answer.

I am using ti-sdk-am335x-evm-07.00.00.00,and have successfully created a bootable SD card image.

I have followed the instructions at "http://processors.wiki.ti.com/index.php/Linux_Core_U-Boot_User%27s_Guide#Writing_to_NAND_from_U-Boot" to successfully copy MLO, SPL, and Kernel to the NAND on the AM335x EVM board, and have booted that image.

However, I can't seem to find an image of rootfs to burn to NAND, and as a result, my EVM issues a kernel panic at the end of the boot process.

I do find two “ubi” files in the “filesystem” folder in the SDK, but neither one has any “readme” that tells me what it is. One of these is pretty small and I don’t know if it’s complete enough to use (“arago-base-tisdk-image-am335x-evm.ubi”), and the other is larger than the amount of on-board NAND available and therefore, I assume, not appropriate for the EVM, even though the name implies that it is appropriate (“tisdk-rootfs-image-am335x-evm.ubi”)

Please inform me either where I can find the pre-built rootfs image(s) that I can use as a starter base, or else point me to the place(s) where it talks about selecting the contents of a usable rootfs and how to create the image for burning to NAND.

Thanks in advance for the friendly nudge in the right direction.

  • Hi Kevin,

    I will forward this to the SW team, but response will probably be delayed until the holidays are over.

  • Kevin,

    The two UBI files that you have found are the correct files provided with the SDK. They are UBIFS formatted as this FS keeps track of the necessary information to deal with an unmanaged NAND memory (keeping track of bad blocks and such). You can read more about it here.

    For some more info. on programming the UBIFS into NAND, you might find this helpful. But, essentially, you copy the UBI file to the rootfs partition on the NAND.

    As to the two files, in is our base FS and the other is the full FS. You are correct that they full FS won't fit on the flash on a EVM. So, if the base doesn't have everything that you need, then you'll need to customize it. The easiest way to do this is to use yocto/open embedded, which is what we use to create it in the first place.

  • What is the target for the full-featured UBI file? My AM335x ZCZ EVM only has 256 MB of NAND on-board.

    This answers the question I asked; I am not yet ready to begin creating my own rootfs, but believe I now have enough information to do so.
  • Kevin Becker said:
    What is the target for the full-featured UBI file? My AM335x ZCZ EVM only has 256 MB of NAND on-board.

    Essentially, the creation of the FS is scripted, so it is easy to do and automatic. You are correct that you would need a board with more memory to use it.