Added getFirmware and getKernel functions.

Added getFirmware and getKernel functions.