From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Fri, 26 Aug 2011 20:33:32 +0200 Subject: [U-Boot] [PATCH] NAND: Add nand read.raw and write.raw commands In-Reply-To: <4E57CB52.5000302@gmail.com> References: <1314309890-6613-1-git-send-email-marek.vasut@gmail.com> <4E5751DD.3090203@gmail.com> <201108261649.14880.marek.vasut@gmail.com> <4E57CB52.5000302@gmail.com> Message-ID: <20110826183332.450D911F9E78@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Simon Schwarz, In message <4E57CB52.5000302@gmail.com> you wrote: > > But isn't then the HW ECC misconfigured? AFAIK ECC information should be > written only to the OOB never into the normal page. > > I'am really not sure if I understand the patch - it seems to me that you > are writing/reading the oob while this collides with the description > that you want to write data. Could you explain further what exactly the > patch is supposed to do? There are some SoCs with quite funny requiremnts regarding the organization of NAND they expect for their ROM boot loader. The Freescale (or rather SigmaTel) i.MX28 is one of them. I think Marek needs this feature to format the NAND in such a way that booting from NAND works on i.MX28 Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de The inappropriate cannot be beautiful. - Frank Lloyd Wright _The Future of Architecture_ (1953)