TF-A Exception on boot-up
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-07-05 10:17 AM
I have a custom board built upon the stm32mp157f. (Therefore, have custom device trees.)
I currently am seeing an exception in TF-A that I cannot explain.
INFO: Reset reason (0x14):
INFO: Pad Reset from NRST
INFO: PMIC version = 0x21
INFO: FCONF: Reading TB_FW firmware configuration file from: 0x2ffe3000
INFO: FCONF: Reading firmware configuration information for: stm32mp_io
INFO: Using EMMC
INFO: Instance 2
INFO: Boot used partition fsbl1
NOTICE: BL2: v2.4-r1.0(debug):v2.4-dirty
NOTICE: BL2: Built : 16:43:51, Nov 17 2020
INFO: BL2: Doing platform setup
INFO: RAM: DDR3-DDR3L 16bits 533000Khz
WARNING: Couldn't find property st,phy-cal in dtb
INFO: Memory size = 0x20000000 (512 MB)
ASSERT: drivers/partition/gpt.c:24
After the initial flashing of the eMMC with the STMCubeProgrammer, it boots fine the first time. Every boot thereafter (cold or warm), I get the above exception.
Any idea what this means, how to debug or solve it?
Solved! Go to Solution.
- Labels:
-
STM32CubeProgrammer
-
STM32MP15 Lines
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-07-18 9:17 AM
@user_ABCD,
Thanks for your quick answer. Can you give me the output of the following command:
"blkid -p /dev/mmcblk0p2" (that should be your rootfs) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-07-18 1:11 PM
@Erwan SZYMANSKI
From the command -> blkid -p /dev/mmcblk0p2
It appears a "good image" has PART_ENTRY_NAME="rootfs", but my "bad image" is missing this.
Any guidance on where or how this is created?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-07-19 2:32 AM
@user_ABCD,
After a discussion with the dev team, there is no obvious reason why only the partition name is removed. So it is possible that another component modify the GPT table.
To complete our researches, can you provide me the complete Linux log at the first boot, and the kernel command line.
Moreover, can you check the eMMC content at U-Boot first boot ?
Regards.
Erwan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-07-19 2:40 AM
@user_ABCD,
We maybe found an hypothesis that can explain why the eMMC is corrupted (a problem that we had in the past). Can you check your U-Boot env ?
If it is not defined in the GPT table, U-boot will use its own config (probably Kconfig) to find a place to save its configuration and he can corrupt the eMMC at this moment.
Regards.
Erwan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-07-20 3:41 AM
@Erwan SZYMANSKI
Greatly appreciate the help.
I was able to track this down yesterday to some software I was using that corrupted the GPT table as you mentioned.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-07-20 4:32 AM
@user_ABCD,
Thank you for your feedback. Glad to see that you was able to solve your problem !
Have a nice day.
Erwan

- « Previous
-
- 1
- 2
- Next »