From: "Kumar, Udit" <u-kumar1@ti.com>
To: "u-boot@lists.denx.de" <u-boot@lists.denx.de>
Cc: "Raghavendra, Vignesh" <vigneshr@ti.com>,
"Anna, Suman" <s-anna@ti.com>, "Kumar, Udit" <u-kumar1@ti.com>
Subject: Looking for suggestion on using above 4G memory on ARM64
Date: Sun, 24 Sep 2023 10:35:57 +0000 [thread overview]
Message-ID: <555161078c764ca8a112f859a42927e2@ti.com> (raw)
Dear Experts,
I am looking for suggestion/guidance, how to use above 4G memory on in u-boot for ARM 64-bit based architecture.
On our system, we have low memory from
0x8000_0000 to 0xFFFF_FFFF and above 4G
0x8_8000_0000 to 0x8_FFFF_FFFF
As per my understanding, we have following pointers in u-boot
ram_base, ram_top , ram_size
If I keep, above this variables within low memory
ie. ram_base = 0x8000_0000, ram_top = 0x1_0000_0000, ram_size = 0x1_0000_0000
boot is successful, but when I am moving to high memory like
ram_base = 0x8000_0000, ram_top = 0x9_0000_0000, ram_size = 0x2_0000_0000
boot is failing while reallocation for obvious reasons,
Question, I have for which I am looking for advise .
If memory is divided in into two zones, then how we can fit memory using above three variables.
Or is there some other config, which I am missing.
Many Thanks
Udit
P.S. :I noticed few other ARM64 arch restrict gd->ram_top to 0x1_0000_0000
reply other threads:[~2023-09-24 10:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=555161078c764ca8a112f859a42927e2@ti.com \
--to=u-kumar1@ti.com \
--cc=s-anna@ti.com \
--cc=u-boot@lists.denx.de \
--cc=vigneshr@ti.com \
/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