Hello Chandra,
Please refer to the following procedure.
Add the following line in the file poky/meta/recipes-core/base-files/base-files/fstab.
tmpfs /media/ram tmpfs defaults 0 0
Add "/media/ram" in the variable dirs755 in poky/meta/recipes-core/base-files/base-files_3.0.14.bb.
Execute the following in Yocto to rebuild rootfs image.
$ bitbake base-files -c cleansstate
$ bitbake fsl-image-core
Please refer to the following.
root@t1040qds:~# df /media/ram/
Filesystem 1K-blocks Used Available Use% Mounted on
tmpfs 1999872 0 1999872 0% /media/ram
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------