You can power on/off i.MX31 PDK LEDs using U-Boot:
u-boot> mw.b B6020000 FF
Where B6020000 is the CPLD LED address and FF is the 8 bits hexadecimal value which will be displayed on LEDs.