Hi Engineer:
CPU: imx8qx6avlf
SDK: Android Q10.0.0_2.2.0_AUTO
lunch mek_8q_car_userdebug
The serial port (ttyLP0, ttyLP1, ttyLP2, ttyLP3) is not enough, so I want to change the kernel debugging serial port to a normal serial port to use.
Thanks.
You may try to remove the debug console setting in bootargs.
Currently modified like this, no results
diff --git a/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/freescale/imx8x-mek.dtsi b/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/freescale/imx8x-mek.dtsi
index 12766dc..df42523 100644
--- a/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/freescale/imx8x-mek.dtsi
+++ b/android_build/vendor/nxp-opensource/kernel_imx/arch/arm64/boot/dts/freescale/imx8x-mek.dtsi
@@ -6,7 +6,7 @@
#include <dt-bindings/usb/pd.h>
/ {
chosen {
- stdout-path = &lpuart0;
+ //stdout-path = &lpuart0;
};
wlreg_on: fixedregulator@13 {
diff --git a/android_build/vendor/nxp-opensource/uboot-imx/arch/arm/dts/fsl-imx8qxp-mek-auto.dts b/android_build/vendor/nxp-opensource/uboot-imx/arch/arm/dts/fsl-imx8qxp-mek-auto.dts
index e54aba2..c862865 100644
--- a/android_build/vendor/nxp-opensource/uboot-imx/arch/arm/dts/fsl-imx8qxp-mek-auto.dts
+++ b/android_build/vendor/nxp-opensource/uboot-imx/arch/arm/dts/fsl-imx8qxp-mek-auto.dts
@@ -19,7 +19,7 @@
/ {
chosen {
- bootargs = "console=ttyLP0,115200 earlycon androidboot.console=ttyLP0 androidboot.xen_boot=default";
+ bootargs = "androidboot.xen_boot=default";
stdout-path = &lpuart0;
};
diff --git a/android_build/vendor/nxp-opensource/uboot-imx/include/configs/imx8qxp_mek.h b/android_build/vendor/nxp-opensource/uboot-imx/include/configs/imx8qxp_mek.h
index dcdba66..7657855 100644
--- a/android_build/vendor/nxp-opensource/uboot-imx/include/configs/imx8qxp_mek.h
+++ b/android_build/vendor/nxp-opensource/uboot-imx/include/configs/imx8qxp_mek.h
@@ -152,7 +152,7 @@
"script=boot.scr\0" \
"image=Image\0" \
"panel=NULL\0" \
- "console=ttyLP0\0" \
+ "console=NULL\0" \
"fdt_addr=0x83000000\0" \
"fdt_high=0xffffffffffffffff\0" \
"cntr_addr=0x98000000\0" \
There is change in imx-atf. Do you change it?
There is change in MCIMX8QXP-CPU: i.MX 8QuadXPlus Multisensory Enablement Kit (MEK)
When you read the "How to Change i.MX8MM evk Linux Debug UART", there is a change in RDC configuration. Do you change the same in 8qxp ATF accordingly?
I think the ATF configuration does not affect the printing of the kernel. I have turned off the printing of ATF. It is still useless.
--- a/android_build/vendor/nxp-opensource/arm-trusted-firmware/plat/imx/imx8qx/include/platform_def.h
+++ b/android_build/vendor/nxp-opensource/arm-trusted-firmware/plat/imx/imx8qx/include/platform_def.h
@@ -79,7 +79,7 @@
#define DEBUG_CONSOLE 0
#ifdef SPD_trusty
-#define DEBUG_CONSOLE_A35 1
+#define DEBUG_CONSOLE_A35 0
#else
#define DEBUG_CONSOLE_A35 0
#endif