Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1329539

Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid filesystem corruption

From Tony Lindgren <tony@atomide.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid filesystem corruption
Date 2016-02-08 21:30 +0100
Message-ID <r00BC-1PS-27@gated-at.bofh.it> (permalink)
References <flBN8-3xJ-23@gated-at.bofh.it> <qYPId-1t6-1@gated-at.bofh.it> <qZZPc-1iv-17@gated-at.bofh.it> <r00rT-1Mq-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> [160208 12:15]:
> Hi
> 
> On  8.02.2016 21:36, Tony Lindgren wrote:
> >
> >OK. So probably the INT or RDY polarity made the ECC not work.
> >
> 
> Well, ECC disable bit (ONENAND_SYS_CFG1_NO_ECC) was set as well, so most
> probably it was the bugger :)

Oh OK that explains.

> >Aaro, care to dump out also the nolo configured CFG1 value from
> >n8x0 and n9(50)?
> >
> >You can do it by adding something like this to the beginning
> >of set_onenand_cfg():
> >
> 
> Also, do not forget to restore HWMOD_INIT_NO_RESET in gpmc_hwmod in question
> and (maybe) revert e7b11dc7b77bfce0a351230a5feeadc1d0bba997.

Probably just enabling CONFIG_OMAP_GPMC_DEBUG allows dumping
the GPMC configuration. And it sounds like it's a good idea
to have this patch enabled.

Regards,

Tony

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: OMAP2+: Fix onenand initialization to avoid filesystem corruption Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-02-05 15:40 +0100
  Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid  filesystem corruption Tony Lindgren <tony@atomide.com> - 2016-02-08 20:40 +0100
    Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid  filesystem corruption Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-02-08 21:20 +0100
      Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid  filesystem corruption Tony Lindgren <tony@atomide.com> - 2016-02-08 21:30 +0100
    Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid  filesystem corruption Aaro Koskinen <aaro.koskinen@iki.fi> - 2016-02-10 22:20 +0100
      Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid  filesystem corruption Tony Lindgren <tony@atomide.com> - 2016-02-11 01:20 +0100
        Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid  filesystem corruption Ivaylo Dimitrov <ivo.g.dimitrov.75@gmail.com> - 2016-02-21 19:20 +0100
          Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid  filesystem corruption Tony Lindgren <tony@atomide.com> - 2016-02-22 17:20 +0100
  Re: [PATCH] ARM: OMAP2+: Fix onenand initialization to avoid  filesystem corruption Aaro Koskinen <aaro.koskinen@iki.fi> - 2016-02-21 19:50 +0100

csiph-web