pengutronix / genimage

tool to generate multiple filesystem and flash images from a tree
GNU General Public License v2.0
308 stars 110 forks source link

genimage behavior depends on order of partitions even when offsets are specified #263

Open hudson-ayers-cruise opened 2 months ago

hudson-ayers-cruise commented 2 months ago

I am finding that if I list partitions out of order that genimage will complain part xxxx overlaps with previous partition, even if I have specified offsets and sizes for every image and there is not actually any overlap. Putting the partitions back in order fixes this, but doing so makes it challenging to have a single shared config for two boards that need to only specify 1-2 different partitions (which can then be included in a board-specific config), if those partitions are not the last in an image.

michaelolbrich commented 3 weeks ago

Declaring partitions out-of-order can have side effects and there are some cases that can not work because of that. Please share your config, so that I can figure out if it's a bug or not.