p1020rdb ddr u-boot only find 1Gig but there is 2Gig.
If you initialize ddr with Lauterbach script you can access 2 Gig ram.
Why it's the default u-boot?
U-Boot 2013.01-dirty (Jan 09 2014 - 10:00:41)
CPU0: P1020E, Version: 1.1, (0x80ec0011)
Core: E500, Version: 5.1, (0x80212051)
Clock Configuration:
CPU0:800 MHz, CPU1:800 MHz,
CCB:400 MHz,
DDR:333.333 MHz (666.667 MT/s data rate) (Asynchronous), LBC:25 MHz
L1: D-cache 32 kB enabled
I-cache 32 kB enabled
Board: P1020RDB-PD CPLD: V4.2 PCBA: V4.0
rom_loc: nor upper bank
SD/MMC : 4-bit Mode
eSPI : Enabled
I2C: ready
SPI: ready
DRAM: Detected UDIMM
1 GiB (DDR3, 32-bit, CL=5, ECC off)
Flash: 64 MiB
L2: 256 KB enabled
NAND: 128 MiB
MMC: FSL_SDHC: 0
PCIe1: Root Complex of mini PCIe SLOT, no link, regs @ 0xffe0a000
PCIe1: Bus 00 - 00
PCIe2: Root Complex of PCIe SLOT, x1, regs @ 0xffe09000
02:00.0 - 1002:6822 - Display controller
02:00.1 - 1002:aab0 - Multimedia device
PCIe2: Bus 01 - 02
In: serial
Out: serial
Err: serial
Net: eTSEC2 is in sgmii mode.
uploading VSC7385 microcode from eff00000
PHY reset timed out
eTSEC1, eTSEC2, eTSEC3 [PRIME]
Hit any key to stop autoboot: 0
Please use U-Boot i2c read command to check contents of the on-board SPD SEEPROM having address 0x52 to be as follows:
00000000 81100B02 03190011 02520108 0F001E00 .........R......
00000010 6978693C 69112C95 00053C3C 012C830D ixi<i.,...<<.,..
00000020 00000000 00000000 00000000 00000000 ................
00000030 00000000 00000000 00000000 00000000 ................
00000040 00000000 00000000 00000000 00000000 ................
00000050 00000000 00000000 00000000 00000000 ................
00000060 00000000 00000000 00000000 00000000 ................
00000070 00000000 00000000 00000000 0000BC35 ...............5
Pay attention to byte 7 - it has to be 0x11 for the 2GB memory.
If the SPD is not correct it has to be reprogrammed - refer to the attached files.
Thank you!
That solved It form me.
/V