danilogf92 / qemu-test-esp32

Debugging an Application on the Emulator (QEMU) ESP32
0 stars 0 forks source link

qemu-system-xtensa #1

Open kuzmanzs opened 2 weeks ago

kuzmanzs commented 2 weeks ago

Hi, could pls give any hint how did you installed 'qemu-system-xtensa'?

danilogf92 commented 2 weeks ago

Hi, in the video tutorial, I explain all the steps to use QEMU with Docker.

email: danilogrnd91@gmail.com

https://youtu.be/U8QyVNGT_ps?si=0BwxQqddgBkXBNwf

kuzmanzs commented 1 week ago

Hi, thanks your reply. I try run it under devcontainer docker, but I have problem during docker start. Start: Run in container: command -v git >/dev/null 2>&1 && ROOT_FOLDER="$(git -C '/home/esp' rev-parse --show-toplevel)" && test "$(stat -c %u "$ROOT_FOLDER")" != "$(id -u)" && echo -n "$ROOT_FOLDER" [2024-11-18T16:40:04.344Z] [2024-11-18T16:40:04.345Z] fatal: not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). .. [2024-11-18T16:40:04.364Z] Exit code 1 [2024-11-18T16:40:04.364Z] Stop (1 ms): Run in container: test -d '/home/esp/.vscode-server/bin/65edc4939843c90c34d61f4ce11704f09d3e5cb6' [2024-11-18T16:40:04.364Z] Start: Run in container: test -d '/vscode/vscode-server/bin/linux-x64/65edc4939843c90c34d61f4ce11704f09d3e5cb6' [2024-11-18T16:40:04.365Z] [2024-11-18T16:40:04.365Z] [2024-11-18T16:40:04.365Z] Stop (1 ms): Run in container: test -d '/vscode/vscode-server/bin/linux-x64/65edc4939843c90c34d61f4ce11704f09d3e5cb6' [2024-11-18T16:40:04.365Z] Start: Run in container: mkdir -p '/home/esp/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/65edc4939843c90c34d61f4ce11704f09d3e5cb6' '/home/esp/.vscode-server/bin/65edc4939843c90c34d61f4ce11704f09d3e5cb6' [2024-11-18T16:40:04.366Z] [2024-11-18T16:40:04.366Z] mkdir: cannot create directory ‘/home/esp/.vscode-server’: Permission denied [2024-11-18T16:40:04.366Z] Exit code 1 [2024-11-18T16:40:04.367Z] Stop (2 ms): Run in container: mkdir -p '/home/esp/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/65edc4939843c90c34d61f4ce11704f09d3e5cb6' '/home/esp/.vscode-server/bin/65edc4939843c90c34d61f4ce11704f09d3e5cb6' [2024-11-18T16:40:04.372Z] Command in container failed: mkdir -p '/home/esp/.vscode-server/bin' && ln -snf [2024-11-18T16:40:04.372Z] mkdir: cannot create directory ‘/home/esp/.vscode-server’: Permission denied

I think it has problem with Permission.

My docker/devcontainer files was generated by the esp example project in VS Code, almost same as yours. If I run it without the mounting binding then it works..

Update: on windows it works well Maybe it is some security issue on newer Ubuntu. Did your test it under Linux?