Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bb08fec4 authored by Prasad Sodagudi's avatar Prasad Sodagudi Committed by Runmin Wang
Browse files

ANDROID: mount: Add early mount for vendor and system



Add android.txt documentation from msm-4.4 kernel for early
mount of vendor and system paritions. Snapshot of android.txt
from msm-4.4 as of commit ccfb8c3db0dec ("Merge "mmc: sdhci:
Fix SDHCI_QUIRK2_IGNORE_DATATOUT_FOR_R1BCMD handling").

Change-Id: I73b982304a0a00b94aeff2822a84c267dee1c317
Signed-off-by: default avatarPrasad Sodagudi <psodagud@codeaurora.org>
parent bdc8a1d4
Loading
Loading
Loading
Loading
+86 −0
Original line number Diff line number Diff line
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";
				};
			};
		};
	};

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";
                                };
                        };
                };
        };
+1 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ amlogic Amlogic, Inc.
ampire	Ampire Co., Ltd.
ams	AMS AG
amstaos	AMS-Taos Inc.
android        Google Inc.
analogix	Analogix Semiconductor, Inc.
andestech	Andes Technology Corporation
apm	Applied Micro Circuits Corporation (APM)