changes to chardev and addition of kernel compile scripts