I have bought at least 10 PCS of Nano Pi2 board within 3 months, more than five of them with broken memory, all of them can boot to Debian desktop, but software runs on that will fault with different errors. After that, I found a way to test those boards: # apt-get install memtester # memtester 600M 1 If any error message printed, mean your board with a bad memory. I strongly suggest you to do this test, or you will waste lots of time debug your application base on a bad board.
Faulty Nano Pi2 Memory
Yikes. Are you talking about bad RAM or flash? I am aware bad blocks are marked in flash, but I don't know what happens if a memory cell breaks in RAM.
I'm talking about RAM, but I don't think it's a cell breaks, I think the RAM's data wire are open or shorted.
duke, Ran memtester on my NanoPi2 with the attached results, lots of apparent failures. memtester version 4.3.0 (32-bit) I know you have to compile on a 64 bit machine ... I guess because the NanoPi2 has a 64 bit ARM architecture. So, is this the correct version of memtester to be running? Faulty RAM would be a warranty issue, wouldn't it? Dave
The problem is nothing to do with ARM architecture and the version of memtester. At least, I have repair one board by replacing the two RAM chips with new chips by myself. Do not continue to use the bad board, and contact the seller to replace the board.
Hi Here is the test result of my custom S5P4418 board. $ memtester 512MB 1 memtester version 4.3.0 (32-bit) Copyright (C) 2001-2012 Charles Cazabon. Licensed under the GNU General Public License version 2 (only). pagesize is 4096 pagesizemask is 0xfffff000 want 512MB (536870912 bytes) got 512MB (536870912 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 8-bit Writes : ok 16-bit Writes : ok Done. So, I think there is a problem with DDR3 interface of NanoPi2 although it can run Linux OS.