You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
118 lines
3.0 KiB
118 lines
3.0 KiB
Android firmware
|
|
|
|
Node to specify early mount of vendor and system partition.
|
|
|
|
Required properties
|
|
|
|
-compatible: "android,firmware"
|
|
|
|
Child nodes:
|
|
------------
|
|
|
|
fstab:
|
|
------------------------------
|
|
|
|
fstab entry to specify mount attributes of vendor partition.
|
|
|
|
Required properties:
|
|
|
|
-compatible: "android,fstab"
|
|
|
|
Child nodes:
|
|
------------
|
|
|
|
vendor:
|
|
-----------------
|
|
|
|
vendor partition specification.
|
|
|
|
Required properties:
|
|
|
|
-compatible: "android, vendor"
|
|
-dev: block device corresponding to vendor partition
|
|
-type: file system type of vendor partition
|
|
-mnt_flags: mount flags
|
|
-fsmgr_flags: fsmgr flags
|
|
|
|
Example:
|
|
|
|
firmware: firmware {
|
|
android {
|
|
compatible = "android,firmware";
|
|
fstab {
|
|
compatible = "android,fstab";
|
|
vendor {
|
|
compatible = "android,vendor";
|
|
dev = "/dev/block/platform/soc/1da4000.ufshc/by-name/vendor";
|
|
type = "ext4";
|
|
mnt_flags = "ro,barrier=1,discard";
|
|
fsmgr_flags = "wait,slotselect";
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
odm:
|
|
-----------------
|
|
|
|
odm partition specification.
|
|
|
|
Required properties:
|
|
|
|
-compatible: "android, odm"
|
|
-dev: block device corresponding to odm partition
|
|
-type: file system type of odm partition
|
|
-mnt_flags: mount flags
|
|
-fsmgr_flags: fsmgr flags
|
|
|
|
Example:
|
|
|
|
firmware: firmware {
|
|
android {
|
|
compatible = "android,firmware";
|
|
fstab {
|
|
compatible = "android,fstab";
|
|
odm {
|
|
compatible = "android,odm";
|
|
dev = "/dev/block/platform/soc/1da4000.ufshc/by-name/odm";
|
|
type = "ext4";
|
|
mnt_flags = "ro,barrier=1,discard";
|
|
fsmgr_flags = "wait,slotselect";
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
system:
|
|
-----------------
|
|
|
|
system partition specification.
|
|
|
|
Required properties:
|
|
|
|
-compatible: "android,system"
|
|
-dev: block device corresponding to system partition
|
|
-type: file system type of system partition
|
|
-mnt_flags: mount flags
|
|
-fsmgr_flags: fsmgr flags
|
|
|
|
Example:
|
|
|
|
firmware: firmware {
|
|
android {
|
|
compatible = "android,firmware";
|
|
fstab {
|
|
compatible = "android,fstab";
|
|
system {
|
|
compatible = "android,system";
|
|
dev = "/dev/block/platform/soc/1da4000.ufshc/by-name/system";
|
|
type = "ext4";
|
|
mnt_flags = "ro,barrier=1,discard";
|
|
fsmgr_flags = "wait,slotselect";
|
|
status = "ok";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|