public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Jaehoon Chung" <jh80.chung@samsung.com>
To: "'Tom Rini'" <trini@konsulko.com>
Cc: <u-boot@lists.denx.de>, <mbrugger@suse.com>, <pbrobinson@gmail.com>
Subject: RE: [PATCH] board: rpi: Change from CONFIG_ARM64 to CONFIG_PHYS_64BIT
Date: Wed, 6 Nov 2024 08:35:11 +0900	[thread overview]
Message-ID: <02e901db2fdb$5b6bb410$12431c30$@samsung.com> (raw)
In-Reply-To: <20241105223851.GO3600562@bill-the-cat>



> -----Original Message-----
> From: Tom Rini <trini@konsulko.com>
> Sent: Wednesday, November 6, 2024 7:39 AM
> To: Jaehoon Chung <jh80.chung@samsung.com>
> Cc: u-boot@lists.denx.de; mbrugger@suse.com; pbrobinson@gmail.com
> Subject: Re: [PATCH] board: rpi: Change from CONFIG_ARM64 to CONFIG_PHYS_64BIT
>
> On Wed, Nov 06, 2024 at 07:19:36AM +0900, Jaehoon Chung wrote:
> > initrd_high is dependent with CONFIG_PHYS_64BIT configuration.
> > Even though CONFIG_ARM64 is not enabled, CONFIG_PHYS_64BIT can be
> > enabled.
> >
> > Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
> > ---
> >  board/raspberrypi/rpi/rpi.env | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/board/raspberrypi/rpi/rpi.env b/board/raspberrypi/rpi/rpi.env
> > index 30228285edde..47529b0b7a68 100644
> > --- a/board/raspberrypi/rpi/rpi.env
> > +++ b/board/raspberrypi/rpi/rpi.env
> > @@ -61,7 +61,7 @@ dfu_alt_info+=zImage fat 0 1
> >   * only 64M, the remaining 25M starting at 0x02700000 should allow quite
> >   * large initrds before they start colliding with U-Boot.
> >   */
> > -#ifdef CONFIG_ARM64
> > +#ifdef CONFIG_PHYS_64BIT
> >  fdt_high=ffffffffffffffff
> >  initrd_high=ffffffffffffffff
> >  #else
>
> We really need to drop both of those _high variables in all cases and
> set some reasonable bootm_size

To change some reasonable bootm_size, it needs to know the corresponding reasonable value for each SoC.
I can't change and drop all _high variables in all cases now.
In RPI, I will check reasonable bootm_size and update it.

Best Regards,
Jaehoon Chung

>
> --
> Tom



      reply	other threads:[~2024-11-05 23:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20241105221938epcas1p10c135e07759fd408aa11bb5b0b246195@epcas1p1.samsung.com>
2024-11-05 22:19 ` [PATCH] board: rpi: Change from CONFIG_ARM64 to CONFIG_PHYS_64BIT Jaehoon Chung
2024-11-05 22:38   ` Tom Rini
2024-11-05 23:35     ` Jaehoon Chung [this message]

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='02e901db2fdb$5b6bb410$12431c30$@samsung.com' \
    --to=jh80.chung@samsung.com \
    --cc=mbrugger@suse.com \
    --cc=pbrobinson@gmail.com \
    --cc=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