add genramdisk process to Makefile and fix some bug

genramdisk can work more friendly

a bug: byte squence is wrong

Signed-off-by: Le Min <lemin9538@gmail.com>