change linux kernel parameter for linux loading

the kernel parameters fixed . 768Mb -> 256Mb 
some refactor for linux loading code.