Content originally posted in LPCWare by Wouter on Mon Jul 22 02:44:18 MST 2013
Clearly libpng is somehow reading corrupted data.
Considering the same code runs fine on another board (the EA1788 board), I would definitely first make sure the external memory bus is working correctly (in all supported modes).
To rule out any problems related to your image files, SD card etc, I would also try to run in on the EA1788 board yourself. I expect it runs fine then also, else you're having problems with the image files/SD card.
If it runs fine on the EA board at your side too (I'd expect so), then there must be some H/W difference between the EA1788 board and your custom board. Perhaps it's an H/W error, or only something which needs other settings in software.