From: Hannes Schmelzer <hannes@schmelzer.or.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] SPL and DM on ZYNQ
Date: Fri, 09 Oct 2015 09:04:26 +0200 [thread overview]
Message-ID: <561766FA.7090802@schmelzer.or.at> (raw)
In-Reply-To: <5616158A.1070403@schmelzer.or.at>
> I've now branched from u-boot-dm.git/zynq-working2 and then merged
> u-boot-spi/master into it.
>
> After a few merge conflicts i'am able to build u-boot and boot it from
> SD with working DM support during SPL and QSPI support.
> The next step was/is burning this file into the QSPI flash and boot
> from it.
>
> burning was now problem, but boot ends up with:
>
> U-Boot SPL 2015.10-rc4-00101-gb6dcb3f-dirty (Oct 08 2015 - 08:42:53)
> qspi boot
> boot device - 8
> uclass_find_device_by_seq: 0 0
> - not found
> uclass_find_device_by_seq: 1 0
> - not found
> Invalid bus 0 (err=-19)
> SPI probe failed.
> ### ERROR ### Please RESET the board ###
>
> maybe there is yet another switch, which needs to be turned on.
> Subject of suspicion is currently "support simple-bus driver in SPL".
> But if i compile with this option,
> boot ends up with:
>
> U-Boot SPL 2015.10-rc4-00101-gb6dcb3f-dirty (Oct 08 2015 - 09:01:35)
> mmc boot
> boot device - 1
> mmc_init: 0, time 58
> spl: mmc boot mode: fs
> reading system.dtb
> Error: allocating memory
> spl_load_image_fat_os: error reading image system.dtb, err - -1
> reading u-boot-dtb.img
> Error: allocating memory
> spl_load_image_fat: error reading image u-boot-dtb.img, err - -1
> spl: mmc: no boot mode left to try
> ### ERROR ### Please RESET the board ###
This is because there is only very limited heap (0x1000) enabled in
zynq-common.h and therefore the FAT buffers cannot be allocated -> solved.
Further i've found out that my board isn't booting from SPI because
there is nothing within "SPL-devicetree" about QSPI.
Can anyone explain me how the "normal" and the "SPL" devicetree is
separated ?
best regards,
Hannes
next prev parent reply other threads:[~2015-10-09 7:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-07 12:50 [U-Boot] SPL and DM on ZYNQ Hannes Schmelzer
2015-10-07 15:59 ` 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 [this message]
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=561766FA.7090802@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.