Function x86_64::fdt::create_fdt

source ·
pub fn create_fdt(
    android_fstab: Option<File>,
    dump_device_tree_blob: Option<PathBuf>,
    device_tree_overlays: Vec<DtbOverlay>
) -> Result<Vec<u8>, Error>
Expand description

Creates a flattened device tree containing all of the parameters for the kernel and returns it as DTB.

§Arguments

  • android_fstab - the File object for the android fstab