1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2025-01-22 21:01:06 +02:00
Dmitry Kurochkin 0ca1d89412 Bad magic when booting from NAND
Qi fails to boot from NAND. Qi booting from SD goes fine. Booting NAND
from NOR works as well.

I have found the problem. The error was because we check if the
current block is bad or the next one is bad. And skip the current
block even if only the next one is bad. This way we skip good block
before a bad one.

This patch fixes the bug.

Signed-off-by: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>
2009-05-07 00:27:20 -05:00
2009-05-07 00:27:20 -05:00
Description
XBurst Tools, collection of boot and flash tools for XBurst devices.
http://projects.qi-hardware.com/index.php/p/xburst-tools/
4.5 MiB
Languages
C 98.5%
Makefile 0.6%
Assembly 0.3%
Roff 0.2%
M4 0.2%
Other 0.1%