On 02/25/2017 10:36 PM, Forest wrote:
> On Sat, 25 Feb 2017 22:21:22 +0100, Uwe Kleine-König wrote:
> 
>> Without having checked every byte, this looks okish. Is this NAND or NOR
>> memory?
> 
> Looks to me like it's NOR:
> 
> $ cat /sys/class/mtd/mtd?/type |uniq
> nor
> 
>> If it's NAND, can you please do:
> 
> Is there a different test I can do with NOR memory?
> 

I'd something like this:

dd if=/dev/zero of=zero bs=10240 count=1
flashcp -v zero /dev/mtd1
memtool md -s /dev/mtdblock1 0+0x2800 | grep -vE '(0{8} ){4}'

flash_erase /dev/mtd1 0 0
memtool md -s /dev/mtdblock1 0+0x2800 | grep -vE '(f{8} ){4}'

If both grep don't yield any lines, retry flash-kernel.

Best regards
Uwe

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to