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

For scarthgap next #1547

Open
wants to merge 48 commits into
base: scarthgap-next
Choose a base branch
from
Open

Conversation

ldts
Copy link
Contributor

@ldts ldts commented Dec 3, 2024

No description provided.

quaresmajose and others added 30 commits November 27, 2024 10:06
The beagleplay is now available in the default tree.

Signed-off-by: Jose Quaresma <[email protected]>
… chosed dynamic"

This reverts commit f19349c.

Required by Freescale/meta-freescale#1945

Signed-off-by: Jose Quaresma <[email protected]>
Add support for Automatic Boot Assessment [1].
Boot entries are now created with an additional suffix, which
represents the amount of maximum tries for boot counting.

[1] https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT/
Signed-off-by: Igor Opaniuk <[email protected]>
Replace with a copy of oe-core kernel-fitimage.bbclass
from scarthgap branch rev 74054f3

Signed-off-by: Jose Quaresma <[email protected]>
- Rebased on top of the scarthgap branch

Signed-off-by: Daiane Angolini <[email protected]>
Signed-off-by: Jose Quaresma <[email protected]>
This fixes errors from buildhistory changes where packages-split would
be empty.

Submited: https://lists.openembedded.org/g/openembedded-devel/topic/108648856

Signed-off-by: Jose Quaresma <[email protected]>
Fix:
| wic.filemap.Error: cannot open image file '/lmp/build-lmp-base-imx6ullevk-scarthgap-next/deploy/images/imx6ullevk/u-boot.bin.tagged': [Errno 2] No such file or directory: '/lmp/build-lmp-base-imx6ullevk-scarthgap-next/deploy/images/imx6ullevk/u-boot.bin.tagged'
| WARNING: exit code 1 from a shell command.

References:
Freescale/meta-freescale#1791
Freescale/meta-freescale#1945

Signed-off-by: Jose Quaresma <[email protected]>
fixes:

| ERROR: /srv/oe/build/conf/../../layers/meta-lmp/meta-lmp-base/recipes-bsp/u-boot/u-boot-fio-mfgtool_imx-2023.04.bb:
| Unable to get checksum for u-boot-fio-mfgtool SRC_URI entry lmp-base-common.cfg: file could not be found
|
| ERROR: /srv/oe/build/conf/../../layers/meta-lmp/meta-lmp-base/recipes-bsp/u-boot/u-boot-fio-mfgtool_imx-2022.04.bb:
| Unable to get checksum for u-boot-fio-mfgtool SRC_URI entry lmp-base-common.cfg: file could not be found
|
| ERROR: /srv/oe/build/conf/../../layers/meta-lmp/meta-lmp-base/recipes-bsp/u-boot/u-boot-fio-mfgtool_2023.04.bb:
| Unable to get checksum for u-boot-fio-mfgtool SRC_URI entry lmp-base-common.cfg: file could not be found

Signed-off-by: Jose Quaresma <[email protected]>
Since [1] the uboot-sign class is being refactored and some files were
reorganized.

Taking concat_dtb_helper as example, the dtb files once installed
previous the deploy were migrated to the deploy. It makes only the
simple named dtb files being available during the fitimage its creation.

Because of that, use the variables with the file names for signed or not
signed u-boot dtb files.

The instalation directory also changed.

[1] openembedded/openembedded-core@5e12dc9

Signed-off-by: Daiane Angolini <[email protected]>
Signed-off-by: Jose Quaresma <[email protected]>
Use the default KERNEL_DEVICETREE provided

Signed-off-by: Jose Quaresma <[email protected]>
Drop lib-zlib-Fix-a-bug-when-getting-a-gzip-header-extra-field.patch

Signed-off-by: Jose Quaresma <[email protected]>
The beagleplay is now available in the default tree.

Signed-off-by: Jose Quaresma <[email protected]>
Relevant changes:
- cc8b1802 ktypes/standard: enable CONFIG_CRC64

Signed-off-by: Jose Quaresma <[email protected]>
When we have lmpdebug in DISTRO_FEATURES it will be good to enable systemd coredump

Signed-off-by: Jose Quaresma <[email protected]>
The IMAGE_NAME already includes the IMAGE_NAME_SUFFIX in the scarthgap

IMAGE_NAME="lmp-base-console-image-intel-corei7-64.rootfs-20241014163026"

Signed-off-by: Jose Quaresma <[email protected]>
This image is not used anywhere

Signed-off-by: Jose Quaresma <[email protected]>
When a default dtb is not used the fit now points to the default kernel
index, which is 1 by default.

Signed-off-by: Ricardo Salveti <[email protected]>
Based on scarthgap.

Signed-off-by: Ricardo Salveti <[email protected]>
ricardosalveti and others added 18 commits November 27, 2024 10:22
Align base version with the same default version used in meta-rpi.

Signed-off-by: Ricardo Salveti <[email protected]>
Relevant changes:
- 16feae8a bsp: add BSP fragments for raspberrypi5
- 9bff1de1 bsp: raspberrypi4: config updates for 6.6
- 94d1435a kver: bumping to v6.6.54
- 3c4731cb netfilter: Enable CONFIG_NETFILTER_XTABLES_COMPAT
- 1dd9e613 features/intel-npu: introduce Intel NPU fragment
- 12e25b9a bsp/intel-corei7-64: enable Intel IOMMU support
- 130af14e features/intel-pinctrl: add pinctrl driver for Intel Meteor Lake
- dd8d897b full_nohz: remove RCU_FAST_NO_HZ gone from upstream
- 8f915afd cgl: drop SELINUX_DISABLE option
- 18f9024a nft_test.cfg: Enable CONFIG_VETH
- f4c820c0 features/nf_tables: Add net_fib_* options for greater ptest coverage
- 754686f5 features/nf_tables: nft_objref is now builtin
- 4bf6d3f7 features/net_sched: Add MULTIQ and NET_EMATCH config
- d3a802b6 features/net: Add xdp feature config
- 97f449ea features/vfio: remove CONFIG_VFIO_VIRQFD

Signed-off-by: Ricardo Salveti <[email protected]>
This reverts commit 5cb0fa1.

Signed-off-by: Jose Quaresma <[email protected]>
By using the sort-key[1] label in the conf files, this PR positions ostree
deployments above UEFI provisioning applications.

[1] https://uapi-group.org/specifications/specs/boot_loader_specification/#sorting

Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
Define SRCREV_FORMAT for the Plug-and-Trust expansion.

Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
| NOTE: make -j 16 CC=arm-lmp-linux-gnueabi-gcc  -mno-thumb-interwork -marm -fuse-ld=bfd   -fmacro-prefix-map=/srv/oe/build/tmp-lmp/work-shared/imx6ullevk/kernel-source=/usr/src/debug/linux-lmp-fslc-imx/6.1.70+git  -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work-shared/imx6ullevk/kernel-source=/usr/src/debug/linux-lmp-fslc-imx/6.1.70+git  -fmacro-prefix-map=/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/linux-imx6ullevk-standard-build=/usr/src/debug/linux-lmp-fslc-imx/6.1.70+git  -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/linux-imx6ullevk-standard-build=/usr/src/debug/linux-lmp-fslc-imx/6.1.70+git  -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot=  -fmacro-prefix-map=/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot=  -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot-native=  -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work-shared/imx6ullevk/kernel-source=/usr/src/kernel -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work-shared/imx6ullevk/kernel-build-artifacts=/usr/src/kernel LD=arm-lmp-linux-gnueabi-ld.bfd   OBJCOPY=arm-lmp-linux-gnueabi-objcopy  STRIP=arm-lmp-linux-gnueabi-strip HOSTCC=gcc  HOSTCFLAGS=-isystem/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot-native/usr/include -O2 -pipe HOSTLDFLAGS=-L/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot-native/usr/lib                         -L/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot-native/lib                         -Wl,--enable-new-dtags                         -Wl,-rpath-link,/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath-link,/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot-native/lib                         -Wl,-rpath,/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot-native/usr/lib                         -Wl,-rpath,/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot-native/lib                         -Wl,-O1 -Wl,--allow-shlib-undefined -Wl,--dynamic-linker=/srv/oe/build/tmp-lmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2 -pthread HOSTCPP=gcc  -E HOSTCXX=g++  HOSTCXXFLAGS=-isystem/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot-native/usr/include -O2 -pipe HOSTPKG_CONFIG=pkg-config-native PAHOLE=false nxp/imx/imx6ull-14x14-evk-btwifi.dtb CC=arm-lmp-linux-gnueabi-gcc  -mno-thumb-interwork -marm -fuse-ld=bfd   -fmacro-prefix-map=/srv/oe/build/tmp-lmp/work-shared/imx6ullevk/kernel-source=/usr/src/debug/linux-lmp-fslc-imx/6.1.70+git  -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work-shared/imx6ullevk/kernel-source=/usr/src/debug/linux-lmp-fslc-imx/6.1.70+git  -fmacro-prefix-map=/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/linux-imx6ullevk-standard-build=/usr/src/debug/linux-lmp-fslc-imx/6.1.70+git  -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/linux-imx6ullevk-standard-build=/usr/src/debug/linux-lmp-fslc-imx/6.1.70+git  -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot=  -fmacro-prefix-map=/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot=  -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work/imx6ullevk-lmp-linux-gnueabi/linux-lmp-fslc-imx/6.1.70+git/recipe-sysroot-native=  -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work-shared/imx6ullevk/kernel-source=/usr/src/kernel -fdebug-prefix-map=/srv/oe/build/tmp-lmp/work-shared/imx6ullevk/kernel-build-artifacts=/usr/src/kernel   LD=arm-lmp-linux-gnueabi-ld.bfd   OBJCOPY=arm-lmp-linux-gnueabi-objcopy  STRIP=arm-lmp-linux-gnueabi-strip
| make[1]: *** No rule to make target 'arch/arm/boot/dts/nxp/imx/imx6ull-14x14-evk-btwifi.dtb'.  Stop.
| make: *** [/srv/oe/build/tmp-lmp/work-shared/imx6ullevk/kernel-source/Makefile:1471: nxp/imx/imx6ull-14x14-evk-btwifi.dtb] Error 2

Signed-off-by: Jose Quaresma <[email protected]>
The PR663 is need on top of the meta-lmp-base/classes/kernel-lmp-fitimage.bbclass
foundriesio@a2adf25

Signed-off-by: Jose Quaresma <[email protected]>
The PR1083 needs to be implemented on top of the new initrd-flash API using hooks
foundriesio@482398b

New initrd-flash API using hooks
OE4T/meta-tegra@f619e64
OE4T/meta-tegra@1d1466f

Signed-off-by: Jose Quaresma <[email protected]>
The PR1083 needs to be implemented on top of the new initrd-flash API using hooks
foundriesio@7340131

New initrd-flash API using hooks
OE4T/meta-tegra@f619e64
OE4T/meta-tegra@1d1466f

Signed-off-by: Jose Quaresma <[email protected]>
Update our fork to 4.2.0

Requires that we test all affected platforms.
   - need to check TEGRA still on 3.21 probably broken

Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
Signed-off-by: Jorge Ramirez-Ortiz <[email protected]>
@ldts ldts requested a review from a team December 3, 2024 05:56
@ldts
Copy link
Contributor Author

ldts commented Dec 9, 2024

@angolini how can we test this with CI?

@quaresmajose quaresmajose force-pushed the scarthgap-next branch 2 times, most recently from ea99d1f to d5a1a31 Compare January 7, 2025 15:02
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.

5 participants