summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a/config/images
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2020-03-02 12:03:56 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2020-03-05 18:27:07 +0100
commit3bce747e47170b219334f57102560a24cd67e6e0 (patch)
treeeba033c13b7822c3589e1b2ecca61cd5599e7d73 /configs/platform-v7a/config/images
parentf2ef6f09ce1af63587cebaea120bb0a102879843 (diff)
downloadDistroKit-3bce747e47170b219334f57102560a24cd67e6e0.tar.gz
DistroKit-3bce747e47170b219334f57102560a24cd67e6e0.tar.xz
v7a: add stm32mp157c-dk2 SD-Card image
Both STM32MP BootROM and TF-A expect the subsequent bootloader stage to come from a GPT partition when booting from SD-Card. Add a genimage config that describes this. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/config/images')
-rw-r--r--configs/platform-v7a/config/images/stm32mp.config31
1 files changed, 31 insertions, 0 deletions
diff --git a/configs/platform-v7a/config/images/stm32mp.config b/configs/platform-v7a/config/images/stm32mp.config
new file mode 100644
index 0000000..0b9cfe8
--- /dev/null
+++ b/configs/platform-v7a/config/images/stm32mp.config
@@ -0,0 +1,31 @@
+image @IMAGE@ {
+ hdimage {
+ align = 1M
+ gpt = "true"
+ }
+ partition fsbl1 {
+ image = "tf-a-@STM32MP_BOARD@.stm32"
+ size = 256K
+ }
+ partition fsbl2 {
+ image = "tf-a-@STM32MP_BOARD@.stm32"
+ size = 256K
+ }
+ partition ssbl {
+ image = "barebox-@STM32MP_BOARD@.img"
+ size = 1M
+ }
+ partition barebox-environment {
+ size = 1M
+ }
+ partition root {
+ image = root.ext2
+ partition-type = 0x83
+ size = 512M
+ }
+ partition data {
+ partition-type = 0x83
+ size = 100M
+ }
+}
+/* vim: set tabstop=8 noexpandtab : */