[meta-freescale] Yocto built p2020rdb ramdisk questions

Tsai, Matt matt.tsai at thermofisher.com
Fri Aug 30 09:37:11 PDT 2019


Hi all,

I have questions regarding ramdisk built based on the core-image-minimal (poky sumo tag sumo-19.0.1 and meta-freescale sumo branch is used):


  1.  How can I configure the available memory size to use for rootfs (either a larger fixed size or growing dynamically)?

The rootfs available size of the default Yocto build seems to be capped at around 24MB. See df and mount outputs below:



# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/root               23795     21071      1496  93% /
devtmpfs             480492         0    480492   0% /dev
tmpfs                   516520        32    516488   0% /run
tmpfs                   516520        24    516496   0% /var/volatile

# mount
/dev/root on / type ext4 (rw,relatime,block_validity,delalloc,barrier,user_xattr)
...

  1.  This may not be relevant to the problem, but good to know: My understanding is that the Yocto built ramdisk based on core-image-minimal uses initrd, not initramfs. Is this correct? How can I tell if a system uses initrd or initramfs?

Any help is greatly appreciated. Thank you in advance.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20190830/23857625/attachment.html>


More information about the meta-freescale mailing list