scripts/gen_image_generic.sh: allow passing in partition offset
authorTim Harvey <tharvey@gateworks.com>
Wed, 22 Mar 2023 16:02:52 +0000 (09:02 -0700)
committerChristian Lamparter <chunkeey@gmail.com>
Thu, 18 May 2023 14:17:52 +0000 (16:17 +0200)
commit7519b35881149427c48d2c81a6c154ef3471d566
treed9aa55462dcf68d521d0fb5a3a91e988c194346d
parent39e60394103368dc24f010ceda5667ef058ba2ba
scripts/gen_image_generic.sh: allow passing in partition offset

Allow passing in an optional offset (PARTOFFSET) for the first partition.
If not specified this will default to 256K (512 blocks) as it has before.

For example if you want to start partition data at a 16M offset instead
of 256K, specify 'PARTOFFSET=16M'.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
scripts/gen_image_generic.sh