From: Albert ARIBAUD <albert.u.boot@aribaud.net>
To: u-boot@lists.denx.de
Subject: [U-Boot] Fwd: u-boot.img size limit for spl fat load ?
Date: Mon, 19 Jan 2015 10:51:43 +0100 [thread overview]
Message-ID: <20150119105143.3759d44c@lilith> (raw)
In-Reply-To: <CA+-BmJY=oGWKpo9mi72fVNePau7HEU9tdPzsq02J38NrvqbKoA@mail.gmail.com>
Hello Ayoub,
On Mon, 19 Jan 2015 10:35:56 +0100, Ayoub Zaki
<ayoub.zaki@googlemail.com> wrote:
> Hello Albert,
>
> First tank you so much for inversting your time for replying.
>
> I put some printf in the code and SPL is hanging in spl_load_image_fat
> function.
>
> I also enable the DEBUG messages here the complete log file :
>
> http://pastebin.com/raw.php?i=BwUJXDDb
> So I suspect that SPL is not allocating enough memory to load u-boot.img
> but I can't find where this size limit is set and where I can change it.
This could be an explanation, but so could be loading the U-Boot image
over SPL BSS if it resides in DDR, or SPL malloc'ed data; and I guess
that if the U-Boot image file size was smaller than a hard-coded limit,
there would be a warning or even an error.
Can you check CONFIG_SPL_BSS_* and CONFIG_SYS_SPL_MALLOC_* definitions
against CONFIG_SYS_TEXT_BASE and file size?
> Cheers,
>
> Ayoub
Amicalement,
--
Albert.
next prev parent reply other threads:[~2015-01-19 9:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-16 14:42 [U-Boot] u-boot.img size limit for spl fat load ? Ayoub Zaki
2015-01-19 7:08 ` Albert ARIBAUD
[not found] ` <CA+-BmJZMZ0kP7vr2fwvmEmUNs8UmsUOdW=P3Omg9OSQFDnsxvA@mail.gmail.com>
[not found] ` <20150119102741.01002b0b@lilith>
2015-01-19 9:35 ` [U-Boot] Fwd: " Ayoub Zaki
2015-01-19 9:51 ` Albert ARIBAUD [this message]
2015-01-19 9:54 ` Albert ARIBAUD
2015-01-19 12:20 ` Ayoub Zaki
2015-01-19 12:25 ` Ayoub Zaki
2015-01-19 12:33 ` Ayoub Zaki
2015-01-20 6:38 ` Albert ARIBAUD
2017-10-18 1:48 ` laksonobudi
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=20150119105143.3759d44c@lilith \
--to=albert.u.boot@aribaud.net \
--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