m8: add open source dotcase

Change-Id: Iecfd2a285a0de4eaaf821a6f96206219e1de13b7