overwrite the console to hvc0 in xen, otherwise it will hang at starting kernel.
specific androidboot.android_dt_dir which define dts, and let the system mount in first stage. It may change in xen.
disable selinux temporarily
Change-Id: I90d4c374f0d0478d6386ae31cddb3f7ef510ae93
Signed-off-by: zhang sanshan <pete.zhang@nxp.com>
(cherry picked from commit:
e7ddf17f0e95867d0e59ef5e7aef1e3b5c4e7a3b)
#include "fsl-imx8qm-mek.dts"
#include "fsl-imx8qm-mek-u-boot.dtsi"
+/ {
+ chosen {
+ bootargs = "console=hvc0 earlycon=hvc0 androidboot.console=hvc0 androidboot.android_dt_dir=/proc/device-tree/firmware/android/ androidboot.selinux=permissive";
+ };
+};
+
&usdhc2 {
status = "disabled";
};