On the existence of L2-valued thermodynamic entropy solutions for a hyperbolic system with boundary conditions