DDR-RAM (SBC-i.MX51)

Aus BECOM Systems Support
Version vom 22. August 2023, 20:35 Uhr von en>Peter (1 Version importiert)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Zur Navigation springen Zur Suche springen

The SBC-i.MX51 includes 512MB DDR2 SDRAM.

V1.2: DDR2-667 V2.1: DDR2-800

Simple check in Linux

Look at the output of

root@i:~# cat /proc/meminfo 
MemTotal:         483344 kB
MemFree:          367168 kB
...

Memory test in Linux

The memtester program is included in all demo images created with OpenEmbedded. To run 1 loop on 450MiB of the memory, execute

memtester 450 1

A successful memory test looks like this:

root@i:~# memtester 450 1
memtester version 4.0.6 (32-bit)
Copyright (C) 2006 Charles Cazabon.
Licensed under the GNU General Public License version 2 (only).

pagesize is 4096
pagesizemask is 0xfffff000
want 450MB (471859200 bytes)
got  450MB (471859200 bytes), trying mlock ...locked.
Loop 1/1:
  Stuck Address       : ok         
  Random Value        : ok
  Compare XOR         : ok
  Compare SUB         : ok
  Compare MUL         : ok
  Compare DIV         : ok
  Compare OR          : ok
  Compare AND         : ok
  Sequential Increment: ok
  Solid Bits          : ok         
  Block Sequential    : ok         
  Checkerboard        : ok         
  Bit Spread          : ok         
  Bit Flip            : ok         
  Walking Ones        : ok
  Walking Zeroes      : ok

Done.
root@i:~#