NXP - a few weeks ago, I had an issue with programming a Kioxia eMMC chip on my custom i.MX6ULL host board, as I am attempting to qualify both Kioxia and Macronix as second sources. For background that thread is here:
https://community.nxp.com/t5/i-MX-Processors/i-MX6ULL-trouble-with-Kioxia-eMMC/m-p/1274578#M173824
The issue I am having now, with both these chips, are that they reach a certain point in my boot process and intermittently hang. The Kioxia part hangs 1-3 times during 25 power cycles but the Macronix does this a little over half the time under the same number of power cycles. The interesting thing is that if there is a failure, it ALWAYS does it in the exact same location....in our custom start script, there is a while loop with a sleep 1 statement that prints out a "." character 5 times if there is no serial number in the board. The board hangs here, and I can at this instant see a drop in current consumption. Normal current consumption at this point is usually 125mA, but under the hang case, it drops to 20mA. Another POR at this point will make it restart the boot process, at which point it may or may not hang in the same spot. I did attempt to remove this wait from our start script, and the board will then always boot normally, and I can log into the command line interface, but again, it will fail and hang at some point. Any ideas on what we may be running into here? I have done some searching around, and I can't really find anything helpful. This is on the 4.9.11 NXP kernel we have been using.
Also, I am not sure whether this is a clue or not, but on one of the trials I was running, I got the following error (but just this one time out of probably 150 different reboots)
..../opt/iprf/firmware/start.sh: lineUnhandled fault: imprecise external abort (0x1c06) at 0x00078c55
364: 1662 Bus error sleep 1
pgd = 82d40000
[00078c55] *pgd=82f42835, *pte=80bf459f, *ppte=80bf4e7e
Please let me know what additional information may be helpful to you.
thanks
Chad