[PATCH v1 0/4] fix type error and add feature to boot to kernel