Hi ,
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/meminfo
MemTotal: 247464 kB
MemFree: 195596 kB
MemAvailable: 197240 kB
Buffers: 1440 kB
Cached: 4784 kB
SwapCached: 0 kB
Active: 5232 kB
Inactive: 1920 kB
Active(anon): 980 kB
Inactive(anon): 148 kB
Active(file): 4252 kB
Inactive(file): 1772 kB
Unevictable: 0 kB
Mlocked: 0 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 247464 kB
LowFree: 195596 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 0 kB
Writeback: 0 kB
AnonPages: 948 kB
Mapped: 3152 kB
Shmem: 200 kB
Slab: 7076 kB
SReclaimable: 2196 kB
SUnreclaim: 4880 kB
KernelStack: 400 kB
PageTables: 168 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 123732 kB
Committed_AS: 3924 kB
VmallocTotal: 1810432 kB
VmallocUsed: 37908 kB
VmallocChunk: 1596104 kB
CmaTotal: 0 kB
CmaFree: 0 kB
I hope this helps!
Regards,