Module initramfs

Source
Expand description

Initramfs mounting functionality

This module provides functionality to mount the initial ramdisk (initramfs) as the root filesystem during early kernel boot. The initramfs is loaded by the bootloader and its location is passed to the kernel via the device tree.

The module uses the existing CPIO filesystem driver to mount the initramfs at the root (โ€œ/โ€) mount point.

Staticsยง

INITRAMFS_AREA ๐Ÿ”’

Functionsยง

init_initramfs
mount_initramfs ๐Ÿ”’
Mount the initramfs as the root filesystem
relocate_initramfs
Relocate initramfs to heap memory