ptr += sprintf(build_buf + ptr, "tn=%s ", tmp);
tmp = getenv("othbootargs");
ptr += sprintf(build_buf + ptr, "tn=%s ", tmp);
tmp = getenv("othbootargs");
memcpy((void *)bootaddr, build_buf,
max(strlen(build_buf), (size_t)255));
memcpy((void *)bootaddr, build_buf,
max(strlen(build_buf), (size_t)255));