Skip to contentSkip to conversation

tegrarcm: Add SPI flash support to tegra114 miniloader

PATCH Stephen Warren 2 participants 2 messages Jun 18, 2013 3 messages not in the archive Tegra architecture support

lore
Share & tools
lore

Stephen Warren

author Acked-by
#2 lore raw
In reply to a message not in the archive
Quoted 3 lines · Allen Martin

Update tegra114 miniloader file with a version that supports boot from SPI flash. The previous version would hang if the board was configured to boot from SPI.

Out of curiosity, why does it hang? I thought the miniloader would only interpret the SDRAM portion of the BCT, and hence the boot flash configuration would have no effect on it at all. Does it also enable whatever boot flash is in the BCT too?

Either way, I guess I have no problem with the patch, so,

#4 lore raw
In reply to a message not in the archive
Quoted 5 lines · Stephen Warren
Quoted 3 lines · Allen Martin

Update tegra114 miniloader file with a version that supports boot from SPI flash. The previous version would hang if the board was configured to boot from SPI.

Quoted 7 lines

Out of curiosity, why does it hang? I thought the miniloader would only interpret the SDRAM portion of the BCT, and hence the boot flash configuration would have no effect on it at all. Does it also enable whatever boot flash is in the BCT too?

Either way, I guess I have no problem with the patch, so,

Miniloader is AOS based, like fastboot. This was a bug in the AOS implementation of SPI which I think was still using a t30 style "slink" driver on t114.

I don't know all the details but I would guess miniloader assumes you're about to write to the boot device so it applies the boot device timing parameters in the BCT to make sure it's running at greater than the bootROM failsafe clocks.

-Allen

Signature · 1 line
nvpublic