akifejaz/riscv-pk ? reverse-engineered prompt
Reverse engineered prompt
Build me a RISC V proxy kernel and boot loader project that can run statically linked RISC V ELF programs and also provide a simple boot environment for a RISC V Linux setup.
I want it to be able to build cleanly from a separate build folder, install into a RISC V toolchain prefix, and support both 64 bit and 32 bit targets depending on the configure options. Please make the proxy kernel handle basic host backed I O system calls for programs running on limited RISC V hardware, and include the boot loader pieces needed for a supervisor style environment. If anything needs current toolchain or build instructions, look up the latest docs online and follow the usual RISC V build flow. Keep it practical and working, with a straightforward configure and make setup that matches a normal open source project like this.
Are you gonna build this?
make sure you review the code using coderabbit