U-Boot memory allocation

Hi guys,

I’m working on memory test program on U-Boot.

I found JTX1 use 2 memory banks,
primary area 0x80000000 - 0xFF200000
extended area 0x100000000 - 0x180000000

I can access primary area, but I can’t access extended area.

Tegra210 (P2371-2180) # bdinfo
arch_number = 0x00000000
boot_params = 0x80000100
CONFIG_SYS_SDRAM_BASE= 0x80000000
Ram top: FF200000
gd->relocaddr: FF11B000
gd->start_addr_sp: FCC14D00
TOTAL_MALLOC_LEN: 02502000
DRAM bank   = 0x00000000
-> start    = 0x80000000
-> size     = 0x7F200000
DRAM bank   = 0x00000001
-> start    = 0x100000000
-> size     = 0x80000000
current eth = unknown
ip_addr     = <NULL>
baudrate    = 115200 bps
TLB addr    = 0xFF1F0000
relocaddr   = 0xFF11B000
reloc off   = 0x7F00B000
irq_sp      = 0xFCC14D00
sp start    = 0xFCC14D00
Tegra210 (P2371-2180) # md.b 0x100000000
100000000:"Synchronous Abort" handler, esr 0x96000001
ELR:     ff166df0
LR:      ff166d88
x0 : 000000000000000a x1 : 0000000000000000
x2 : 0000000000000020 x3 : 0000000100000000
x4 : 0000000000000020 x5 : 00000000ff189172
x6 : 0000000000000010 x7 : 000000000000000f
x8 : 00000000fcc14810 x9 : 0000000000000008
x10: 0000000000000000 x11: 00000000fcc1407a
x12: 0000000000000008 x13: 00000000ffffffff
x14: 00000000ff1231d4 x15: 00000000fcc14d18
x16: 00000000ff11c330 x17: 0000000000010000
x18: 00000000fcc18df8 x19: 0000000000000040
x20: 0000000100000000 x21: 0000000100000000
x22: 0000000000000010 x23: 0000000000000002
x24: 0000000000000003 x25: 0000000000000010
x26: 0000000000000001 x27: 00000000fcc149e8
x28: 0000000000000000 x29: 00000000fcc14960

Resetting CPU ...

resetting ...

I’d like to access extended area.
Is there any solutions?

Hello,
I’m afraid that current u-boot cannot access the address above 4GB.

br
ChenJian