public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* Looking for suggestion on using above 4G memory on ARM64
@ 2023-09-24 10:35 Kumar, Udit
  0 siblings, 0 replies; only message in thread
From: Kumar, Udit @ 2023-09-24 10:35 UTC (permalink / raw)
  To: u-boot@lists.denx.de; +Cc: Raghavendra, Vignesh, Anna, Suman, Kumar, Udit

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-24 10:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-24 10:35 Looking for suggestion on using above 4G memory on ARM64 Kumar, Udit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox