Cannot boot my original board which STM32MP151CAA3 MPU is mounted on with original device tree generated by STM32CubeMX
- April 1, 2020
- 7 replies
- 2076 views
I'm trying to boot my original board which STM32MP151CAA3 MPU is mounted on 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
(See the attachment file "PortMap.ioc")
2) Fill the User Section according to my board hardware.
(See the attachment files "Device tree file modified in user section for original board"
in comparison to "Device tree original file from CubeMX")
3) Compile the device tree with Developer Package, and Get "kernel DTB", "u-boot.stm32" and "TF-A.stm32" files.
This step is acording to following wiki page.
4) 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
*...Original Device Tree
During this steps, There was no error.
However, when trying to boot my board, error message shows in console window and cannot boot the device.
(See the attachment file "Capture_BootError.png")
I am in trouble because there is very little information I could get from this error message.
What could be the cause of the error?
Or, what should I try to get more information?
Best regards
