public inbox for u-boot@lists.denx.de
 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 16:29:32 +0300	[thread overview]
Message-ID: <5C1F8DBC.1010304@yandex.ru> (raw)

Hi all,

While fighting with this A20-olinuxino nand boot process I've initially 
found that some essential nand-related parameters are apparently missing 
by default, preventing reasonable nand operation, so I started debugging 
this gradually.

 > U-Boot SPL 2019.01-rc2 (Dec 20 2018 - 16:30:46 +0300)
 > CPU: 912000000Hz, AXI/AHB/APB: 3/2/2
 > DRAM: 1024 MiB
 > Trying to boot from NAND

Now I've discovered that SPL-build variant of sunxi_nand module is 
missing the sunxi_nand_init() whatsoever. Apparently it is on purpose, 
because:

#ifndef CONFIG_SPL_BUILD
         sunxi_nand_init();
#endif

And I cannot simply un-ifdef sunxi_nand_init() here, because the SPL 
build would fail with undefined symbol then, but I'm wondering, where 
are all values (like ECC strength and such) are expected to come from 
instead? Is SPL nand loader is supposed to be usable at all currently?


Thank you,

Regards,
Nikolai

             reply	other threads:[~2018-12-23 13:29 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-23 13:29 Nikolai Zhubr [this message]
2018-12-23 16:04 ` [U-Boot] SPL variant of sunxi nand module Nikolai Zhubr
2018-12-23 15:54   ` Michael Nazzareno Trimarchi
2018-12-23 18:11     ` Nikolai Zhubr
2018-12-23 18:58       ` Nikolai Zhubr
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=5C1F8DBC.1010304@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox