imx8mp Android 13 HDMI hotplug resulting in kernel crash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mp Android 13 HDMI hotplug resulting in kernel crash

375 Views
shiva141
Contributor II

Hi 

We are using imx8mp 2gb ddr RAM  variant with  Android source imx-android-13.0.0_1.2.0

We made uboot change and CMA changes in /device/Boardconfig.mk CMA macro for  2gb variant to boot.

All functionality are working but we experience kernel panic when we disconnect HDMI from target.

when we detach HDMI board reboot with below log;please share you input for fixing this

$ [   85.477871][   T57] Unable to handle kernel paging request at virtual address ffffff80a0bd0000
[   85.486574][   T57] Mem abort info:
[   85.490197][   T57]   ESR = 0x96000045
[   85.494119][   T57]   EC = 0x25: DABT (current EL), IL = 32 bits
[   85.500291][   T57]   SET = 0, FnV = 0
[   85.504088][   T57]   EA = 0, S1PTW = 0
[   85.508104][   T57]   FSC = 0x05: level 1 translation fault
[   85.513726][   T57] Data abort info:
[   85.517431][   T57]   ISV = 0, ISS = 0x00000045
[   85.521980][   T57]   CM = 0, WnR = 1
[   85.525747][   T57] swapper pgtable: 4k pages, 39-bit VAs, pgdp=0000000042a83000
[   85.533158][   T57] [ffffff80a0bd0000] pgd=0000000000000000, p4d=0000000000000000, pud=0000000000000000
[   85.542673][   T57] Internal error: Oops: 96000045 [#1] PREEMPT SMP
[   85.548948][   T57] Modules linked in: extcon_usb_gpio(E) tpm_tis_i2c(E) tpm_tis_core(E) tpm(E) dwmac_imx(E) stmmac_platform(E) stmmac(E) fec(E) realtek(E) pci_imx6)
[   85.549074][   T57]  imx8_media_dev(CE) trusty_virtio(E) trusty_ipc(E) trusty_log(E) trusty_irq(E) imx_sdma(E) imx8_mipi_csi2_sam(CE) imx8_capture(CE) imx8_isi_capt)
[   85.634820][   T57]  imx2_wdt(E) imx(E) gpio_mxc(E) pinctrl_imx8mp(E) pinctrl_imx(E) irq_imx_irqsteer(E) trusty_core(E) busfreq_imx8mq(E) timer_imx_sysctr(E) imx8m_)
[   85.744521][   T57] CPU: 0 PID: 57 Comm: dmabuf-deferred Tainted: G         C OE     5.15.74-00004-g390558fc0aa2 #1
[   85.754957][   T57] Hardware name: ADLINK Smart Panel - IMX8MP board (DT)
[   85.761743][   T57] pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[   85.769400][   T57] pc : __memset+0x16c/0x188
[   85.773765][   T57] lr : secure_heap_zero_buffer+0xb0/0x12c [secure_heap]
[   85.780562][   T57] sp : ffffffc00b603d10
[   85.784570][   T57] x29: ffffffc00b603d30 x28: 0000000000000000 x27: ffffff800377e840
[   85.792404][   T57] x26: ffffff80066e1200 x25: 0000000000000800 x24: ffffffc00a8620a0
[   85.800238][   T57] x23: 0000000000000800 x22: ffffff800ebbc278 x21: ffffffc001317234
[   85.808072][   T57] x20: ffffff80066e1210 x19: ffffff80066e1200 x18: ffffffc00acf5028
[   85.815908][   T57] x17: 0000000000000000 x16: 0000000000000000 x15: 00000000000000bf
[   85.823741][   T57] x14: 0000000000000010 x13: 0000000000007ff3 x12: 0000000000800000
[   85.831575][   T57] x11: 0000000000000000 x10: 0000000000000001 x9 : 0000000000000000
[   85.839408][   T57] x8 : ffffff80a0bd0000 x7 : 0000000000000000 x6 : 000000000000003f
[   85.847241][   T57] x5 : 0000000000000040 x4 : 0000000000000000 x3 : 0000000000000004
[   85.855074][   T57] x2 : 0000000000000fc0 x1 : 0000000000000000 x0 : ffffff80a0bd0000
[   85.862909][   T57] Call trace:
[   85.866051][   T57]  __memset+0x16c/0x188
[   85.870065][   T57]  secure_heap_buf_free+0x2c/0xa0 [secure_heap]
[   85.876163][   T57]  free_one_item+0xd0/0x10c
[   85.880523][   T57]  deferred_free_thread+0x5c/0x10c
[   85.885488][   T57]  kthread+0x170/0x1dc
[   85.889414][   T57]  ret_from_fork+0x10/0x20
[   85.893690][   T57] Code: 91010108 54ffff4a 8b040108 cb050042 (d50b7428) 
[   85.900478][   T57] ---[ end trace 7937b2c2e78fd214 ]---
[   85.917239][   T57] Kernel panic - not syncing: Oops: Fatal exception
[   85.923690][   T57] SMP: stopping secondary CPUs
[   85.928322][   T57] Kernel Offset: disabled
[   85.932504][   T57] CPU features: 0x0,00004003,20000846
[   85.937731][   T57] Memory Limit: none

 IMX8MPLUS #Android

0 Kudos
Reply
0 Replies