The ADS bootloader error codes depend on the board and the operation being performed.
When loading (reading) from an ATA card, -1 means the zImage or ramdisk.gz file could not be found. This may be because the file is not on the card, the card is not properly formatted, or your particular card is incompatible with the bootloader's PCMCIA driver. A file size error (-2), date/time error (-4), or file read error (-6) indicate the required file was found but cannot be safely read. These are FAT errors and usually mean the card is not properly formatted or has an invalid or corrupted file system.
While programming (writing) to flash, -2 or -3 indicate that the image file is bigger than the on board flash partition. An address error (-1 or -5) may indicate a faulty boot loader and an erase error (-7) or a write error (-8) indicate a problem with the on board flash.
ATA card issues
The bootloader only recognizes certain FAT formats. See the ATA file format FAQ for details. We include a compatible ATA flash card with each development system. Generally, loading and reprogramming on board flash from an ATA card are only done during manufacturing and development. Please contact us if you have requirements that are not being met.