Skip to content

Commit

Permalink
stm32mp1: define STM32MP157C-DHCOM-PDK2
Browse files Browse the repository at this point in the history
Signed-off-by: Johann Neuhauser <jneuhauser@dh-electronics.com>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
  • Loading branch information
jneuhauser authored and jforissier committed Sep 10, 2022
1 parent e43efa5 commit 5914639
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
image sdcard.img {
hdimage {
gpt = "true"
}

partition fsbl {
image = "tf-a-stm32mp157c-dhcom-pdk2.stm32"
size = 256K
}

partition fip {
image = "fip.bin"
partition-type-uuid = L
size = 4M
}

partition u-boot-env {
partition-type-uuid = L
size = 4M
}

partition bootfs {
image = "bootfs.ext2"
partition-type-uuid = L
size = 32M
bootable = "yes"
}

partition rootfs {
image = "rootfs.ext2"
partition-type-uuid = L
size = 128M
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
TIMEOUT 20
DEFAULT stm32mp15-buildroot
LABEL stm32mp15-buildroot
kernel /boot/uImage
devicetree /boot/stm32mp157c-dhcom-pdk2.dtb
append root=/dev/mmcblk1p5 rootwait rw console=ttySTM0,115200
4 changes: 4 additions & 0 deletions stm32mp1.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ else ifeq ($(PLATFORM),stm32mp1-157A_DHCOR_AVENGER96)
BREXT_FLAVOR = STM32MP157A-DHCOR-AVENGER96
STM32MP1_DTS_BASENAME = stm32mp157a-dhcor-avenger96
STM32MP1_DTS_U_BOOT = stm32mp15xx-dhcor-avenger96
else ifeq ($(PLATFORM),stm32mp1-157C_DHCOM_PDK2)
BREXT_FLAVOR = STM32MP157C-DHCOM-PDK2
STM32MP1_DTS_BASENAME = stm32mp157c-dhcom-pdk2
STM32MP1_DTS_U_BOOT = stm32mp15xx-dhcom-pdk2
else ifeq ($(PLATFORM),stm32mp1-157C_DK2)
BREXT_FLAVOR = STM32MP157C-DK2
STM32MP1_DTS_BASENAME = stm32mp157c-dk2
Expand Down

0 comments on commit 5914639

Please sign in to comment.