diff options
author | zhang sanshan <pete.zhang@nxp.com> | 2021-03-05 10:15:34 +0800 |
---|---|---|
committer | Ji Luo <ji.luo@nxp.com> | 2022-04-18 16:40:10 +0800 |
commit | 8f897bce4cce75e7599a8ea952271eab37b1dc51 (patch) | |
tree | bbd86775124af8208397a71ad562c09d67b0b976 | |
parent | a4186233f88154c38af1704f26aad2c1f34a4e07 (diff) |
MA-18775 system will hang about 3s when boot up kernel
system will hang at line 1834 which will hold console_waiter
1833 /* Owner will clear console_waiter on hand off */
1834 while (READ_ONCE(console_waiter))
1835 cpu_relax();
1836 spin_release(&console_owner_dep_map, _THIS_IP_);
It means console_lock_spinning_disable_and_check is not called in time.
So console_unlock may not called in time.
remove earlycon as workaround.
Change-Id: I5742c0ade6e289d1a96a67b27b4e55f2e1732187
Signed-off-by: zhang sanshan <pete.zhang@nxp.com>
(cherry picked from commit 74938a70b5fece2d1f3f60e74596f393a40e5713)
(cherry picked from commit 9be7570228e5ede0b1ab0b015210aeb56585e39c)
(cherry picked from commit 581fd80c340e4ea5d6ecf778ddf14b48309dc657)
-rw-r--r-- | arch/arm/dts/imx8mp-evk.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/dts/imx8mp-evk.dts b/arch/arm/dts/imx8mp-evk.dts index 6a96a7320d..b5ee937635 100644 --- a/arch/arm/dts/imx8mp-evk.dts +++ b/arch/arm/dts/imx8mp-evk.dts @@ -13,7 +13,7 @@ compatible = "fsl,imx8mp-evk", "fsl,imx8mp"; chosen { - bootargs = "console=ttymxc1,115200 earlycon=ec_imx6q,0x30890000,115200"; + bootargs = "console=ttymxc1,115200"; stdout-path = &uart2; }; |