From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ip2.televic.com ([81.82.194.222]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1R3RI5-00079K-Ra for barebox@lists.infradead.org; Tue, 13 Sep 2011 11:36:38 +0000 From: Vanhauwaert Wouter Date: Tue, 13 Sep 2011 13:36:31 +0200 Message-ID: Content-Language: en-US MIME-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0631533623==" Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: tftp to flash from linux To: "barebox@lists.infradead.org" --===============0631533623== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_E78BBE677EB9144B8F0A0A29674CD533489C0CDC8ASRVVS06TELEVI_" --_000_E78BBE677EB9144B8F0A0A29674CD533489C0CDC8ASRVVS06TELEVI_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, To update our platform from within a booted linux, we need tftp to write to= the nand-flash (another partition) directly. Which one do I use? /dev/mtdx or /dev/mtdblockx? And what happens with bad = blocks here? Are these bad-block aware? Grtz --_000_E78BBE677EB9144B8F0A0A29674CD533489C0CDC8ASRVVS06TELEVI_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

To u= pdate our platform from within a booted linux, we need tftp to write to the= nand-flash (another partition) directly.

Which one do I use? /dev/mtdx or /dev/mtdblock= x? And what happens with bad blocks here? Are these bad-block aware?

 

Grtz

<= p class=3DMsoNormal> 

= --_000_E78BBE677EB9144B8F0A0A29674CD533489C0CDC8ASRVVS06TELEVI_-- --===============0631533623== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox --===============0631533623==--