Repository navigation
Build mt8195 mt8186 into SOF docker image - #5388
Conversation
|
The CI build for mt8195 and mt8186 is still failed with this PR. |
I don't understand. First this PR needs to be merged, then someone needs to rebuild and publish a new Docker image. Only then can the toolchain be used in other PRs. The Docker update process is all manual for now, see discussion in #5073 We don't update the docker image very often so it has not been worth the effort to fully automate its creation and test. Did you build a new docker image on your system with this change? Then did you test it that docker image, I mean did you try to build SOF with it? |
|
Oh, I get your point. I had a miss understanding of the process when I test the CI by this PR. I guess I can close this PR and wait until the Docker image updated. |
|
Hi @marc-hb I wonder what is missing for a docker image that supports targeting mt81xx? [1] thesofproject/xtensa-overlay@ccd9727 |
|
@fredoh9 can you try this? |
Just trying to make sure there is no misunderstanding: @afq984 you did test this PR on your personal system, correct? I mean you created a Docker image with the mt818x toolchains and tested them and they worked fine? Manual and local testing is required because we have no automated testing for Docker changes (#5073). I'm asking because |
no, I ran into some weird ulimit issues to build the image that I hadn't figure out
It was @tinghan-shen, not me :) |
|
Some ulimit defaults are often too small for crosstool-ng https://github.com/crosstool-ng/crosstool-ng/issues?q=ulimit Just trying increasing the failing ones temporarily in the terminal before cleaning and trying to build again |
I'm sorry. I haven't done it since then. I'll find some time to do it. |
Thank you!
But this PR can still:
It's your PR so you can do what you want, just some suggestions :-) |
|
@tinghan-shen I wonder what you're expecting with your recent, "debug" pushes... did you misunderstand or forget this below?
Changes to |
There was a problem hiding this comment.
The set -x should print the command below which contains $SOF_DOCKER_RUN
There was a problem hiding this comment.
This is a hack and dropped now.
There was a problem hiding this comment.
Our documentation used to recommend creating such a local sof tag but I removed it after wasting too much time forgetting to update it.
There was a problem hiding this comment.
This is a hack and dropped now.
Hi Marc, I had a local build SOF docker image and still under testing. |
|
@marc-hb, my local built SOF docker image can build mt8186 and mt8195 image after applied the docker_build commit in this PR. Will intel update the image on dockerhub? or I can update it? |
marc-hb
left a comment
There was a problem hiding this comment.
Great news, thanks! Let's merge this and yes someone at Intel will update the Docker image (I can't promise when exactly)
|
thanks for doing this :) |
Should I remove the change for .github before the Docker image updated? |
Yes please. It requires an updated Docker image. You can comment it out and leave a TODO. |
Add support for building mt8186 and mt8195 toolchain in docker image. Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
Add masked mt81xx gcc build to pull request tests. Unmask mt81xx after docker image updated with mt81xx toolchain. Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
Updated. Thanks! |
marc-hb
left a comment
There was a problem hiding this comment.
ICL-only Copy build to DUT FAIL in https://sof-ci.01.org/sof-pr-viewer/#/build/PR5388/build9383529, @wszypelt any idea?
Unfortunately common suspend/resume failures in https://sof-ci.01.org/sofpr/PR5388/build430/devicetest, unrelated.
|
SOFCI TEST |
|
|
Added to Github Actions in Thank you @fredoh9 for the Docker update. |
test test
Signed-off-by: Tinghan Shen tinghan.shen@mediatek.com