Skip to content

Xenomai4#1161

Merged
ricardosalveti merged 3 commits intofoundriesio:mainfrom
ldts:xenomai4
Jun 2, 2023
Merged

Xenomai4#1161
ricardosalveti merged 3 commits intofoundriesio:mainfrom
ldts:xenomai4

Conversation

@ldts
Copy link
Copy Markdown
Contributor

@ldts ldts commented May 31, 2023

Depends on lmp-kernel-cache being merged

Enabling xeno4 should not only select the kernel but also select the libraries and utilities recipes[ TODO]

initial tests done on imx8mm-lpddr4-evk, imx8mm-lpddr4-evk 5.15.87-lmp-xeno4

Comment thread meta-lmp-base/recipes-kernel/linux/kmeta-linux-lmp-5.15.y.inc Outdated
Copy link
Copy Markdown
Member

@quaresmajose quaresmajose left a comment

Choose a reason for hiding this comment

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

objcopy and strip also needs to be fixed on non-clangable.inc

--- a/meta-lmp-base/conf/distro/include/non-clangable.inc
+++ b/meta-lmp-base/conf/distro/include/non-clangable.inc
@@ -104,6 +104,8 @@ OBJCOPY:pn-linux-lmp-fslc-imx:toolchain-clang = "${HOST_PREFIX}objcopy"
 STRIP:pn-linux-lmp-fslc-imx:toolchain-clang = "${HOST_PREFIX}strip"
 OBJCOPY:pn-linux-lmp-fslc-imx-rt:toolchain-clang = "${HOST_PREFIX}objcopy"
 STRIP:pn-linux-lmp-fslc-imx-rt:toolchain-clang = "${HOST_PREFIX}strip"
+OBJCOPY:pn-linux-lmp-fslc-imx-xeno4:toolchain-clang = "${HOST_PREFIX}objcopy"
+STRIP:pn-linux-lmp-fslc-imx-xeno4:toolchain-clang = "${HOST_PREFIX}strip"
 OBJCOPY:pn-linux-lmp-ti-staging:toolchain-clang = "${HOST_PREFIX}objcopy"
 STRIP:pn-linux-lmp-ti-staging:toolchain-clang = "${HOST_PREFIX}strip"
 OBJCOPY:pn-linux-tegra:toolchain-clang = "${HOST_PREFIX}objcopy"

Comment thread meta-lmp-base/recipes-kernel/xenomai4/xenomai4_git.bb Outdated
Comment thread meta-lmp-base/recipes-kernel/xenomai4/xenomai4_git.bb Outdated
Comment thread meta-lmp-base/recipes-kernel/xenomai4/xenomai4_git.bb Outdated
Comment thread meta-lmp-base/recipes-kernel/xenomai4/xenomai4_git.bb Outdated
Comment thread meta-lmp-base/recipes-kernel/xenomai4/xenomai4_git.bb Outdated
Comment thread meta-lmp-base/recipes-kernel/xenomai4/xenomai4_git.bb Outdated
@quaresmajose
Copy link
Copy Markdown
Member

and still need this on mine conf/local.conf

PREFERRED_PROVIDER_virtual/kernel:mx8mm-nxp-bsp = "linux-lmp-fslc-imx-xeno4"
MACHINE_FEATURES:append = " xeno"

@quaresmajose
Copy link
Copy Markdown
Member

one cosmetic thing for the commit title we usually prepend the layer name and the component name is kmeta-linux-lmp-5.15.y

-kmeta: 5-15.y: bump revision to 8e6ac16
+base: kmeta-linux-lmp-5.15.y: bump to 8e6ac16e

@ldts ldts force-pushed the xenomai4 branch 2 times, most recently from 30edc8f to 1668979 Compare June 2, 2023 13:35
ldts added 3 commits June 2, 2023 16:11
Install realtime libraries and utilities.

Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
Use the vendor tree

Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
Relevant changes:
- 8e6ac16 bsp: imx: xeno4 on imx8mm-evk
- 79a0295 ktypes: xeno4: enable Xenomai4 support on LmP

Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
Copy link
Copy Markdown
Member

@quaresmajose quaresmajose left a comment

Choose a reason for hiding this comment

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

LGTM, we can think about the MACHINE_FEATURES xeno latter one

Copy link
Copy Markdown
Member

@ricardosalveti ricardosalveti left a comment

Choose a reason for hiding this comment

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

LGTM

@ricardosalveti ricardosalveti merged commit 6efb783 into foundriesio:main Jun 2, 2023
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