nand_imx 4k support ?
Baruch Siach
baruch at tkos.co.il
Mon Apr 2 07:30:02 EDT 2012
Hi Gabriel,
On Mon, Apr 02, 2012 at 11:03:06AM +0200, Gabriel Tisan wrote:
> Yes, Baruch I meant write support, especially ECC layout for 4K flashes.
>
> Actually the 4k flashes could have 128 or 218 bytes OOB.
>
> Could you point me to some docs about this layout ? I use a flash with
> 218 bytes spare.
See commit 2c1c5f199 of the Linux kernel at
http://git.kernel.org/linus/2c1c5f199.
As Eric has pointed out, this may not be necessary for Barebox.
baruch
> On Sun, Apr 1, 2012 at 3:05 PM, Eric Bénard <eric at eukrea.com> wrote:
> > Le Sun, 1 Apr 2012 15:52:09 +0300,
> > Baruch Siach <baruch at tkos.co.il> a écrit :
> >> Does the Linux kernel detect your flash correctly?
> >>
> > I'm not at this stage for the moment as I'm using a SDcard rootfs to
> > validate the hardware for the moment, but I'm sure the actual problem
> > (in my case at least) in barebox is a detection problem as I get the
> > right values from the flash but these value are ONFI and thus are not
> > right with he actual flash detection code which leads to a wrong
> > configuration of the NFC. Once I hardcode the NFC settings I manage to
> > read/write in the 4k NAND Flash from barebox (environment & kernel
> > are in the flash for the moment).
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the barebox
mailing list