Closed timg236 closed 4 years ago
@ghollingworth
Looks fair, can't remember what state (iSerialNumber == 3) is, is this third stage booting?
0x3 is the 2711 ROM, I think previous chips used be 0x0.
The second stage is 0x1.
Ah right, yes...
Fair enough, I confirm it's good...
It's possible that SerialNumber=3 might be received twice due to differences in timing causing rpiboot to exit too early i.e. before the second stage has started.
Tweak the loop condition to handle this.