Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add kernel config for RAUC stream mode to raspberrypi4-64 and qemuarm64 #156

Merged

Conversation

OlavHerbst
Copy link
Contributor

The integrated kernel config file leda-bsp-rauc.cfg for Rauc in stream mode was not used for building raspberrypi4-64.

Now for raspiberrypi4-64 the kernel recipe linux-raspberrypi*.bb gets the additional file leda-bsp-raspberrypi-rauc.cfg (renamed).
(The existing rauc.cfg doesn't configure the kernel for Rauc stream mode.)

For qemuarm64 the kernel recipe yocto-linux*.bb already uses another rauc.cfg to configure the kernel for Rauc stream mode. It gets the additional file leda-bsp-rauc.cfg which just adds an optimization for ARM64 (CONFIG_CRYPTO_SHA256_ARM64=y).
(For qemux86_64 the file rauc.cfg is sufficient.)


FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

SRC_URI:append:qemuarm64 = " file://leda-bsp-rauc.cfg"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

leda-bsp-rauc.cfg is for qemuarm64, not for qemux86-64.

@stlachev stlachev merged commit abcd4e4 into eclipse-leda:main Apr 27, 2023
@stlachev
Copy link
Contributor

stlachev commented Apr 27, 2023

I have tested it on quemux86-64, quemuarm64 and raspberrypi4-64 and test was successful!

@stlachev stlachev deleted the fix-rauc-kernel-config branch April 27, 2023 11:24
@OlavHerbst
Copy link
Contributor Author

I have tested it on quemux86-64, quemuarm64 and raspberrypi4-64 and test was successful!

Great, thank you!

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.

2 participants