Hi @[email protected]<mailto:[email protected]>, Are you building petalinux images for same soc family of devices like all you products are either or zynqmp or Versal. If yes we do have common images like rootfs, kernel, bl31, u-boot etc..in our download Area. https://account.amd.com/en/forms/downloads/xef.html?filename=xilinx-versal-common-v2024.1_05230256.tar.gz https://account.amd.com/en/forms/downloads/xef.html?filename=xilinx-zynqmp-common-v2024.1_05230256.tar.gz
Regards, Varalaxmi From: [email protected] <[email protected]> On Behalf Of philip.dawson via lists.yoctoproject.org Sent: Thursday, July 11, 2024 6:53 PM To: [email protected] Subject: [meta-xilinx] Common Kernel and Rootfs for multiple projects Hi, I asked a similar question over in @yocto and got pointed in this direction. (https://lists.yoctoproject.org/g/yocto/topic/common_kernel_and_rootfs/107140139) We have multiple products we build images for through Petalinux. Each product has it's own Petalinux project and BSP. The created rootfs images are almost identical (and we could probably the contents the same if we knew it was worth trying). Because each product has its own device tree which is a dependency of the kernel build we end up with having to rebuild the kernel for each product even if we point them to the same sstate-cache. This effect propagates through the kernel-modules and our custom drivers to our software stack (via driver headers for ioctls). So we end up building a lot of the same code many times over for any given change. I'm trying to reduce time spent in CI builds and reduce disk usage of our final images (having multiple almost identical rootfs images takes up a lot of room). Is there any way through Petalinux (or standard yocto) we could somehow have a common build of the kernel and rootfs but still split/package/tweak this to generate multiple images each with a different bootloader and device tree? I appreciate this might not be possible, but thought it was at least worth asking. Best Regards, Phil Dawson
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#5449): https://lists.yoctoproject.org/g/meta-xilinx/message/5449 Mute This Topic: https://lists.yoctoproject.org/mt/107162406/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
