64b07727fb
Starting from revision F we need to set nWP before writing to flash. Create a new NAND command that can be used for that and use it for fwup, booting and recovery mode. We assume that the payload runs a RW filesystem so we set the GPIO before booting the system. sysmobts: ubifsmount might already write to the nand... Remove the write protect a lot earlier as ubifsmount might already try to grow the freshly flashed UBIFS and allocate UBIs for it. sysmobts: Add a huge sleep to wait for the pin to be driven Add some margin and wait for the pin to get high and such. I can't easily measure if we sleep at all or if it is really 100ms but it can't hurt and we don't optimize for boot times yet. sysmobts: Toggle nWP on RevG and later as well sysmobts-v2: ubi part appears to write as well The ubi part command will write for the same reason. Move the command line to the front. (untested) |
||
---|---|---|
.. | ||
da8xxevm | ||
ea20 | ||
sysmobts_v2 |