Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3247

[NSA325V2] Bad blocks on mtd0? (3 replies)

$
0
0
Hello everyone! I was going to update uboot, kernel and debian on my NSA325 v2, but it seems i have got some problems.
I am running Uboot
root@nsa325:/# strings /dev/mtd0 | grep U-Boot
U-Boot 1.1.4 (Jul 18 2013 - 10:47:29) Marvell version: 3.5.9
If U-Boot Endiannes is going to change (LE->BE or BE->LE), Then Env parameters should be overriden..
U-Boot
** Invalid partition type "%.32s" (expect "U-Boot")
U-Boot code: %08lX -> %08lX  BSS: -> %08lX
Addresses %dM - 0M are saved for the U-Boot usage.
U-Boot BUG at %s:%d!
, kernel
Linux nsa325 3.18.5-kirkwood-tld-1 #1 PREEMPT Thu Feb 5 17:58:07 PST 2015 armv5tel GNU/Linux
on Debian 7.11 / OMV 2.2.14.
Before updating uboot, I checked for badblocks, and this happens:
root@nsa325:/# nanddump -f /dev/disk/by-label/down /dev/mtd0
ECC failed: 360
ECC corrected: 0
Number of bad blocks: 2
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x08000000...
Otherwise with grep -i 'bad blocks' i got no errors. So, what should i do now? :) Thank you

//adding mtdinfo
root@nsa325:/# mtdinfo /dev/mtd0
mtd0
Name:                           orion_nand
Type:                           nand
Eraseblock size:                131072 bytes, 128.0 KiB
Amount of eraseblocks:          1024 (134217728 bytes, 128.0 MiB)
Minimum input/output unit size: 2048 bytes
Sub-page size:                  512 bytes
OOB size:                       64 bytes
Character device major/minor:   90:0
Bad blocks are allowed:         true
Device is writable:             true

Viewing all articles
Browse latest Browse all 3247

Trending Articles