How to configure LPPDR2 2GB H9TP64A8JDMCPR for imx6sl

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

How to configure LPPDR2 2GB H9TP64A8JDMCPR for imx6sl

1,215 Views
imx-talent
Contributor I

Hi,

   I use the configuration in the attachment, the sleep wake up error is the following error.

   

[ 39.006894] PM: early resume of devices complete after 1945.682 msecs
[ 39.013677] remove wake up source irq 51
[ 39.140278] remove wake up source irq 103
[ 39.144290] remove wake up source irq 104
[ 39.152256] wakeup wake lock: event0-2469
[ 39.156468] PM: resume of devices complete after 143.040 msecs
[ 39.162700] Restarting tasks ... done.
[ 39.170756] suspend: finish 1 suspend after:25.236382162 seconds...
[ 39.179154] <<imx6sl-r6801>>[imx6sl_evk_external_card_power_control],[464],bOpen=1
[ 39.187622] suspend: exit suspend, ret = 0 (2016-01-03 04:50:37.031305667 UTC)
[ 39.194853] active wake lock mmc2_detect
[ 39.291879] Unable to handle kernel NULL pointer dereference at virtual address 00000008
[ 39.300041] pgd = e2de0000
[ 39.302749] [00000008] *pgd=00000000
[ 39.306379] Internal error: Oops: 5 [#1] PREEMPT
[ 39.310996] Modules linked in:
[ 39.314062] CPU: 0 Not tainted (3.0.35-g870e659-dirty #7)
[ 39.319814] PC is at show_map_vma+0x4c/0x224
[ 39.324084] LR is at show_map+0x18/0x50
[ 39.327921] pc : [<c0132028>] lr : [<c0132398>] psr: a0010013
[ 39.327925] sp : e2d99e98 ip : 88100073 fp : 00000000
[ 39.339408] r10: e7f8aca0 r9 : 00000000 r8 : e2d99f28
[ 39.344632] r7 : 00000000 r6 : df7839a0 r5 : e2676a00 r4 : e26b7860
[ 39.351159] r3 : e69af2e8 r2 : 00000000 r1 : e26b7860 r0 : df7839a0
[ 39.357688] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 39.364823] Control: 10c53c7d Table: a2de0059 DAC: 00000015
[ 39.370568]
[ 39.370570] PC: 0xc0131fa8:
[ 39.374846] 1fa8 e1a04006 eaffffec e3560000 13a02000 13a03000 0afffff2 e1c522f0 e1a00007
[ 39.383111] 1fc8 ebfd4d82 e1a00004 ebfcc8da e1a04006 eaffffe1 e92d4ff0 e24dd044 e591504c
[ 39.391374] 1fe8 e1a04001 e591a000 e1a06000 e3550000 e591c018 e58da02c 0a000046 e595300c
[ 39.399638] 2008 e5912048 e5933020 e1a0ba22 e1a02602 e58d2030 e5932010 e5939058 e58db034
[ 39.407902] 2028 e5928008 e3c8a4ff e1a08a28 e3caa60f e58da028 e31c0c01 e5942004 0a000006
[ 39.416165] 2048 e5943010 e3530000 0a000002 e5931008 e1520001 0a000046 e2822a01 e31c0001
[ 39.424428] 2068 e1cda3d0 e5943008 e1a00006 03a0e02d 13a0e072 e31c0002 e1cda1f0 03a0702d
[ 39.432692] 2088 13a07077 e31c0004 e59db028 e58de000 03a0e02d 13a0e078 e31c0080 e59f113c
[ 39.440956]
[ 39.440958] LR: 0xc0132318:
[ 39.445233] 2318 e58d9014 e58da018 e58d801c e58d7020 e58de024 e58de028 e58dc02c ebff6763
[ 39.453498] 2338 e595200c e5953004 e1520003 2a000008 e59d6034 e59600c8 ebfe8919 e3a03000
[ 39.461762] 2358 e1540000 15941004 03a02000 11a02001 e1c522f0 e3a00000 e28dd08c e8bd8ff0
[ 39.470025] 2378 c01324a8 c07191c4 e92d4070 e1a04000 e5903038 e1a05001 e5936004 ebffff10
[ 39.478288] 2398 e594200c e5943004 e1520003 2a000007 e59600c8 ebfe8902 e3a03000 e1550000
[ 39.486552] 23b8 15951004 03a02000 11a02001 e1c422f0 e3a00000 e8bd8070 e59f305c e92d4070
[ 39.494815] 23d8 e1a06000 e1a05001 e5930004 e30810d0 ebfedd86 e2504000 03e0600b 0a000008
[ 39.503078] 23f8 e5163020 e1a00005 e59f1030 e5843000 ebff68be e2506000 1a000003 e595306c
[ 39.511343]
[ 39.511345] SP: 0xe2d99e18:
[ 39.515620] 9e18 00000001 c0101da8 c071286e c0249744 00000000 00000001 e2d99e5c e2d98000
[ 39.523885] 9e38 e2d99e68 0000040f 00000005 df7839a0 00000000 c0039790 df7839a0 e26b7860
[ 39.532148] 9e58 00000000 e69af2e8 e26b7860 e2676a00 df7839a0 00000000 e2d99f28 00000000
[ 39.540410] 9e78 e7f8aca0 00000000 88100073 e2d99e98 c0132398 c0132028 a0010013 ffffffff
[ 39.548673] 9e98 00000072 0000002d 0000002d 00000073 0001a000 00000000 000000b3 00000005
[ 39.556935] 9eb8 00000398 e2d99ed4 00000005 e7f8aca0 00000000 00000000 e7f8aca0 0000002a
[ 39.565198] 9ed8 e7f8aca0 df7839a0 e26b7860 e60c9880 00000000 e2d99f28 df3a6840 00000257
[ 39.573461] 9ef8 00000000 c0132398 df7839a0 e26b7860 00000178 c010c588 40bd8848 000003f8
[ 39.581725]
[ 39.581727] R0: 0xdf783920:
[ 39.586002] 3920 c033b2e8 00000080 e638b2c0 00000000 00000038 00000000 00000000 00000000
[ 39.594264] 3940 00000000 e6352420 e6353860 00000000 00000000 00000000 00000000 00000000
[ 39.602526] 3960 c080550c e6010c20 00000000 00000000 df783970 df783970 df661060 c08054f4
[ 39.610789] 3980 ffff99b8 0000008d 00000005 00000200 df783990 df783990 c007a4a4 00000000
[ 39.619053] 39a0 e25a9000 00001000 000003e7 00000178 00000252 00000000 0000b800 00000000
[ 39.627315] 39c0 61c3f000 00000000 00000000 df7839cc df7839cc c0511950 e25debe0 00000000
[ 39.635578] 39e0 c033b2e8 00000080 e6416ac0 00000000 00000037 00000000 00000000 00000000
[ 39.643840] 3a00 00000000 e6352520 e6353740 00000000 00000000 00000000 00000000 00000000
[ 39.652102]
[ 39.652104] R1: 0xe26b77e0:
[ 39.656379] 77e0 00000000 00000000 e26a4400 e26a4400 e263da00 00000000 00067a56 00000000
[ 39.664641] 7800 00000000 00000000 e7f8aca0 5e083000 5e092000 e262cc80 e262ccd8 0000038f
[ 39.672904] 7820 88100071 e262ccf4 00000000 00000000 e25b1308 e25a6db0 e25a6888 00000000
[ 39.681166] 7840 e26b7840 e26b7840 00000000 c05156c0 000001f7 e6adf800 00000000 00000000
[ 39.689429] 7860 e7f8aca0 61c44000 61c46000 e26d7f98 e7f86ee8 0000038f 88100073 e26d7fb4
[ 39.697692] 7880 00000000 00000000 e26b7888 e26b7888 e26b7888 00000000 e26a47c0 e26a47c0
[ 39.705955] 78a0 e263dc00 00000000 00000000 e2676a00 00000000 00000000 e7f8aca0 67560000
[ 39.714218] 78c0 67561000 e26a2ee8 e26b7968 0000028f 80200070 e26b7985 00000000 00000000
[ 39.722482]
[ 39.722484] R3: 0xe69af268:
[ 39.726758] f268 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 39.735022] f288 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 39.743284] f2a8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 39.751545] f2c8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 39.759807] f2e8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 39.768068] f308 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 39.776330] f328 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 39.784593] f348 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 39.792856]
[ 39.792857] R4: 0xe26b77e0:
[ 39.797132] 77e0 00000000 00000000 e26a4400 e26a4400 e263da00 00000000 00067a56 00000000
[ 39.805395] 7800 00000000 00000000 e7f8aca0 5e083000 5e092000 e262cc80 e262ccd8 0000038f
[ 39.813658] 7820 88100071 e262ccf4 00000000 00000000 e25b1308 e25a6db0 e25a6888 00000000
[ 39.821921] 7840 e26b7840 e26b7840 00000000 c05156c0 000001f7 e6adf800 00000000 00000000
[ 39.830184] 7860 e7f8aca0 61c44000 61c46000 e26d7f98 e7f86ee8 0000038f 88100073 e26d7fb4
[ 39.838447] 7880 00000000 00000000 e26b7888 e26b7888 e26b7888 00000000 e26a47c0 e26a47c0
[ 39.846710] 78a0 e263dc00 00000000 00000000 e2676a00 00000000 00000000 e7f8aca0 67560000
[ 39.854973] 78c0 67561000 e26a2ee8 e26b7968 0000028f 80200070 e26b7985 00000000 00000000
[ 39.863237]
[ 39.863239] R5: 0xe2676980:
[ 39.867514] 6980 00000000 00000000 00000000 00000000 00000000 00000000 00000000 e6143d20
[ 39.875777] 69a0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 39.884039] 69c0 00000000 00000000 e26af2e0 00000000 e6a84d50 e6a84d50 e26769d8 e26769d8
[ 39.892301] 69e0 e474b41c 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 39.900564] 6a00 e2676a00 e2676a00 e6011760 e4745098 c0510200 00000001 00000000 00000003
[ 39.908827] 6a20 00000000 00000000 00000000 00000000 00000000 00000000 00000000 e6143d20
[ 39.917089] 6a40 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 39.925351] 6a60 00000000 00000000 e2f0ccc0 00000000 e2676a70 e2676a70 e2676a78 e2676a78
[ 39.933614]
[ 39.933616] R6: 0xdf783920:
[ 39.937891] 3920 c033b2e8 00000080 e638b2c0 00000000 00000038 00000000 00000000 00000000
[ 39.946154] 3940 00000000 e6352420 e6353860 00000000 00000000 00000000 00000000 00000000
[ 39.954416] 3960 c080550c e6010c20 00000000 00000000 df783970 df783970 df661060 c08054f4
[ 39.962679] 3980 ffff99b8 0000008d 00000005 00000200 df783990 df783990 c007a4a4 00000000
[ 39.970941] 39a0 e25a9000 00001000 000003e7 00000178 00000252 00000000 0000b800 00000000
[ 39.979203] 39c0 61c3f000 00000000 00000000 df7839cc df7839cc c0511950 e25debe0 00000000
[ 39.987466] 39e0 c033b2e8 00000080 e6416ac0 00000000 00000037 00000000 00000000 00000000
[ 39.995729] 3a00 00000000 e6352520 e6353740 00000000 00000000 00000000 00000000 00000000
[ 40.003992]
[ 40.003994] R8: 0xe2d99ea8:
[ 40.008269] 9ea8 0001a000 00000000 000000b3 00000005 00000398 e2d99ed4 00000005 e7f8aca0
[ 40.016532] 9ec8 00000000 00000000 e7f8aca0 0000002a e7f8aca0 df7839a0 e26b7860 e60c9880
[ 40.024795] 9ee8 00000000 e2d99f28 df3a6840 00000257 00000000 c0132398 df7839a0 e26b7860
[ 40.033058] 9f08 00000178 c010c588 40bd8848 000003f8 e2d99f88 40bcfa78 df7839c8 00000008
[ 40.041320] 9f28 00000257 00000000 00000258 00000000 00100073 df3a6840 00000400 40bcfa70
[ 40.049583] 9f48 e2d99f88 00000400 e2d98000 00000000 40bd8848 c00eddbc 00000000 00000000
[ 40.057846] 9f68 df3a6840 40bcfa70 0000b800 00000000 00000400 c00ede88 e2d98000 00000000
[ 40.066110] 9f88 0000b800 00000000 40178d8c be9ccbdf 00000000 00000003 c0039ec4 c0039d40
[ 40.074373]
[ 40.074375] R10: 0xe7f8ac20:
[ 40.078736] ac20 00000000 00000017 00000000 00000019 beecea85 0000001f beecefe4 0000000f
[ 40.086999] ac40 beecea95 00000000 00000000 00000000 00000000 00000000 00000000 00000684
[ 40.095261] ac60 00000d65 00000000 c07e2b64 00000001 000004a4 00000000 00000000 00000000
[ 40.103524] ac80 00000000 00000000 0001008d 00000000 00000000 e7fae480 00000002 00000000
[ 40.111786] aca0 e6a8db78 e261592c e2652650 c0044324 c00d6210 40000000 bf000000 ffffffff
[ 40.120049] acc0 6a8b3000 e2624000 00000038 00000002 00000335 00000001 e7f8acd8 e7f8acd8
[ 40.128312] ace0 e7f8ace0 e7f8ace0 00003073 0002b4d9 0002b2d9 00000000 00026854 00002a4e
[ 40.136576] ad00 00000022 00001fc0 00000000 00000076 400d1000 400d2450 400d3de8 400d4000
[ 40.144842] Process debuggerd (pid: 1976, stack limit = 0xe2d982e8)
[ 40.151109] Stack: (0xe2d99e98 to 0xe2d9a000)
[ 40.155466] 9e80: 00000072 0000002d
[ 40.163647] 9ea0: 0000002d 00000073 0001a000 00000000 000000b3 00000005 00000398 e2d99ed4
[ 40.171826] 9ec0: 00000005 e7f8aca0 00000000 00000000 e7f8aca0 0000002a e7f8aca0 df7839a0
[ 40.180005] 9ee0: e26b7860 e60c9880 00000000 e2d99f28 df3a6840 00000257 00000000 c0132398
[ 40.188185] 9f00: df7839a0 e26b7860 00000178 c010c588 40bd8848 000003f8 e2d99f88 40bcfa78
[ 40.196364] 9f20: df7839c8 00000008 00000257 00000000 00000258 00000000 00100073 df3a6840
[ 40.204543] 9f40: 00000400 40bcfa70 e2d99f88 00000400 e2d98000 00000000 40bd8848 c00eddbc
[ 40.212723] 9f60: 00000000 00000000 df3a6840 40bcfa70 0000b800 00000000 00000400 c00ede88
[ 40.220902] 9f80: e2d98000 00000000 0000b800 00000000 40178d8c be9ccbdf 00000000 00000003
[ 40.229090] 9fa0: c0039ec4 c0039d40 40178d8c be9ccbdf 0000000b 40bcfa70 00000400 401478e1
[ 40.237270] 9fc0: 40178d8c be9ccbdf 00000000 00000003 40bcfe25 000003b4 40179324 40bd8848
[ 40.245449] 9fe0: be9ccb94 be9ccb40 401478ed 40141378 60010010 0000000b 00000000 00000000
[ 40.253636] [<c0132028>] (show_map_vma+0x4c/0x224) from [<c0132398>] (show_map+0x18/0x50)
[ 40.261821] [<c0132398>] (show_map+0x18/0x50) from [<c010c588>] (seq_read+0x328/0x4a8)
[ 40.269747] [<c010c588>] (seq_read+0x328/0x4a8) from [<c00eddbc>] (vfs_read+0xa4/0x134)
[ 40.277757] [<c00eddbc>] (vfs_read+0xa4/0x134) from [<c00ede88>] (sys_read+0x3c/0x68)
[ 40.285594] [<c00ede88>] (sys_read+0x3c/0x68) from [<c0039d40>] (ret_fast_syscall+0x0/0x30)
[ 40.293949] Code: e58d2030 e5932010 e5939058 e58db034 (e5928008)
[ 40.304447] ---[ end trace 9876de4c0d26e979 ]---
[ 40.309157] Kernel panic - not syncing: Fatal exception
[ 40.314410] [<c003fa98>] (unwind_backtrace+0x0/0xf8) from [<c05023b4>] (panic+0x74/0x188)
[ 40.322618] [<c05023b4>] (panic+0x74/0x188) from [<c003d644>] (die+0x23c/0x2a8)
[ 40.329948] [<c003d644>] (die+0x23c/0x2a8) from [<c05022c4>] (__do_kernel_fault.part.3+0x54/0x74)
[ 40.338840] [<c05022c4>] (__do_kernel_fault.part.3+0x54/0x74) from [<c004351c>] (do_page_fault+0x2b4/0x31c)
[ 40.348603] [<c004351c>] (do_page_fault+0x2b4/0x31c) from [<c00341b0>] (do_DataAbort+0x34/0x9c)
[ 40.357319] [<c00341b0>] (do_DataAbort+0x34/0x9c) from [<c0039790>] (__dabt_svc+0x70/0xa0)
[ 40.365585] Exception stack(0xe2d99e50 to 0xe2d99e98)
[ 40.370647] 9e40: df7839a0 e26b7860 00000000 e69af2e8
[ 40.378836] 9e60: e26b7860 e2676a00 df7839a0 00000000 e2d99f28 00000000 e7f8aca0 00000000
[ 40.387024] 9e80: 88100073 e2d99e98 c0132398 c0132028 a0010013 ffffffff
[ 40.393647] [<c0039790>] (__dabt_svc+0x70/0xa0) from [<c0132028>] (show_map_vma+0x4c/0x224)
[ 40.402012] [<c0132028>] (show_map_vma+0x4c/0x224) from [<c0132398>] (show_map+0x18/0x50)
[ 40.410205] [<c0132398>] (show_map+0x18/0x50) from [<c010c588>] (seq_read+0x328/0x4a8)
[ 40.418139] [<c010c588>] (seq_read+0x328/0x4a8) from [<c00eddbc>] (vfs_read+0xa4/0x134)
[ 40.426157] [<c00eddbc>] (vfs_read+0xa4/0x134) from [<c00ede88>] (sys_read+0x3c/0x68)
[ 40.433993] [<c00ede88>] (sys_read+0x3c/0x68) from [<c0039d40>] (ret_fast_syscall+0x0/0x30)

Please help me.Thank you!

Labels (2)
0 Kudos
4 Replies

1,050 Views
igorpadykov
NXP Employee
NXP Employee

Hi  talent liu

usually wake errors are not related to ddr settings, but

wrong bsp. Please try with some of i.MX6SL nxp bsps described on

https://www.nxp.com/support/developer-resources/run-time-software/i.mx-developer-resources/i.mx-6ser...

First run ddr test

i.MX6/7 DDR Stress Test Tool V2.80 

then rebuild image with new calibration coefficients found from ddr test, update them in

uboot/../mx6slevk/imximage.cfg

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,050 Views
imx-talent
Contributor I

Hi igorpadykov

Both DDR stress tests and memtester can be passed.I use the android4.4.2 bsp.

It is normal to wake up with 2GB of memory on the same machine.

0 Kudos

1,050 Views
igorpadykov
NXP Employee
NXP Employee

suggest to check wake functionality with Linux BSP L3.0.35 (used in android4.4.2) in

minimal configuration.

Best regards
igor

0 Kudos

1,050 Views
imx-talent
Contributor I

The hardware is replaced with 2gb of lpddr2 burning 2gb uboot, boot. Img is unchanged, and it wakes up normally.

With 1GB of LPDDR2 and 1GB of uboot, boot. Img invariant, the wake up failed.

In the experiment, the boot. Img and system. Img are the same.

Why use 1GB of lpaddr2 to wake up failure?

0 Kudos