I am planning to use imx6ull. I want to know how much minimum RAM is required for bare minimum linux kernel for imx6ULL system. Thanks .
Hello Arif Shaikh,
There is not a definite answer to this, but this is a great answer given on another thread that has a very good approach.
"How much RAM is used by the kernel is a fuzzy subject as it is composed of various pieces. This is a more general Linux question not tied specifically to the NXP BSP. Having more RAM available allows Linux to cache better, avoiding slow, power-consuming flash reads and writes, etc. A dump of my /proc/meminfo (mem=256M) follows which has udevd, udhcpc, BusyBox syslogd & klogd and one getty running — minimal indeed.
The NXP i.MX 6UL EVK board has 512 MiB of DRAM. Measurements here translate 1:1 to the 6ULL. If I tell the kernel to use only 128 MiB on the kernel command line (mem=128M) the system boots to the login prompt, but one or more boot processes fail to allocate memory. I'd stick to at least 256 MiB for a small application."
root@imx6ulevk:~# cat /proc/meminfoMemTotal: 247464 kBMemFree: 195596 kBMemAvailable: 197240 kBBuffers: 1440 kBCached: 4784 kBSwapCached: 0 kBActive: 5232 kBInactive: 1920 kBActive(anon): 980 kBInactive(anon): 148 kBActive(file): 4252 kBInactive(file): 1772 kBUnevictable: 0 kBMlocked: 0 kBHighTotal: 0 kBHighFree: 0 kBLowTotal: 247464 kBLowFree: 195596 kBSwapTotal: 0 kBSwapFree: 0 kBDirty: 0 kBWriteback: 0 kBAnonPages: 948 kBMapped: 3152 kBShmem: 200 kBSlab: 7076 kBSReclaimable: 2196 kBSUnreclaim: 4880 kBKernelStack: 400 kBPageTables: 168 kBNFS_Unstable: 0 kBBounce: 0 kBWritebackTmp: 0 kBCommitLimit: 123732 kBCommitted_AS: 3924 kBVmallocTotal: 1810432 kBVmallocUsed: 37908 kBVmallocChunk: 1596104 kBCmaTotal: 0 kBCmaFree: 0 kB
I hope this helps!
Retrieving data ...