Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1260736
| From | Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v4 0/5] mtd: pxa3xx_nand: rework the timing setup |
| Date | 2015-11-02 16:50 +0100 |
| Message-ID | <qqpwS-745-15@gated-at.bofh.it> (permalink) |
| References | <qlWWu-5OT-13@gated-at.bofh.it> <qmpOO-6iz-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 22 October 2015 at 12:12, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > Hello Antoine, > > On Wed, 21 Oct 2015 10:28:59 +0200, Antoine Tenart wrote: > >> Antoine Tenart (5): >> mtd: pxa3xx: prepare allowing compile test >> mtd: nand: allow compile test of MTD_NAND_PXA3xx >> mtd: pxa3xx_nand: add helpers to setup the timings >> mtd: pxa3xx_nand: rework flash detection and timing setup >> mtd: pxa3xx_nand: clean up the pxa3xx timings > > I tested your series on Armada 375 DB, which uses the same pxa3xx > driver, but with the Armada 370 variant. > > With the current Device Tree which has nand,keep-config to keep the > timing configuration from the bootloader, I don't see any problem, so > there is no regression introduced by your series, at least on this > platform. > > However, when I remove nand,keep-config to use the ONFI timings from > the NAND, then things work fine (I can mount a UBIFS root filesystem), > but there is a weird: > > pxa3xx-nand f10d0000.nand: Wait time out!!! > > After investigating a bit, the following steps occur: > > * The timings are configured as ONFI mode 0 > * Reset command is sent to the NAND (0xff), two times in a row. > * READID command is sent to the NAND (0x90), three times in a row. > * PARAM command is sent to the NAND (0xec) and it times out This timeout happens because initial chunk_size is 512, but the PARAM page read is now set to read 2048 (only on the NFCv2 controller variant). I'll prepare a patchset soon. -- Ezequiel GarcĂa, VanguardiaSur www.vanguardiasur.com.ar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v4 0/5] mtd: pxa3xx_nand: rework the timing setup Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> - 2015-11-02 16:50 +0100
csiph-web