[libre-riscv-dev] pearpc simulator running

Luke Kenneth Casson Leighton lkcl at lkcl.net
Sun Mar 15 12:09:57 GMT 2020


i've just managed to get pearpc running (clang, ./configure
--enable-cpu=generic), and it "boots" the Mandrake-9 PPC 32 (BE)
installation ISO perfectly well.

reading up, historically, it could not boot linux 2.6 kernels (only 2.4).

qemu:
https://wiki.qemu.org/Documentation/Platforms/POWER

that looks... relevant to running kvm, very much less relevant to a
cycle-accurate simulator *however*, we *may* be able to pick up tips
on how to implement an MMU (and a 64-bit UNIX TLB).

there's a set of buildroot configs for ppc 32-bit and 64-bit:
https://github.com/maximeh/buildroot/tree/master/board/qemu/

l.



More information about the libre-riscv-dev mailing list