[Buildroot] [PATCH 1/1] fs/romfs: add U-Boot image support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jun 15 14:51:25 UTC 2015


Dear Hoang Tran,

On Mon, 15 Jun 2015 10:46:08 -0400, Hoang Tran wrote:

> Sorry I did not response because of the problem of my email client.
> But anyway I agree with Arnout.
> My rootfs is in romfs and I intended to make a uRamdisk for quick testing.
> But we could use cpio Ramdisk instead.

a "uRamdisk" can be in cpio format. Basically the "u" is just a
container for a ramdisk, and the ramdisk itself can use the cpio
format, or ext2, or whatever filesystem you want. However, by using
cpio, you leverage the initramfs mechanism of the kernel, which is much
better than initrd in terms of memory consumption.

See:

  https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list