From: Aleksei Mamlin <mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Boris Brezillon
<boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
Cc: Maxime Ripard
<maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>,
Chen-Yu Tsai <wens-jdAy2FN1RRM@public.gmane.org>,
Richard Weinberger <richard-/L3Ra7n9ekc@public.gmane.org>,
David Woodhouse <dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>,
Brian Norris
<computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
Subject: Re: [PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table
Date: Tue, 7 Jun 2016 00:06:45 +0300 [thread overview]
Message-ID: <20160607000645.5d1f428b40406a5db7cbe285@gmail.com> (raw)
In-Reply-To: <20160606223138.3c2032ee@bbrezillon>
On Mon, 6 Jun 2016 22:31:38 +0200
Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote:
> On Mon, 6 Jun 2016 22:59:03 +0300
> Aleksei Mamlin <mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > On Mon, 6 Jun 2016 20:55:49 +0200
> > Boris Brezillon <boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> wrote:
> >
> > > On Mon, 6 Jun 2016 13:24:22 +0300
> > > Aleksei Mamlin <mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > >
> > > > Add the full description of the Hynix H27UBG8T2BTR-BC NAND chip in the
> > > > nand_ids table so that we can later use the NAND ECC infos and ONFI timings
> > > > mode in controller drivers.
> > >
> > > Still hoping to get this series [1] merged in 4.8, but if that's
> > > not the case, I'll apply your patch.
> > >
> > > BTW, that would be great if you could test it on your platforms.
> > >
> >
> > It seems that Hynix-specific initialization code can't handle H27UBG8T2BTR-BC
> > chip:
> >
> > [ 0.886153] nand: Could not find valid ONFI parameter page; aborting
> > [ 0.892665] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xd7
> > [ 0.899025] nand: Hynix 1c03000.nand
> > [ 0.902596] nand: bus width 8 instead 16 bit
> > [ 0.906858] nand: No NAND device found
> > [ 0.910620] sunxi_nand 1c03000.nand: failed to init nand chips
> > [ 0.916528] sunxi_nand: probe of 1c03000.nand failed with error -22
>
> Can you try this patch? It should fix the problem [1].
>
> [1]http://code.bulix.org/6hjww1-100494
>
Yes, it fixes problem. What about ONFI parameter page? Should it be ignored?
[ 0.886068] nand: Could not find valid ONFI parameter page; aborting
[ 0.892571] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xd7
[ 0.898917] nand: Hynix NAND 4GiB 3,3V 8-bit
[ 0.903198] nand: 4096 MiB, MLC, erase size: 2048 KiB, page size: 8192, OOB size: 640
[ 0.911908] Bad block table found at page 524032, version 0x01
[ 0.918534] Bad block table found at page 523776, version 0x01
[ 0.972112] 5 ofpart partitions found on MTD device 1c03000.nand
[ 0.978116] Creating 5 MTD partitions on "1c03000.nand":
[ 0.983477] 0x000000000000-0x000000200000 : "boot0"
[ 0.988803] 0x000000200000-0x000000400000 : "boot0-rescue"
[ 0.994692] 0x000000400000-0x000000600000 : "uboot"
[ 0.999944] 0x000000600000-0x000000800000 : "uboot-rescue"
[ 1.005763] 0x000000800000-0x000100000000 : "main"
>
> --
> Boris Brezillon, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
--
Thanks and regards,
Aleksei Mamlin
next prev parent reply other threads:[~2016-06-06 21:06 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-06 10:24 [PATCH 0/7] dts: sunxi: Add sunxi NAND Flash Controller support Aleksei Mamlin
[not found] ` <1465208664-9366-1-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-06 10:24 ` [PATCH 1/7] ARM: dts: sun4i: Add A10 NAND controller pin definitions Aleksei Mamlin
[not found] ` <1465208664-9366-2-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-08 22:04 ` Maxime Ripard
2016-06-06 10:24 ` [PATCH 2/7] ARM: dts: sun4i: Add NFC node to Allwinner A10 SoC Aleksei Mamlin
2016-06-06 10:24 ` [PATCH 3/7] ARM: dts: sun7i: Add A20 NAND controller pin definitions Aleksei Mamlin
2016-06-06 10:24 ` [PATCH 4/7] ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC Aleksei Mamlin
[not found] ` <1465208664-9366-5-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-07 17:21 ` Aleksei Mamlin
2016-06-06 10:24 ` [PATCH 5/7] mtd: nand: Add Hynix H27UBG8T2BTR-BC to nand_ids table Aleksei Mamlin
[not found] ` <1465208664-9366-6-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-06 18:55 ` Boris Brezillon
2016-06-06 19:59 ` Aleksei Mamlin
[not found] ` <20160606225903.264abc01647eb1528cc226bd-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-06 20:31 ` Boris Brezillon
2016-06-06 21:06 ` Aleksei Mamlin [this message]
[not found] ` <20160607000645.5d1f428b40406a5db7cbe285-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-07 5:48 ` Boris Brezillon
2016-06-07 5:49 ` Boris Brezillon
2016-06-06 10:24 ` [PATCH 6/7] ARM: dts: sun4i: Enable NAND on Marsboard A10 Aleksei Mamlin
[not found] ` <1465208664-9366-7-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-06 18:50 ` Boris Brezillon
2016-06-06 10:24 ` [PATCH 7/7] ARM: dts: sun7i: Enable NAND on Wexler TAB7200 Aleksei Mamlin
2016-06-06 18:51 ` Boris Brezillon
[not found] ` <1465208664-9366-8-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-08 22:03 ` Maxime Ripard
2016-06-09 8:11 ` Aleksei Mamlin
[not found] ` <20160609111100.38931fbe05fda9be7a355836-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-10 8:56 ` Maxime Ripard
2016-06-14 11:17 ` [PATCH v2 0/4] dts: sunxi: Add sunxi NAND Flash Controller support Aleksei Mamlin
[not found] ` <1465903058-9211-1-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-14 11:17 ` [PATCH v2 1/4] ARM: dts: sun4i: Add A10 NAND controller pin definitions Aleksei Mamlin
[not found] ` <1465903058-9211-2-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-14 12:37 ` Maxime Ripard
2016-06-14 11:17 ` [PATCH v2 2/4] ARM: dts: sun4i: Add NFC node to Allwinner A10 SoC Aleksei Mamlin
[not found] ` <1465903058-9211-3-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-14 12:33 ` Maxime Ripard
2016-06-14 11:17 ` [PATCH v2 3/4] ARM: dts: sun7i: Add A20 NAND controller pin definitions Aleksei Mamlin
2016-06-14 11:17 ` [PATCH v2 4/4] ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC Aleksei Mamlin
[not found] ` <1465903058-9211-5-git-send-email-mamlinav-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-14 12:33 ` Maxime Ripard
2016-06-14 13:11 ` kbuild test robot
[not found] ` <201606142105.1AaT2uM6%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-06-14 13:19 ` Aleksei Mamlin
[not found] ` <20160614161908.53016f4f22c18e9126a041d2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-06-14 13:57 ` Maxime Ripard
2016-06-14 14:02 ` Aleksei Mamlin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160607000645.5d1f428b40406a5db7cbe285@gmail.com \
--to=mamlinav-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
--cc=computersforpeace-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dwmw2-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-mtd-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
--cc=richard-/L3Ra7n9ekc@public.gmane.org \
--cc=wens-jdAy2FN1RRM@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).