This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DDR Memory Test Fails

Other Parts Discussed in Thread: DRA752

Hi,


When i perform mtest in my custom board from u-boot i am getting memory error at some locations,

U-Boot 2013.04 (Sep 24 2014 - 00:00:28)

CPU  : DRA752 ES1.1
Board: DRA7xx
I2C:   ready
DRAM:  1.5 GiB
WARNING: Caches not enabled
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   <ethaddr> not set. Validating first E-fuse MAC
cpsw
Hit any key to stop autoboot:  0
DRA752 EVM # mtest 0x82000000 0xC0000000
Testing 82000000 ... c0000000:
Pattern 00000000  Writing...  Reading...
Mem error @ 0x89800923: found 0780096E, expected 07800923

Mem error @ 0x89800924: found 078009D7, expected 07800924

Mem error @ 0x89800925: found 078009F9, expected 07800925

Mem error @ 0x89800926: found 078009BF, expected 07800926

Mem error @ 0x89800927: found 078009EC, expected 07800927

Mem error @ 0x89800928: found 078009E7, expected 07800928

Mem error @ 0x89800929: found 078009B5, expected 07800929

Mem error @ 0x8980092A: found 078009F5, expected 0780092A

Mem error @ 0x8980092B: found 0780099F, expected 0780092B

Mem error @ 0x8980092C: found 078009B2, expected 0780092C

Mem error @ 0x8980092D: found 078009FB, expected 0780092D

Mem error @ 0x8980092E: found 07800977, expected 0780092E

Mem error @ 0x8980092F: found 078009B5, expected 0780092F

Mem error @ 0x89800930: found 0780096F, expected 07800930

Mem error @ 0x89800931: found 078009F9, expected 07800931

Mem error @ 0x89800932: found 078009F5, expected 07800932

Mem error @ 0x89800933: found 07800937, expected 07800933

Mem error @ 0x89800934: found 078009AD, expected 07800934

Mem error @ 0x89800935: found 07800975, expected 07800935

Mem error @ 0x89800936: found 0780097F, expected 07800936

Mem error @ 0x89800937: found 07800977, expected 07800937

Mem error @ 0x89800938: found 078009F0, expected 07800938

Mem error @ 0x89800939: found 07800905, expected 07800939

Mem error @ 0x8980093A: found 0780098A, expected 0780093A

Mem error @ 0x8980093B: found 07800963, expected 0780093B

Mem error @ 0x8980093C: found 0780097D, expected 0780093C

Mem error @ 0x8980093D: found 078009FF, expected 0780093D

Mem error @ 0x8980093E: found 078009FE, expected 0780093E

Mem error @ 0x8980093F: found 0780095F, expected 0780093F

Mem error @ 0x89804824: found 078048D1, expected 07804824

Mem error @ 0x89804825: found 078048F3, expected 07804825

Mem error @ 0x89804826: found 078048D1, expected 07804826

Mem error @ 0x89804827: found 0780487C, expected 07804827

Mem error @ 0x89804828: found 07804875, expected 07804828

Mem error @ 0x89804829: found 078048EB, expected 07804829

Mem error @ 0x8980482A: found 078048D9, expected 0780482A

Mem error @ 0x8980482B: found 0780485B, expected 0780482B

Mem error @ 0x8980482C: found 0780487B, expected 0780482C

Mem error @ 0x8980482D: found 078048AC, expected 0780482D

Mem error @ 0x8980482E: found 078048DD, expected 0780482E

Mem error @ 0x8980482F: found 078048FE, expected 0780482F

Mem error @ 0x89804830: found 07804879, expected 07804830

Mem error @ 0x89804831: found 078048F9, expected 07804831

Mem error @ 0x89804832: found 07804865, expected 07804832

Mem error @ 0x89804833: found 078048D4, expected 07804833

Mem error @ 0x89804834: found 07804839, expected 07804834

Mem error @ 0x89804835: found 078048FF, expected 07804835

Mem error @ 0x89804836: found 0780487F, expected 07804836

Mem error @ 0x89804837: found 078048EB, expected 07804837

Mem error @ 0x89804838: found 0780487F, expected 07804838

Mem error @ 0x89804839: found 0780484F, expected 07804839

Mem error @ 0x8980483A: found 078048DC, expected 0780483A

Mem error @ 0x8980483B: found 07804852, expected 0780483B

Mem error @ 0x8980483C: found 078048F5, expected 0780483C

Mem error @ 0x8980483D: found 07804897, expected 0780483D

Mem error @ 0x8980483E: found 078048E6, expected 0780483E

Mem error @ 0x8980483F: found 078048D8, expected 0780483F

Pattern FFFFFFFF  Writing...  Reading...
Mem error @ 0x8980082A: found F87FF72A, expected F87FF7D5

Mem error @ 0x8980082B: found F87FF72B, expected F87FF7D4

Mem error @ 0x8980082C: found F87FF72C, expected F87FF7D3

Mem error @ 0x8980082D: found F87FF72D, expected F87FF7D2

Mem error @ 0x8980082E: found F87FF72E, expected F87FF7D1

Mem error @ 0x8980082F: found F87FF72F, expected F87FF7D0

Mem error @ 0x89800830: found F87FF730, expected F87FF7CF

Mem error @ 0x89800831: found F87FF731, expected F87FF7CE

Mem error @ 0x89800832: found F87FF732, expected F87FF7CD

Mem error @ 0x89800833: found F87FF733, expected F87FF7CC

Mem error @ 0x89800834: found F87FF734, expected F87FF7CB

Mem error @ 0x89800835: found F87FF735, expected F87FF7CA

Mem error @ 0x89800836: found F87FF736, expected F87FF7C9

Mem error @ 0x89800837: found F87FF737, expected F87FF7C8

Mem error @ 0x89800838: found F87FF738, expected F87FF7C7

Mem error @ 0x89800839: found F87FF739, expected F87FF7C6

Mem error @ 0x8980083A: found F87FF73A, expected F87FF7C5

Mem error @ 0x8980083B: found F87FF73B, expected F87FF7C4

Mem error @ 0x8980083C: found F87FF73C, expected F87FF7C3

Mem error @ 0x8980083D: found F87FF73D, expected F87FF7C2

Mem error @ 0x8980083E: found F87FF73E, expected F87FF7C1

Mem error @ 0x8980083F: found F87FF73F, expected F87FF7C0

Mem error @ 0x89800860: found F87FF760, expected F87FF79F

Mem error @ 0x89800861: found F87FF761, expected F87FF79E

Mem error @ 0x89800862: found F87FF762, expected F87FF79D

Then i have tried mtest for those locations separately like this

mtest 0x89800923 0x89800960 . then those locations passed mtest. Why these type memory fails can happen with DDR? Anyone faced these kind of problems with DDR?

Thanks & Regards

Ganesh

  • Hi,
    What about DDR memory map for your device ?
    Can you try like this following command.

    DRA752 EVM # mtest 0xC0000000 0xC0008000
  • Hi Titus,

    I am using the same memory map for DDR as in DRA7xx_EVM only.

    I tried with DRA752 EVM # mtest 0xC0000000 0xC0008000 no memory fails.


    U-Boot 2013.04 (Sep 24 2014 - 00:00:28)

    CPU : DRA752 ES1.1
    Board: DRA7xx
    I2C: ready
    DRAM: 1.5 GiB
    WARNING: Caches not enabled
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Using default environment

    In: serial
    Out: serial
    Err: serial
    Net: <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot: 0
    DRA752 EVM # mtest 0xC0000000 0xC0008000
    Testing c0000000 ... c0008000:
    Pattern FFFFFFFF Writing... Reading...Iteration: 5598
  • Hi,
    What is your total size of DDR memory ?


    DRA752 EVM # mtest 0x82000000 0xC0000000
    Testing 82000000 ... c0000000:


    This means, it will start to test from 0x82000000 to 0xC0000000, almost 1GiB memory you are testing.
    Are you expecting this 1GiB test ?


    Pattern 00000000 Writing... Reading...
    Mem error @ 0x89800923: found 0780096E, expected 07800923

    Mem error @ 0x89800924: found 078009D7, expected 07800924

    Mem error @ 0x89800925: found 078009F9, expected 07800925

    Up to "0x89800922" this memory location, no problem, after that only we are facing issues.

    i.e, its get passed about 120MiB. After that we are getting into issues.
  • Hi Titus,

    Total 1.5GiB Memory is available from 0x80000000 address location. I am getting errors near 0x89800922 locations, but if i individually perform mtest for these no merrors.

    Thanks & Regards,

    Ganesh

  • Hello Ganesh,

    I assume that you haven't applied your board specifics configurations in u-boot. 

    1. I suggest you to ask your FAE a spreadsheet for VAYU DDR3 EMIF programming. This spreadsheet will help you to configure EMIF modules with correct timings and registers' values.

    2. Take a look in ti-glsdk_dra7xx-evm_7_01_00_03/board-support/u-boot/board/ti/dra7xx/ evm.c - Check your EMIF configuration: 

    /*
    * SDRAM initialization:
    * SDRAM initialization has two parts:
    * 1. Configuring the SDRAM device
    * 2. Update the AC timings related parameters in the EMIF module
    * (1) should be done only once and should not be done while we are
    * running from SDRAM.
    * (2) can and should be done more than once if OPP changes.
    * Particularly, this may be needed when we boot without SPL and
    * and using Configuration Header(CH). ROM code supports only at 50% OPP
    * at boot (low power boot). So u-boot has to switch to OPP100 and update
    * the frequency. So,
    * Doing (1) and (2) makes sense - first time initialization
    * Doing (2) and not (1) makes sense - OPP change (when using CH)
    * Doing (1) and not (2) doen't make sense
    * See do_sdram_init() for the details
    */

    3. Check your memory map and DMM settings. You can find your EMIF configurations in this file - ti-glsdk_dra7xx-evm_7_01_00_03/board-support/u-boot/arch/arm/cpu/armv7/omap5/sdram.c:

    Best regards,

    Yanko

  • Hi Titus,

    Does this M-error can effect my Kernel Booting? The Kernel load address and entry point address are less than 0x89800000. And i am getting problems while kernel booting like


    [ 10.239910] Unable to handle kernel paging request at virtual address bca9e905
    [ 10.252749] pgd = 2faaef84
    [ 10.255747] Unable to handle kernel paging request at virtual address 2fab1eac
    [ 10.263588] pgd = 2faaef84
    [ 10.266585] Unable to handle kernel paging request at virtual address 2faafb6c
    [ 10.274425] pgd = 2faaef84
    [ 10.277424] Unable to handle kernel paging request at virtual address 2faafb6c
    [ 10.285271] pgd = 2faaef84
    [ 10.288268] Unable to handle kernel paging request at virtual address 2faafb6c
    [ 10.296108] pgd = 2faaef84
    [ 10.299106] Unable to handle kernel paging request at virtual address 2faafb6c
    [ 10.306943] pgd = 2faaef84
    [ 10.309943] Unable to handle kernel paging request at virtual address 2faafb6c
    [ 10.317784] pgd = 2faaef84
    [ 10.320778] Unable to handle kernel paging request at virtual address 2faafb6c
    [ 10.328620] pgd = 2faaef84
    [ 10.331621] Unable to handle kernel paging request at virtual address 2faafb6c
    [ 10.339457] pgd = 2faaef84
    [ 10.342453] Unable to handle kernel paging request at virtual address 2faafb6c

    Thanks & Regards
    Ganesh