Author Topic: looking for a method to test the ram on a linux sbc  (Read 1262 times)

0 Members and 1 Guest are viewing this topic.

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
looking for a method to test the ram on a linux sbc
« on: January 15, 2017, 04:11:24 pm »
so, I happen to have realized a made in home linux SBC, and I'd like to test if the ram is OK since I have manually soldered it on the PCB.
do you know, guys, a method to check how good it is?

I could implement a few lines of C (1), but before reinventing the wheel I know I'd better ask, so here I am  :D


(1) e.g. with a big malloc, and then doing pattern-check (address in address) inside the slice
may be a good idea?
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 6848
Re: looking for a method to test the ram on a linux sbc
« Reply #1 on: January 15, 2017, 04:20:38 pm »
You may get some ideas from http://www.memtest.org/
 

Offline nctnico

  • Super Contributor
  • ***
  • Posts: 19839
  • Country: nl
    • NCT Developments
Re: looking for a method to test the ram on a linux sbc
« Reply #2 on: January 15, 2017, 05:46:09 pm »
There is a program for Linux called 'memtester'.
There are small lies, big lies and then there is what is on the screen of your oscilloscope.
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: looking for a method to test the ram on a linux sbc
« Reply #3 on: January 15, 2017, 08:03:01 pm »
Code: [Select]

*  sys-apps/memtester
      Homepage:      http://pyropus.ca/software/memtester/
      Description:   userspace utility for testing the memory subsystem for faults
      License:       GPL-2

thanks  :D
 

Online edpalmer42

  • Super Contributor
  • ***
  • Posts: 1799
  • Country: ca
Re: looking for a method to test the ram on a linux sbc
« Reply #4 on: January 15, 2017, 08:14:00 pm »
If you can boot your system from a live CD/DVD (or probably USB) of most distros, they have memtest as a boot menu option.
 

Offline legacy

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: looking for a method to test the ram on a linux sbc
« Reply #5 on: January 15, 2017, 09:28:00 pm »
If you can boot your system from a live CD/DVD

it's neither x86 nor arm, there is no CD/DVD for it  :D
But, I can use the kernel + the rootfs to test the ram.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf