add regular file support in gen_ramdisk_uboot.sh

Signed-off-by: WEN Pingbo <wpb@meizu.com>