From: Hannes Schmelzer <hannes@schmelzer.or.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] SPL and DM on ZYNQ
Date: Wed, 07 Oct 2015 14:50:46 +0200 [thread overview]
Message-ID: <56151526.3010709@schmelzer.or.at> (raw)
hi folks,
i am not very familar with driver model until now and so i've a question.
I'm trying to bring up my Zynq ZC702 evalboard using driver-model during
SPL stage (because QSPI needs this).
I simply switched on "Driver Model for SPL" within Kconfig and compiled.
This ends up in:
U-Boot SPL 2015.10-rc4-00050-g996ec1d-dirty (Oct 07 2015 - 13:57:32)
>>spl:board_init_r()
using memory 0xffff10c0-0xffff20c0 for malloc()
spl_init()
dm_init() failed: -2
dm_init_and_scan() returned error -2
### ERROR ### Please RESET the board ###
i had a look into drivers/core/root.c and saw that
device_bind_by_name(NULL, false, &root_info, &DM_ROOT_NON_CONST);
fails.
Any idea why the root-driver cannot be found ?
Maybe there are some switched need to be switched on too.
thanks,
Hannes
next reply other threads:[~2015-10-07 12:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-07 12:50 Hannes Schmelzer [this message]
2015-10-07 15:59 ` [U-Boot] SPL and DM on ZYNQ Simon Glass
2015-10-07 18:01 ` Jagan Teki
2015-10-07 22:22 ` Simon Glass
2015-10-08 7:04 ` Hannes Schmelzer
2015-10-09 7:04 ` Hannes Schmelzer
2015-10-09 13:02 ` Simon Glass
2015-10-09 13:06 ` Hannes Schmelzer
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=56151526.3010709@schmelzer.or.at \
--to=hannes@schmelzer.or.at \
--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.