FS#6859 - Avoid crashes on the Sansa during booting

Attached to Project: Rockbox
Opened by Toni (ahellmann) - Monday, 19 March 2007, 19:44 GMT
Task Type Patches
Category Bootloader
Status Closed
Assigned To No-one
Operating System Sansa e200
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


This patch should fix the occasional crashes during booting.
This task depends upon

Closed by  Daniel Ankers (dan_a)
Tuesday, 20 March 2007, 11:21 GMT
Reason for closing:  Accepted
Additional comments about closing:  Committed (in a slightly modified version) in r12848
Comment by Daniel Ankers (dan_a) - Tuesday, 20 March 2007, 09:43 GMT
Hi Toni,
Nice work! Would disabling/re-enabling the DMA perhaps be better inside lcd_init_device(), though?
Comment by Toni (ahellmann) - Tuesday, 20 March 2007, 10:29 GMT
Hi dan_a,
yes, I think so too. This patch was only for demonstration.

lcd_update() seems to be completely irrelevant for sansa because of auto dma-ing.
Would be interesting, what intervals are used by the dma controller.