SpacemiT K1 — free LPDDR4/4X DDR init: documentation
This is the project documentation. It is written directly from the firmware in
src/ and from hardware experiments in logsRefs/. Every hardware claim
cites the experiment log that observed it on silicon; unmeasured hardware
details and open configurations are marked [open]:
firmware behaviour and programmed constants cite
src/;measured silicon behaviour cites
logsRefs/NNN-…/readme.md;claims not yet isolated on hardware are marked
[open](or[inferred]/[required]/[design]).
The firmware is a drop-in ddr_fw.bin loaded and called by mainline U-Boot’s
K1 SPL; it brings up the LPDDR4X memory from a cold controller (PLLs, controller
and PHY programming, JEDEC power-up, training of every frequency point and the
final frequency change) with no vendor blob.
Contents
Current status
Part |
State |
|---|---|
Reference board (BPI-F3, 8 GiB, |
|
Samsung |
with independent data-eye at 1066, 1200, |
2 ranks, x8, LPDDR4X) |
1333, 2400 and 2666 MT/s; |
BPI-F3, 16 GiB Micron |
|
|
WL+Vref+delay on both ranks at 1066, 1200, |
LPDDR4X |
1333, 2400 and 2666 MT/s; Linux boot and
soak at stock 2666 ( |
1 rank / x16 (4 GiB) SKUs |
|
LPDDR4 (non-X) |
|
PI training sequencer |
|
Start with Architecture for the subsystem and Boot sequence for how the firmware brings it up.
Evidence labels
Confidence labels:
[measured]Observed on these boards, with the UART in
logsRefs/.[required]Forced by a standard (JEDEC) or by an unavoidable hardware contract.
[inferred]Deduced from measurements and encodings, not observed in isolation.
[design]A decision of this project, not a hardware fact.
[open]Unknown; to be measured.