Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

AM625: RAM usage for Linux kernel

Part Number: AM625

Hello TI team,

Could you please, whether kernel ram usage will be around 30-40MB if excluded extra features like camera,display subsystem and only considered basic functionality like flash access,DDR access,process or theads handling,IPC among threads/process,drives for basic protocols(I2C,SPI,UART) etc...?

Regards,

Akshay

  • Hi Akshay,

    Linux cannot run within 30-40MB on AM625. The Processor SDK Linux requires minimum 512MB to run on AM62x devices.

  • Hello Liu,

    Thanks for the information. But In processor SDK, linux kernel is around 20MB, which is having all general required drivers enabled. what if we optimized it to around 7-8MB or less(Considering only required drivers for our application)  This is DMS related application with one camera only, and also no display stuff at all, then how much kernel RAM usage will be reduced approximately?

    Regards,

    Akshay

  • Is your question about the memory footprint of the kernel itself? or how much memory needed for Linux to run?

  • Hello,

    My actual query is for how much memory(i.e.RAM) needed for linux kernel to run. And to reduce this RAM memory, i am saying if we reduce kernel functionality, by considering basic kernel role and required device drivers(indirectly it will reduce kernel footprint also).Then, with this reduced kernel functionality, approximately how much RAM it will be required? 

    In SDK, kernel is with full functionality and all device drivers enabled so i think definitely it will require large RAM to run. 

    Please clarify.

    Regards,

    Akshay

  • If you want to reduce the memory used by kernel so that you can have more memory for your Linux application, then yes, you can customize kernel config options and kernel board device tree file to reduce the memory used by kernel (but we cannot provide the exact number, there is no standard definition of "basic kernel", the kernel customization varies from project to project).

    But if you want to know the memory used by kernel to reduce the DDR size, please note that besides kernel there are other Linux software components running in memory, you cannot simply reduce the DDR size just based on the kernel memory usage. The Processor SDK Linux requires minimum 512MB DDR.