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: fix building linux 6.1 for 32-bit arm machines #1684

Closed
wants to merge 1 commit into from

Conversation

MrCry0
Copy link
Contributor

@MrCry0 MrCry0 commented Nov 2, 2023

Tested bulding linux-fslc-lts 6.1 and linux-fslc 6.6:

  • imx23evk
  • imx28evk
  • imx51evk
  • imx53qsb

Only kernels >= 6.6 have dts files for 32-bit ARM devices
reorganized by placing them in vendor+family subdirectories.
previous kernels keep all arm arch dts files in a single default
directory.
Correctly reassign KERNEL_DEVICETREE for 32-bit ARM devices for all
supported kernels 6.1 to fix building.

Fixes: 0d838c6 ("ARM 32-bit device-tree reorganization")

The fix for other arm32 machines for 6.6 is coming.

@MrCry0 MrCry0 requested review from otavio, zandrey and a team November 2, 2023 13:10
Only kernels >= 6.6 have dts files for 32-bit ARM devices
reorganized by placing them in vendor+family subdirectories.
Previous kernels keep all arm arch dts files in a single default
directory.
Correctly reassign KERNEL_DEVICETREE for 32-bit ARM devices for all
supported kernels 6.1 to fix building.

Fixes: 0d838c6 ("ARM 32-bit device-tree reorganization")
Signed-off-by: Oleksandr Suvorov <[email protected]>
KERNEL_DEVICETREE:imx23evk = "imx23-evk.dtb"
KERNEL_DEVICETREE:imx28evk = "imx28-evk.dtb"
KERNEL_DEVICETREE:imx51evk = "imx51-babbage.dtb"
KERNEL_DEVICETREE:imx53qsb = "imx53-qsb.dtb imx53-qsrb.dtb"
Copy link
Member

Choose a reason for hiding this comment

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

Using a Python function to change variables is generic, so we avoid adding each variable individually.

Copy link
Contributor

Choose a reason for hiding this comment

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

I've got a function that I've been working on that I can contribute.

Copy link
Contributor

Choose a reason for hiding this comment

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

See #1685

@MrCry0
Copy link
Contributor Author

MrCry0 commented Nov 2, 2023

Replaced by #1685

@MrCry0 MrCry0 closed this Nov 2, 2023
@MrCry0 MrCry0 deleted the master-fix-6.1 branch February 17, 2024 12:25
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.

4 participants