Hello all,
I have loaded the A53 with the fsl-base-image. I checked the RAM utilisation and it shows that the allocated space for swap memory is 0 bytes. How can I increase this? Do I have to make any configuration changes in the Yocto files?
Please let me know.
Best,
Vishnu
Hello, @Vishnu3
Thanks for the reply.
Sorry that I do not find related information from BSP document, from my experience, you may have to firstly rebuild the kernel with CONFIG_SWAP=Y, once booting the system, the following link could be used for your reference.
https://docs.oracle.com/cd/E24457_01/html/E21988/giprn.html
BR
Chenyin
Hi @chenyin_h ,
Thanks for the response. We are running cmake to build a library and that's consuming the RAM. This is a one time thing but we need it.
Do you have any resources which I can use to configure the kernel to include the swap feature?
Best,
Vishnu
Hello, @Vishnu3
SWAP memory is by default disabled in kernel configurations, from my experiece, the swap is not very commonly used in embedded systems, since there is not usually a large size HD attached.
If you do have RAM limitation issue and need the feature, then you may enable it from kernel configuration, but it is not tested from BSP perspective.
BR
Chenyin