nanddump shows all bad blocks

Bishop, Mark Mark.Bishop at cooperindustries.com
Thu Apr 5 16:18:12 EDT 2012



> -----Original Message-----
> From: linux-mtd-bounces at lists.infradead.org [mailto:linux-mtd-
> bounces at lists.infradead.org] On Behalf Of Bishop, Mark
> Sent: Thursday, April 05, 2012 3:39 PM
> To: linux-mtd at lists.infradead.org
> Subject: RE: nanddump shows all bad blocks
> 
> > Sounds as if the kernel is using a different ECC method to read the
> > data
> > than what u-boot used to write it...
> >
> 
> This has nothing to do with the internal ECC being turned on or off on
> the part?
> 

root:/> ./fw_printenv
MTD_open
MTD_ioctl
MTD_ioctl
MTD_read
MTD_close
Warning: Bad CRC, using default environment
bootcmd=bootp; setenv bootargs root=/dev/nfs
nfsroot=${serverip}:${rootpath}
ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; bootm
bootdelay=5
baudrate=115200

Ok, that's what I needed to wake up the brain cells.  However, I really
need 'ethaddr' and it isn't being shown.  

Any idea why it isn't showing the entire environment?





More information about the linux-mtd mailing list