All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nikolai Zhubr <n-a-zhubr@yandex.ru>
To: u-boot@lists.denx.de
Subject: [U-Boot] SPL variant of sunxi nand module
Date: Sun, 23 Dec 2018 21:58:07 +0300	[thread overview]
Message-ID: <5C1FDABF.5050407@yandex.ru> (raw)
In-Reply-To: <5C1FCFB7.1070809@yandex.ru>

Hi again,

23.12.2018 21:11, I wrote:
[...]
> Indeed, its an index, and therefore it appears SPL's detection actually
> gives correct values! Nevertheless, SPL reads all zeroes from nand.

Regarding the sunxi_nand_spl.c module, I can not find any mention if it 
implies NAND_ECC_HW, NAND_ECC_HW_SYNDROME, or rather some other mode, or 
if these modes are irrelevant in this case?

Can not guess browsing through the code, it looks too different from 
sunxi_nand.c to compare.


Thank you,

Regards,
Nikolai


> On the other hand, normal U-boot variant reads correct data from nand,
> but I'm not yet sure if it uses correct parameters and specifically, if
> they match those of SPL version. Need to add yet more debugging output.
>
>
> Thank you,
>
> Regards,
> Nikolai
>
>> Michael
>>
>>>
>>> Now the detection routine in sunxi_nand_spl apparently comes up with a
>>> value of ecc_strength=4 instead... Why is that?
>>
>> n - 1 using an index, if the code that I have is aligned so
>>
>> Michael
>>
>>>
>>>
>>> Thank you,
>>>
>>> Regards,
>>> Nikolai
>>>
>>>
>>>>
>>>>
>>>> Thank you,
>>>>
>>>> Regards,
>>>> Nikolai
>>>> _______________________________________________
>>>> U-Boot mailing list
>>>> U-Boot at lists.denx.de
>>>> https://lists.denx.de/listinfo/u-boot
>>>
>>> _______________________________________________
>>> U-Boot mailing list
>>> U-Boot at lists.denx.de
>>> https://lists.denx.de/listinfo/u-boot
>>
>>
>>
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

  reply	other threads:[~2018-12-23 18:58 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-23 13:29 [U-Boot] SPL variant of sunxi nand module Nikolai Zhubr
2018-12-23 16:04 ` Nikolai Zhubr
2018-12-23 15:54   ` Michael Nazzareno Trimarchi
2018-12-23 18:11     ` Nikolai Zhubr
2018-12-23 18:58       ` Nikolai Zhubr [this message]
2018-12-23 21:00         ` Nikolai Zhubr
2018-12-23 21:47           ` Nikolai Zhubr
2018-12-29 20:08             ` Nikolai Zhubr

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=5C1FDABF.5050407@yandex.ru \
    --to=n-a-zhubr@yandex.ru \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.