Skip to content

Conversation

@stephanosio
Copy link
Member

@stephanosio stephanosio commented Jul 22, 2025

The original change making QEMU use Zephyr SeaBIOS fork, 1bf6f4a, was dropped by mistake during the upgrade to QEMU 10.0.2.

This commit updates the QEMU recipe to use the pre-built x86 BIOS binaries from the Zephyr SeaBIOS fork.

The Zephyr SeaBIOS fork contains a few additional patches to make debugging more convenient for x86 QEMU targets (e.g. not clearing screen on reset).


Fixes #967

To be backported to v0.17-branch.

@stephanosio
Copy link
Member Author

stephanosio commented Jul 22, 2025

Something funny happens with the current Zephyr SeaBIOS and QEMU 10.0.2 -- it hangs for around 30 seconds at start-up before booting into Zephyr.

To be investigated ...

We are probably using a SeaBIOS version too old for QEMU 10 -- from https://gitlab.com/qemu-project/qemu/-/issues/2393:

It seems QEMU since 8.2 needs SeaBIOS 1.16.3, for AHCI as per the debug b523a3d5

I can confirm that it works again with seabios 1.16.3.
Thanks @chewi for bumping 😄
I'm also going to close this issue.

The original change making QEMU use Zephyr SeaBIOS fork,
1bf6f4a, was dropped by mistake during
the upgrade to QEMU 10.0.2.

This commit updates the QEMU recipe to use the pre-built x86 BIOS
binaries from the Zephyr SeaBIOS fork.

The Zephyr SeaBIOS fork contains a few additional patches to make
debugging more convenient for x86 QEMU targets (e.g. not clearing screen
on reset).

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
@stephanosio stephanosio force-pushed the qemu_zephyr_seabios branch from 1894cfc to 4d2192e Compare July 22, 2025 05:20
@stephanosio
Copy link
Member Author

V2

  • Released Zephyr SeaBIOS v1.16.3-2 based on SeaBIOS v1.16.3 as required by QEMU 10.0.2.
  • Updated QEMU recipe to include Zephyr SeaBIOS v1.16.3-2.

@stephanosio stephanosio requested a review from dcpleung July 22, 2025 05:26
@stephanosio
Copy link
Member Author

Tested and verified to be functional with qemu_x86 and qemu_x86_64 targets.

@stephanosio stephanosio merged commit 1bffdc9 into zephyrproject-rtos:main Jul 22, 2025
45 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

QEMU x86 and x86_64 reset terminal with SDK 0.17

2 participants