Open FransM opened 6 months ago
You seem to be compiling the qemu-system-aarch64
target. Is that the emulation target you need, given that you are using the Espressif fork?
You seem to be compiling the
qemu-system-aarch64
target. Is that the emulation target you need, given that you are using the Espressif fork?
No, I want to build the esp32 version. Guess I am confused by the instructions. I checked out https://github.com/espressif/qemu
I'm at this commit. commit fe80b1870651ef1227bffd7d4151aa2ce4bcf65f (HEAD -> esp-develop, origin/esp-develop, origin/HEAD) Author: Ivan Grokhotkov ivan@espressif.com Date: Tue Jan 23 17:10:09 2024 +0100
hw/sd: dwc_sdmmc: save clksrc register as well
The documentation on https://github.com/espressif/qemu says
Building
QEMU is multi-platform software intended to be buildable on all modern Linux platforms, OS-X, Win32 (via the Mingw64 toolchain) and a variety of other UNIX targets. The simple steps to build QEMU are:
mkdir build
cd build
../configure
make
So I figured that, since I was at the esp fork everything was configured for esp Guess the README.rst file could be improved.
No idea what I should do to get this building
Sorry for the confusion — we haven't made any changes to the readme file compared to the upstream version.
Please check the instructions over here: https://github.com/espressif/esp-toolchain-docs/blob/main/qemu/README.md (the link is in the description of this GitHub repo).
@igrr Thanks for the pointer. Probably change the README.md file in https://github.com/espressif/qemu or at least add a note in the beginning pointing to the right location. Currently if you go to the archive and just start reading you end up with the above question. With the page you linked I was able to build qemu. Leaving it to you to close this or keep it open until the main README.md is updated.
While trying to build head I get a linker error
xlnx_efuse_calc_crc is defined in ../hw/nvram/xlnx-efuse-crc.c but that file is not compiled
I'm not familiar enough with the build structure and ninja to come up with a patch.
Build system is Ubuntu 22.04