I need to use a ramdisk to mount a filesystem as a ramfs on an embedded device. However, this requires me to increase the size of the ramdisk - currently as per the kernel config, maximum size is 35MB. I can modify boot parameters, but recompiling the kernel may not be possible.
I found this question that addressed ramdisk creation. However, I am unsure as to whether both CONFIG_BLK_DEV_RAM_SIZE
and the boot parameter ramdisk=
ramdisk_size=
need to be changed. Would I be able to create a ramdisk of size, say 40MB by just changing the ramdisk=
ramdisk_size=
boot parameter?
EDIT : If it helps, this describes the ramdisk I'm trying to get up and running.