genimage/test/hdimage-nopart.config
Michael Olbrich e4a5b60026 image-hd: improve offset handling for images without partition table
For images without partition table, allow the image to provide a default
alignment with possible overrides for each 'partition'. And calculate the
offset automatically if set to zero.
Basically the same as regular partitions in an image with partition table.
But use a default alignment of 1.

Fixes: #180

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
2022-06-17 11:34:47 +02:00

19 lines
254 B
Plaintext

image test.hdimage {
hdimage {
partition-table-type = none
align = 128
fill = true
}
size = 512
partition part1 {
image = "block1.img"
}
partition part2 {
image = "block2.img"
align = 8
}
partition part3 {
image = "block3.img"
}
}