add x86 target
corrected devcfg null, usermg problem of char length,