add serial support

Signed-off-by: yxjsolid <yxjsolid@gmail.com>
start serial support