NXP IMX8M PLUS with LPDDR4 Kernel panic....

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

NXP IMX8M PLUS with LPDDR4 Kernel panic....

296 Views
Aditya2125
Contributor I

Hello Nxp,

I have imx8mp EVK with LPDDR4 6 GB ram. 

I have generate lpddr_timing.c file with IMX8MP EVK with below configuration in their sheet.

Device Information
Memory type:                                          LPDDR4
Manufacturer:                                          Micron
Memory part number:                             MT53E1536M32D4DT-046 WT:A
Density per channel per chip select (Gb)1:         3
Number of Channels                                           2
Number of Chip Selects used2                           2
Total DRAM density (Gb)                                    6
Number of ROW Addresses2                            15
Number of COLUMN Addresses2                      10
Number of BANK addresses2                            3
Number of BANKS2                                           8
Bus Width                                                           32
Clock Cycle Freq (MHz)3                                   2000
Clock Cycle Time (ns)                                        0.5
FREQ1 setpoint Clock Cycle Freq (MHz)          200
FREQ1 Clock Cycle Time (ns)                           5
FREQ2 setpoint Clock Cycle Freq (MHz)          50
FREQ2 Clock Cycle Time (ns)                           20

 

DDR STRESS TOOL PASS.

but after that replace lpddr_timing.c file building the source code and flashing in to EVK bootloader is working but kernel is panic.

why above configuration is not working. any thing is missing? 

After DDR stress tool pass any modification required in kernel ?

I need suggestion from nxp.

 

KERNEL LOG:

Starting kernel ...

[ 0.000000][ T0] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000][ T0] Linux version 5.10.72-g04acc13ba856-dirty (dev1@simpli-aosp-1) (Android (7284624, based on r416183b) clang version 12.0.5 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee), LLD 12.0.5 (/buildbot/src/android/llvm-toolchain/out/llvm-project/lld c935d99d7cf2016289302412d708641d52d2f7ee)) #1 SMP PREEMPT Fri Sep 23 12:13:06 IST 2022
[ 0.000000][ T0] Machine model: NXP i.MX8MPlus EVK board
[ 0.000000][ T0] Stack Depot is disabled
[ 0.000000][ T0] earlycon: ec_imx6q0 at MMIO 0x0000000030890000 (options '115200')
[ 0.000000][ T0] printk: bootconsole [ec_imx6q0] enabled
[ 0.000000][ T0] efi: UEFI not found.
[ 0.000000][ T0] Reserved memory: created DMA memory pool at 0x0000000094300000, size 1 MiB
[ 0.000000][ T0] OF: reserved mem: initialized node vdev0buffer@94300000, compatible id shared-dma-pool
[ 0.000000][ T0] Internal error: synchronous external abort: 96000210 [#1] PREEMPT SMP
[ 0.000000][ T0] Modules linked in:
[ 0.000000][ T0] CPU: 0 PID: 0 Comm: swapper Not tainted 5.10.72-g04acc13ba856-dirty #1
[ 0.000000][ T0] Hardware name: NXP i.MX8MPlus EVK board (DT)
[ 0.000000][ T0] pstate: 60400085 (nZCv daIf +PAN -UAO -TCO BTYPE=--)
[ 0.000000][ T0] pc : __create_pgd_mapping+0x470/0x878
[ 0.000000][ T0] lr : 0x40600000
[ 0.000000][ T0] sp : ffffffc011a63d70
[ 0.000000][ T0] x29: ffffffc011a63e70 x28: 0050000000000783
[ 0.000000][ T0] x27: ffffffc010000000 x26: fffffffefe438800
[ 0.000000][ T0] x25: 0068000000000703 x24: ffd7fffffffff77f
[ 0.000000][ T0] x23: fffffffefe43a400 x22: ffffffc011c46000
[ 0.000000][ T0] x21: 0000000000000041 x20: 0040000000000783
[ 0.000000][ T0] x19: 0000000000000000 x18: ffffffc011a7be70
[ 0.000000][ T0] x17: 0000000000000005 x16: 00000000f0000000
[ 0.000000][ T0] x15: 00000001bffff000 x14: 0000000010000000
[ 0.000000][ T0] x13: ffffffc010f9ffff x12: ffffffc011ffffff
[ 0.000000][ T0] x11: 0000000000000000 x10: 0000000000000800
[ 0.000000][ T0] x9 : ffffffc010200000 x8 : 0000000000000000
[ 0.000000][ T0] x7 : 0040000000000780 x6 : ffffffc010f9ffff
[ 0.000000][ T0] x5 : 00000fffffefe43b x4 : fffffffefe43a000
[ 0.000000][ T0] x3 : ffffffc011c47000 x2 : ffffffc011c47000
[ 0.000000][ T0] x1 : ffffffc010fa0000 x0 : 00000001bffff000
[ 0.000000][ T0] Call trace:
[ 0.000000][ T0] __create_pgd_mapping+0x470/0x878
[ 0.000000][ T0] map_kernel_segment+0x6c/0xe4
[ 0.000000][ T0] map_kernel+0x88/0x1d0
[ 0.000000][ T0] paging_init+0x70/0xec
[ 0.000000][ T0] setup_arch+0x140/0x238
[ 0.000000][ T0] start_kernel+0x74/0x480
[ 0.000000][ T0] Code: 910022f7 aa1a03fb 54001ac0 91480369 (f94002e8)
[ 0.000000][ T0] random: get_random_bytes called from oops_exit+0x38/0x70 with crng_init=0
[ 0.000000][ T0] ---[ end trace 0000000000000000 ]---
[ 0.000000][ T0] Kernel panic - not syncing: synchronous external abort: Fatal exception
[ 0.000000][ T0] Reboot failed -- System halted

 

0 Kudos
0 Replies