Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: RK3588 QEMU emulator running unmodified Armbian images (opens external site)

60 points by petabyt 2 days ago | github.com | 36 comments on HN | Vote on HN (opens Hacker News) |

View full thread · View on Hacker News

Comment thread (4)

  1. There's a middle ground that I think the parent poster is suggesting, where someone could LLM-launder the proprietary blob and documentation; basically, feed the imem/dmem images for the ARC core along with any "obtained" documentation into an LLM and have it write a fudged emulator for the various physical-layer peripherals which the ARC core manipulates to perform training. Then, use that laundered emulator as an oracle to write an "open-source" (for some definition) version of the ARC firmware. That is to say: you don't need to emulate the actual PHYs and RF stuff, you just need to emulate the register states that appear as results in various training states.

    I believe this has been done for Tegra and a few other SoCs even pre-LLM using "traditional" RE, both "cleaned" and "dirty" (ie - some where one person read the disassembly for training and re-implemented it, and others where someone produced documentation in the middle).

    Replies (2)
    1. rkbin blob for rk3588 doesn't deal with any ARC firmware. And RK3588 TRM has about 500 pages of documentation for the controller. ;)
    2. where someone could LLM-launder the proprietary blob and documentation

      To be clear, it's not laundering if you have one LLM look at the binary and write a spec, and the other LLM works only with the spec, and the spec isn't code.

      There is decades of court precedent and an entire industry (PCs) behind this.

      Replies (1)
      1. Laundering - as in, it makes it clean - I suppose I was using the term too casually, but we agree :)