Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 1.1 KB

ramdisk.md

File metadata and controls

25 lines (13 loc) · 1.1 KB

Ram Disk

A RAM disk is a block device backed by memory. They can not be created at runtime at the moment, but are set up during build to store the root file_system in it. This way no mass storage device driver is required to boot.

Linux boots with a ram disk (initrd) to load additional drivers, not for the full root file system.

Embedded in the Kernel Binary

Converts the filesystem.img into an array and embeds it into the kernel binary. See RAMDISK_EMBEDDED in MakefileCommon.mk.

Loaded by a Boot Loader: initrd

Boot loaders and qemu can load a file into RAM and provide the location to the kernel via the device tree file.


Overview: kernel

Subsystems: interrupts | devices | file_system | memory_management processes | scheduling | syscalls

Devices: ramdisk