All of lore.kernel.org
 help / color / mirror / Atom feed
From: Francesco Dolcini <francesco@dolcini.it>
To: "João Paulo Gonçalves" <jpaulo.silvagoncalves@gmail.com>
Cc: "Sughosh Ganu" <sughosh.ganu@linaro.org>,
	"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:02:55 +0100	[thread overview]
Message-ID: <20241216190255.GA55577@francesco-nb> (raw)
In-Reply-To: <20241216142842.p5j4otcinwpszt5l@joaog-nb.corp.toradex.com>

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.


> 
> U-Boot 2025.01-rc4-00025-g4ff8ecd9b14e-dirty (Dec 16 2024 - 11:21:18 -0300)
> 
> CPU:   Freescale i.MX8MP[8] rev1.1 1600 MHz (running at 1200 MHz)
> CPU:   Industrial temperature grade (-40C to 105C) at 51C
> Reset cause: POR
> DRAM:  Ram top: FFFFFFFF
> 8 GiB
> ...
> Verdin iMX8MP # bdinfo
> boot_params = 0x0000000000000000
> DRAM bank   = 0x0000000000000000
> -> start    = 0x0000000040000000
> -> size     = 0x00000000c0000000
> DRAM bank   = 0x0000000000000001
> -> start    = 0x0000000100000000
> -> size     = 0x0000000140000000
> flashstart  = 0x0000000000000000
> flashsize   = 0x0000000000000000
> flashoffset = 0x0000000000000000
> baudrate    = 115200 bps
> relocaddr   = 0x00000000ffece000
> reloc off   = 0x00000000bfcce000
> Build       = 64-bit
> current eth = ethernet@30bf0000
> ethaddr     = 6e:79:12:b6:72:24
> IP addr     = <NULL>
> fdt_blob    = 0x00000000ffab8450
> lmb_dump_all:
>  memory.count = 0x1
>  memory[0]      [0x40000000-0x23fffffff], 0x200000000 bytes, flags: none
>  reserved.count = 0x1
>  reserved[0]    [0xffffffff-0x23fffffff], 0x140000001 bytes, flags: no-overwrite
> devicetree  = separate
> arch_number = 0x0000000000000000
> TLB addr    = 0x00000000fffd0000
> irq_sp      = 0x00000000ffab8440
> sp start    = 0x00000000ffab8440
> Early malloc usage: d620 / 10000
> 
> 
> Best Regards,
> João Paulo Gonçalves

  reply	other threads:[~2024-12-16 19:03 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 [this message]
2024-12-16 19:07       ` Sughosh Ganu
2024-12-16 19:29         ` Francesco Dolcini
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=20241216190255.GA55577@francesco-nb \
    --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.