Cannot boot stm32mp157c-ev1 with original device tree generated by STM32CubeMX.
I’m trying to boot stm32mp157c-ev1 evaluation board with original device tree.
However, cannot boot the board when following steps
--Environment--
Host PC: Intel Core i7 3.6GHz / Ubuntu Ver16.04.6 LTS
STM32CubeMX: Version 5.6.0
OpenSTLinux: openstlinux-4.19-thud-mp1-20-02-19
--Steps--
1) Generate device tree sources by STM32CubeMX
2) Compile the device tree with Developer Package, and Get “kernel DTB�?, “u-boot.stm32�? and “TF-A.stm32�? files.
-according to following wiki page.
3) Flash “u-boot.stm32�? and “TF-A.stm32�? with following FlashLayout file.
#Opt Id Name Type IP Offset Binary
- 0x01 fsbl1-boot Binary none 0x0 tf-a-stm32mp157c-ev1-trusted.stm32
- 0x03 ssbl-boot Binary none 0x0 u-boot-stm32mp157c-ev1-trusted.stm32
P 0x04 fsbl1 Binary mmc0 0x00004400 tf-a-xxxxxxx-mx-trusted.stm32
P 0x05 fsbl2 Binary mmc0 0x00044400 tf-a-xxxxxxx-mx-trusted.stm32
P 0x06 ssbl Binary mmc0 0x00084400 u-boot.stm32
- 0x21 bootfs System mmc0 0x00284400 st-image-bootfs-openstlinux-weston-stm32mp1.ext4
- 0x22 vendorfs FileSystem mmc0 0x04284400 st-image-vendorfs-openstlinux-weston-stm32mp1.ext4
- 0x23 rootfs FileSystem mmc0 0x05284400 st-image-weston-openstlinux-weston-stm32mp1.ext4
- 0x24 userfs FileSystem mmc0 0x33C84400 st-image-userfs-openstlinux-weston-stm32mp1.ext4
During this steps, There was no error.
However, when trying to boot the devices, following error message show and cannot boot the device.
PANIC at PC : 0x2ffd8000
Exeption mode=0x00000016 at: 0x2ffd8000
On the other hand, if I flash only “TF-A.stm32�? firstly, and then flash “u-boot.stm32�? individually, Booting the device was success.
Why do these two ways produce different results?
Would you be able to lend your expertise.
Best regards
