Live data from Hacker News

TinyEMU – x86 and RISC-V emulator, small and simple while being complete

bellard.org

1–10 of 32 posts

Re: TinyEMU – x86 and RISC-V emulator, small and simple while being complete

#5
I'm still not 100% sure what exactly this is, even after reading the description thrice. Is it basically a RISC-V core in a system with standard x86 PC peripherals, i.e. a very odd but theoretically possible configuration to emulate, in the same way that QEMU (of the same author) lets you attach e.g. a classic VGA controller to an ARM core?

Re: TinyEMU – x86 and RISC-V emulator, small and simple while being complete

#6

I'm still not 100% sure what exactly this is, even after reading the description thrice. Is it basically a RISC-V core in a system with standard x86 PC peripherals, i.e. a very odd but theoretically possible configuration to emulate, in the same way that QEMU (of the same author) lets you attach e.g. a classic VGA controller to an ARM core?

I think it’s both a a RISCV emulator and an x86 emulator. I think it’s both, presumably reusing some pieces allowing systems to be emulated like you say with weird configurations.

Re: TinyEMU – x86 and RISC-V emulator, small and simple while being complete

#8

The B extension never gets any love. The RISC-V crowd hates bitwise anything.

B extension was ratified in 2021, near the end.

It is considerably newer than every extension this emulator implements, and thus reasonable it'd have these and not B.

Re: TinyEMU – x86 and RISC-V emulator, small and simple while being complete

#9
To the risc-v folks: I am looking for a mini-board with a 64bits RISC-V core, USB-C (power+data), many(~30) available GPIOs, easy to flash or boot from a memory card. That for a keyboard firmware directly written in 64bits risc-v assembly.

The BL808 is actually a 32bits risc-v as a main core with a 64bits risc-v core on the side (convoluted hardware programming from the 64bits risc-v core).

The K210 does not seem to have a USB controller (only a UARTUSB dongle).

Then I am lurking on some mango boards, with a D1, the D1 being completely overkill.

Anything else?

Re: TinyEMU – x86 and RISC-V emulator, small and simple while being complete

#10
post #9

To the risc-v folks: I am looking for a mini-board with a 64bits RISC-V core, USB-C (power+data), many(~30) available GPIOs, easy to flash or boot from a memory card. That for a keyboard firmware directly written in 64bits risc-v assembly. The BL808 is actually a 32bits risc-v as a main core with a 64bits risc-v core on the side (convoluted hardware programming from the 64bits risc-v core). The K210 does not seem to…

The soon to be released VisionFive 2 board seems like a good match https://www.starfivetech.com/en/site/boards
Post reply on HN