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

Scarthgap part4 #1549

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

Scarthgap part4 #1549

wants to merge 12 commits into from

Conversation

angolini
Copy link
Contributor

@angolini angolini commented Dec 19, 2024

Patches from #1545:

  • [1] 0001-base-kernel-lmp-fitimage-add-loadable.patch
  • [1] 0001-base-kernel-lmp-fitimage-replace-with-oe-core-74054f.patch
  • 0001-bsp-linux-lmp-ti-staging-drop-non-existent-kernel-6..patch
    • replaced by "bsp: linux-lmp-ti-staging: Fix KERNEL_DEVICETREE setup"
  • 0001-base-u-boot-fio-mfgtool-add-default-lmp-base-distro-.patch
    • could not reproduce
  • 0001-bsp-lmp-machine-custom-drop-imx93-devicetrees-that-d.patch
    • replaced by linux-lmp-fslc-imx bump to 6.6
  • [.] 0001-bsp-lmp-mfgtool-disable-TI-k3-u-boot-sign.patch
  • [.] 0001-Revert-systemd-add-job-to-fix-timesyncd-update.patch

Patches from Part 4 (Jose)

  • 0001-FIXME-bsp-lmp-machine-custom-imx6ullevk-drop-KERNEL_.patch
    • replaced by linux-lmp-fslc-imx bump to 6.6
  • 0002-FIXME-bsp-lmp-machine-custom-drop-recovery.patch
    • could not reproduce any error
  • [2] 0003-FIXME-bsp-tegra-helper-scripts-drop-initrd-flash-for.patch
    • TODO: this is only temporary, we need to re-implement the scripts
  • [2] 0004-FIXME-bsp-tegra-flash-init-drop-format-mmc-support.patch
    • TODO: this is only temporary, we need to re-implement the scripts
  • [1] 0005-WIP-base-kernel-lmp-fitimage-set-FIT_CONF_PREFIX.patch
  • [1] 0006-WIP-Revert-base-kernel-lmp-fitimage-set-FIT_CONF_PRE.patch
  • [1] 0007-WIP-bsp-lmp-machine-custom-lmp-mfgtool-machine-custo.patch

Notes

  • imx93 build failure solved by bsp: imx: imx93-11x11-lpddr4x-evk: Disable CONFIG_TSN lmp-kernel-cache#177
  • imx8mm build error fixed
  • the missing DTB from TI arch is fixed by using the same approach from upstream linux recipe (a dynamic way to list the dtbs)
  • [1] if we only keep the fitimage as is, it does not need any rework. We can postpone the changes in fitimage-kernel for when we start to upstream the class (and then, the patches will be needed)
  • [2] we need to work to rework the scripts, but I don't know exactly what need to be done
  • [.] I only ignored the patch

TODO (all tracked in jira)

  • linux-lmp-fslc-imx-xeno4_git needs to be updated as soon as the new xeno branch is created
  • u-boot-fio_imx should be updated
  • optee-os-tadevkit contains reference to TMPDIR
  • aktualizr contains reference to TMPDIR
  • upstream the patches for linux-lmp-fslc-imx
  • rework tegra scripts
  • upstream kernel-lmp-fitimage-class

This commit updates this.

Signed-off-by: Daiane Angolini <[email protected]>
@angolini angolini force-pushed the scarthgap-part4 branch 4 times, most recently from 4909597 to 1098f99 Compare December 29, 2024 15:47
@angolini angolini marked this pull request as ready for review December 30, 2024 16:43
@angolini angolini requested a review from a team December 30, 2024 16:43
Copy link
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

Copy link
Contributor

@igoropaniuk igoropaniuk left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@MrCry0 MrCry0 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
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.

I have sucessefuly tested the following branch on the scarthgap factory
https://github.com/quaresmajose/meta-lmp/commits/scarthgap-part4

meta-lmp-bsp/conf/machine/include/lmp-machine-custom.inc Outdated Show resolved Hide resolved
It also updates the patches.

The evkb patch is not needed any longer as kernel 6.6.y already include
this dts.

Include a new patch to fix a build issue for imx8mm.

Signed-off-by: Daiane Angolini <[email protected]>
Relevant changes:
- bsp: imx: imx93-11x11-lpddr4x-evk: Disable CONFIG_TSN

Signed-off-by: Daiane Angolini <[email protected]>
We currently don't support Linux kernel 4.9.y any more, so remove the
dts.

Signed-off-by: Daiane Angolini <[email protected]>
Copy link
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

angolini and others added 7 commits January 9, 2025 14:51
Now that we are moving to a different kernel version, and we don't yet
have the xenomai kernel support for the kernel version, we deprecate its
support.

Signed-off-by: Daiane Angolini <[email protected]>
The linux-ti-staging brings a dynamic function to define the
KERNEL_DEVICETREE variable, using this approach, the list of dtb
included is equal to those available in current Linux kernel source
code.

We bring that function to use the same approach.

Signed-off-by: Daiane Angolini <[email protected]>
The TI k3 machines uses a custom hash and sing algorithms [1]
diferent of the upstream used in oe-core upstream and in the meta-lmp layer.

We need this in all distros and the lmp-mfgtoo u-boot-ti-staging is currently broken
because of this so remove the sota override and let's apply this to all k3 machines.

[1] https://git.yoctoproject.org/meta-ti/commit/meta-ti-bsp/conf/machine/include/k3.inc?h=scarthgap&id=bde91baf8a3b398170388ffb9835979ebfc2e4c4

Signed-off-by: Jose Quaresma <[email protected]>
This is already defined by default in the machines config on the bsp layer.

Signed-off-by: Jose Quaresma <[email protected]>
The path changes on kernel 6.6 from devicetree.dtb to nxp/imx/devicetree.dtb

Signed-off-by: Jose Quaresma <[email protected]>
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