4.2 Add the Initial RAM Filesystem

One of the easiest ways to authenticate a root filesystem is to include it in the Linux® kernel binary. Buildroot provides a configuration option for this:
$ make menuconfig
  1. Go to Filesystem images and select Initial RAM filesystem linked into linux kernel.

  2. Go to Filesystem images and select cpio type, then select Invoke dracut to make a partial initramfs.

The Linux kernel needs to be manually reconfigured before the initial RAM filesystem works properly. Build the image and test it again to ensure the root filesystem functions correctly:

$ make linux-reconfigure 
$ make
Now that there is a working Linux image, the next step is to enable U-Boot’s Verified Boot mechanism.