Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation help, no esp32 machine support after compilation (QEMU-200) #97

Open
ShenRen opened this issue Jun 14, 2024 · 0 comments
Open

Comments

@ShenRen
Copy link

ShenRen commented Jun 14, 2024

I followed the instructions to compile the latest qemu code esp-develop-9.0.0-20240606 , but the resulting execution didn't have esp32 machine support. I don't know why. I hope someone can help.

system info

Linux AlgoLaser-PC 5.18.17-amd64-desktop-hwe #20.01.00.10 SMP PREEMPT_DYNAMIC Thu Jun 15 16:17:50 CST 2023 x86_64 GNU/Linux

`

QEMU support for Xtensa

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

Getting and building QEMU wiki

https://wiki.linux-xtensa.org/index.php?title=Xtensa_on_QEMU

esp-toolchain-docs/qemu/esp32

Compiling QEMU

https://github.com/espressif/esp-toolchain-docs/tree/main/qemu/esp32

Building QEMU for Linux

https://wiki.qemu.org/Hosts/Linux#Building_QEMU_for_Linux

sudo apt-get install git libglib2.0-dev libfdt-dev libpixman-1-dev zlib1g-dev ninja-build
sudo apt-get install libslirp-dev slirp libsdl2-dev libgcrypt20-dev

cd qemu

mkdir build
cd build

../configure --help

for esp32

#../configure --target-list=xtensa-softmmu
--enable-gcrypt
--enable-slirp
--enable-debug --enable-sanitizers
--enable-sdl
--enable-sdl-image
--disable-strip --disable-user
--disable-capstone --disable-vnc
--disable-gtk

ninja -C build install

qemu-system-xtensa -machine help
Supported machines are:
kc705 kc705 EVB (dc232b)
kc705-nommu kc705 noMMU EVB (de212)
lx200 lx200 EVB (dc232b)
lx200-nommu lx200 noMMU EVB (de212)
lx60 lx60 EVB (dc232b)
lx60-nommu lx60 noMMU EVB (de212)
ml605 ml605 EVB (dc232b)
ml605-nommu ml605 noMMU EVB (de212)
none empty machine
sim sim machine (dc232b) (default)
virt virt machine (dc232b)
`
The esp32 and esp32s3 are not in the final list of machine support

There were no errors throughout the configuration, build and installation process.

I provide the complete log so that problems can be analyzed.

qemu-build-log.txt

qemu-configtion-log.txt

@github-actions github-actions bot changed the title Compilation help, no esp32 machine support after compilation Compilation help, no esp32 machine support after compilation (QEMU-200) Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants