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.

Linux/TDA2P-ABZ: Minimizing rootfs for USB Support in A15 linux

Part Number: TDA2P-ABZ

Tool/software: Linux

Hi All,

I am using TDA2PX EVM board and VSDK 3.05. All the camera and display applications are running in IPU1. The only requirement is USB support for updating the images.As per my knowledge USB is only supported in A15 which runs Linux.

Now after checking the rootfs ,it is about 630MB. Adding linux to give memory overheads also .Our NOR Flash is only 64Mb. What can be the minimum size of rootfs and how to optimize it only for USB.Can there be any other alternatives. 

Currently our design only supports CAN as a network interface.

Regards,

Deepika

  • Hi,

    Can anyone please answer my query.

    Regards,
    Deepika
  • Hi Deepika,

    Technically speaking, it should be possible to generate a filesystem that is small enough to fit into the 64MB NOR Flash but whether it is achievable or not depends on your product requirements.

    a. Could you please let me know what is the starting point for generating the 630MB filesystem? Are you directly reusing the filesystem from TI and if yes, can you please share the details of where you downloaded this from?

    b. What are your product requirements - does it require graphics, multimedia, high level application frameworks like Qt/HTML etc.

    In the case that you are using the default TI filesystem, the process of reducing the size would involve inspecting and including the required components without loss of any functionality and it involves picking the right package-groups or recipes from a Yocto perspective. If you can provide answers to the above questions, we can provide some directions.

    Regards
    Karthik
  • Hi Karthik,

    Thanks for your reply.

    I have downloaded the root file system from TI's website ( 

    http://software-dl.ti.com/processor-sdk-vision/esd/TDAx/vision-sdk/latest/index_FDS.html

    )

    b) We do not require any graphics or multimedia support in root file system.All our application is running on IPU1  we just need A15 linux support  for USB access as Vision SDK does not have the same.Can you provide us any links or document for minimizing the rootfs.

    Thanks,

    Deepika

  • Hi Deepika,

    OK. I extracted the filesystem and I see that its about ~300MB.

    The Vision SDK documentation contains the procedure to rebuild with Yocto with additional patches to reduce the file system size.
    Could you please look into the documentation and then extend the same patch to suit your needs?

    Regards
    Karthik
  • Hi Karthik,

    Yes the size of the downloaded file system is 300MB only but after compilation the libraries are copied and the size of lib folder itself becomes 252MB.I have followed the exact process for linux boot mentioned in VisionSDK_Linux_UserGuide.pdf  

    For me size of final tisdk-rootfs-image-dra7xx-evm.tar.xz is 631MB . 


    Can you please provide me the link where there is a procedure to rebuild the filesystem with Yocto.

    Regards,
    Deepika

  • Hi Deepika,

    We just realized that this procedure was not documented in the Vision SDK Linux User Guide and right now we are working on the update to the document. You will hear back soon.

    Regards
    Karthik
  • Hi Karthik,

    Thanks for the reply.
    By when can I get the document for the same.Actually we are following a strict deadline.

    Thanks,
    Deepika
  • Hi Deepika,

    We will be able to provide you a link to the document by tomorrow.

    Regards
    Karthik
  • Thanks Karthik.

    Regards,
    Deepika
  • Hi Deepika,

    We just announced the latest release of the Vision SDK 3.06. Please download the SDK from www.ti.com/.../processor-sdk-tdax and refer to the document Section 3.7 Build Linux Vision SDK file-system which has the details that you are looking for.

    Regards
    Karthik
  • Thanks Karthik !!

    Regards,
    Deepika