
Heiko & Kever,
just a quick update (to avoid any duplication of effort)…
We have implemented DRAM initialisation in UBoot/SPL for the RK3368-uQ7 already, but it will be a few more days before we can provide patches (the SPL stage is hopelessly large once we MMC support in SPL is enabled … so this first needs back-to-bootrom working).
The first drop from our side will be 32bits, dual-rank — auto-detection of ranks and width will come in later, once I receive modified hardware (i.e. (a) with CS1 held high; (b) with half the memory removed for 16bit mode) from my colleagues.
Regards, Philipp.
On 13 Jun 2017, at 12:47, Kever Yang kever.yang@rock-chips.com wrote:
Heiko,
On 06/13/2017 06:04 PM, Heiko Stübner wrote:
Am Dienstag, 13. Juni 2017, 11:31:53 CEST schrieb Dr. Philipp Tomsich:
Kever,
thanks a lot! I had just started to work on RK3368 SPL code and the DDR controller would have been next on the list… You saved me quite a bit of work there.
Although the sdram drivers for rk3328 and rk3368 only seem to provide the non-spl portions for now.
Kever, is there a rough time estimate for spl support for these socs?
No, I would like to provide them ASAP, but I don't get enough hands now :( so I decide to make the U-Boot recognize correct DRAM size first which is the most important.
(Got a rk3328-rock64 sample yesterday, so would be interested on getting a mainline u-boot to run on it)
You can run mainline u-boot now already, just need to using Rockchip loader instead of SPL before U-Boot.
Thanks,
- Kever