logoalt Hacker News

Show HN: RK3588 QEMU emulator running unmodified Armbian images

29 points • by petabyt • today at 4:52 AM • 8 comments • view on HN

Comments

rolymath • today at 6:04 AM

Can someone explain the ramifications of this

➕ show 1 reply
clivedup • today at 6:55 AM

Sorry to be harsh, but the only thing worth demo'ing is getting such emulation accepted by upstream Qemu. That would be awesome!

dmitrygr • today at 6:24 AM

> I gave it the leaked RK3588 TRM

Heh, not even reverse engineered. OP had the TRM. Writing an emulator while having a TRM is a simple job for a persistent 16 year old (source: i did things like that when i was 16)

➕ show 2 replies
octoberfranklin • today at 7:00 AM

Yeah but can it run the DDR training blobs? Do that and I'll really be impressed.

edit

> Get the proprietary DDR image working

Wow, shit did you really do this? Or are you simply ignoring the DDR image's writes and feeding it plausible-enough values that it believes "the DDR is trained" and proceeds to the next stage?

Actually emulating the DDR controller would be impressive.

The DDR controller is from Synopsys; most of their DDR controllers are in fact a tiny ARC core (different instruction set). Are you emulating that thing too?

edit

> The current test proves that the image returns success with synthetic controller and PHY responses, not that real DDR training is emulated

Ah, so it's just feeding the DDR training blob whatever values it has to in order to get it to move on to the next step. Too bad. Having a real model of the DDR controller would make it straightforward to write one that's open source... making rk3588 the newest blobless CPU by a large margin.