Yilong tuffy port

This is a temporary pull request to review the changes.