All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [PATCH 10/10] arm64: versal: Set initrd_high to as high as possible
Date: Tue, 27 Oct 2020 08:29:10 +0100	[thread overview]
Message-ID: <CAHTX3dL_Yy=o9H2ZDhDjiMLgt=iwj7wyNgoOvZoje9b4jcgZZg@mail.gmail.com> (raw)
In-Reply-To: <992219ea-29dc-aa74-808d-0ba794a83233@xilinx.com>

p? 23. 10. 2020 v 7:44 odes?latel Michal Simek <michal.simek@xilinx.com> napsal:
>
>
>
> On 22. 10. 20 19:45, Tom Rini wrote:
> > On Thu, Oct 22, 2020 at 12:32:22PM +0200, Michal Simek wrote:
> >
> >> From: Siva Durga Prasad Paladugu
> >> <siva.durga.paladugu@xilinx.com>
> >>
> >> This patch is setting up the initrd_high to as high as possible
> >> by leaving max stack size for u-boot so that bigger rootfs can
> >> also be loaded by u-boot for booting kernel.
> >>
> >> Signed-off-by: Siva Durga Prasad Paladugu
> >> <siva.durga.paladugu@xilinx.com> Signed-off-by: Michal Simek
> >> <michal.simek@xilinx.com> ---
> >>
> >> board/xilinx/versal/board.c | 4 ++++ 1 file changed, 4
> >> insertions(+)
> >>
> >> diff --git a/board/xilinx/versal/board.c
> >> b/board/xilinx/versal/board.c index 912c1143a8ad..09229e0a75a4
> >> 100644 --- a/board/xilinx/versal/board.c +++
> >> b/board/xilinx/versal/board.c @@ -217,6 +217,10 @@ int
> >> board_late_init(void)
> >>
> >> env_set("boot_targets", new_targets);
> >>
> >> +    initrd_hi = gd->start_addr_sp - CONFIG_STACK_SIZE; +    initrd_hi
> >> = round_down(initrd_hi, SZ_16M); +   env_set_addr("initrd_high",
> >> (void *)initrd_hi); + return board_late_init_xilinx(); }
> >
> > My concern here (and also microblaze-generic, after some grepping)
> > is that wouldn't it be best to set bootm_size and let fdt and
> > initrd be relocated as needed?
>
> You are right and I have already done it in this way but forget to
> remove this patch from my queue. Will drop this patch.
>
> Thanks,
> Michal

This patch has been dropped from the series.
1-9 applied.
M


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP/Versal SoCs

  reply	other threads:[~2020-10-27  7:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-22 10:32 [PATCH 00/10] xilinx: common: Several minor fixups Michal Simek
2020-10-22 10:32 ` [PATCH 01/10] arm64: zynqmp: Fix zynqmp mini qspi max frequency Michal Simek
2020-10-22 10:32 ` [PATCH 02/10] xilinx: common: Protect board_late_init_xilinx() Michal Simek
2020-10-22 10:32 ` [PATCH 03/10] xilinx: Add DDR base address to bootscript address Michal Simek
2020-10-22 10:32 ` [PATCH 04/10] xilinx: Enable FRU command for all ARM based platforms Michal Simek
2020-10-22 10:32 ` [PATCH 05/10] xilinx: zynq: Change types from u32 to uint32_t Michal Simek
2020-10-22 10:32 ` [PATCH 06/10] xilinx: zynq: Enable AES command Michal Simek
2020-10-22 10:32 ` [PATCH 07/10] xilinx: Enable SF_TEST command for all ARM based platforms Michal Simek
2020-10-22 10:32 ` [PATCH 08/10] xilinx: Remove additional newline in config files Michal Simek
2020-10-22 10:32 ` [PATCH 09/10] xilinx: Merge together BOOT_SCRIPT_OFFSET between MB and ARM Michal Simek
2020-10-22 10:32 ` [PATCH 10/10] arm64: versal: Set initrd_high to as high as possible Michal Simek
2020-10-22 17:45   ` Tom Rini
2020-10-23  5:43     ` Michal Simek
2020-10-27  7:29       ` Michal Simek [this message]
2020-10-27  7:27 ` [PATCH 00/10] xilinx: common: Several minor fixups Michal Simek

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='CAHTX3dL_Yy=o9H2ZDhDjiMLgt=iwj7wyNgoOvZoje9b4jcgZZg@mail.gmail.com' \
    --to=monstr@monstr.eu \
    --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.