Hi!
We have two generations of board with DM385 cpu. The boards are pretty the same in the terms of cpu/power/memory schematics.
We observing strange boot behaviour on new boards(it works ok on old boards).
During board bringup we are trying to boot from SD card.
U-Boot(SPL) starting ang hangs. First we thought this is due to wrong clock settings. But after we'd enabled debug printouts in SPL we see that SPL can't read u-boot image from SD card because of internal error.
Further investingating showed that when FAT device is registered in spl_register_fat_device variable fat_registered contains thrash value.
This variable is defined as:
static int fat_registered;
It is static and should be set to zero during load process.
When we take exactly that binary and run it on old board everything going fine and fat_registered variable contains zero as expected.
We found that on our new board we have cpu with part number: DM385AAARD21F and on our old boards DM385AAAR11.
Boot ROM of both boards are the same(same version and same content).
This looks very strange. This is SPL, running in L1, no DDR in use...
Can somebody help with this?