Degree theory and BMO; part II: Compact manifolds with boundaries