Forums » Software Development »
eMMC Linux boot failed
Added by iseori kang 12 days ago
Occurs on certain products, boots normally when product cools down.
Please review the below, attached and let us know of opinions.
- Version
- OS: Debian GNU/Linux 12 (bookworm) aarch64
- Host: Critical Link MitySOM-AM62x
- Kernel: 5.10.168-01697-g501ba3235e01-dirty
- H/W : 6252-TX-X8D-RI 24-02-08 (kingston)
- HS200 Mode: Linux boot problem
- Changed Mode; Legacy Mode (25 MHz): Same Linux booting problem (Referenced link : https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1366363/am623-problem-detecting-emmc-at-hs200-speed-during-1-8v-voltage-switch )
- In Legacy Mode, 1V8 power option was removed. (but the actual power supply is unknown)
- Related Link : https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1233869/faq-am625-how-to-boot-with-emmc-boot-mode-on-am62x
- Boot fail log
[ 5.265756] hub 2-0:1.0: USB hub found
[ 5.269534] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[ 5.399137] mmc0: mmc_select_hs200 failed, error -110
[ 5.404200] mmc0: error -110 whilst initialising MMC card
[ 5.629528] mmc0: mmc_select_hs200 failed, error -110
[ 5.634581] mmc0: error -110 whilst initialising MMC card
[ 6.579929] sdhci-am654 fa00000.mmc: Power on failed
[ 6.615488] mmc1: SDHCI controller on fa00000.mmc [fa00000.mmc] using ADMA 64-bit
Replies (4)
RE: eMMC Linux boot failed - Added by Jonathan Cormier 11 days ago
Hi Iseori,
We have released an errata relating to emmc boot detection. See here: https://support.criticallink.com/redmine/projects/mitysom_am62x/wiki/Errata_and_Module_Product_Change_Notifications.
Fixes for this have been released for the 09 SDK (kernel 6.1) and the 10 SDK (kernel 6.6). The 08 SDK is no longer being supported as we found several stability issues that TI only fixed in the later releases. I highly recommend upgrading to the recently released 10 SDK, as TI has informed us there is a PLL issue in their sysfw on earlier versions.
If you need any help migrating, please let us know and we can see how we can help.
RE: eMMC Linux boot failed - Added by Jonathan Cormier 11 days ago
Jonathan Cormier wrote in RE: eMMC Linux boot failed:
Hi Iseori,
We have released an errata relating to emmc boot detection. See here: https://support.criticallink.com/redmine/projects/mitysom_am62x/wiki/Errata_and_Module_Product_Change_Notifications.
Note: Please click the watch star on the errata page to get email notifications when new errata and PCN are released.
RE: eMMC Linux boot failed - Added by iseori kang 10 days ago
Hi, Jonathan
Thank you for your prompt response.
We should be able to resolve this issue, currently at “Kernel: 5.10.168-01697-g501ba3235e01-dirty”.
Can you please check if there is a workaround in the 5.10 kernel?
Thank you and best regards,
RE: eMMC Linux boot failed - Added by Jonathan Cormier 9 days ago
The following commits were tested extensively on the 6.1 and 6.6 kernel. I can apply them on the 5.10 kernel however I won't be able to do any long term testing beyond making sure it boots once or twice.
emmc:
https://support.criticallink.com/gitweb/?p=linux-ti.git;a=commit;h=61f83c520d6396973a4de2e52464a118015a8585
https://support.criticallink.com/gitweb/?p=linux-ti.git;a=commit;h=8b7f00865089cd63084bb569274971c9060021cb
https://support.criticallink.com/gitweb/?p=linux-ti.git;a=commit;h=a7f659a9513244ccfd1db68f224a14a0b5d392c7
tidss (OLDI/VOUT)
https://support.criticallink.com/gitweb/?p=linux-ti.git;a=commit;h=a7c5a1059ed63d122f1fde3689bbb2393e89e90a
TI did provide some instructions on updating the TIFS/DM sysfw on SDK 08. We don't plan to support this but the instructions are below.
https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/10_00_07_04/exports/docs/devices/AM62X/linux/Release_Specific_Migration_Guide.html#sdk-08-06-00-42