Openembedded build - tezi add additional ubi volume

Hi,

I have successfully added additional ubi volume to image by adding entry to image.json file.

That’s was done by hand so my question is what is the right way to add additional ubi volue to image.json file inside build process? Can I somehow append custom ubi volume to data[“blockdevs”] variable?
I have checked image_type_tezi.bbclass but did’t came up with solution yet…

Regards, Mlinar

Yes, exactly what I was looking for.

So the easiest way for me was to create custom image type and its class in my layer and image_type_tezi.bbclass was taken as a “template”.

Thanks for the hint @saijanani.tx

Regards, Mlinar

@mlinar

You are welcome!

Best Regards,
Janani

@mlinar

You are welcome!

Best Regards,
Janani

Dear @mlinar ,

Greetings and thank you for writing to Toradex Community!

There is a way to modify the UBI volumes while building the image by modifying the .bbclass and here I found a blog that modifies the UBI image that way: yocto | Arkadiusz Marud

Is this something that you are looking for?

Best Regards,
Janani