sof icon indicating copy to clipboard operation
sof copied to clipboard

scripts/qemu-check.sh: Add qemu check for mt8195 platform

Open wenliangwu opened this issue 3 years ago • 12 comments

This commit adds mt8195 into the supported platforms in qemu-check.sh. Please help review it.

wenliangwu avatar Jan 27 '22 02:01 wenliangwu

Can one of the admins verify this patch?

reply test this please to run this test once

sofci avatar Jan 27 '22 02:01 sofci

Can one of the admins verify this patch?

gkbldcig avatar Jan 27 '22 02:01 gkbldcig

test this please

marc-hb avatar Jan 27 '22 02:01 marc-hb

Note the qemu branch is still blocked by qemu regression #4186

marc-hb avatar Jan 27 '22 02:01 marc-hb

Eventually this should be added to the matrix in .github/workflows/pull-request.yml too otherwise it will "bitrot"

marc-hb avatar Jan 27 '22 02:01 marc-hb

@marc-hb Should I update ".github/workflows/pull-request.yml" too, or you will help update it when #4186 is fixed.

wenliangwu avatar Jan 27 '22 03:01 wenliangwu

Add now if it works, later if not yet.

marc-hb avatar Jan 27 '22 04:01 marc-hb

@wenliangwu pls check your email, I've sent invite so that CI will run automatically from now on (starts at your next PR)

lgirdwood avatar Jan 27 '22 13:01 lgirdwood

@wenliangwu pls check your email, I've sent invite so that CI will run automatically from now on (starts at your next PR)

Done. Thanks for your invite.

Add now if it works, later if not yet.

@marc-hb I think it can't work now, because mt8195 isn't included in the qemu docker image. Do you suggest me put mt8195 to gcc-build-only list first?

On the other hand, qemu docker image seems to be built from sof-v4.2, but I submitted qemu patch for mt8195 to sof-v5.2.0 (thesofproject/qemu@b85c079). Should I also upload the patch to sof-v4.2? Thanks.

wenliangwu avatar Jan 28 '22 01:01 wenliangwu

When invoked without any argument the script iterates on all SUPPORTED_PLATFORMS. So we can't really merge this before it actually works.

@wenliangwu there is also this possibility: SCRAP

EDIT: sorry I meant https://github.com/thesofproject/sof/commit/c7fc085bd52e9cf6952b4ecc6b5d56c36cc54e79

marc-hb avatar Jul 07 '22 22:07 marc-hb

@lgirdwood As marc-hb mentioned, this is still blocked by https://github.com/thesofproject/sof/issues/4186.

@marc-hb Do you mean I can still add mt8195 to SUPPORTED_PLATFORM; on the other hand, add DEFAULT_PLATFORM excluding mt8195 to keep the default behavior?

wenliangwu avatar Jul 11 '22 02:07 wenliangwu

add DEFAULT_PLATFORM excluding mt8195 to keep the default behavior?

Yes this is what I meant exactly. Copy the feature that makes a difference between SUPPORTED_ vs DEFAULT_ from the other scripts. Copy that feature only if you think it will make your life easier, otherwise don't bother.

marc-hb avatar Jul 11 '22 07:07 marc-hb

Converting to draft, no activity in 3 months.

kv2019i avatar Apr 24 '23 09:04 kv2019i