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

linux-lmp: rework a versioning of patches #1453

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

MrCry0
Copy link
Contributor

@MrCry0 MrCry0 commented May 7, 2024

It simplifies the versioning and prepares lmp to support 2 kernel versions of linux kernel versions with a lot of patches like linux-lmp-fslc-imx.

I removed switching linux-lmp to 6.6 as it needs to bump meta-freescale* as well, we can switch to 6.6 once all changes for all linux-lmp* are in place.

@MrCry0 MrCry0 force-pushed the main-linux-lmp-6.6-rework branch from a091cf8 to 6e9967f Compare May 15, 2024 08:22
@MrCry0 MrCry0 changed the title linux-lmp: rework versioning of patches linux-lmp: switch to 6.6 and rework a versioning of patches May 15, 2024
@MrCry0 MrCry0 force-pushed the main-linux-lmp-6.6-rework branch 3 times, most recently from 3bba56b to 3e46d77 Compare May 16, 2024 13:46
@MrCry0 MrCry0 changed the title linux-lmp: switch to 6.6 and rework a versioning of patches linux-lmp: rework a versioning of patches May 16, 2024
@MrCry0 MrCry0 force-pushed the main-linux-lmp-6.6-rework branch from 3e46d77 to 6989aa9 Compare May 17, 2024 15:26
@MrCry0 MrCry0 force-pushed the main-linux-lmp-6.6-rework branch 2 times, most recently from c3d72ba to 5736661 Compare May 30, 2024 12:18
Backport the logic for 32-bit dtb files for ARM architecture from
meta-freescasle [1].

"Newer kernels have moved the dtbs to a vendor sub-folder.

In order to maintain one KERNEL_DEVICETREE for both new and old kernels,
provide logic that can be enabled in older kernels to strip the new
sub-folder."

[1]
commit f06c7376 ("linux: Add compatibility logic for 32-bit dtb move")

Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
Use backported compatibility logic for 32-bit dtb for boards with arm
architecture. This enables one to use new linux kernel versions.

Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
We need an original PV generated from a recipe file name for farther
use. Store it in the new variable KSHORT_VER.

Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
Use newly presented KSHORT_VER to simplify versioning of the same
patches applied to different kernel versions.

Signed-off-by: Oleksandr Suvorov <cryosay@gmail.com>
@MrCry0 MrCry0 force-pushed the main-linux-lmp-6.6-rework branch from 5736661 to 57b320f Compare June 25, 2024 16:20
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