I got Linux running in a PDF file using a RISC-V emulator.
PDFs support Javascript, so Emscripten is used to compile the TinyEMU emulator to asm.js, which runs in the PDF. It boots in about 30 seconds and emulates a riscv32 buildroot system.
https://linux.doompdf.dev/linux.pdf
https://github.com/ading2210/linuxpdf
PDFs support Javascript, so Emscripten is used to compile the TinyEMU emulator to asm.js, which runs in the PDF. It boots in about 30 seconds and emulates a riscv32 buildroot system.
https://linux.doompdf.dev/linux.pdf
https://github.com/ading2210/linuxpdf
Comments