Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FSP DRAM configuration for memory with only single channel #52

Open
shehamb opened this issue Jul 6, 2020 · 4 comments
Open

FSP DRAM configuration for memory with only single channel #52

shehamb opened this issue Jul 6, 2020 · 4 comments

Comments

@shehamb
Copy link

shehamb commented Jul 6, 2020

Hello,
We're using the custom hardware (let's call it BRC) based on the Apollo lake's Leaf hill crb.

BRC -> 4 x 16 gib = 8 GiB of memory(4 dual-rank chips organized as 512 M by 32 bits.). This configuration i am able to boot up.

Now, we have new variant of this board (just the memory downsized) with 1 x 8 gib = 1 GiB of LPDDR4 memory (1 single-rank chip organized as 256 M by 32 bits.).
(the other 3 chips were not populated).

(Note: Micron memory is being used : MT53E256M32D2DS-053 in both cases).

This is my DRAM config for these two boards:
8 GiB of memory(4 dual-rank chips organized as 512 M by 32 bits):
Channeln (n = 0, 1, 2, 3):
RankEnable :0x1
DeviceWidth :0x1
DramDensity :0x4
Option :0x3
OdtConfig :0x0
TristateClk1 :0x0
Mode2N :0x0
OdtLevels :0x0

1 GiB of memory(1 single-rank chip organized as 256 M by 32 bits):
Channel0:
RankEnable :0x1
DeviceWidth :0x1
DramDensity :0x2
Option :0x3
OdtConfig :0x0
TristateClk1 :0x0
Mode2N :0x0
OdtLevels :0x0

Channeln (n = 1, 2, 3):
RankEnable :0x0

With this configuration, SBL is not getting past fspmemoryinit(). I am using the FSP debug library from Intel. From that, i am not quite sure what's going wrong. Does anyone of you have experience of using only single channel memory configuration?

I am enclosing the beyond compare snapshot between these two versions (working 4-channel board and single channel board).
Also enclosing the console log for this single channel board. Any leads on this will be really helpful.
brc3-1gb-fsp-debug-only-RankEnable-disabled.txt

fsp-diff-capture

Regards,
Mahesh.

@mauricema
Copy link

Hi, Mahesh,

Maybe you already know that the memory configurations are highly tied to the board design. And the board design needs to follow the APL platform design guide. In your case, you used single rank device on single channel (assuming you are using LPDDR3 or LPDDR4), I am not sure if it is currently supported or not. All Intel's CRB board designs have more than 1 channel.

If you look into some old APL EDS volume 1 doc, you will see it listed supported memory configurations for APL. It stated two channels are supported for "populating CH00 and CH01" and "populating CH10 and CH11". And it also clearly stated "Single 32 bit channel" is not supported. The latest EDS has removed that and stating it can support LPDDR4 memory configuration on CH0 (CH0_CQB) only. Have your board team consulted Intel representative on this board design to ensure it follows the platform design guide ? They might be able to share some of the info on how to provide correct memory configurations as well.

@shehamb
Copy link
Author

shehamb commented Jul 7, 2020 via email

@sivabmc
Copy link

sivabmc commented Mar 29, 2021

Any updates to the issue ? whether Intel FSP supports Single Rank configuration?

@shehamb
Copy link
Author

shehamb commented Mar 30, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants