View Single Post
Old 08-03-2022, 01:15 PM   #8
mscuttari
Junior Member
mscuttari began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2022
Device: Kindle Paperwhite 2
I think I've found the problem.
The interrupt-checking loop inside drivers/mmc/imx_edshc.c, at line 380, never terminates. Seems like the interrupt never gets raised.

Code:
	while (!(tmp = 
		 (readl(&regs->irqstat) & IRQSTAT_TC))
	       );
A quick (hand-written) draft of the stack trace:
Code:
esdhc_send_cmd
mmc_read
idme_check_update
setup_board_info
...
I suspect the emmc to have failed, and thus the DMA to not raise the interrupt for the finished operation, but I don't know how to confirm that.

Aside from this, I don't understand why the stock pre-built u-boot.bin is not printing anything at all.
mscuttari is offline   Reply With Quote