lkml.org 
[lkml]   [2014]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] mtd: nand: gpmi: add proper raw access support
    Hi Iwo,

    On Mon, 29 Sep 2014 11:22:11 +1000
    Iwo Mergler <Iwo.Mergler@netcommwireless.com> wrote:

    > On Thu, 11 Sep 2014 22:36:16 +1000
    > Boris BREZILLON <boris.brezillon@free-electrons.com> wrote:
    > >
    > > Well, I don't know about freescale specific tools, but at least I have
    > > an example with mtd_nandbiterrs module.
    > > This module is assuming it can write only the data part of a NAND page
    > > without modifying the OOB area (see [1]), which in GPMI controller
    > > case is impossible because raw write function store the data as if
    > > there were no specific scheme, while there is one:
    > > (metadata + n x (data_chunk + ECC bytes) + remaining_bytes).
    > >
    >
    > Hi Boris,
    >
    >
    > just as an aside, only the incremental bit errors test in nandbiterrs
    > positively requires raw data write.
    >
    > The overwrite test (re-write the same page data repeatedly without
    > erase), only uses raw access because I was lazy. A normal ECC write
    > would do just as well.

    Okay.
    Anyway, the test I'm really interested in is the incremental bit errors
    test :-).

    BTW, any reason you chose to implement this test/testsuite as a
    module ?
    From my understanding (and tell me if I'm wrong) we could do the same
    from user-space.

    Best Regards,

    Boris

    --
    Boris Brezillon, Free Electrons
    Embedded Linux and Kernel engineering
    http://free-electrons.com


    \
     
     \ /
      Last update: 2014-09-30 10:41    [W:5.559 / U:0.352 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site