mirror of
https://github.com/pengutronix/genimage.git
synced 2024-11-23 09:43:50 +08:00
e4a5b60026
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>
19 lines
254 B
Plaintext
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"
|
|
}
|
|
}
|