I was able to work this out. For others who may find this useful, my method was to add mtd-utils-native to the DEPENDS list and then call mkfs.jffs2 from do_install. I also inherited deploy and added a do_deploy task to copy the jffs2 file to DEPLOYDIR.
Thanks, Matt. On Thu, Mar 7, 2024 at 11:20 AM <mattwood2...@gmail.com> wrote: > Hi, > > I've been looking around and trying to figure out if it is possible to > create a separate jffs2 (or other FS) image that does not contain the main > build image, but only specific files or data from a recipe in the same > build. > > For example, I have an image recipe that creates a wic with ext4 and FAT32 > partitions containing the boot and rootfs to be flashed to eMMC. I want to > create a separate jffs2 file that only contains specific data or > applications generated by a recipe in the same build used to create the > wic. This would be flashed to a QSPI device separate from the eMMC. > > I can do this manually but I would like to have the buildsystem handle it. > > Is this possible? > > Thanks, Matt. >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#62720): https://lists.yoctoproject.org/g/yocto/message/62720 Mute This Topic: https://lists.yoctoproject.org/mt/104790627/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-