add printf func and mmtest in shell.   (Last time miss these files)