Re: [yocto] how to use multiubi?
"Adams, Shawn" <[email protected]>
| Newsgroups | org.yoctoproject.lists.yocto |
|---|---|
| Message-ID | <[email protected]> |
> hello, > could someone tell me or share some documentation or examples about the multiubi image type? This blog has an example of using multiubi: https://www.marcusfolkesson.se/blog/ubi-volumes-in-yocto/. > i want to create an ubi image containes two partitions, first with kernel and dtb, and second with roots. How to do that? I would like to do something similar but haven't found a good way to do it because image_types.bbclass seems to only support adding the rootfs to ubifs and ubi images, not the kernel and dtb. I'm considering overriding write_ubi_config() and multiubi_mkfs() in image_types.bbclass with my own .bbclass file so that it creates two ubi files: one containing the kernel and dtb and the other containing the rootfs. Does anyone have other ideas about how to do this?