Skip to content

Conversation

@marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Nov 18, 2021

As documented in
https://docs.zephyrproject.org/latest/guides/west/build-flash-debug.html#one-time-cmake-arguments
and accidentally found when testing rimage cleanup
zephyrproject-rtos/zephyr#40431

Fixes commit 88327f6 ("xtensa-build-zephyr: support passing through
CMake arguments"); ccache is too good and hid this regression from me.

Signed-off-by: Marc Herbert [email protected]

As documented in
https://docs.zephyrproject.org/latest/guides/west/build-flash-debug.html#one-time-cmake-arguments
and accidentally found when testing rimage cleanup
zephyrproject-rtos/zephyr#40431

Fixes commit 88327f6 ("xtensa-build-zephyr: support passing through
CMake arguments"); ccache is too good and hid this regression from me.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 18, 2021

Unrelated, ICL-specific failure in https://github.com/thesofproject/sof/runs/4246023113?check_suite_focus=true

+ west sign --build-dir build-icl --tool rimage --tool-path build-rimage/rimage --tool-data modules/audio/sof/rimage/config -- -k modules/audio/sof/keys/otc_private_key.pem
Signing for SOC target icl using icl.toml
Signing with tool build-rimage/rimage
build-rimage/rimage -k modules/audio/sof/keys/otc_private_key.pem -o /workdir/zephyrproject/build-icl/zephyr/zephyr.ri -c modules/audio/sof/rimage/config/icl.toml -i 3 -e /workdir/zephyrproject/build-icl/zephyr/bootloader.elf.mod /workdir/zephyrproject/build-icl/zephyr/zephyr.elf.mod
error: section overlap between /workdir/zephyrproject/build-icl/zephyr/zephyr.elf.mod:20 and /workdir/zephyrproject/build-icl/zephyr/zephyr.elf.mod:22

     [0xbe048f80 : 0xbe049420] overlaps with [0xbe048f80 :0xbe053780]

EDIT: bisected to revert zephyrproject-rtos/zephyr#40319

@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 18, 2021

Funny coincidence, XTOS ICL was successfully buildt but did not run any smoke tests in https://sof-ci.01.org/sof-pr-viewer/#/build/PR5003/build7916363

@marc-hb marc-hb marked this pull request as ready for review November 18, 2021 08:16
@marc-hb marc-hb requested review from kv2019i and lyakh November 18, 2021 08:16
Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work great, thanks!

@kv2019i
Copy link
Collaborator

kv2019i commented Nov 18, 2021

@marc-hb For the ICL build fail, Andy's cleanup patch might actually help as it unifies the linker scripts (just guessing though). If not, I'd say let's drop icl for now as we cannot regularly test it.

@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 18, 2021

Temporarily excluding ICL in #5005

@lgirdwood lgirdwood merged commit b9fcc41 into thesofproject:main Nov 18, 2021
@marc-hb marc-hb deleted the fix-zep-incr branch November 18, 2021 15:24
@marc-hb
Copy link
Collaborator Author

marc-hb commented Nov 20, 2021

Fixup in #5016

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.

3 participants