diff --git a/README.md b/README.md index 6d1c72c96b35247b822c11143238a73e2889c64b..d6e6e83e409be99f8a445dae1ab20580937f3e3e 100644 --- a/README.md +++ b/README.md @@ -27,20 +27,36 @@ their implementation possible. - bin2vhdl program is provided with its Makefile - Hepia-RISC .circ file is provided in hepiariscv2/ - qemu-hr executable is provided in qemu-hr/ -- If you wish to rebuild qemu, the sources are provided in qemu-hr/ +- If you wish to rebuild qemu from source, a patch is provided in qemu-hr/ ### Compiling qemu-hr from source -Enter the qemu-hr sources and build using the qemu build system : +qemu-hr implementation is based on the qemu-avr32 implementation : ``` +git clone https://github.com/flogosec/qemu-avr32.git +mv qemu-avr32 qemu-hr +``` + +Apply provided patch : + +``` +cp qemu-hr.patch qemu-hr/ cd qemu-hr +git apply qemu-hr.patch +``` + +Build qemu-hr using the qemu build system : + +``` mkdir build cd build -../configure +../configure --target-list=hr-softmmu make ``` +For more information on the required dependencies, please review the official documentation at https://wiki.qemu.org/Hosts/Linux + ## Usage ### customasm @@ -95,4 +111,4 @@ Project done as Bachelor Thesis by Dylan Frei under superivision of Florent Glü - HRv2 implementation : complete - QEMU implementation : complete -- LLVM implementation : TODO \ No newline at end of file +- LLVM implementation : TODO