From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] imximage: MAX_HW_CFG_SIZE_V2 too small for i.MX6D?
Date: Wed, 14 May 2014 10:18:38 +0200 [thread overview]
Message-ID: <537326DE.5050807@denx.de> (raw)
In-Reply-To: <CAD0gWNZeGS8Ma29QST+c33b-JHgvWfv4-BXSe7hsy1QU5F2N+A@mail.gmail.com>
Hi Arne,
On 14/05/2014 06:07, Arne Rovet wrote:
> MAX_HW_CFG_SIZE_V2 is defined as 121 in tools/imximage.h, but I think
> the processor reference manual implies it can be larger (i.MX
> 6Dual/6Quad Applications Processor Reference Manual, Rev. 1, 04/2013).
>
> In the section labelled "8.6.2 Device Configuration Data (DCD)" it
> says the DCD can be a maximum of 1768 bytes:
> "The maximum size of the DCD limited to 1768 bytes."
It is the same for MX53 - header V2 is valid for i.MX6 and also for i.MX53.
>
> Have I misunderstood the link between the DCD size and
> MAX_HW_CFG_SIZE_V2? If so, where did the value of 121 for
> MAX_HW_CFG_SIZE_V2 come from?
I cannot answer this question. But even if the DCD can be longer, there
is an initial load region size that is differnet (table 7-26 on i.MX53
manual, table 8-26 on i.MX6Q manual). For example, on SD the i-MX53
loads up 2KB, the i.MX6Q 4KB. The whole header must fit in the initial
load region.
The main question is also if a large DCD table is needed. The DCD is
supposed in U-Boot to set up the minimal requirement to let the
processor to copy the u-boot image into RAM - the rest can be done in
U-Boot code after the boot ROM has completed its job.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================
next prev parent reply other threads:[~2014-05-14 8:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-14 4:07 [U-Boot] imximage: MAX_HW_CFG_SIZE_V2 too small for i.MX6D? Arne Rovet
2014-05-14 8:18 ` Stefano Babic [this message]
2014-05-14 13:01 ` Arne Rovet
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=537326DE.5050807@denx.de \
--to=sbabic@denx.de \
--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.