Other Parts Discussed in Thread: SYSCONFIG
Hello,
On our design base on AM625 we have 2 DDR4 chipset connected.
So the u-boot device-tree has been modified has followed:
memory@80000000 {
device_type = "memory";
/* 4G RAM */
reg = <0x00000000 0x80000000 0x00000000 0x40000000>,
<0x00000008 0x80000000 0x00000000 0x40000000>;
};
U-boot is seeing the 2 memory:
=> bdinfo
boot_params = 0x0000000000000000
DRAM bank = 0x0000000000000000
-> start = 0x0000000080000000
-> size = 0x0000000040000000
DRAM bank = 0x0000000000000001
-> start = 0x0000000880000000
-> size = 0x0000000040000000
flashstart = 0x0000000000000000
flashsize = 0x0000000000000000
flashoffset = 0x0000000000000000
baudrate = 115200 bps
relocaddr = 0x00000000bff19000
reloc off = 0x000000003f719000
Build = 64-bit
current eth = ethernet@8000000port@1
ethaddr = 64:1c:10:21:fa:6f
IP addr = <NULL>
fdt_blob = 0x00000000b7eefa20
new_fdt = 0x00000000b7eefa20
fdt_size = 0x00000000000093c0
multi_dtb_fit= 0x0000000000000000
lmb_dump_all:
memory.cnt = 0x2
memory.size = 0x0
memory.reg[0x0].base = 0x80000000
.size = 0x40000000
memory.reg[0x1].base = 0x880000000
.size = 0x40000000
reserved.cnt = 0x3
reserved.size = 0x0
reserved.reg[0x0].base = 0x9db00000
.size = 0xc00000
reserved.reg[0x1].base = 0x9e780000
.size = 0x1880000
reserved.reg[0x2].base = 0xb7eee620
.size = 0x81119e0
arch_number = 0x0000000000000000
TLB addr = 0x00000000bfff0000
irq_sp = 0x00000000b7eefa10
sp start = 0x00000000b7eefa10
Early malloc usage: 2f30 / 8000
But the result using mtest show the performance of the RAM at 0x880000000 are not good:
Start | Ebd | Size (MegaByte) | Time (sec) |
80000000 | 90000000 | 262 | 0,46 |
80000000 | A0000000 | 524 | 1,23 |
80000000 | B0000000 | 786 | 1,67 |
80000000 | B7000000 | 901 | 1,77 |
80000000 | B7500000 | 906 | 1,77 |
80000000 | B7600000 | 907 | 1,77 |
80000001 | BFFFFFFF | 1048 | OK |
880000000 | 890000000 | 262 | 7,43 |
880000000 | 8A0000000 | 524 | 15,51 |
880000000 | 8B0000000 | 786 | 22,46 |
880000000 | 8BFFFFFFF | 1048 |
29,87 |
I use the online sysconfig tools for setting the DDR4 parameters and include the following file in the device-tree of u-boot.
4214.AM62x-LP4-50-800_dualrank_SVB.txt
Let me know what can be the issue with the performance of the DDR4 at 0x880000000 ?
Regards,
Alexis.