Skip to contentSkip to conversation

get ram size/end in env var

U-Boot Fabian Cenedese 1 participant 2 messages Mar 18, 2011 – Apr 8, 2011

lore
Share & tools
lore
#0 lore raw

Hi

I want to add in my board's config header an environment command that needs the ram end address (or ram size as ram starts at 0). As the sdram size can differ I'd like to get it at runtime and then jump there with the "go" command (minus some offset). How could I do that?

Thanks

bye Fabi

#1 lore raw
Quoted 7 lines · Fabian Cenedese

Hi

I want to add in my board's config header an environment command that needs the ram end address (or ram size as ram starts at 0). As the sdram size can differ I'd like to get it at runtime and then jump there with the "go" command (minus some offset). How could I do that?

I was wondering if anybody had an idea. I don't know what commands are possible.

Thanks

bye Fabi