add dualsystem support

Change-Id: Ief9f921fffe48b7586d75141286f00123cd080d9