[Uboot-stm32] Issues with Loading Linux OS on our custom made STM32 SOM board
Patrick DELAUNAY
patrick.delaunay at foss.st.com
Fri Oct 14 13:10:34 UTC 2022
Hi Bernard,
can you follow this customer request.
See in the mail a first element of answer.
See also:
https://community.st.com/s/article/FAQ-STM32MP1-Bring-up-procedure
https://community.st.com/s/article/FAQ-STM32MP1-bring-up-troubleshooting-guide
Thanks,
Patrick
On 10/13/22 11:04, Pralay Panchwate wrote:
> Hello Everyone,
> We are in the development phase of our own custom made SOM board using
> STM32MP157A chip.
> Can we use STM32MP157A-EV1 image for flashing our custom STM32MP1
> based board ?
NO => you need to adapt the bootloaders (TF-A and U-Boot) for your
custom board, in particular the DDR and the USB part
> We tried burning our STM32MP1 board with existing
> "*FlashLayout_emmc_stm32mp157a-ev1-trusted.tsv*" file but it throws
> following error -
>
> Error: TSV files are only supported for STM32MP
>
> We're using an onboard eMMC (From Kioxia) and STM32MP157AAD3 chip from
> ST. I have attached snapshot of log. and I'm extremely in need of support
>
> Below is the LOG:
>
> |
>
> 1. user at user:~/STM32MPU-Ecosystem-v4.0.0/Starter-Package/stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/images/stm32mp1$
> STM32_Programmer_CLI -c port=usb1 -w
> flashlayout_st-image-weston/trusted/FlashLayout_emmc_stm32mp157a-ev1-trusted.tsv
>
> 2. -------------------------------------------------------------------
> 3. STM32CubeProgrammer v2.11.0
> 4. -------------------------------------------------------------------
> 5.
> 6.
> 7.
> 8. USB speed :HighSpeed(480MBit/s)
> 9. Manuf.ID :STMicroelectronics
> 10. ProductID :DFU inHS Mode at DeviceID /0x500, at RevisionID /0x0000
> 11. SN :0019002C3431511733353431
> 12. DFU protocol:1.1
> 13. Board:--
> 14. DeviceID :0x0500
> 15. Devicename :STM32MP1
> 16. Devicetype :MPU
> 17. RevisionID :--
> 18. DeviceCPU :Cortex-A7
>19.
> 20. StartEmbeddedFlashingservice
>21.
>
> |
Here it is the first USB enumeration in ROM-Code
=> all is OK, the STM32MP15 is detected with ||
# |DeviceID :0x0500|
||
Then TF-A is loaded in internal RAM and executed....
> |
>
> 1.
> 2.
> 3. MemoryProgramming...
> 4. Openingandparsing file:tf-a-stm32mp157a-ev1-usb.stm32
> 5. File:tf-a-stm32mp157a-ev1-usb.stm32
> 6. Size:220.82KB
> 7. PartitionID :0x01
> 8.
> 9. DownloadinProgress:
> 10. [==================================================]100%
>11.
> 12. Filedownload complete
> 13. Timeelapsed during download operation:00:00:01.150
>14.
> 15. RUNNING Program...
> 16. PartID::0x01
>17.
>
> |
STM32CubeProgrammer reconnection failed after START request
I assumed reenumeration Failed => TF-A is NOT running here !
Here you need to check the TF-A output on console uart to check the
reported errors....
> |
>
> 1.
> 2. Error:Startoperation failed at partition 0x01
> 3. Error:TSV flashing service failed
> 4. user at user:~/STM32MPU-Ecosystem-v4.0.0/Starter-Package/stm32mp1-openstlinux-5.15-yocto-kirkstone-mp1-v22.06.15/images/stm32mp1$
> STM32_Programmer_CLI -c port=usb1 -w
> flashlayout_st-image-weston/trusted/FlashLayout_emmc_stm32mp157a-ev1-trusted.tsv
>
> 5. -------------------------------------------------------------------
> 6. STM32CubeProgrammer v2.11.0
> 7. -------------------------------------------------------------------
> 8.
> 9.
>10.
> 11. USB speed :HighSpeed(480MBit/s)
> 12. Manuf.ID :
> 13. ProductID :
> 14. SN :
> 15. DFU protocol:1.1
> 16. Board:--
> 17. IAP
> 18. Error:TSV files are only supported forSTM32MP
>
> |
As the TF-A is not running correctly here, the USB stack don't running
in device
the USB enumeration failed, for this second USB connect request
=> product can't be detected = |"ProductID :"|
|
|
|by default the STM32CubeProgrammer assume STM32 MCU|
|=> the 'tsv' opteion is not supported, only supported for STM32 MPU
(STM32MP15x STM32MP13x)
|
> |
>
> Please help us and revert on this problem ASAP.
> |
I let Bernard help you
> |
>
> |
> Regards,
> Pralay Panchwate
> Embedded Engineer
> Melody innovations pvt ltd.
> Contact: +91-9850211623
>
> The information transmitted by this email is intended only for the
> person or entity to which it is addressed. This email may contain
> proprietary, business-confidential, and/or privileged material. If you
> are not the intended recipient of this message, be aware that any use,
> review, re-transmission, distribution, reproduction or any action
> taken in reliance upon this message is strictly prohibited. If you
> received this in error, please contact the sender and delete the
> material from all computers.
>
> _______________________________________________
> Uboot-stm32 mailing list
> Uboot-stm32 at st-md-mailman.stormreply.com
> https://st-md-mailman.stormreply.com/mailman/listinfo/uboot-stm32
More information about the Uboot-stm32
mailing list