Yocto WIC image is not a multiple of 4096 bytes #288
-
Hi - I'm using rauc with yocto (Kirkstone). The rauc updates are working great and now I want to use 'block-hash-index'. I enabled it in my bundle recipe like this: However, the build fails with the following error:
The wic file is defined like this:
The target is an i.MX8. How can I fix this? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You're probably missing the alignment configuration:
There's also an example at https://github.com/rauc/meta-rauc-community/blob/master/meta-rauc-qemux86/recipes-core/images/core-image-minimal.bbappend Also keep in mind that for the best results, you may need to do more to keep the differences in the ext4 image minimal (i.e. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the support. This was the problem and your suggestion fixed it. |
Beta Was this translation helpful? Give feedback.
You're probably missing the alignment configuration:
There's also an example at https://github.com/rauc/meta-rauc-community/blob/master/meta-rauc-qemux86/recipes-core/images/core-image-minimal.bbappend
Also keep in mind that for the best results, you may need to do more to keep the differences in the ext4 image minimal (i.e.
-E hash_seed=<seed>
).