-
|
I am trying to use mkosi to build an image to use in a STM32MP board. I (cross-)compile the bootloader in a build script and put its artifacts in [Partition]
Label=fsbl
Type=8DA63339-0007-60C0-C436-083AC8230908
SizeMinBytes=256K
SizeMaxBytes=256KNow I need to "dd" the bootloader binary to that partition, but I don't know how. |
Beta Was this translation helpful? Give feedback.
Answered by
Dragonink
Apr 1, 2026
Replies: 1 comment
-
|
What I missed is that I needed to:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Dragonink
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What I missed is that
$DESTDIRis the image filesystem and repart has access to it.I needed to:
$BUILDDIRto$DESTDIR/boot/fsbl.bintruncate --size 256K "$DESTDIR/boot/fsbl.bin"