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.

AM623: Reducing size for custom linux Image

Part Number: AM623

Hi,

We have started a project with AM623 SITARA processor. The base image size provided by the TI is around 800MB. In our project we are planning to load the image via NAND flash. And the current capacity of NAND flash is 256 MB. We need clarifications for the below mentioned queries.

  • how to reduce kernal and rootfs size?
  • how to use another Ram with  this?
  • if I am using yocto to cook custom distribution, where to get TI specific meta layers, what are the steps?

I understand that these questions may require detailed explanations, and any insights or documentation you can provide would be immensely helpful for our project.

Best regards,

Binson Binoy

  • how to reduce kernal and rootfs size?

    There are several image recipes part of the TI SDK, all with different sizes offering different levels of functionality. The full-featured and largest image is usually the 'tisdk-default-image', which is used as a technology demonstrator mostly; it's not intended to be a solution or for a solution to be started from that image for an actual real-world deployment.

    I'd recommend looking at 'tisdk-base-image', or even 'tisdk-tiny-image', which are much much smaller (10s of MB), and get those to boot/work first. Then, add back any recipes/packages you might need, building your solution.

    how to use another Ram with  this?

    Can you clarify your question. Do you want to know how to customize the BSP part of the image so that it can run on a custom board, w/ a custom DDR chip?

    if I am using yocto to cook custom distribution, where to get TI specific meta layers, what are the steps?

    Just install the SDK Yocto build environment as per instructions here: https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/09_02_01_09/exports/docs/linux/Overview_Building_the_SDK.html. All Yocto layers/components will be in the sources/ folder created as part of this installation. You can examine and study the entire SW stack there ('grep -r' is usually helpful to understand how things are connected, or some other text-based search tool).

    Regards, Andreas