Draft
Conversation
Create a NILRT-specific linux-nilrt-fitimage.bb recipe based on upstream linux-yocto-fitimage.bb. This lays the foundation for building FIT images for ARM safemode and runmode images. Signed-off-by: AshwinUjjwal <ashwinujjwal.bharti@emerson.com>
Enable FIT image generation and deployment for Xilinx Zynq ARM platform. Add kernel-fit-extra-artifacts to KERNEL_CLASSES and set KERNEL_IMAGETYPE to zImage in xilinx-zynq.conf to ensure required kernel artifacts are generated. Install linux-nilrt-fitimage package into the runmode rootfs so the FIT image is available during image creation. Add bootimg_fixup_arm() to rename the generated zImage to linux_runmode.itb in the rootfs, matching NILRT bootloader expectations. This ensures the correct FIT image is present for ARM runmode boot. Signed-off-by: AshwinUjjwal <ashwinujjwal.bharti@emerson.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes
Created a new linux-nilrt-fitimage.bb recipe in meta-nilrt based on the upstream linux-yocto-fitimage.bb to support NILRT-specific kernel FIT image generation.
Updated xilinx-zynq.conf to use kernel-fit-extra-artifacts and set KERNEL_IMAGETYPE to zImage to ensure the required kernel artifacts are generated.
Included the linux-nilrt-fitimage package in the runmode rootfs for ARM builds.
Added bootimg_fixup_arm() in nilrt-runmode-rootfs.bb to rename the generated zImage to linux_runmode.itb to match NILRT bootloader expectations.
Justification
AB#3711980
Testing
Procedure