From: Francesco Dolcini <francesco@dolcini.it>
To: Sughosh Ganu <sughosh.ganu@linaro.org>
Cc: "Francesco Dolcini" <francesco@dolcini.it>,
"João Paulo Gonçalves" <jpaulo.silvagoncalves@gmail.com>,
"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
"Tom Rini" <trini@konsulko.com>,
"Francesco Dolcini" <francesco.dolcini@toradex.com>,
"João Paulo Gonçalves" <joao.goncalves@toradex.com>,
u-boot@lists.denx.de
Subject: Re: [REGRESSION] Out of memory error: unable to boot on imx8mp/imx8mm
Date: Mon, 16 Dec 2024 20:29:54 +0100 [thread overview]
Message-ID: <Z2B_sqO2XcAMIF3H@gaggiata.pivistrello.it> (raw)
In-Reply-To: <CADg8p96Aiy-DBNc8piA5gN01E+iWHZJ4OGhY5qjOK1wCUS-O7Q@mail.gmail.com>
On Tue, Dec 17, 2024 at 12:37:38AM +0530, Sughosh Ganu wrote:
> On Tue, 17 Dec 2024 at 00:33, Francesco Dolcini <francesco@dolcini.it> wrote:
> >
> > Hello,
> >
> > On Mon, Dec 16, 2024 at 11:28:42AM -0300, João Paulo Gonçalves wrote:
> > > Hi Sughosh,
> > >
> > > > Can you show the output of bdinfo. And also print the value of ram_top
> > > > while booting the board.
> > > >
> > >
> > > Below are ram_top and bdinfo:
> >
> > We briefly discussed this off list, what is likely happen is that our
> > heap is after 0xFFFFFFFF, or said in a simpler way in the 64-bit address
> > space, while ram top is at the 4GB boundary.
> >
> > The solution seems to either move the heap down or move ram top up.
>
> I am not sure I understand. Isn't the heap memory part of the U-Boot
> image, meaning it will always be below the ram_top? How do you have
> this configuration where the heap is above ram_top? Can you point me
> to the code where the heap is getting set above ram_top.
I just guessed this, I might be plain wrong. I assume some malloc is failing,
maybe Joao can confirm.
Francesco
next prev parent reply other threads:[~2024-12-16 19:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-16 11:42 [REGRESSION] Out of memory error: unable to boot on imx8mp/imx8mm João Paulo Gonçalves
2024-12-16 13:14 ` Sughosh Ganu
2024-12-16 14:28 ` João Paulo Gonçalves
2024-12-16 19:02 ` Francesco Dolcini
2024-12-16 19:07 ` Sughosh Ganu
2024-12-16 19:29 ` Francesco Dolcini [this message]
2024-12-16 19:32 ` Sughosh Ganu
2024-12-16 19:35 ` Ilias Apalodimas
2024-12-16 19:40 ` Francesco Dolcini
2024-12-16 22:05 ` Sughosh Ganu
2024-12-17 11:18 ` João Paulo Gonçalves
2024-12-17 11:25 ` Francesco Dolcini
2024-12-17 12:29 ` Sughosh Ganu
2024-12-17 11:55 ` Ilias Apalodimas
2024-12-17 12:38 ` João Paulo Gonçalves
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=Z2B_sqO2XcAMIF3H@gaggiata.pivistrello.it \
--to=francesco@dolcini.it \
--cc=francesco.dolcini@toradex.com \
--cc=ilias.apalodimas@linaro.org \
--cc=joao.goncalves@toradex.com \
--cc=jpaulo.silvagoncalves@gmail.com \
--cc=sughosh.ganu@linaro.org \
--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 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.