logoalt Hacker News

londons_exploretoday at 1:22 PM1 replyview on HN

Is a DDR trainer really that hard to write?

I imagine you dump all the config registers of a running system, and then adjust everything that looks like some timing or drive strength parameter upwards till it stops working properly, downwards till it stops working, and then choose a middle value.

Do that repeatedly for every parameter pre-boot, and then use that config. Perhaps redo that every few hours or when the temperature changes.


Replies

zhovnertoday at 1:36 PM

>Is a DDR trainer really that hard to write?

Since this is an unencrypted binary, I'm sure it won't be difficult to reverse engineer. And it will definitely be open source sooner or later. But first, we'll try to convince Rockchip to open source it. Especially since the RK3576 has other proprietary parts, such as OP-TEE and some registers. Also it has a Cortex M0 core, which is also not documented.