From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] arm: dra7xx: Extend bootloader partition
Date: Wed, 27 Apr 2016 11:11:19 -0400 [thread overview]
Message-ID: <20160427151119.GG29322@bill-the-cat> (raw)
In-Reply-To: <1461694617-13672-1-git-send-email-semen.protsenko@linaro.org>
On Tue, Apr 26, 2016 at 09:16:56PM +0300, Sam Protsenko wrote:
> With FIT images support enabled, u-boot.img size increases up to 612 KiB.
> Extend "bootloader" partition size accordingly.
>
> With extended "bootloader" partition there is no gap between "misc" and
> "efs" partitions anymore. Keep "efs" partition alignment intact anyway
> (start=1280K), so that Android partitions addresses are compatible with
> older versions of u-boot, while size of rest partitions can be adjusted.
>
> Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
That's... really huge. Is there something else that can perhaps come
out to allow that to fit in? Can you share the rest of the config? I'm
not seeing anything close to that by default here. And I bring this up
because...
> ---
> include/configs/dra7xx_evm.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
> index 79b6c09..92373ac 100644
> --- a/include/configs/dra7xx_evm.h
> +++ b/include/configs/dra7xx_evm.h
> @@ -56,7 +56,7 @@
> "partitions_android=" \
> "uuid_disk=${uuid_gpt_disk};" \
> "name=xloader,start=128K,size=128K,uuid=${uuid_gpt_xloader};" \
> - "name=bootloader,size=384K,uuid=${uuid_gpt_bootloader};" \
> + "name=bootloader,size=768K,uuid=${uuid_gpt_bootloader};" \
> "name=environment,size=128K,uuid=${uuid_gpt_environment};" \
> "name=misc,size=128K,uuid=${uuid_gpt_misc};" \
> "name=efs,start=1280K,size=16M,uuid=${uuid_gpt_efs};" \
Given the problem with compatibility with other systems, I think we need
to have xloader-a and xloader-b, or to make the names still be
compatible:
"uuid_disk=${uuid_gpt_disk};" \
"name=xloader-b,start=128K,size=128K,uuid=${uuid_gpt_xloader};" \
"name=xloader,start=128K,size=128K,uuid=${uuid_gpt_xloader};" \
"name=bootloader,size=512K,uuid=${uuid_gpt_bootloader};" \
So that the first xloader is written to what the ROM considers the 3rd
try location. If dra7xx won't actually try from that (I can't easily
test right this moment) then we need another misc inbetween xloader @
128KiB in and u-boot @ 386KiB in so that the U-Boot location is
compatible with the non-Android option.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160427/0ed2b08b/attachment.sig>
next prev parent reply other threads:[~2016-04-27 15:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-26 18:16 [U-Boot] [PATCH] arm: dra7xx: Extend bootloader partition Sam Protsenko
2016-04-27 15:11 ` Tom Rini [this message]
2016-05-02 5:21 ` Lokesh Vutla
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=20160427151119.GG29322@bill-the-cat \
--to=trini@konsulko.com \
--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