I have a Linux kernel v4.19 built using Yocto Pyro that works well. I have updated to kernel v5.4 and Yocto Dunfell. With this update I am now having issues running out of memory while uncompressing my ramdisk image during boot.
My ramdisk image is minimal, only containing Busybox + SWUpdate + a few other minor utils, for use in a recovery scenario.
My system has 128 MB of memory.
My uncompressed ramdisk image is 41 MB.
I have these CONFIGs set as below:
CONFIG_BLK_DEV_RAM=y
CONFIG_BLK_DEV_RAM_COUNT=4
CONFIG_BLK_DEV_RAM_SIZE=65536
I have plenty of memory for the ramdisk image and I think I have the relevant ramdisk configs set correctly.
I am thinking there is some CONFIGs that have changed in my upgrade from kernel v4.19 -> v5.4 that I need to set?
I did not have these memory issues with kernel v4.19.