Skip to content

[BUG] IMX8 QEMU boot failed - qemu-check.sh regression after qemu commit f71c955 in sof-4.2 branch #4186

@fredoh9

Description

@fredoh9

@marc-hb EDIT: this is a QEMU/IMX regression, Docker is only the messenger.
This is blocking any qemu progress like

Describe the bug
SOF Docker images were upgraded to Ubuntu 20.04 and proxy-free changes.

after the upgrade, IMX QEMU boot failed

Run ./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh ${PLATFORM}
+ '[' -z 2.0 ']'
+ timeout --foreground 2.0 /home/sof/qemu/xtensa-softmmu/qemu-system-xtensa -cpu imx8 -M adsp_imx8 -nographic -kernel /home/sof/sof.git/build_imx8_gcc/src/arch/xtensa/sof-imx8.ri
qemu-system-xtensa: terminating on signal 15 from pid 16 (timeout)
Error: Process completed with exit code 1.

To Reproduce
for new sofqemu docker image : thesofproject/sofqemu:20210511_2
for stable sofqemu docker image : thesofproject/sofqemu:20200422

As I restored back to known stable image, need to use new image to reproduce the problem.

# Use latest sof doker image as this image is great
docker pull thesofproject/sof
docer tag thesofproject/sof sof

# build SOF FWs...

# Use the problematic sofqemu image instead of latest
docker pull thesofproject/sofqemu:20210511_2
docker tag thesofproject/sofqemu:20210511_2 sofqemu

cd SOF_BUILD_ROOT
./scripts/docker-qemu.sh ../sof.git/scripts/qemu-check.sh imx8

Reproduction Rate
10/10, 100%

Metadata

Metadata

Assignees

Labels

IMXApplies to i.MX platformP2Critical bugs or normal featuresbugSomething isn't working as expectedgood first issueGood for newcomersstaleIssue/PR marked as stale and will be closed after 14 days if there is no activity.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions