Commit Graph

5 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther 0974846c2d sysmobts: Be able to toggle the nWP on the flash through a GPIO
Starting from revision F we can toggle a GPIO to control nWP of
the NAND chip. This means that during power-on or other mode of
operation no changes can be done to the flash.

Remove the nWP before we try to write to the flash in the UART
mode. Leave it enabled for further operations.
2015-02-05 19:03:14 +01:00
Holger Hans Peter Freyther 43383917fd uart/timeout: Reduce the I_ME timeout to a lower value again
Do not block the boot process for five seconds or longer. When
adding the configurable timeout the other timeout code got broken.
Remove it and instead supply uart_recv_bytes with the timeout per
charachter.
2014-07-11 10:12:50 +02:00
Holger Hans Peter Freyther d902a1c044 timer: Make the timer configurable and use it
Instead of counting a variable sleep for a given/predictable time.
Update the uart code with this value.
2014-07-09 19:38:07 +02:00
Holger Hans Peter Freyther d04f24974a interrupt: Allow to interrupt the NAND boot by sending a command
Before doing the NAND boot the 'I_ME' message will be sent and the
ubl will wait up to a second for a response. This interruption mode
can be disabled, e.g. when deploying the system in a publically
accessible system. Right now the possibility of easy recovery is
more important.
2012-07-11 09:05:23 +02:00
Holger Hans Peter Freyther 4b779cf0d2 dvnixload/ubl copy as of pre 0.2.6 svn 2012-04-25 09:20:50 +02:00