<br clear="all">Hello,<div><br></div><div>Im having a trouble with my Nand Flash device wich is a 512MiB Micron with 4GB capacity.</div><div>I get io error -5 for any erase/write operation on it like this :</div><div><br></div>
<div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
barebox@Phytec phyCard-i.MX27:/ update -t barebox -d nand </blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
phy0: Link is up - 100/Full</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
host 192.168.0.2 is alive</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
erasing partition /dev/<a href="http://nand0.barebox.bb">nand0.barebox.bb</a> </blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
erase: I/O error </blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
flashing barebox.bin to /dev/<a href="http://nand0.barebox.bb">nand0.barebox.bb</a> </blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
TFTP from server 192.168.0.2 ('barebox.bin' -> '/dev/<a href="http://nand0.barebox.bb">nand0.barebox.bb</a>') </blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
write: I/O error </blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
tftp failed: error -5 </blockquote><div><br></div><div>And here is the device init at the boot runtime:</div><div><br></div><div><div>NAND device: Manufacturer ID: 0x2c, Chip ID: 0xac (Micron NAND 512MiB 1,8V 8-bi)</div>
<div>Bad block table found at page 262080, version 0x01 </div><div>Bad block table found at page 262016, version 0x01 </div><div>nand_read_bbt: Bad block at 0x01ac0000 </div>
<div>nand_read_bbt: Bad block at 0x01ae0000 </div><div>nand_read_bbt: Bad block at 0x01b40000 </div><div>nand_read_bbt: Bad block at 0x01b60000 </div>
<div>nand_read_bbt: Bad block at 0x02bc0000 </div><div>nand_read_bbt: Bad block at 0x02be0000 </div><div>nand_read_bbt: Bad block at 0x03240000 </div>
<div>nand_read_bbt: Bad block at 0x03260000 </div><div>nand_read_bbt: Bad block at 0x033c0000 </div><div>nand_read_bbt: Bad block at 0x033e0000 </div>
<div>nand_read_bbt: Bad block at 0x03f40000 </div><div>nand_read_bbt: Bad block at 0x03f60000 </div><div>nand_read_bbt: Bad block at 0x03fc0000 </div>
<div>nand_read_bbt: Bad block at 0x03fe0000 </div><div>nand_read_bbt: Bad block at 0x057c0000 </div><div>nand_read_bbt: Bad block at 0x057e0000 </div>
<div>nand_read_bbt: Bad block at 0x05ac0000 </div><div>nand_read_bbt: Bad block at 0x05ae0000 </div><div>nand_read_bbt: Bad block at 0x05bc0000 </div>
<div>nand_read_bbt: Bad block at 0x05be0000 </div><div>nand_read_bbt: Bad block at 0x07440000 </div><div>nand_read_bbt: Bad block at 0x07460000 </div>
<div>nand_read_bbt: Bad block at 0x078c0000 </div><div>nand_read_bbt: Bad block at 0x078e0000 </div><div>nand_read_bbt: Bad block at 0x07cc0000 </div>
<div>nand_read_bbt: Bad block at 0x07ce0000 </div><div>nand_read_bbt: Bad block at 0x134c0000 </div><div>nand_read_bbt: Bad block at 0x134e0000 </div>
<div>nand_read_bbt: Bad block at 0x14940000 </div><div>nand_read_bbt: Bad block at 0x14960000 </div><div>nand_read_bbt: Bad block at 0x15540000 </div>
<div>nand_read_bbt: Bad block at 0x15560000 </div><div>nand_read_bbt: Bad block at 0x15ac0000 </div><div>nand_read_bbt: Bad block at 0x15ae0000 </div>
<div>nand_read_bbt: Bad block at 0x17140000 </div><div>nand_read_bbt: Bad block at 0x17160000 </div><div>nand_read_bbt: Bad block at 0x17840000 </div>
<div>nand_read_bbt: Bad block at 0x17860000 </div><div>nand_read_bbt: Bad block at 0x1f0c0000 </div><div>nand_read_bbt: Bad block at 0x1f0e0000 </div>
<div>nand_read_bbt: Bad block at 0x1f6c0000 </div><div>nand_read_bbt: Bad block at 0x1f6e0000 </div></div><div><br></div><div>So it seems tge device is detect and bbt are correctly calculated...</div>
<div>Any idea of what could be the problem ?</div><div><br></div><div>Regards. </div></div><div><br></div><div>-- <br>__________________________________<br><i><font face="'comic sans ms', sans-serif">Kamel BOUHARA</font></i><div>
7 rue Jules César<div>02100 SAINT-QUENTIN<br>06.17.83.29.04<br><br></div></div><br>
</div>