Module debug added, module emmc modified for standalone builing.