add wrt350n v2 image building code from #5970 (thx, maddes)