From: Francesco Dolcini <francesco@dolcini.it>
To: Nishanth Menon <nm@ti.com>
Cc: Emanuele Ghidoli <ghidoliemanuele@gmail.com>,
u-boot@lists.denx.de,
Emanuele Ghidoli <emanuele.ghidoli@toradex.com>,
Neha Malcom Francis <n-francis@ti.com>,
Bryan Brattlof <bb@ti.com>,
Marcel Ziswiler <marcel.ziswiler@toradex.com>
Subject: Re: [PATCH v1 2/2] board: verdin-am62: fix check for minimum memory size
Date: Thu, 24 Aug 2023 16:37:55 +0200 [thread overview]
Message-ID: <ZOdrQzhxGVYyYobd@francesco-nb.int.toradex.com> (raw)
In-Reply-To: <20230824121412.vxgvwo5g2ozk62xt@evergreen>
Hello Nishanth,
On Thu, Aug 24, 2023 at 07:14:12AM -0500, Nishanth Menon wrote:
> On 10:08-20230824, Emanuele Ghidoli wrote:
> > From: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
> >
> > verdin am62 SKUs comes in multiple memory configuration, check that
> > the detected memory is at least 512MB since we have some
> > reserved memory just before this threshold and therefore
> > the module cannot work with less memory.
> >
> > Fixes: 7d1a10659f5b ("board: toradex: add verdin am62 support")
> > Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
> > ---
> > board/toradex/verdin-am62/verdin-am62.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/board/toradex/verdin-am62/verdin-am62.c b/board/toradex/verdin-am62/verdin-am62.c
> > index a3d1d07a0cbf..d09dda5bccc9 100644
> > --- a/board/toradex/verdin-am62/verdin-am62.c
> > +++ b/board/toradex/verdin-am62/verdin-am62.c
> > @@ -28,8 +28,8 @@ int dram_init(void)
> > {
> > gd->ram_size = get_ram_size((long *)CFG_SYS_SDRAM_BASE, CFG_SYS_SDRAM_SIZE);
> >
> > - if (gd->ram_size < SZ_64M)
> > - puts("## WARNING: Less than 64MB RAM detected\n");
> > + if (gd->ram_size < SZ_512M)
> > + puts("## WARNING: Less than 512MB RAM detected\n");
>
> Have you considered fdtdec_setup_mem_size_base
> fdtdec_setup_memory_banksize - in which case the reserved memory
> regions can be changed in dt (will need corresponding custom binaries
> ofcourse)..
I would say that custom binaries is not something we want. Our goal is
to rely on whatever TI is providing and to not deviate from it unless
required. Luckily enough for the moment it works since our
minimum memory size is 512MB.
Francesco
next prev parent reply other threads:[~2023-08-24 14:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-24 8:08 [PATCH v1 0/2] verdin-am62: add u-boot update wrappers and fix check for minimum memory size Emanuele Ghidoli
2023-08-24 8:08 ` [PATCH v1 1/2] verdin-am62: add u-boot update wrappers Emanuele Ghidoli
2023-08-24 11:19 ` Francesco Dolcini
2023-08-24 12:10 ` Nishanth Menon
2023-08-24 14:42 ` Francesco Dolcini
2023-08-28 22:11 ` Marcel Ziswiler
2023-09-09 13:30 ` Tom Rini
2023-08-24 8:08 ` [PATCH v1 2/2] board: verdin-am62: fix check for minimum memory size Emanuele Ghidoli
2023-08-24 11:20 ` Francesco Dolcini
2023-08-24 12:14 ` Nishanth Menon
2023-08-24 14:37 ` Francesco Dolcini [this message]
2023-08-24 14:58 ` Nishanth Menon
2023-08-24 15:52 ` Francesco Dolcini
2023-08-24 16:18 ` Nishanth Menon
2023-09-09 13:30 ` Tom Rini
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=ZOdrQzhxGVYyYobd@francesco-nb.int.toradex.com \
--to=francesco@dolcini.it \
--cc=bb@ti.com \
--cc=emanuele.ghidoli@toradex.com \
--cc=ghidoliemanuele@gmail.com \
--cc=marcel.ziswiler@toradex.com \
--cc=n-francis@ti.com \
--cc=nm@ti.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 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.