diff options
author | Antonio Niño Díaz <antonio.ninodiaz@arm.com> | 2018-10-30 15:47:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-30 15:47:48 +0100 |
commit | 392b1d591c026a2cd1b0600098caf4beb298d5d7 (patch) | |
tree | be9b44f5f09a8aef0d79e9641378adeadb6e2bdc /docs/plat | |
parent | 4012531547f63595f33e493dcd7ebd1730dfcedc (diff) | |
parent | 1ebb915afe9b3954381647e0c162468e84738c22 (diff) |
Merge pull request #1649 from Yann-lms/stm32mp1_doc_update
docs: stm32mp1: complete compilation and flashing steps
Diffstat (limited to 'docs/plat')
-rw-r--r-- | docs/plat/stm32mp1.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/plat/stm32mp1.rst b/docs/plat/stm32mp1.rst index 9e731a41..f8379b4e 100644 --- a/docs/plat/stm32mp1.rst +++ b/docs/plat/stm32mp1.rst @@ -76,7 +76,23 @@ To build: .. code:: bash make CROSS_COMPILE=arm-linux-gnueabihf- PLAT=stm32mp1 ARCH=aarch32 ARM_ARCH_MAJOR=7 AARCH32_SP=sp_min + cd <u-boot_directory> + make stm32mp15_basic_defconfig + make DEVICE_TREE=stm32mp157c_ev1 all + ./tools/mkimage -T stm32image -a 0xC0100000 -e 0xC0100000 -d u-boot.bin u-boot.stm32 The following build options are supported: - ``ENABLE_STACK_PROTECTOR``: To enable the stack protection. + + +Populate SD-card +---------------- + +The SD-card has to be formated with GPT. +It should contain at least those partitions: + +- fsbl: to copy the tf-a-stm32mp157c-ev1.stm32 binary +- ssbl: to copy the u-boot.stm32 binary + +Usually, two copies of fsbl are used (fsbl1 and fsbl2) instead of one partition fsbl. |