Bethe ansatz solutions of the τ2-model with arbitrary boundary fields